Advertisement
x_zstd

Fast Reset Health (Left Trigger)

Jun 26th, 2024
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. ---Fast Reset V2!!!
  2. local k = "ButtonL2" --- Left Trigger
  3. local u = game:GetService("UserInputService")
  4. local AlreadyPressed = false
  5. u.InputBegan:Connect(function(input)
  6. if input.KeyCode == Enum.KeyCode[k] then
  7. if AlreadyPressed == true then return end
  8. AlreadyPressed = true
  9. local newPos = CFrame.new(83, -86, -9)
  10. local GetBattle = CFrame.new(97, -85, 1)
  11. local CurrentPos = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  12. local args = {
  13. [1] = "reset"
  14. }
  15. game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("Customization"):FireServer(unpack(args))
  16. wait(0.4)
  17. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = GetBattle
  18. wait(0.4)
  19. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CurrentPos
  20. end
  21. wait(0.1)
  22. AlreadyPressed = false
  23. end)
  24.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement