asdsadasdasasdsafzxc

โง่ๆๆ

Sep 4th, 2019
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. WALKSPEED = 50 -- Custom walkspeed (16 by default)
  2. SAFEKEY = "e" -- Safekey button
  3.  
  4. -- Script made by JasonJJK enjoy ;)
  5.  
  6.  
  7.  
  8. local plr = game.Players.LocalPlayer
  9. local sellUI = plr.PlayerGui.ModalGui.TeleportSell
  10. plr.CharCheck.WalkSpeed.Value = WALKSPEED
  11. local ms = plr:GetMouse()
  12. local safeSpot = Instance.new("Part", workspace)
  13. safeSpot.Name = "safeSpotPart"
  14. safeSpot.Anchored = true
  15. safeSpot.Size = Vector3.new(40,1,40)
  16. safeSpot.Transparency = 0.5
  17. safeSpot.CFrame = plr.Character.HumanoidRootPart.CFrame * CFrame.new(0,400,0)
  18. ms.KeyDown:Connect(function(key)
  19. if key == SAFEKEY then
  20. plr.Character.HumanoidRootPart.CFrame = safeSpot.CFrame * CFrame.new(0,20,0)
  21. end
  22. end)
  23. while true do
  24. local endnum = plr.Data.MuscleCapacity.Value
  25. local current = plr.Data.Muscle.Value
  26. wait(0.6)
  27. game.ReplicatedStorage.RemoteEvent:FireServer("LiftWeight")
  28. if current >= endnum then
  29. wait()
  30. game.ReplicatedStorage.RemoteEvent:FireServer("SellMuscle")
  31. wait()
  32. if sellUI.Visible == true then
  33. sellUI.Visible = false
  34. end
  35. end
  36. end
Add Comment
Please, Sign In to add comment