Advertisement
WELPLOCKED

Combat warriors speed script

Jan 5th, 2025
1,223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. -- |--------------------------------------------------|
  2. -- | 7Made By @4adrian7 |
  3. -- |--------------------------------------------------|
  4.  
  5. -- Walkspeed Manipulator
  6. local Players = game:GetService("Players")
  7. local LocalPlayer = Players.LocalPlayer
  8. local RunService = game:GetService("RunService")
  9.  
  10. getgenv().MovementSettings = {
  11. Enabled = true,
  12. Speed = 90
  13. }
  14.  
  15. local function manipulateMovement()
  16. if not LocalPlayer.Character or not LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then return end
  17. local RootPart = LocalPlayer.Character.HumanoidRootPart
  18. local Humanoid = LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
  19.  
  20. if not Humanoid then return end
  21.  
  22. RunService.Stepped:Connect(function()
  23. if getgenv().MovementSettings.Enabled then
  24. local moveDirection = Humanoid.MoveDirection
  25. RootPart.Velocity = Vector3.new(
  26. moveDirection.X * getgenv().MovementSettings.Speed,
  27. RootPart.Velocity.Y,
  28. moveDirection.Z * getgenv().MovementSettings.Speed
  29. )
  30. end
  31. end)
  32. end
  33.  
  34. manipulateMovement()
  35.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement