Advertisement
sIendytubble

balfi

May 23rd, 2020
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.07 KB | None | 0 0
  1. plr = game.Players.LocalPlayer
  2. char = plr.Character
  3. de = char.RightUpperArm:FindFirstChild("RightShoulder",true)
  4. if de.Name == "RightShoulder" then
  5. democracy = Instance.new("ManualGlue",de.Parent)
  6. democracy.Name = de.Name
  7. democracy.C0 = de.C0
  8. democracy.C1 = de.C1
  9. democracy.Part0 = de.Part0
  10. democracy.Part1 = de.Part1
  11. local Settings={["Un_Removable"]= "On"}
  12. local function mFloor(x) return x - x % 1 end
  13. local Un_Removable = tostring(Settings["Un_Removable"]):lower() == "on"
  14. if Un_Removable then
  15. Game.Workspace.DescendantRemoving:connect(function(Child)
  16. if not Remove_At_Will and Child == democracy then
  17. democracy:Clone().Parent = Game.Workspace
  18. end
  19. end)
  20. end
  21. end
  22. de = char.LeftUpperArm:FindFirstChild("LeftShoulder",true)
  23. if de.Name == "LeftShoulder" then
  24. democracy = Instance.new("ManualGlue",de.Parent)
  25. democracy.Name = de.Name
  26. democracy.C0 = de.C0
  27. democracy.C1 = de.C1
  28. democracy.Part0 = de.Part0
  29. democracy.Part1 = de.Part1
  30. local Settings={["Un_Removable"]= "On"}
  31. local function mFloor(x) return x - x % 1 end
  32. local Un_Removable = tostring(Settings["Un_Removable"]):lower() == "on"
  33. if Un_Removable then
  34. Game.Workspace.DescendantRemoving:connect(function(Child)
  35. if not Remove_At_Will and Child == democracy then
  36. democracy:Clone().Parent = Game.Workspace
  37. end
  38. end)
  39. end
  40. end
  41. de = char.LeftLowerArm:FindFirstChild("LeftElbow",true)
  42. if de.Name == "LeftElbow" then
  43. democracy = Instance.new("ManualGlue",de.Parent)
  44. democracy.Name = de.Name
  45. democracy.C0 = de.C0
  46. democracy.C1 = de.C1
  47. democracy.Part0 = de.Part0
  48. democracy.Part1 = de.Part1
  49. local Settings={["Un_Removable"]= "On"}
  50. local function mFloor(x) return x - x % 1 end
  51. local Un_Removable = tostring(Settings["Un_Removable"]):lower() == "on"
  52. if Un_Removable then
  53. Game.Workspace.DescendantRemoving:connect(function(Child)
  54. if not Remove_At_Will and Child == democracy then
  55. democracy:Clone().Parent = Game.Workspace
  56. end
  57. end)
  58. end
  59. end
  60. --game.Workspace.GameService.UpdateObjectProperty:FireServer(true, workspace.citizenwas_erased, "Name", "Noob", 0.1)
  61. de = char.RightLowerArm:FindFirstChild("RightElbow",true)
  62. if de.Name == "RightElbow" then
  63. democracy = Instance.new("ManualGlue",de.Parent)
  64. democracy.Name = de.Name
  65. democracy.C0 = de.C0
  66. democracy.C1 = de.C1
  67. democracy.Part0 = de.Part0
  68. democracy.Part1 = de.Part1
  69. local Settings={["Un_Removable"]= "On"}
  70. local function mFloor(x) return x - x % 1 end
  71. local Un_Removable = tostring(Settings["Un_Removable"]):lower() == "on"
  72. if Un_Removable then
  73. Game.Workspace.DescendantRemoving:connect(function(Child)
  74. if not Remove_At_Will and Child == democracy then
  75. democracy:Clone().Parent = Game.Workspace
  76. end
  77. end)
  78. end
  79. end
  80. char.LeftLowerArm.LeftElbow:remove()
  81. char.LeftUpperArm.LeftShoulder:remove()
  82. char.RightLowerArm.RightElbow:remove()
  83. char.RightUpperArm.RightShoulder:remove()
  84. mouse = plr:GetMouse()
  85. pointing = false
  86. mouse.Button1Down:Connect(function()
  87. pointing = true
  88. end)
  89. mouse.Button1Up:Connect(function()
  90. pointing = false
  91. end)
  92. local pos = nil
  93. camera = game.Workspace.CurrentCamera
  94. local camPart = Instance.new("Part", camera)
  95. camPart.Size = Vector3.new(0, 0, 0)
  96. camPart.Position = mouse.Hit.p-- + Vector3.new(0,char.LeftUpperArm.Size.Y + char.LeftLowerArm.Size.Y + 12,0)
  97. camPart.CanCollide = false
  98. camPart.Anchored = true
  99. camPart.Transparency = 1
  100. ok = Instance.new("BodyGyro",char.RightLowerArm)
  101. ok.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  102. ok2 = Instance.new("BodyGyro",char.RightUpperArm)
  103. ok2.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  104. --ok.CFrame = CFrame.new(char.RightUpperArm.Position, camPart.Position)
  105. game:GetService("RunService").RenderStepped:Connect(function()
  106. camPart.Position = mouse.Hit.p-- + Vector3.new(0,char.LeftUpperArm.Size.Y + char.LeftLowerArm.Size.Y + 12,0)
  107. pos = camPart.Position
  108. ok.CFrame = CFrame.new(char["RightLowerArm"].Position, pos) * CFrame.Angles(math.rad(90),0,0)
  109. ok2.CFrame = CFrame.new(char["RightUpperArm"].Position, pos) * CFrame.Angles(math.rad(90),0,0)
  110. end)
  111. char.Humanoid.Died:Connect(function()
  112. script.Disabled = true
  113. camPart:Destroy()
  114. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement