Advertisement
Alief_Athallah

Buy SpeedCoil Script

May 30th, 2020
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.37 KB | None | 0 0
  1. -- Put this LocalScript inside Buy SpeedCoil TextButton --
  2.  
  3. Player = game.Players.LocalPlayer
  4.  
  5. script.Parent.MouseButton1Click:Connect(function()
  6.            
  7.     if Player.leaderstats.Money.Value >= 70 then
  8.         Player.leaderstats.Money.Value = Player.leaderstats.Money.Value - 70
  9.    
  10.         game.ReplicatedStorage.SpeedCoil:clone().Parent = Player:WaitForChild("Backpack")
  11.  
  12.     end    
  13. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement