Advertisement
SCRIPTCUSTOMIZER

Test

Dec 13th, 2023 (edited)
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.43 KB | None | 0 0
  1. local lp = game:GetService("Players").LocalPlayer
  2. lp.Character.Archivable=true
  3. local fakechar=lp.Character:Clone()
  4. lp.Character.Archivable=false
  5. fakechar.Parent=workspace
  6. keypress(Enum.KeyCode.F)
  7. task.wait(0.5)
  8. local c=lp.Character
  9. lp.Character=fakechar
  10. workspace.CurrentCamera.CameraSubject=fakechar.Humanoid
  11. local function Align(Part1,Part0,CFrameOffset) -- i dont know who made this function but 64will64 sent it to me so credit to whoever made it
  12. local AlignPos = Instance.new('AlignPosition', Part1);
  13. AlignPos.Parent.CanCollide = false;
  14. AlignPos.ApplyAtCenterOfMass = true;
  15. AlignPos.MaxForce = 67752;
  16. AlignPos.MaxVelocity = math.huge/9e110;
  17. AlignPos.ReactionForceEnabled = false;
  18. AlignPos.Responsiveness = 200;
  19. AlignPos.RigidityEnabled = false;
  20. local AlignOri = Instance.new('AlignOrientation', Part1);
  21. AlignOri.MaxAngularVelocity = math.huge/9e110;
  22. AlignOri.MaxTorque = 67752;
  23. AlignOri.PrimaryAxisOnly = false;
  24. AlignOri.ReactionTorqueEnabled = false;
  25. AlignOri.Responsiveness = 200;
  26. AlignOri.RigidityEnabled = false;
  27. local AttachmentA=Instance.new('Attachment',Part1);
  28. local AttachmentB=Instance.new('Attachment',Part0);
  29. AttachmentB.CFrame = AttachmentB.CFrame * CFrameOffset
  30. AlignPos.Attachment0 = AttachmentA;
  31. AlignPos.Attachment1 = AttachmentB;
  32. AlignOri.Attachment0 = AttachmentA;
  33. AlignOri.Attachment1 = AttachmentB;
  34. end
  35. local TorsoAligner=Align(c.HumanoidRootPart, fakechar.HumanoidRootPart, CFrame.new(0,0,0))
  36. task.spawn(function()
  37. while true do
  38. task.wait(0.2)
  39. c.Humanoid.PlatformStand=true
  40. c.Humanoid.Sit=true
  41. c.Humanoid.HipHeight= - 2
  42. c.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Physics)
  43. end
  44. end)
  45. game:GetService("RunService").Heartbeat:Connect(function()
  46. for _, x in pairs(fakechar:GetChildren()) do
  47. if x:IsA("BasePart") or x:IsA("MeshPart") then
  48. x.Transparency=0
  49. x.CanCollide=false
  50. x.CanTouch=false
  51. x.Massless=true
  52. x.CanQuery=false
  53. end
  54. end
  55. for _, x in pairs(c:GetChildren()) do
  56. if x:IsA("BasePart") or x:IsA("MeshPart") then
  57. if fakechar:FindFirstChild(x.Name) then
  58. setsimulationradius(1000)
  59. x.CanCollide=false
  60. x.Transparency=1
  61. x.CanTouch=false
  62. x.CanQuery=false
  63. x.Massless=true
  64. x.Velocity=Vector3.new(0, 0, 0)
  65. x.RotVelocity=Vector3.new(0, 0, 0)
  66. x.CFrame=fakechar:FindFirstChild(x.Name).CFrame
  67. end
  68. end
  69. end
  70. end)
  71.  
  72. wait(0.5)
  73.  
  74. loadstring(game:HttpGetAsync("https://pastebin.com/raw/0QfjMKrF"))()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement