Advertisement
JasonJJK

hatorb

Mar 27th, 2020
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.23 KB | None | 0 0
  1. _G.on = true
  2.  
  3. local parts = {}
  4. local bparts = {}
  5.  
  6. local chr = game.Players.LocalPlayer.Character
  7. local bp = game.Players.LocalPlayer.Backpack
  8.  
  9. local pb = true
  10.  
  11. for i,d in pairs(game.Players.LocalPlayer.Character.Humanoid:GetAccessories()) do
  12.  
  13. local part = nil
  14.  
  15. pcall(function()
  16. part = d.Handle
  17. end)
  18.  
  19. if part ~= nil then
  20.  
  21. local c = Instance.new("Tool")
  22. c.Name = "s-"..d.Name
  23. c.Parent = game.Players.LocalPlayer.Backpack
  24. c.Parent = game.Players.LocalPlayer.Character
  25.  
  26. part.Massless = true
  27. part:FindFirstChildOfClass("Weld"):Destroy()
  28. part.Parent = c
  29.  
  30. pb = not pb
  31. table.insert((pb and parts or bparts), c)
  32.  
  33. end
  34.  
  35. end
  36.  
  37.  
  38. local rs = game:GetService('RunService').RenderStepped
  39. local l = 1
  40.  
  41.  
  42. while _G.on and rs:wait() do
  43.  
  44. l = (l >= 360 and 1 or l+1)
  45.  
  46. for i,d in pairs(parts) do
  47.  
  48. local cfd = ((game.Players.LocalPlayer.Character:FindFirstChild("Right Arm") or game.Players.LocalPlayer.Character:FindFirstChild("RightLowerArm")).CFrame * CFrame.new(0, -1, 0, 1, 0, 0, 0, 0, 1, 0, -1, 0))
  49.  
  50. d.Parent = game.Players.LocalPlayer.Backpack
  51.  
  52. d.Grip = cfd:toObjectSpace(CFrame.new(game.Players.LocalPlayer.Character.Head.Position) * CFrame.fromEulerAnglesXYZ(math.rad(l + ((360 / #parts) * i)), math.rad(l + ((360 / #parts) * i)) ,math.rad(l + ((360 / #parts) * i))) * CFrame.new(0,0,5)):inverse()
  53.  
  54. d.Parent = game.Players.LocalPlayer.Character
  55.  
  56. end
  57.  
  58.  
  59. for i,d in pairs(bparts) do
  60.  
  61. local cfd = ((game.Players.LocalPlayer.Character:FindFirstChild("Right Arm") or game.Players.LocalPlayer.Character:FindFirstChild("RightLowerArm")).CFrame * CFrame.new(0, -1, 0, 1, 0, 0, 0, 0, 1, 0, -1, 0))
  62.  
  63. d.Parent = game.Players.LocalPlayer.Backpack
  64.  
  65. d.Grip = cfd:toObjectSpace(CFrame.new(game.Players.LocalPlayer.Character.Head.Position) * CFrame.fromEulerAnglesXYZ(math.rad(l + ((360 / #bparts) * i)), math.rad(l + ((360 / #bparts) * i)) ,math.rad(l + ((360 / #bparts) * i))) * CFrame.new(0,0,-5)):inverse()
  66.  
  67. d.Parent = game.Players.LocalPlayer.Character
  68.  
  69. end
  70.  
  71. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement