TheUnknownDiscord

roll

Aug 28th, 2021 (edited)
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function killfunction(part)
  2.     for i,v in pairs(owner.Character:GetDescendants()) do
  3.         if v:IsA("Motor6D") then
  4.             local Socket = Instance.new("BallSocketConstraint")
  5.             local a1 = Instance.new("Attachment")
  6.             local a2 = Instance.new("Attachment")
  7.             a1.Parent = v.Part0
  8.             a2.Parent = v.Part1
  9.             Socket.Parent = v.Parent
  10.             Socket.Attachment0 = a1
  11.             Socket.Attachment1 = a2
  12.             a1.CFrame = v.C0
  13.             a2.CFrame = v.C1
  14.             Socket.LimitsEnabled = true
  15.             v:Destroy()
  16.         end
  17.     end
  18. end
  19.     owner.Character.Humanoid.RequiresNeck = false
  20. killfunction()
  21.  
  22. local E = Instance.new("RemoteEvent",NLS([[local E = script:FindFirstChildWhichIsA("RemoteEvent")
  23. owner.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Physics)
  24. for i,v in pairs(owner.Character:GetDescendants()) do
  25. pcall(function()
  26. v.CanCollide = false
  27. end)
  28. end
  29. pcall(function()
  30. workspace.CurrentCamera.CameraSubject = owner.Character.Torso
  31. workspace.CurrentCamera.CameraSubject = owner.Character.UpperTorso
  32. end)
  33.         local Mouse = owner:GetMouse()
  34.         function KeyDown(key)
  35.         key = key:lower()
  36.         if key:byte() == 32 then
  37. local Up = Instance.new("BodyVelocity",owner.Character.HumanoidRootPart)
  38. Up.MaxForce = Vector3.new(0,1000000,0)
  39. Up.Velocity = Vector3.new(0,25,0)
  40. wait(0.25)
  41. Up:Destroy()
  42.         end
  43.         end
  44.         Mouse.KeyDown:Connect(KeyDown)
  45.         ]],owner.PlayerGui))
  46.  
  47.   local Velocity = Instance.new("BodyAngularVelocity")
  48.   Velocity.Parent = owner.Character.HumanoidRootPart
  49.  
  50.   while true do
  51.    wait()
  52.    Velocity.AngularVelocity = Vector3.new(owner.Character.Humanoid.MoveDirection.z * 10,0,owner.Character.Humanoid.MoveDirection.x * -10)
  53.    Velocity.MaxTorque = Vector3.new(5000,5000,5000)
  54.    if owner.Character.Humanoid.MoveDirection == Vector3.new(0,0,0) then
  55.       Velocity.MaxTorque = Vector3.new(0,0,0)
  56.  end
  57. end
Add Comment
Please, Sign In to add comment