How to make a Clicker Game in ROBLOX part 2! - androidgamestore.net

How to make a Clicker Game in ROBLOX part 2!

Freeze
Views: 1140
Like: 67
Part 2 is out after about 400 days. srry yall
like and subscribe before u use these scripts or else i will be sad ๐Ÿ™
scriptz:

Rebirth System in button:
–made by freeze yt
local player = game.Players.LocalPlayer
local clicks = player.leaderstats:FindFirstChild(“Clicks”)
local rebirths = player.leaderstats:FindFirstChild(“Rebirths”)
local price = script.Parent.Price
local amount = script.Parent.Amount

script.Parent.MouseButton1Click:Connect(function()
if clicks.Value –type the aligator thing pointing to left, yt wont let me :(– = price.Value then
clicks.Value = 0
rebirths.Value += amount.Value
price.Value = price.Value * rebirths.Value + 1

end
end)

while wait() do
script.Parent.Text = ” “..amount.Value..” Rebirths –“..price.Value..” Clicks”
end
————————————————————————————————————————————————————
script for clicking button:

local player = game.Players.LocalPlayer
local clicks = player.leaderstats:FindFirstChild(“Clicks”)
local rebirths = player.leaderstats:FindFirstChild(“Rebirths”)

script.Parent.MouseButton1Click:Connect(function()
clicks.Value = clicks.Value + 1
if rebirths.Value –alligator thing pointing to left, yt wont let me– = 0 then
clicks.Value = clicks.Value + rebirths.Value * 2
end
end)
________________________________________________________________________________________________
script that opens the rebirth menu:

local ob = script.Parent
local rf = script.Parent.Parent.Frame

ob.MouseButton1Click:Connect(function()
if rf.Visible == true then
rf.Visible = false
else
rf.Visible = true

end
end)
————————————————————————————————————————————————————-

like and subscribe before u use these scripts or else i will be sad ๐Ÿ™