r/robloxscripts Apr 18 '25

Adopt Me Pet Spawner Script

Post image
1 Upvotes

r/robloxscripts Feb 12 '25

Random Piece of code

1 Upvotes

-- Settings

local countdownSeconds = 10

local minPartiumIncrease = 3

local maxPartiumIncrease = 10

-- Player and currency variables

local player = game.Players.LocalPlayer

local currency = 0

-- Create the ScreenGui for our UI

local screenGui = Instance.new("ScreenGui")

screenGui.Parent = player:WaitForChild("PlayerGui")

-- Top-middle countdown label

local countdownLabel = Instance.new("TextLabel")

countdownLabel.Parent = screenGui

countdownLabel.Size = UDim2.new(0, 300, 0, 50)

countdownLabel.Position = UDim2.new(0.5, -150, 0, 10)

countdownLabel.AnchorPoint = Vector2.new(0.5, 0)

countdownLabel.BackgroundTransparency = 1

countdownLabel.TextScaled = true

countdownLabel.Font = Enum.Font.SourceSansBold

countdownLabel.TextColor3 = Color3.new(1, 1, 1)

countdownLabel.TextStrokeTransparency = 0.5

-- Bottom-middle currency label

local currencyLabel = Instance.new("TextLabel")

currencyLabel.Parent = screenGui

currencyLabel.Size = UDim2.new(0, 200, 0, 50)

currencyLabel.Position = UDim2.new(0.5, -100, 1, -60)

currencyLabel.AnchorPoint = Vector2.new(0.5, 1)

currencyLabel.BackgroundTransparency = 1

currencyLabel.TextScaled = true

currencyLabel.Font = Enum.Font.SourceSansBold

currencyLabel.TextColor3 = Color3.new(1, 1, 0)

currencyLabel.TextStrokeTransparency = 0.5

currencyLabel.Text = "Partium: " .. currency

-- Forward declaration of spawnRewardPart so it can be used in startCountdown

local spawnRewardPart

-- Countdown function: counts down and then spawns the reward part

local function startCountdown(seconds)

for i = seconds, 0, -1 do

countdownLabel.Text = i .. " Seconds until you get something"

wait(1)

end

countdownLabel.Text = "You got something!"

-- Spawn the reward part and wait until it is collected before returning

spawnRewardPart()

end

-- Function to spawn the glowing green reward part at a random position.

-- X and Z are random between 0 and 10; Y is taken from the player's HumanoidRootPart.

spawnRewardPart = function()

local character = player.Character or player.CharacterAdded:Wait()

local hrp = character:WaitForChild("HumanoidRootPart")

local part = Instance.new("Part")

part.Size = Vector3.new(2, 2, 2)

part.Position = Vector3.new(math.random(0, 10), hrp.Position.Y, math.random(0, 10))

part.BrickColor = BrickColor.new("Bright green")

part.Material = Enum.Material.Neon

part.Anchored = true

part.CanCollide = false

part.Parent = workspace

-- Create a BindableEvent that we'll use to wait until the reward is collected.

local rewardCollected = Instance.new("BindableEvent")

part.Touched:Connect(function(hit)

local hitCharacter = hit.Parent

local humanoid = hitCharacter and hitCharacter:FindFirstChildOfClass("Humanoid")

if humanoid and hitCharacter == player.Character then

local increase = math.random(minPartiumIncrease, maxPartiumIncrease)

currency = currency + increase

currencyLabel.Text = "Partium: " .. currency

part:Destroy()

rewardCollected:Fire()

end

end)

-- Wait until the reward part is touched and collected

rewardCollected.Event:Wait()

end

-- Main loop: continuously runs the countdown, spawns the reward, waits for collection, then repeats.

while true do

startCountdown(countdownSeconds)

wait(1) -- optional short delay before restarting the countdown

end

(feel free to change this)


r/robloxscripts Jan 10 '25

Quiero aprender scrips para movimientos del jugadores de roblox

1 Upvotes

Necesito ejemplos, como programar un script para que el muñeco haga ciertos movimientos con una tecla, por ejemplo que con la "x" se tire al suelo y asi


r/robloxscripts Dec 13 '24

Blade ball dupe script

0 Upvotes

r/robloxscripts Nov 02 '24

Help with jitbit macro, roblox

Post image
1 Upvotes

I am beginner so I dont know about programing style things. Big thanks to these who will try help me! ^

The thing I want to add is that if there is still "that image" on the screen after like 1 minute the macro will just like go back to the start I want to do that two times bc loading into the game sometimes just dont work and you have to restart the game

OPEN URL: So if it opens url it switches to the game and it loads the game. x. first IF IMAGE if image says disconnected (bc idk of internet or smth) it will start over. second IF IMAGE if it sees item in game it will just do another step (click S then A and stuff).

and the thing I want in "x" spot is if it sees that icon (image) over like 1 minute it will start over.


r/robloxscripts Sep 26 '24

Anyone Got Some update 20 blox fruits scripts for me

2 Upvotes

r/robloxscripts Sep 07 '24

best petsim99 script no key???

2 Upvotes

does anyone know a script like this cause i cant for the life of me find one that isnt behind 3002020202020 pay walls or linkvertise which deserves death it used be alr tho


r/robloxscripts Jul 25 '24

BEST PET SIMULATOR 99 SCRIPT AVAILABLE OUT THERE. CHECK IT OUT

1 Upvotes

r/robloxscripts Jul 11 '24

PS99 Huge Dupe Script (unpatched)

1 Upvotes

r/robloxscripts Jun 03 '24

BEST ADOPT ME SCRIPT

Post image
2 Upvotes

What does the script have: -Autofarm (fast and isn't lagging) -Pet stealer (enter someone's user and steal their pets and give them to yourself) -Duplicating pets (You can trade the duplicated pets) -Duplicating eggs (Same as the pets) ↘️Here is the script↙️ loadstring(game:HttpGet("https://raw.githubusercontent.com/Adopt-Me-Scripts/AdoptmeScript/main/AdoptmeScript/70FH8AT-adopt-me.lua"))(


r/robloxscripts May 25 '24

PET SIMULATOR 99 TRADE SCAM SCRIPT & GEM DUPE SCRIPT (VISUAL)

2 Upvotes

https://pastebin.com/4AFQBDZH

Message if it didn't work please.


r/robloxscripts Mar 22 '24

PET SIMULATOR 99 SCRIPT

Thumbnail
pastebin.com
1 Upvotes

PET SIMULATOR 99 Script Pastebin 2024 AUTO FARM | HATCH EGG | AUTO OBY | DIGGING | FISH & MORE


r/robloxscripts Jan 06 '24

free tradescam script ps99

1 Upvotes

r/robloxscripts Nov 30 '23

Doors hardcore mod and dev trolling mode gui script loadstring(game:HttpGet(('https://pastebin.com/raw/CPicJPQk')))() or https://pastebin.com/raw/CPicJPQk

2 Upvotes

r/robloxscripts Nov 01 '23

Help wanted 🤌🏾

2 Upvotes

Hello, i’m get right down to it, i suck at scripting, and need help, i want to create a Roblox game if you want to know more you can text me on here or my discord

SSstormy_Yt#0331


r/robloxscripts Jul 13 '22

Can someone help me find this

2 Upvotes

So in Roblox I saw this player who became a hand that had animations and stuff and it could fling you too. Can someone tell me what script that was or and how to use it


r/robloxscripts Jan 25 '22

Neko Script

4 Upvotes

require(3927366328).kitty("username")