Advertisement
ERROR_CODE

Speed Coil/Gravity Coil made by ERROR_CODE

Aug 27th, 2023 (edited)
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.00 KB | None | 0 0
  1. --speed coil
  2. _G.speedcoil = game:GetObjects('rbxassetid://99119158')[1]
  3. _G.speedcoil.Parent = game.Players.LocalPlayer.Backpack
  4. _G.speedcoil.Equipped:Connect(function()
  5. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 32
  6. local Sound = Instance.new("Sound")
  7. local Id = "99173388"
  8. Sound.Parent = game.Workspace
  9. Sound.SoundId = "rbxassetid://"..Id
  10. Sound.Playing = true
  11. Sound.Looped = false
  12. Sound.Volume = 1
  13. end)
  14. _G.speedcoil.Unequipped:Connect(function()
  15. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
  16. end)
  17. --gravity coil
  18. _G.gravitycoil = game:GetObjects('rbxassetid://16688968')[1]
  19. _G.gravitycoil.Parent = game.Players.LocalPlayer.Backpack
  20. _G.gravitycoil.Equipped:Connect(function()
  21. game.workspace.Gravity = 50
  22. local Sound = Instance.new("Sound")
  23. local Id = "16619553"
  24. Sound.Parent = game.Workspace
  25. Sound.SoundId = "rbxassetid://"..Id
  26. Sound.Playing = true
  27. Sound.Looped = false
  28. Sound.Volume = 1
  29. end)
  30. _G.gravitycoil.Unequipped:Connect(function()
  31. game.workspace.Gravity = 196.2
  32. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement