Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Player = game.Players.LocalPlayer
- local ErrorSound = game.Workspace.ErrorSound
- local SuccessSound = game.Workspace.CashSoundEffect
- script.Parent.MouseButton1Click:Connect(function()
- if Player.leaderstats.Money.Value >= 70 then
- Player.leaderstats.Money.Value = Player.leaderstats.Money.Value - 70
- game.ReplicatedStorage.GravityCoil:clone().Parent = Player:WaitForChild("Backpack")
- SuccessSound:Play()
- else
- ErrorSound:Play()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement