Upscalefanatic3

[FE] (Roblox) Headless Script

Mar 30th, 2020
602
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. local Y = -50 --/* Places your head 50 studs below you [Feel free to change to wherever.]
  2.  
  3. local LP = game:GetService('Players').LocalPlayer
  4. if not workspace:FindFirstChild(LP.Name) then LP.CharacterAdded:Wait() end
  5. local Char = workspace[LP.Name]
  6.  
  7. local Hat = Char:FindFirstChildOfClass('Accessory')
  8. local Handle = Hat['Handle']; local Attachment = Handle:FindFirstChildWhichIsA('Attachment')
  9. local ACWeld = Handle:FindFirstChildWhichIsA('Weld')
  10.  
  11. local Var, BPart;
  12. if tostring(ACWeld.Part1) == 'Torso' or tostring(ACWeld.Part1) == 'UpperTorso' then
  13. Var = -Y
  14. BPart = Char['Head']
  15. else
  16. Var = Y
  17. BPart = Char['HumanoidRootPart']
  18. end
  19.  
  20. local RGrip = Instance.new('Weld')
  21. RGrip.Name = 'RightGrip'
  22. RGrip.Part1 = Handle; RGrip.Part0 = BPart
  23. RGrip.Parent = BPart
  24. Attachment.CFrame = CFrame.new(0,0,0);
  25. RGrip.C1 = Handle.CFrame:ToObjectSpace(Char['HumanoidRootPart'].CFrame) RGrip.C0 = CFrame.new(0, Var, 0)
  26. RGrip:Remove(); RGrip.Parent = BPart
Add Comment
Please, Sign In to add comment