How to make cash register in Roblox Studio 2020!

Опубликовано: 16 Июнь 2026
на канале: Liminal Space World
2,312
29

If you want to hire me to make a game, go here: https://www.fiverr.com/undersaponjo/s...
Script:
game.Players.PlayerAdded:Connect(function(plr)
stats = Instance.new("IntValue",plr)
stats.Name = "leaderstats"
money = Instance.new("IntValue",stats)
money.Name = "Cash"
money.Value = 0
end)


script.Parent.Position = Vector3.new(your position)

script.Parent.ClickDetector.MouseClick:Connect(function()
script.Parent.Position = Vector3.new(your position)
money.Value = money.Value + 100
wait(5)
script.Parent.Position = Vector3.new(your position)
wait()
end)