How to make an advanced clicking simulator game on Roblox! | Episode 2

Опубликовано: 31 Октябрь 2024
на канале: Fruskle
16,867
218

In this video I will show you how to make a clicking simulator!

Roblox Group : https://web.roblox.com/groups/1382548...

I recommend scripting it yourself because it will help you learn how to script on your own!

Script :
-----------------------------------------------------------------------------------------------------------------------
Open:

script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent.RebirthsFrame.Visible = true
end)

Close:

script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent.Parent.Visible = false
end)

Rebirth:

script.Parent.MouseButton1Click:Connect(function()
local player = game.Players.LocalPlayer
local clicks = player.leaderstats.Clicks
local rebirths = player.leaderstats.Rebirths

if clicks.Value *Greater Than*= 100 then
rebirths.Value = rebirths.Value + 1
clicks.Value = 0
end
end)