Advertisement
hacimiks

korb fake

Apr 13th, 2024 (edited)
782
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.81 KB | None | 0 0
  1. function Align(Part0,Part1,Position,Angle)
  2.     local AlignPos = Instance.new('AlignPosition', Part1);
  3.     AlignPos.Parent.CanCollide = false;
  4.     AlignPos.ApplyAtCenterOfMass = true;
  5.     AlignPos.MaxForce = 67752;
  6.     AlignPos.MaxVelocity = math.huge/9e110;
  7.     AlignPos.ReactionForceEnabled = false;
  8.     AlignPos.Responsiveness = 200;
  9.     AlignPos.RigidityEnabled = false;
  10.     local AlignOri = Instance.new('AlignOrientation', Part1);
  11.     AlignOri.MaxAngularVelocity = math.huge/9e110;
  12.     AlignOri.MaxTorque = 67752;
  13.     AlignOri.PrimaryAxisOnly = false;
  14.     AlignOri.ReactionTorqueEnabled = false;
  15.     AlignOri.Responsiveness = 200;
  16.     AlignOri.RigidityEnabled = false;
  17.     local AttachmentA=Instance.new('Attachment',Part1);
  18.     local AttachmentB=Instance.new('Attachment',Part0);
  19.     AttachmentA.Name = "BruhA"
  20.     AttachmentB.Name = "BruhB"
  21.     AttachmentB.Orientation = Angle
  22.     AttachmentB.Position = Position
  23.     AlignPos.Attachment0 = AttachmentA;
  24.     AlignPos.Attachment1 = AttachmentB;
  25.     AlignOri.Attachment0 = AttachmentA;
  26.     AlignOri.Attachment1 = AttachmentB;
  27. end
  28.  
  29. User = game:GetService("Players").LocalPlayer
  30. Body = User.Character
  31. Soul = Body.Humanoid
  32.  
  33. FakeLeg = Body.RightLowerLeg:Clone()
  34. FakeLeg = Body.RightUpperLeg:Clone()
  35. FakeLeg.Transparency = 1
  36. Body.RightLowerLeg:Destroy()
  37. Body.RightUpperLeg:Destroy()
  38. FakeLeg.Parent = Body
  39. Body.RightLowerLeg.RightLowerLeg:Destroy()
  40. Body.RightUpperLeg.RightUpperLeg:Destroy()
  41.  
  42. local Korblox = Body["Recolor (For Korblox)"]
  43. Korblox.Handle.Massless = true
  44. Korblox.Handle:BreakJoints()
  45.  
  46. Align(FakeLeg,Korblox.Handle,Vector3.new(0,.25,0),Vector3.new(0,0,0))
  47.  
  48. game:GetService("RunService").Heartbeat:connect(function(t)
  49.     if Korblox:FindFirstChild("Handle", true) then
  50.         Korblox.Handle.Velocity = Vector3.new(0, 30,0)
  51.     end;
  52. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement