Hex4rr

god script (updated)

Jul 30th, 2020 (edited)
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.42 KB | None | 0 0
  1. local plr = game.Players.LocalPlayer.Character.Humanoid
  2. local Anim = Instance.new("Animation")
  3. Anim.AnimationId = "rbxassetid://429681631"
  4. local track = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  5. track:Play(.1, 1, 1)
  6. wait(0.6)
  7. local plr = game.Players.LocalPlayer;
  8. local chr = plr.Character;
  9. local hum = chr.Humanoid;
  10. local mov = {};
  11. local mov2 = {};
  12.  
  13. --[[Network]]
  14. coroutine.resume(coroutine.create(function()
  15. settings().Physics.AllowSleep = false;
  16. game.RunService.RenderStepped:Connect(function()
  17. for i, v in pairs(game.Players:GetPlayers()) do
  18. if v ~= plr then
  19. v.MaximumSimulationRadius = 0.1;
  20. v.SimulationRadius = 0;
  21. else
  22. v.MaximumSimulationRadius = math.pow(math.huge, math.huge);
  23. v.SimulationRadius = math.pow(math.huge, 2);
  24. end
  25. end
  26. end)
  27. end))
  28.  
  29. function ftp(str)
  30. local pt = {};
  31. if str ~= 'me' and str ~= 'random' then
  32. for i, v in pairs(game.Players:GetPlayers()) do
  33. if v.Name:lower():find(str:lower()) then
  34. table.insert(pt, v);
  35. end
  36. end
  37. elseif str == 'me' then
  38. table.insert(pt, plr);
  39. elseif str == 'random' then
  40. table.insert(pt, game.Players:GetPlayers()[math.random(1, #game.Players:GetPlayers())]);
  41. end
  42. return pt;
  43. end
  44.  
  45. for _, v in pairs(hum:GetAccessories()) do
  46. local b = v.Handle;
  47. b.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0);
  48. b.CanCollide = false;
  49. b:BreakJoints();
  50. for _, k in pairs(v:GetChildren()) do
  51. if not k:IsA'SpecialMesh' and not k:IsA'Part' then
  52. k:Destroy();
  53. end
  54. end
  55. local still = Instance.new('BodyAngularVelocity', b);
  56. still.MaxTorque = Vector3.new(math.huge, math.huge, math.huge);
  57. still.AngularVelocity = Vector3.new(0, 0, 0);
  58. local align = Instance.new('AlignPosition', b);
  59. align.MaxForce = 1000000;
  60. align.MaxVelocity = math.huge;
  61. align.RigidityEnabled = false;
  62. align.ApplyAtCenterOfMass = true;
  63. align.Responsiveness = 200;
  64. local a0 = Instance.new('Attachment', b);
  65. local a1 = Instance.new('Attachment', chr.Head);
  66. align.Attachment0 = a0;
  67. align.Attachment1 = a1;
  68. table.insert(mov, a1);
  69. table.insert(mov2, still);
  70. end
  71.  
  72. local par = {};
  73. for _, v in pairs(mov) do
  74. local parr = Instance.new('Part', workspace);
  75. parr.Anchored = true;
  76. parr.Size = Vector3.new(1, 1, 1);
  77. parr.Transparency = 1;
  78. parr.CanCollide = false;
  79. table.insert(par, parr);
  80. end
  81.  
  82. local rotx = 0;
  83. local rotz = math.pi / 2;
  84. local height = 0;
  85. local heighti = 1;
  86. local offset = 10;
  87. local mode = 9;
  88. local speed = 50;
  89. local angular = Vector3.new(0, 0, 0);
  90. local l = 1;
  91. game['Run Service'].RenderStepped:Connect(function()
  92. rotx = rotx + speed / 100;
  93. rotz = rotz + speed / 100;
  94. l = (l >= 360 and 1 or l + speed);
  95.  
  96. for i, v in pairs(par) do
  97. v.CFrame = CFrame.new(chr.HumanoidRootPart.Position) * CFrame.fromEulerAnglesXYZ(0, math.rad(l + (360 / #par) * i + speed), 0) * CFrame.new(offset, 0, 0);
  98. end
  99.  
  100. if heighti == 1 then
  101. height = height + speed / 100;
  102. elseif heighti == 2 then
  103. height = height - speed / 100;
  104. end
  105. if height > 2 then
  106. heighti = 2;
  107. end
  108. if height < -1 then
  109. heighti = 1;
  110. end
  111.  
  112. if mode == 1 then
  113. for _, v in pairs(mov) do
  114. v.Position = Vector3.new(math.sin(rotx) * offset, 0, math.sin(rotz) * offset);
  115. end
  116. elseif mode == 2 then
  117. for _, v in pairs(mov) do
  118. v.Position = Vector3.new(offset, height, offset);
  119. end
  120. elseif mode == 3 then
  121. for _, v in pairs(mov) do
  122. v.Position = Vector3.new(math.sin(rotx) * offset, height, math.sin(rotz) * offset);
  123. end
  124. elseif mode == 4 then
  125. for i, v in pairs(mov) do
  126. v.Position = Vector3.new(chr.HumanoidRootPart.CFrame:ToObjectSpace(CFrame.new(par[i].Position)).X, chr.HumanoidRootPart.CFrame:ToObjectSpace(CFrame.new(par[i].Position)).Y, chr.HumanoidRootPart.CFrame:ToObjectSpace(CFrame.new(par[i].Position)).Z);
  127. end
  128. elseif mode == 5 then
  129. for i, v in pairs(mov) do
  130. v.Position = Vector3.new((math.sin(rotx)) * offset, height, (math.cos(rotz) - i) * offset);
  131. end
  132. elseif mode == 6 then
  133. for i, v in pairs(mov) do
  134. v.Position = Vector3.new((math.sin(rotx)) * offset, height, (math.tan(rotz) - i) * offset);
  135. end
  136. elseif mode == 7 then
  137. for i, v in pairs(mov) do
  138. v.Position = Vector3.new(math.cos(rotx * i) * offset, 0, math.cos(rotz * i) * offset);
  139. end
  140. elseif mode == 8 then
  141. for i, v in pairs(mov) do
  142. v.Position = Vector3.new(math.sin(rotx) * i * offset, 0, math.sin(rotz) * i * offset);
  143. end
  144. elseif mode == 9 then
  145. pcall(function()
  146. local so = nil;
  147. for k, b in pairs(chr:GetChildren()) do
  148. if b:IsA'Tool' then
  149. for h, j in pairs(b:GetDescendants()) do
  150. if j:IsA'Sound' then
  151. so = j;
  152. end
  153. end
  154. end
  155. end
  156. if so ~= nil then
  157. offset = so.PlaybackLoudness / 35;
  158. speed = so.PlaybackLoudness / 500;
  159. angular = Vector3.new(0, so.PlaybackLoudness / 75, 0);
  160. end
  161. end)
  162. for i, v in pairs(mov) do
  163. v.Position = Vector3.new(chr.HumanoidRootPart.CFrame:ToObjectSpace(CFrame.new(par[i].Position)).X, chr.HumanoidRootPart.CFrame:ToObjectSpace(CFrame.new(par[i].Position)).Y, chr.HumanoidRootPart.CFrame:ToObjectSpace(CFrame.new(par[i].Position)).Z);
  164. end
  165. elseif mode == 10 then
  166. offset = height * 15;
  167. for i, v in pairs(mov) do
  168. v.Position = Vector3.new(chr.HumanoidRootPart.CFrame:ToObjectSpace(CFrame.new(par[i].Position)).X, chr.HumanoidRootPart.CFrame:ToObjectSpace(CFrame.new(par[i].Position)).Y, chr.HumanoidRootPart.CFrame:ToObjectSpace(CFrame.new(par[i].Position)).Z);
  169. end
  170. elseif mode == 11 then
  171. for i, v in pairs(mov) do
  172. v.Position = Vector3.new(chr.HumanoidRootPart.CFrame:ToObjectSpace(CFrame.new(plr:GetMouse().Hit.p)).X, chr.HumanoidRootPart.CFrame:ToObjectSpace(CFrame.new(plr:GetMouse().Hit.p)).Y, chr.HumanoidRootPart.CFrame:ToObjectSpace(CFrame.new(plr:GetMouse().Hit.p)).Z) + Vector3.new(chr.HumanoidRootPart.CFrame:ToObjectSpace(CFrame.new(par[i].Position)).X, chr.HumanoidRootPart.CFrame:ToObjectSpace(CFrame.new(par[i].Position)).Y, chr.HumanoidRootPart.CFrame:ToObjectSpace(CFrame.new(par[i].Position)).Z);
  173. end
  174. end
  175. for _, v in pairs(mov2) do
  176. v.AngularVelocity = angular;
  177. end
  178. end)
  179. game.Players.LocalPlayer.Chatted:Connect(function(c)
  180. if c:split(' ')[1] == '.orbit' then
  181. for _, v in pairs(mov) do
  182. chr = ftp(c:split(' ')[2])[1].Character;
  183. v.Parent = ftp(c:split(' ')[2])[1].Character.HumanoidRootPart;
  184. end
  185. end
  186. if c:split(' ')[1] == '.speed' then
  187. speed = tonumber(c:split(' ')[2]);
  188. end
  189. if c:split(' ')[1] == '.mode' then
  190. mode = tonumber(c:split(' ')[2]);
  191. end
  192. if c:split(' ')[1] == '.offset' then
  193. offset = tonumber(c:split(' ')[2]);
  194. end
  195. if c:split(' ')[1] == '.angular' then
  196. angular = Vector3.new(tonumber(c:split(' ')[2]), tonumber(c:split(' ')[3]), tonumber(c:split(' ')[4]));
  197. end
  198. end)
  199. local plr = game.Players.LocalPlayer.Character.Humanoid
  200. plr.Animator:Destroy()
  201. power = -20
  202. wait(.1)
  203. local bambam = Instance.new("BodyThrust")
  204. bambam.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  205. bambam.Force = Vector3.new(power,0,power)
  206. bambam.Location = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
  207. wait(0.1)
  208.  
  209. while wait() do
  210. plr.HipHeight = 5
  211. wait(0.1)
  212. plr.HipHeight = 4.8
  213. wait(0.1)
  214. plr.HipHeight = 4.4
  215. wait(0.1)
  216. plr.HipHeight = 4.2
  217. wait(0.1)
  218. plr.HipHeight = 4
  219. wait(0.1)
  220. plr.HipHeight = 4.2
  221. wait(0.1)
  222. plr.HipHeight = 4.4
  223. wait(0.1)
  224. plr.HipHeight = 4.8
  225. wait(0.1)
  226. plr.HipHeight = 5
  227. end
Add Comment
Please, Sign In to add comment