Advertisement
Cizzy

yummy

Mar 9th, 2021
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. _G.Toggle = false
  2.  
  3. game.Players.LocalPlayer.PlayerGui.Initializer.Modules.StatHandler.Coins.Visible = false
  4.  
  5. game:GetService("RunService").RenderStepped:Connect(function()
  6. if _G.Toggle == false then
  7. game:GetService("ReplicatedStorage").Remotes.WeaponSwing:FireServer()
  8. game:GetService("ReplicatedStorage").Remotes.GuiEvent:FireServer("Sell")
  9. local RandomN = math.random(1,3)
  10. if RandomN == 3 then
  11. game:GetService("ReplicatedStorage").Remotes.BuyRemote:InvokeServer("Weapon Crate","WeaponShop1","2")
  12. end
  13. end
  14. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement