Advertisement
ZX7

Untitled

ZX7
Jun 1st, 2023
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 0
  1. -- | Made by GROUD
  2.  
  3. function Align(Part0,Part1,Position,Angle)
  4.  
  5. local AlignPos = Instance.new('AlignPosition', Part1);
  6.  
  7. AlignPos.Parent.CanCollide = false;
  8.  
  9. AlignPos.ApplyAtCenterOfMass = true;
  10.  
  11. AlignPos.MaxForce = 67752;
  12.  
  13. AlignPos.MaxVelocity = math.huge/9e110;
  14.  
  15. AlignPos.ReactionForceEnabled = false;
  16.  
  17. AlignPos.Responsiveness = 200;
  18.  
  19. AlignPos.RigidityEnabled = false;
  20.  
  21. local AlignOri = Instance.new('AlignOrientation', Part1);
  22.  
  23. AlignOri.MaxAngularVelocity = math.huge/9e110;
  24.  
  25. AlignOri.MaxTorque = 67752;
  26.  
  27. AlignOri.PrimaryAxisOnly = false;
  28.  
  29. AlignOri.ReactionTorqueEnabled = false;
  30.  
  31. AlignOri.Responsiveness = 200;
  32.  
  33. AlignOri.RigidityEnabled = false;
  34.  
  35. local AttachmentA=Instance.new('Attachment',Part1);
  36.  
  37. local AttachmentB=Instance.new('Attachment',Part0);
  38.  
  39. AttachmentA.Name = "BruhA"
  40.  
  41. AttachmentB.Name = "BruhB"
  42.  
  43. AttachmentB.Orientation = Angle
  44.  
  45. AttachmentB.Position = Position
  46.  
  47. AlignPos.Attachment0 = AttachmentA;
  48.  
  49. AlignPos.Attachment1 = AttachmentB;
  50.  
  51. AlignOri.Attachment0 = AttachmentA;
  52.  
  53. AlignOri.Attachment1 = AttachmentB;
  54.  
  55. end
  56.  
  57. User = game:GetService("Players").LocalPlayer
  58.  
  59. Body = User.Character
  60.  
  61. Soul = Body.Humanoid
  62.  
  63. FakeLeg = Body.RightUpperLeg:Clone()
  64.  
  65. FakeLeg.Transparency = 1
  66.  
  67. Body.RightUpperLeg:Destroy()
  68.  
  69. FakeLeg.Parent = Body
  70.  
  71. Body.RightUpperLeg.RightUpperLeg:Destroy()
  72.  
  73. local Korblox = Body["Recolor (For Korblox)"]
  74.  
  75. Korblox.Handle.Massless = true
  76.  
  77. Korblox.Handle:BreakJoints()
  78.  
  79. Align(FakeLeg,Korblox.Handle,Vector3.new(0,.25,0),Vector3.new(0,0,0))
  80.  
  81. game:GetService("RunService").Heartbeat:connect(function(t)
  82.  
  83. if Korblox:FindFirstChild("Handle", true) then
  84.  
  85. Korblox.Handle.Velocity = Vector3.new(0, 30,0)
  86.  
  87. end;
  88.  
  89. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement