Advertisement
Guest User

Untitled

a guest
Feb 20th, 2020
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 58.46 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86. local h,t
  87. --Give the server mouse data every second frame, but only if the values changed
  88. --If player is not moving their mouse, client won't fire events
  89. local HB = game:GetService("RunService").Heartbeat
  90. while true do
  91. if h~=Mouse.Hit or t~=Mouse.Target then
  92. h,t=Mouse.Hit,Mouse.Target
  93. Event:FireServer({isMouse=true,Target=t,Hit=h})
  94. end
  95. --Wait 2 frames
  96. for i=1,2 do
  97. HB:Wait()
  98. end
  99. end]==],script)
  100.  
  101. ----Sandboxed game object that allows the usage of client-side methods and services
  102. --Real game object
  103. local RealGame = game
  104.  
  105. --Metatable for fake service
  106. local FakeService_Metatable = {
  107. __index = function(self,k)
  108. local s = rawget(self,"_RealService")
  109. if s then
  110. return typeof(s[k])=="function"
  111. and function(_,...)return s[k](s,...)end or s[k]
  112. end
  113. end,
  114. __newindex = function(self,k,v)
  115. local s = rawget(self,"_RealService")
  116. if s then s[k]=v end
  117. end
  118. }
  119. local function FakeService(t,RealService)
  120. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  121. return setmetatable(t,FakeService_Metatable)
  122. end
  123.  
  124. --Fake game object
  125. local FakeGame = {
  126. GetService = function(self,s)
  127. return rawget(self,s) or RealGame:GetService(s)
  128. end,
  129. Players = FakeService({
  130. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  131. },"Players"),
  132. UserInputService = FakeService(UIS,"UserInputService"),
  133. ContextActionService = FakeService(CAS,"ContextActionService"),
  134. RunService = FakeService({
  135. _btrs = {},
  136. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  137. BindToRenderStep = function(self,name,_,fun)
  138. self._btrs[name] = self.Heartbeat:Connect(fun)
  139. end,
  140. UnbindFromRenderStep = function(self,name)
  141. self._btrs[name]:Disconnect()
  142. end,
  143. },"RunService")
  144. }
  145. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  146. FakeGame.service = FakeGame.GetService
  147. FakeService(FakeGame,game)
  148. --Changing owner to fake player object to support owner:GetMouse()
  149. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  150. end
  151.  
  152. A = true
  153. if A == true then
  154. local SND = Instance.new("Sound", workspace)
  155. SND.SoundId = "rbxassetid://1571597070"
  156. SND:Play()
  157. Model = Instance.new("Model")
  158. Model.Name = "Weapon"
  159. p = Instance.new("Part", Model)
  160. p.Name = "Part"
  161. p.TopSurface = 0
  162. p.BottomSurface = 0
  163. p.formFactor = "Custom"
  164. p.Size = Vector3.new(10, 12, 10)
  165. p.CFrame = CFrame.new(35.4000015, 7.0999999, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
  166. p.BrickColor = BrickColor.new("Medium stone grey")
  167. p.Transparency = 0
  168. p.Reflectance = .1
  169. p.Material = Enum.Material.Concrete
  170. m = Instance.new("CylinderMesh")
  171. m.Scale = Vector3.new(1, 1.02999997, 1)
  172. m.Parent = p
  173. p = Instance.new("Part", Model)
  174. p.Name = "Part"
  175. p.TopSurface = 0
  176. p.BottomSurface = 0
  177. p.formFactor = "Custom"
  178. p.Size = Vector3.new(2, 12.8, 2)
  179. p.CFrame = CFrame.new(35.4000015, 7.19999981, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
  180. p.BrickColor = BrickColor.new("Bright yellow")
  181. p.Transparency = 0
  182. p.Reflectance = .1
  183. p.Material = Enum.Material.Plastic
  184. m = Instance.new("CylinderMesh")
  185. m.Scale = Vector3.new(1, 1, 1)
  186. m.Parent = p
  187. p = Instance.new("Part", Model)
  188. p.Name = "Part"
  189. p.TopSurface = 0
  190. p.BottomSurface = 0
  191. p.formFactor = "Custom"
  192. p.Size = Vector3.new(1.79, 5, 1)
  193. p.CFrame = CFrame.new(29.7000179, 8.89999485, 63.3000221, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
  194. p.BrickColor = BrickColor.new("Bright yellow")
  195. p.Transparency = 0
  196. p.Reflectance = .1
  197. p.Material = Enum.Material.Plastic
  198. p = Instance.new("Part", Model)
  199. p.Name = "Part"
  200. p.TopSurface = 0
  201. p.BottomSurface = 0
  202. p.formFactor = "Custom"
  203. p.Size = Vector3.new(5, 1.40, 0.99)
  204. p.CFrame = CFrame.new(29.7000198, 10.4999943, 63.3000031, -1.49008788e-008, -2.3933373e-007, 0.999990225, 6.6675625e-009, 0.99999392, 2.39334668e-007, -0.999994516, 6.66761935e-009, 7.45059765e-008)
  205. p.BrickColor = BrickColor.new("Bright yellow")
  206. p.Transparency = 0
  207. p.Reflectance = .1
  208. p.Material = Enum.Material.Plastic
  209. m = Instance.new("SpecialMesh")
  210. m.Scale = Vector3.new(1, 1, 1)
  211. m.Parent = p
  212. m.MeshType = Enum.MeshType.Wedge
  213. p = Instance.new("Part", Model)
  214. p.Name = "Center"
  215. p.TopSurface = 0
  216. p.BottomSurface = 0
  217. p.formFactor = "Custom"
  218. p.Size = Vector3.new(12.5, 5.80, 27.6)
  219. p.CFrame = CFrame.new(43.0000076, 9.30000114, 62.8999977, 1.06581131e-014, -8.74229471e-008, 1, -7.10542736e-015, 1, 8.742294e-008, -1, -7.10542736e-015, -4.37113776e-008)
  220. p.BrickColor = BrickColor.new("Bright yellow")
  221. p.Transparency = 1
  222. p.Reflectance = .1
  223. p.Material = Enum.Material.Plastic
  224. p = Instance.new("Part", Model)
  225. p.Name = "Part"
  226. p.TopSurface = 0
  227. p.BottomSurface = 0
  228. p.formFactor = "Custom"
  229. p.Size = Vector3.new(6.80, 1, 6.00)
  230. p.CFrame = CFrame.new(51.9999924, 9.06999207, 68.6000443, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
  231. p.BrickColor = BrickColor.new("Bright yellow")
  232. p.Transparency = 0
  233. p.Reflectance = .1
  234. p.Material = Enum.Material.Plastic
  235. p = Instance.new("Part", Model)
  236. p.Name = "Part"
  237. p.TopSurface = 0
  238. p.BottomSurface = 0
  239. p.formFactor = "Custom"
  240. p.Size = Vector3.new(11, 5.40, 2.79)
  241. p.CFrame = CFrame.new(56.5999718, 9.76999664, 63.0000076, 1.49011612e-008, 5.89458523e-007, -0.999990225, -3.49571337e-007, 0.99999392, 5.89460512e-007, 0.999994278, 3.49571422e-007, -4.47034836e-008)
  242. p.BrickColor = BrickColor.new("Bright yellow")
  243. p.Transparency = 0
  244. p.Reflectance = .1
  245. p.Material = Enum.Material.Plastic
  246. m = Instance.new("SpecialMesh")
  247. m.Scale = Vector3.new(1, 1, 1)
  248. m.Parent = p
  249. m.MeshType = Enum.MeshType.Wedge
  250. p = Instance.new("Part", Model)
  251. p.Name = "Part"
  252. p.TopSurface = 0
  253. p.BottomSurface = 0
  254. p.formFactor = "Custom"
  255. p.Size = Vector3.new(2.60, 11, 1.99)
  256. p.CFrame = CFrame.new(39.4000015, 10.7699995, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
  257. p.BrickColor = BrickColor.new("Bright yellow")
  258. p.Transparency = 0
  259. p.Reflectance = .1
  260. p.Material = Enum.Material.Plastic
  261. p = Instance.new("Part", Model)
  262. p.Name = "Part"
  263. p.TopSurface = 0
  264. p.BottomSurface = 0
  265. p.formFactor = "Custom"
  266. p.Size = Vector3.new(3.20, 11.0, 5)
  267. p.CFrame = CFrame.new(35.9000092, 11.0999928, 63.0000153, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
  268. p.BrickColor = BrickColor.new("Bright yellow")
  269. p.Transparency = 0
  270. p.Reflectance = .1
  271. p.Material = Enum.Material.Plastic
  272. p = Instance.new("Part", Model)
  273. p.Name = "Part"
  274. p.TopSurface = 0
  275. p.BottomSurface = 0
  276. p.formFactor = "Custom"
  277. p.Size = Vector3.new(1.99, 1, 1)
  278. p.CFrame = CFrame.new(51.8999863, 16.6699886, 58.4000015, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
  279. p.BrickColor = BrickColor.new("Mid gray")
  280. p.Transparency = 0
  281. p.Reflectance = .1
  282. p.Material = Enum.Material.Plastic
  283. p = Instance.new("Part", Model)
  284. p.Name = "Part"
  285. p.TopSurface = 0
  286. p.BottomSurface = 0
  287. p.formFactor = "Custom"
  288. p.Size = Vector3.new(1, 1, 4.59)
  289. p.CFrame = CFrame.new(49.099987, 18.1699905, 58.4000015, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
  290. p.BrickColor = BrickColor.new("Mid gray")
  291. p.Transparency = 0
  292. p.Reflectance = .1
  293. p.Material = Enum.Material.Plastic
  294. p = Instance.new("Part", Model)
  295. p.Name = "Part"
  296. p.TopSurface = 0
  297. p.BottomSurface = 0
  298. p.formFactor = "Custom"
  299. p.Size = Vector3.new(1, 12.6, 9.80)
  300. p.CFrame = CFrame.new(40.2999878, 6.77000237, 63.0000038, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
  301. p.BrickColor = BrickColor.new("Bright yellow")
  302. p.Transparency = 0
  303. p.Reflectance = .1
  304. p.Material = Enum.Material.Plastic
  305. p = Instance.new("Part", Model)
  306. p.Name = "Part"
  307. p.TopSurface = 0
  308. p.BottomSurface = 0
  309. p.formFactor = "Custom"
  310. p.Size = Vector3.new(5.19, 1.39, 2.39)
  311. p.CFrame = CFrame.new(32.2000008, 12.5999899, 63.2999992, -1.49008788e-008, -2.3933373e-007, 0.999990225, 6.6675625e-009, 0.99999392, 2.39334668e-007, -0.999994516, 6.66761935e-009, 7.45059765e-008)
  312. p.BrickColor = BrickColor.new("Bright yellow")
  313. p.Transparency = 0
  314. p.Reflectance = .1
  315. p.Material = Enum.Material.Plastic
  316. m = Instance.new("SpecialMesh")
  317. m.Scale = Vector3.new(1, 1, 1)
  318. m.Parent = p
  319. m.MeshType = Enum.MeshType.Wedge
  320. p = Instance.new("Part", Model)
  321. p.Name = "Part"
  322. p.TopSurface = 0
  323. p.BottomSurface = 0
  324. p.formFactor = "Custom"
  325. p.Size = Vector3.new(11, 0.60, 1.99)
  326. p.CFrame = CFrame.new(39.3999825, 12.3699951, 63.0000267, 1.49008779e-008, 2.39330944e-007, -0.999990225, 6.66761935e-009, 0.99999392, 2.39331769e-007, 0.999994516, -6.66753408e-009, -7.45059765e-008)
  327. p.BrickColor = BrickColor.new("Bright yellow")
  328. p.Transparency = 0
  329. p.Reflectance = .1
  330. p.Material = Enum.Material.Plastic
  331. m = Instance.new("SpecialMesh")
  332. m.Scale = Vector3.new(1, 1, 1)
  333. m.Parent = p
  334. m.MeshType = Enum.MeshType.Wedge
  335. p = Instance.new("Part", Model)
  336. p.Name = "Part"
  337. p.TopSurface = 0
  338. p.BottomSurface = 0
  339. p.formFactor = "Custom"
  340. p.Size = Vector3.new(3.20, 11, 5.60)
  341. p.CFrame = CFrame.new(50.1999855, 14.0699921, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
  342. p.BrickColor = BrickColor.new("Bright yellow")
  343. p.Transparency = 0
  344. p.Reflectance = .1
  345. p.Material = Enum.Material.Plastic
  346. p = Instance.new("Part", Model)
  347. p.Name = "Part"
  348. p.TopSurface = 0
  349. p.BottomSurface = 0
  350. p.formFactor = "Custom"
  351. p.Size = Vector3.new(5, 13, 3.79)
  352. p.CFrame = CFrame.new(43.2999916, 9.56999779, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
  353. p.BrickColor = BrickColor.new("Bright yellow")
  354. p.Transparency = 0
  355. p.Reflectance = .1
  356. p.Material = Enum.Material.Plastic
  357. p = Instance.new("Part", Model)
  358. p.Name = "Part"
  359. p.TopSurface = 0
  360. p.BottomSurface = 0
  361. p.formFactor = "Custom"
  362. p.Size = Vector3.new(5.19, 1.39, 2.39)
  363. p.CFrame = CFrame.new(39.6000061, 12.599987, 63.2999992, 1.49011612e-008, 5.89458523e-007, -0.999990225, -3.49571337e-007, 0.99999392, 5.89460512e-007, 0.999994278, 3.49571422e-007, -4.47034836e-008)
  364. p.BrickColor = BrickColor.new("Bright yellow")
  365. p.Transparency = 0
  366. p.Reflectance = .1
  367. p.Material = Enum.Material.Plastic
  368. m = Instance.new("SpecialMesh")
  369. m.Scale = Vector3.new(1, 1, 1)
  370. m.Parent = p
  371. m.MeshType = Enum.MeshType.Wedge
  372. p = Instance.new("Part", Model)
  373. p.Name = "Part"
  374. p.TopSurface = 0
  375. p.BottomSurface = 0
  376. p.formFactor = "Custom"
  377. p.Size = Vector3.new(5.19, 1, 1)
  378. p.CFrame = CFrame.new(46.2999878, 15.069993, 67.5999985, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
  379. p.BrickColor = BrickColor.new("Mid gray")
  380. p.Transparency = 0
  381. p.Reflectance = .1
  382. p.Material = Enum.Material.Plastic
  383. p = Instance.new("Part", Model)
  384. p.Name = "Part"
  385. p.TopSurface = 0
  386. p.BottomSurface = 0
  387. p.formFactor = "Custom"
  388. p.Size = Vector3.new(3.20, 5, 4)
  389. p.CFrame = CFrame.new(32.200016, 9.59999657, 63.3000221, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
  390. p.BrickColor = BrickColor.new("Bright yellow")
  391. p.Transparency = 0
  392. p.Reflectance = .1
  393. p.Material = Enum.Material.Plastic
  394. p = Instance.new("Part", Model)
  395. p.Name = "Part"
  396. p.TopSurface = 0
  397. p.BottomSurface = 0
  398. p.formFactor = "Custom"
  399. p.Size = Vector3.new(6, 6.79, 2.79)
  400. p.CFrame = CFrame.new(51.9999924, 9.06999302, 70.5000458, -1, 0, -4.37113883e-008, 0, 1, 0, 4.37113883e-008, 0, -1)
  401. p.BrickColor = BrickColor.new("Bright yellow")
  402. p.Transparency = 0
  403. p.Reflectance = .1
  404. p.Material = Enum.Material.Plastic
  405. m = Instance.new("SpecialMesh")
  406. m.Scale = Vector3.new(1, 1, 1)
  407. m.Parent = p
  408. m.MeshType = Enum.MeshType.Wedge
  409. p = Instance.new("Part", Model)
  410. p.Name = "Part"
  411. p.TopSurface = 0
  412. p.BottomSurface = 0
  413. p.formFactor = "Custom"
  414. p.Size = Vector3.new(0.60, 7.40, 3.79)
  415. p.CFrame = CFrame.new(43.2999916, 12.3699942, 63.2000008, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
  416. p.BrickColor = BrickColor.new("Black")
  417. p.Transparency = 0
  418. p.Reflectance = .1
  419. p.Material = Enum.Material.Plastic
  420. p = Instance.new("Part", Model)
  421. p.Name = "Part"
  422. p.TopSurface = 0
  423. p.BottomSurface = 0
  424. p.formFactor = "Custom"
  425. p.Size = Vector3.new(6.80, 1, 6.00)
  426. p.CFrame = CFrame.new(51.9999924, 9.06999588, 57.3999977, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
  427. p.BrickColor = BrickColor.new("Bright yellow")
  428. p.Transparency = 0
  429. p.Reflectance = .1
  430. p.Material = Enum.Material.Plastic
  431. p = Instance.new("Part", Model)
  432. p.Name = "Part"
  433. p.TopSurface = 0
  434. p.BottomSurface = 0
  435. p.formFactor = "Custom"
  436. p.Size = Vector3.new(11, 3.20, 2.19)
  437. p.CFrame = CFrame.new(54.0999756, 14.0699921, 63.0000076, 1.49011612e-008, 5.89458523e-007, -0.999990225, -3.49571337e-007, 0.99999392, 5.89460512e-007, 0.999994278, 3.49571422e-007, -4.47034836e-008)
  438. p.BrickColor = BrickColor.new("Bright yellow")
  439. p.Transparency = 0
  440. p.Reflectance = .1
  441. p.Material = Enum.Material.Plastic
  442. m = Instance.new("SpecialMesh")
  443. m.Scale = Vector3.new(1, 1, 1)
  444. m.Parent = p
  445. m.MeshType = Enum.MeshType.Wedge
  446. p = Instance.new("Part", Model)
  447. p.Name = "Part"
  448. p.TopSurface = 0
  449. p.BottomSurface = 0
  450. p.formFactor = "Custom"
  451. p.Size = Vector3.new(2.60, 11, 2.39)
  452. p.CFrame = CFrame.new(32.1999741, 10.7699986, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
  453. p.BrickColor = BrickColor.new("Bright yellow")
  454. p.Transparency = 0
  455. p.Reflectance = .1
  456. p.Material = Enum.Material.Plastic
  457. p = Instance.new("Part", Model)
  458. p.Name = "Part"
  459. p.TopSurface = 0
  460. p.BottomSurface = 0
  461. p.formFactor = "Custom"
  462. p.Size = Vector3.new(5.19, 1, 1)
  463. p.CFrame = CFrame.new(46.2999878, 15.0699921, 58.4000015, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
  464. p.BrickColor = BrickColor.new("Mid gray")
  465. p.Transparency = 0
  466. p.Reflectance = .1
  467. p.Material = Enum.Material.Plastic
  468. p = Instance.new("Part", Model)
  469. p.Name = "Part"
  470. p.TopSurface = 0
  471. p.BottomSurface = 0
  472. p.formFactor = "Custom"
  473. p.Size = Vector3.new(5, 0.80, 0.79)
  474. p.CFrame = CFrame.new(30.6000195, 11.5999937, 63.3000107, -1.49008788e-008, -2.3933373e-007, 0.999990225, 6.6675625e-009, 0.99999392, 2.39334668e-007, -0.999994516, 6.66761935e-009, 7.45059765e-008)
  475. p.BrickColor = BrickColor.new("Bright yellow")
  476. p.Transparency = 0
  477. p.Reflectance = .1
  478. p.Material = Enum.Material.Plastic
  479. m = Instance.new("SpecialMesh")
  480. m.Scale = Vector3.new(1, 1, 1)
  481. m.Parent = p
  482. m.MeshType = Enum.MeshType.Wedge
  483. p = Instance.new("Part", Model)
  484. p.Name = "Part"
  485. p.TopSurface = 0
  486. p.BottomSurface = 0
  487. p.formFactor = "Custom"
  488. p.Size = Vector3.new(10, 12, 10)
  489. p.CFrame = CFrame.new(51.8000298, 7.099998, 63.0000191, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
  490. p.BrickColor = BrickColor.new("Medium stone grey")
  491. p.Transparency = 0
  492. p.Reflectance = .1
  493. p.Material = Enum.Material.Concrete
  494. m = Instance.new("CylinderMesh")
  495. m.Scale = Vector3.new(1, 1.02999997, 1)
  496. m.Parent = p
  497. p = Instance.new("Part", Model)
  498. p.Name = "Part"
  499. p.TopSurface = 0
  500. p.BottomSurface = 0
  501. p.formFactor = "Custom"
  502. p.Size = Vector3.new(0.60, 5.19, 5)
  503. p.CFrame = CFrame.new(35.9000015, 13, 63.2999992, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
  504. p.BrickColor = BrickColor.new("Bright yellow")
  505. p.Transparency = 0
  506. p.Reflectance = .1
  507. p.Material = Enum.Material.Plastic
  508. p = Instance.new("Part", Model)
  509. p.Name = "Part"
  510. p.TopSurface = 0
  511. p.BottomSurface = 0
  512. p.formFactor = "Custom"
  513. p.Size = Vector3.new(6, 6.79, 2.79)
  514. p.CFrame = CFrame.new(51.9999847, 9.06999207, 55.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  515. p.BrickColor = BrickColor.new("Bright yellow")
  516. p.Transparency = 0
  517. p.Reflectance = .1
  518. p.Material = Enum.Material.Plastic
  519. m = Instance.new("SpecialMesh")
  520. m.Scale = Vector3.new(1, 1, 1)
  521. m.Parent = p
  522. m.MeshType = Enum.MeshType.Wedge
  523. p = Instance.new("Part", Model)
  524. p.Name = "Part"
  525. p.TopSurface = 0
  526. p.BottomSurface = 0
  527. p.formFactor = "Custom"
  528. p.Size = Vector3.new(2.79, 7.40, 0.79)
  529. p.CFrame = CFrame.new(44.7999916, 14.0699921, 63.2000008, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
  530. p.BrickColor = BrickColor.new("Black")
  531. p.Transparency = 0
  532. p.Reflectance = .1
  533. p.Material = Enum.Material.Plastic
  534. p = Instance.new("Part", Model)
  535. p.Name = "Part"
  536. p.TopSurface = 0
  537. p.BottomSurface = 0
  538. p.formFactor = "Custom"
  539. p.Size = Vector3.new(5.40, 11, 10)
  540. p.CFrame = CFrame.new(50.1999893, 9.76999474, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
  541. p.BrickColor = BrickColor.new("Bright yellow")
  542. p.Transparency = 0
  543. p.Reflectance = .1
  544. p.Material = Enum.Material.Plastic
  545. p = Instance.new("Part", Model)
  546. p.Name = "Part"
  547. p.TopSurface = 0
  548. p.BottomSurface = 0
  549. p.formFactor = "Custom"
  550. p.Size = Vector3.new(11, 0.60, 2.39)
  551. p.CFrame = CFrame.new(32.1999855, 12.3699961, 62.9999733, -1.49008788e-008, -2.3933373e-007, 0.999990225, 6.6675625e-009, 0.99999392, 2.39334668e-007, -0.999994516, 6.66761935e-009, 7.45059765e-008)
  552. p.BrickColor = BrickColor.new("Bright yellow")
  553. p.Transparency = 0
  554. p.Reflectance = .1
  555. p.Material = Enum.Material.Plastic
  556. m = Instance.new("SpecialMesh")
  557. m.Scale = Vector3.new(1, 1, 1)
  558. m.Parent = p
  559. m.MeshType = Enum.MeshType.Wedge
  560. p = Instance.new("Part", Model)
  561. p.Name = "Part"
  562. p.TopSurface = 0
  563. p.BottomSurface = 0
  564. p.formFactor = "Custom"
  565. p.Size = Vector3.new(4, 13, 1)
  566. p.CFrame = CFrame.new(40.8999939, 10.0700006, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
  567. p.BrickColor = BrickColor.new("Bright yellow")
  568. p.Transparency = 0
  569. p.Reflectance = .1
  570. p.Material = Enum.Material.Plastic
  571. p = Instance.new("Part", Model)
  572. p.Name = "Part"
  573. p.TopSurface = 0
  574. p.BottomSurface = 0
  575. p.formFactor = "Custom"
  576. p.Size = Vector3.new(10.1, 1, 0.99)
  577. p.CFrame = CFrame.new(51.8999825, 18.1699867, 62.9999733, 1.49008796e-008, 2.39336913e-007, -0.999990225, 6.66744882e-009, 0.99999392, 2.39337737e-007, 0.999994516, -6.66736355e-009, -7.45059765e-008)
  578. p.BrickColor = BrickColor.new("Mid gray")
  579. p.Transparency = 0
  580. p.Reflectance = .1
  581. p.Material = Enum.Material.Plastic
  582. m = Instance.new("SpecialMesh")
  583. m.Scale = Vector3.new(1, 1, 1)
  584. m.Parent = p
  585. m.MeshType = Enum.MeshType.Wedge
  586. p = Instance.new("Part", Model)
  587. p.Name = "Part"
  588. p.TopSurface = 0
  589. p.BottomSurface = 0
  590. p.formFactor = "Custom"
  591. p.Size = Vector3.new(1, 1, 4.59)
  592. p.CFrame = CFrame.new(49.099987, 18.1699944, 67.5999985, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
  593. p.BrickColor = BrickColor.new("Mid gray")
  594. p.Transparency = 0
  595. p.Reflectance = .1
  596. p.Material = Enum.Material.Plastic
  597. p = Instance.new("Part", Model)
  598. p.Name = "Part"
  599. p.TopSurface = 0
  600. p.BottomSurface = 0
  601. p.formFactor = "Custom"
  602. p.Size = Vector3.new(1.99, 1, 1)
  603. p.CFrame = CFrame.new(51.8999863, 16.6699886, 67.5999908, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
  604. p.BrickColor = BrickColor.new("Mid gray")
  605. p.Transparency = 0
  606. p.Reflectance = .1
  607. p.Material = Enum.Material.Plastic
  608. p = Instance.new("Part", Model)
  609. p.Name = "Part"
  610. p.TopSurface = 0
  611. p.BottomSurface = 0
  612. p.formFactor = "Custom"
  613. p.Size = Vector3.new(1, 1, 4.59)
  614. p.CFrame = CFrame.new(49.099987, 18.1699867, 63.0000153, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008)
  615. p.BrickColor = BrickColor.new("Mid gray")
  616. p.Transparency = 0
  617. p.Reflectance = .1
  618. p.Material = Enum.Material.Plastic
  619. p = Instance.new("Part", Model)
  620. p.Name = "Part"
  621. p.TopSurface = 0
  622. p.BottomSurface = 0
  623. p.formFactor = "Custom"
  624. p.Size = Vector3.new(10.1, 1, 0.99)
  625. p.CFrame = CFrame.new(46.2999916, 18.1699886, 63.0000229, -1.49008823e-008, -2.39345496e-007, 0.999990225, 6.66727829e-009, 0.99999392, 2.39346434e-007, -0.999994516, 6.66733513e-009, 7.45059765e-008)
  626. p.BrickColor = BrickColor.new("Mid gray")
  627. p.Transparency = 0
  628. p.Reflectance = .1
  629. p.Material = Enum.Material.Plastic
  630. m = Instance.new("SpecialMesh")
  631. m.Scale = Vector3.new(1, 1, 1)
  632. m.Parent = p
  633. m.MeshType = Enum.MeshType.Wedge
  634.  
  635. Spawn = function()
  636. Modelc = Model:clone()
  637. for _, v in pairs(Modelc:children()) do
  638. if v.className == "Part" then
  639. if v.Name ~= "Center" then
  640. w = Instance.new("Weld")
  641. w.Part0 = Modelc.Center
  642. w.Part1 = v
  643. w.C1 = v.CFrame:inverse() * CFrame.new(v.Position)
  644. w.C0 = Modelc.Center.CFrame:inverse() * CFrame.new(v.Position)
  645. w.Parent = w.Part0
  646. end
  647. end
  648. end
  649. return Modelc
  650. end
  651.  
  652. CameraRadius = 66
  653. TimeStopRadius = 66
  654.  
  655. RightShoulderC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  656. RightShoulderC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  657. LeftShoulderC0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  658. LeftShoulderC1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  659. RightHipC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  660. RightHipC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  661. LeftHipC0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  662. LeftHipC1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  663. NeckC0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  664. NeckC1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  665. RootJointC0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  666. RootJointC1 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  667.  
  668. getWelds = function(c) --designate weld variables
  669. local t = c.Torso
  670. local hrp = c.HumanoidRootPart.RootJoint
  671. RightShoulder = t:FindFirstChild("Right Shoulder")
  672. LeftShoulder = t:FindFirstChild("Left Shoulder")
  673. RightHip = t:FindFirstChild("Right Hip")
  674. LeftHip = t:FindFirstChild("Left Hip")
  675. RootJoint = hrp
  676. Neck = t:FindFirstChild("Neck")
  677. end
  678. resetWelds = function(ext, occ) --extent 1-3; occlusion
  679. --1 == reset desiredangle/currentangle
  680. --2 == reset C0/C1
  681. --3 == reset both des/cur/c0/c1
  682. local r = {
  683. RightShoulder,
  684. LeftShoulder,
  685. RightHip,
  686. LeftHip,
  687. RootJoint,
  688. Neck,
  689. Grip
  690. }
  691. for _, v in pairs(r) do
  692. for i = 1, #occ do
  693. if occ[i] == v then
  694. table.remove(r, _)
  695. end
  696. end
  697. end
  698. for _, v in pairs(r) do
  699. if v.Name == "Right Shoulder" then
  700. if ext == 1 then
  701. v.DesiredAngle = 0
  702. v.CurrentAngle = 0
  703. elseif ext == 2 then
  704. v.C0 = RightShoulderC0
  705. v.C1 = RightShoulderC1
  706. elseif ext == 3 then
  707. v.DesiredAngle = 0
  708. v.CurrentAngle = 0
  709. v.C0 = RightShoulderC0
  710. v.C1 = RightShoulderC1
  711. end
  712. elseif v.Name == "Left Shoulder" then
  713. if ext == 1 then
  714. v.DesiredAngle = 0
  715. v.CurrentAngle = 0
  716. elseif ext == 2 then
  717. v.C0 = LeftShoulderC0
  718. v.C1 = LeftShoulderC1
  719. elseif ext == 3 then
  720. v.DesiredAngle = 0
  721. v.CurrentAngle = 0
  722. v.C0 = LeftShoulderC0
  723. v.C1 = LeftShoulderC1
  724. end
  725. elseif v.Name == "Right Hip" then
  726. if ext == 1 then
  727. v.DesiredAngle = 0
  728. v.CurrentAngle = 0
  729. elseif ext == 2 then
  730. v.C0 = RightHipC0
  731. v.C1 = RightHipC1
  732. elseif ext == 3 then
  733. v.DesiredAngle = 0
  734. v.CurrentAngle = 0
  735. v.C0 = RightHipC0
  736. v.C1 = RightHipC1
  737. end
  738. elseif v.Name == "Left Hip" then
  739. if ext == 1 then
  740. v.DesiredAngle = 0
  741. v.CurrentAngle = 0
  742. elseif ext == 2 then
  743. v.C0 = LeftHipC0
  744. v.C1 = LeftHipC1
  745. elseif ext == 3 then
  746. v.DesiredAngle = 0
  747. v.CurrentAngle = 0
  748. v.C0 = LeftHipC0
  749. v.C1 = LeftHipC1
  750. end
  751. elseif v.Name == "Neck" then
  752. if ext == 1 then
  753. v.DesiredAngle = 0
  754. v.CurrentAngle = 0
  755. elseif ext == 2 then
  756. v.C0 = NeckC0
  757. v.C1 = NeckC1
  758. elseif ext == 3 then
  759. v.DesiredAngle = 0
  760. v.CurrentAngle = 0
  761. v.C0 = NeckC0
  762. v.C1 = NeckC1
  763. end
  764. elseif v.Name == "RootJoint" then
  765. if ext == 1 then
  766. v.DesiredAngle = 0
  767. v.CurrentAngle = 0
  768. elseif ext == 2 then
  769. v.C0 = RootJointC0
  770. v.C1 = RootJointC1
  771. elseif ext == 3 then
  772. v.DesiredAngle = 0
  773. v.CurrentAngle = 0
  774. v.C0 = RootJointC0
  775. v.C1 = RootJointC1
  776. end
  777. elseif v.Name == "RightGrip" then
  778. if ext == 1 then
  779. elseif ext == 2 then
  780. Grip.C0 = nGrip.C0
  781. Grip.C1 = nGrip.C1
  782. elseif ext == 3 then
  783. Grip.C0 = nGrip.C0
  784. Grip.C1 = nGrip.C1
  785. end
  786. end
  787. end
  788. end
  789.  
  790.  
  791. doitdocdoit = function()
  792. if deb == false then
  793. return
  794. end
  795. deb = false
  796.  
  797. vPlayer = game.Players.LocalPlayer
  798. cPlayer = vPlayer.Character
  799. Anim = cPlayer.Animate
  800. Anim.Disabled = true
  801. Hum = cPlayer.Humanoid
  802. Hum.Name = "NOPE"
  803. Hum.WalkSpeed = 0
  804. getWelds(cPlayer)
  805. resetWelds(3, {})
  806.  
  807. bodypos = Instance.new("BodyPosition")
  808. bodypos.P = 4000
  809. bodypos.maxForce = Vector3.new(5000000, 50000000, 5000000) * 5000
  810. bodypos.position = cPlayer.Torso.Position + Vector3.new(0, .5, 0)
  811. bodypos.Parent = cPlayer.Torso
  812.  
  813. dir = cPlayer.HumanoidRootPart.CFrame.lookVector
  814. CPlayer = cPlayer
  815. partpos = Instance.new("Part", workspace)
  816. partpos.Transparency = 1
  817. partpos.CanCollide = false
  818. partpos.Anchored = true
  819. partpos.CFrame = cPlayer.Torso.CFrame
  820.  
  821. sound = Instance.new("Sound")
  822. sound.Parent = partpos
  823. sound.Volume = 1
  824. sound.SoundId = "http://www.roblox.com/asset/?id=468760371"
  825. -- sound.SoundId="http://www.roblox.com/asset/?id=168009623"
  826. sound2 = Instance.new("Sound")
  827. sound2.Parent = workspace.CurrentCamera
  828. sound2.Volume = 1
  829. sound2.SoundId = "http://www.roblox.com/asset/?id=468760371"
  830. -- sound2.SoundId="http://www.roblox.com/asset/?id=168009623"
  831. sound:Play()
  832. sound2:Play()
  833. expected = 10
  834. did = false
  835. pooted = 0
  836. sos = game:GetService("RunService").Stepped:connect(function()
  837. pooted = pooted + 1
  838. if pooted >= expected + 1 then
  839. sos:disconnect()
  840. did = true
  841. return
  842. end
  843. resetWelds(3, {})
  844. RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(0), math.rad(0))
  845. LeftShoulder.C0 = LeftShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(0), math.rad(0))
  846. RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(0), math.rad(0))
  847. LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(0), math.rad(0))
  848. Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  849. RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  850. end)
  851. --[[sound=Instance.new("Sound")
  852. sound.Parent=cPlayer.Torso
  853. sound.Volume=1
  854. sound.SoundId="http://www.roblox.com/asset/?id=316900066"
  855. sound:Play()]]--
  856. while did == false do
  857. wait()
  858. end
  859.  
  860. expected = 10
  861. did = false
  862. pooted = 0
  863. sos = game:GetService("RunService").Stepped:connect(function()
  864. pooted = pooted + 1
  865. if pooted >= expected + 1 then
  866. sos:disconnect()
  867. did = true
  868. return
  869. end
  870. resetWelds(3, {})
  871. RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12 - pooted * 8), math.rad(0), math.rad(pooted))
  872. LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, pooted * .1) * CFrame.fromEulerAnglesXYZ(math.rad(-12 - pooted * 9), math.rad(pooted * 9), math.rad(0))
  873. RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12), math.rad(0), math.rad(0))
  874. LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12), math.rad(0), math.rad(0))
  875. Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(pooted / 2), math.rad(0), math.rad(-pooted * 9))
  876. RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(pooted / 3), math.rad(pooted * 10))
  877. end)
  878. while did == false do
  879. wait()
  880. end
  881. wait(.2)
  882. expected = 5
  883. did = false
  884. pooted = 0
  885. nubhit = nil
  886. sos = game:GetService("RunService").Stepped:connect(function()
  887. pooted = pooted + 1
  888. if pooted >= expected + 1 then
  889. sos:disconnect()
  890. did = true
  891. return
  892. end
  893. resetWelds(3, {})
  894. RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12 - pooted * 8), math.rad(0), math.rad(pooted))
  895. LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, pooted * .1) * CFrame.fromEulerAnglesXYZ(math.rad(-12 - pooted * 9), math.rad(pooted * 9), math.rad(0))
  896. RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12), math.rad(0), math.rad(0))
  897. LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12), math.rad(0), math.rad(0))
  898. Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(5), math.rad(0), math.rad(-90 + pooted * 40))
  899. RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-10 + pooted * 4), math.rad(3.3), math.rad(90 - pooted * 34))
  900. if nubhit == nil then
  901. bodypos.position = bodypos.position + dir * 4
  902. cPlayer.Torso.CFrame = CFrame.new(bodypos.position + dir * 4, bodypos.position + dir * 20)
  903. --bodypos.position=bodypos.position + dir*9
  904. --cPlayer.Torso.CFrame=CFrame.new(bodypos.position+dir*9,bodypos.position+dir*20)
  905. end
  906. if nubhit == nil and pooted >= 2 then
  907. pos = bodypos.position + dir * 2
  908. radi = 6
  909. for _, v in pairs(workspace:children()) do
  910. h = v:FindFirstChild("Humanoid")
  911. t = v:FindFirstChild("Torso")
  912. if h ~= nil and t ~= nil and v ~= cPlayer then
  913. if (t.Position - pos).magnitude <= radi then
  914. nubhit = v
  915. break
  916. end
  917. end
  918. end
  919. end
  920. if nubhit ~= nil then
  921. if nubhit.Torso:FindFirstChild("PART1") == nil then
  922. v = Instance.new("BodyVelocity")
  923. v.P = 4000
  924. v.maxForce = Vector3.new(500000000000, 500000000000, 500000000000)
  925. v.velocity = dir * 4 + Vector3.new(0, 4, 0)
  926. v.Name = "PART1"
  927. v.Parent = nubhit.Torso
  928. game:GetService("Debris"):AddItem(v, 5)
  929. coroutine.resume(coroutine.create(function(v)
  930. for i = 1, 100 do
  931. v.velocity = v.velocity - Vector3.new(0, .07, 0)
  932. wait()
  933. end
  934. end), v)
  935. v = Instance.new("BodyGyro")
  936. v.P = 20
  937. v.D = 30
  938. v.maxTorque = Vector3.new(5000000, 5000000, 5000000)
  939. v.cframe = CPlayer.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.pi / 2, math.pi, 0)
  940. v.Name = "PART1"
  941. v.Parent = nubhit.Torso
  942. game:GetService("Debris"):AddItem(v, 5)
  943. end
  944. end
  945. end)
  946. while did == false do
  947. wait()
  948. end
  949. if nubhit == nil then
  950. sound:Stop()
  951. wait(.5)
  952. sound2:Stop()
  953. else
  954. expected = 32
  955. did = false
  956. pooted = 0
  957. sos = game:GetService("RunService").Stepped:connect(function()
  958. pooted = pooted + 1
  959. if pooted >= expected + 1 then
  960. sos:disconnect()
  961. did = true
  962. return
  963. end
  964. RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-.03), math.rad(0), math.rad(.03))
  965. LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, .02) * CFrame.fromEulerAnglesXYZ(math.rad(-.05), math.rad(.08), math.rad(0))
  966. RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-.04), math.rad(0), math.rad(0))
  967. LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-.04), math.rad(0), math.rad(0))
  968. Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(.05), math.rad(0), math.rad(.1))
  969. RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(.2), math.rad(0.05), math.rad(-.05))
  970. bodypos.position = bodypos.position + dir * .05
  971. cPlayer.Torso.CFrame = CFrame.new(bodypos.position + dir * .05, bodypos.position + dir * 20)
  972. end)
  973. while did == false do
  974. wait()
  975. end
  976. bodypos.Parent = nil
  977. expected = 12
  978. did = false
  979. pooted = 0
  980. sos = game:GetService("RunService").Stepped:connect(function()
  981. pooted = pooted + 1
  982. if pooted >= expected + 1 then
  983. sos:disconnect()
  984. did = true
  985. return
  986. end
  987. RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(4.5), math.rad(0), math.rad(-.15))
  988. LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, -.07) * CFrame.fromEulerAnglesXYZ(math.rad(5.6), math.rad(-4.5), math.rad(1.25))
  989. RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1.24), math.rad(0), math.rad(0))
  990. LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1.24), math.rad(0), math.rad(0))
  991. Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(-2.5), math.rad(-8))
  992. RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-.5), math.rad(-.5), math.rad(7))
  993. end)
  994.  
  995. while did == false do
  996. wait()
  997. end
  998. expected = 6
  999. did = false
  1000. pooted = 0
  1001. sos = game:GetService("RunService").Stepped:connect(function()
  1002. pooted = pooted + 1
  1003. if pooted >= expected + 1 then
  1004. sos:disconnect()
  1005. did = true
  1006. return
  1007. end
  1008. resetWelds(3, {})
  1009. RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 5), math.rad(0), math.rad(pooted * 18))
  1010. LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 5), math.rad(0), math.rad(-pooted * 18))
  1011. RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(pooted * 6))
  1012. LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(-pooted * 6))
  1013. Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20 + pooted * 5), math.rad(0), math.rad(0))
  1014. RootJoint.C0 = RootJoint.C0 * CFrame.new(0, pooted * .03, -pooted * .1) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 6), math.rad(0), math.rad(pooted * 1))
  1015.  
  1016. end)
  1017. wait(.3)
  1018. while did == false do
  1019. wait()
  1020. end
  1021. resetWelds(3, {
  1022. "Neck"
  1023. })
  1024. expected = 5
  1025. did = false
  1026. pooted = 0
  1027. p = Instance.new("Part", workspace)
  1028. p.Name = "ORB"
  1029. p.TopSurface = 0
  1030. p.BottomSurface = 0
  1031. p.formFactor = "Custom"
  1032. p.CFrame = cPlayer.Torso.CFrame
  1033. m = Instance.new("SpecialMesh", p)
  1034. m.MeshType = "Sphere"
  1035. p.BrickColor = BrickColor:White()
  1036. p.Size = Vector3.new(1, 1, 1)
  1037. p.CanCollide = false
  1038. p.Anchored = true
  1039. game:GetService("Debris"):AddItem(p, 5)
  1040. coroutine.resume(coroutine.create(function(p)
  1041. nubhit.Torso.Anchored = true
  1042. for i = 1, 10 do
  1043. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(5, 5, 5)
  1044. p.Transparency = .5 + i / 20
  1045. wait()
  1046. end
  1047. p:Remove()
  1048. end), p)
  1049. sos = game:GetService("RunService").Stepped:connect(function()
  1050. pooted = pooted + 1
  1051. if pooted >= expected + 1 then
  1052. sos:disconnect()
  1053. did = true
  1054. return
  1055. end
  1056. resetWelds(3, {})
  1057. RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 10), math.rad(-pooted * 12), math.rad(pooted * 10))
  1058. LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 10), math.rad(pooted * 12), math.rad(-pooted * 10))
  1059. RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(-pooted * 10))
  1060. LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(pooted * 9))
  1061. Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20 - pooted * 6), math.rad(0), math.rad(0))
  1062. RootJoint.C0 = RootJoint.C0 * CFrame.new(0, pooted * .03, -pooted * .1) * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 9.5), math.rad(0), math.rad(pooted * .2))
  1063.  
  1064. end)
  1065.  
  1066. while did == false do
  1067. wait()
  1068. end
  1069. wait(1)
  1070. expected = 5
  1071. did = false
  1072. pooted = 0
  1073. sos = game:GetService("RunService").Stepped:connect(function()
  1074. pooted = pooted + 1
  1075. if pooted >= expected + 1 then
  1076. sos:disconnect()
  1077. did = true
  1078. return
  1079. end
  1080. resetWelds(3, {})
  1081. RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0.05 * pooted, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 2), math.rad(0), math.rad(pooted * 6))
  1082. LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 2), math.rad(0), math.rad(-pooted * 6))
  1083. RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(-57 + pooted * 20))
  1084. LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(57 - pooted * 20))
  1085. Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 4), math.rad(0), math.rad(0))
  1086. RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, -.1 * pooted) * CFrame.fromEulerAnglesXYZ(math.rad(-57 + pooted * 20), math.rad(0), math.rad(0))
  1087.  
  1088. end)
  1089. while did == false do
  1090. wait()
  1091. end
  1092. wait(.8)
  1093. expected = 5
  1094. did = false
  1095. pooted = 0
  1096. bodypos.Parent = cPlayer.Torso
  1097. workspace.CurrentCamera.CameraType = "Follow"
  1098. sos = game:GetService("RunService").Stepped:connect(function()
  1099. pooted = pooted + 1
  1100. if pooted >= expected + 1 then
  1101. sos:disconnect()
  1102. did = true
  1103. return
  1104. end
  1105. RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-2), math.rad(0), math.rad(-3))
  1106. LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(2), math.rad(0), math.rad(3))
  1107. RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(-8))
  1108. LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(8))
  1109. Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-14), math.rad(0), math.rad(0))
  1110. RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, .05) * CFrame.fromEulerAnglesXYZ(math.rad(-7), math.rad(0), math.rad(0))
  1111.  
  1112. bodypos.position = bodypos.position + Vector3.new(0, 240, 0)
  1113. cPlayer.Torso.CFrame = cPlayer.Torso.CFrame + Vector3.new(0, 240, 0)
  1114.  
  1115. end)
  1116. local DIOPLS = Instance.new("Sound", cPlayer.Torso)
  1117. DIOPLS.SoundId = "rbxassetid://316900066"
  1118. DIOPLS.Volume = 1
  1119. DIOPLS:Play()
  1120. Instance.new("Sound", DIOPLS)
  1121. game:GetService("Debris"):AddItem(DIOPLS, 19)
  1122. while did == false do
  1123. wait()
  1124. end
  1125. wait(.8)
  1126. LOL = Spawn()
  1127. LOL.Parent = workspace
  1128. LOL:MakeJoints()
  1129. LOL:MoveTo(cPlayer.Torso.CFrame.p)
  1130. C = LOL.Center
  1131. C.CFrame = CFrame.new(nubhit.Torso.Position + Vector3.new(0, 1200, 0)) * CFrame.new(8, 0, 0)
  1132.  
  1133. bb = Instance.new("BodyPosition")
  1134. bb.Parent = C
  1135. bb.maxForce = Vector3.new(50000000000000000, 50000000000000000, 50000000000000000)
  1136. bb.position = bb.Parent.Position
  1137. C.CFrame = CFrame.new(bb.position)
  1138. orig = bb.position
  1139.  
  1140. gg = Instance.new("BodyGyro")
  1141. gg.P = 15000
  1142. gg.D = 100
  1143. gg.maxTorque = Vector3.new(500000000, 500000000, 500000000)
  1144. gg.cframe = CFrame.new(C.Position, Vector3.new(nubhit.Torso.Position.x, C.Position.y, nubhit.Torso.Position.z)) * CFrame.fromEulerAnglesXYZ(-math.rad(10), math.rad(10), 0)
  1145. gg.Parent = C
  1146.  
  1147. expected = 80
  1148. did = false
  1149. pooted = 0
  1150.  
  1151. resetWelds(3, {})
  1152.  
  1153. Hum.PlatformStand = true
  1154.  
  1155. RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, .4, 0) * CFrame.fromEulerAnglesXYZ(math.rad(30), math.rad(0), math.rad(180))
  1156. LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, .4, 0) * CFrame.fromEulerAnglesXYZ(math.rad(30), math.rad(0), math.rad(-180))
  1157. RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-8), math.rad(0), math.rad(-8))
  1158. LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-8), math.rad(0), math.rad(8))
  1159. Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-45), math.rad(0), math.rad(0))
  1160. RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  1161.  
  1162. bodypos.Parent = nil
  1163. w = Instance.new("Weld")
  1164. w.Part0 = C
  1165. w.Part1 = cPlayer.Torso
  1166. w.C0 = CFrame.new(.3, 5.6, -7) * CFrame.fromEulerAnglesXYZ(math.pi / .9, math.pi / 10, 0)
  1167. w.C0 = w.C0 * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1168. w.Parent = w.Part0
  1169.  
  1170. sos = game:GetService("RunService").Stepped:connect(function()
  1171. pooted = pooted + 1
  1172. if pooted >= expected + 1 then
  1173. sos:disconnect()
  1174. did = true
  1175. return
  1176. end
  1177.  
  1178. bb.position = orig - Vector3.new(0, 1202 / 80 * pooted, 0)
  1179. C.CFrame = C.CFrame - Vector3.new(0, 1202 / 80, 0)
  1180.  
  1181. end)
  1182.  
  1183. while did == false do
  1184. wait()
  1185. end
  1186. C.CFrame = CFrame.new(nubhit.Torso.Position + Vector3.new(0, 4, 0), Vector3.new(nubhit.Torso.Position.x, C.Position.y, nubhit.Torso.Position.z)) * CFrame.fromEulerAnglesXYZ(-math.rad(5), math.rad(5), 0)
  1187. C.CFrame = C.CFrame * CFrame.new(8, 0, 0)
  1188. bl2 = Instance.new("Part")
  1189. bl2.TopSurface = 0
  1190. bl2.BottomSurface = 0
  1191. bl2.CanCollide = false
  1192. bl2.formFactor = "Symmetric"
  1193. local ShockWaveSound = Instance.new("Sound", bl2)
  1194. ShockWaveSound.SoundId = "rbxassetid://138186576"
  1195. ShockWaveSound.Pitch = 0.8
  1196. ShockWaveSound.Volume = 1
  1197. ShockWaveSound:Play()
  1198. Instance.new("Sound", ShockWaveSound)
  1199. m = Instance.new("SpecialMesh")
  1200. m.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1201. m.Scale = Vector3.new(1, 4, 1)
  1202. m.Parent = bl2
  1203. bl2.Size = Vector3.new(1, 1, 1)
  1204. bl2.Anchored = false
  1205. bl2.Name = "c"
  1206. bl2.CFrame = CFrame.new(C.Position) - Vector3.new(0, 2, 0)
  1207. bl2.BrickColor = BrickColor.new("White")
  1208. bl2.Parent = CPlayer
  1209. coroutine.resume(coroutine.create(function(p)
  1210. for i = 1, 10 do
  1211. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(8, 0, 8)
  1212. p.Transparency = .25 + i * .075
  1213. p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(5), 0)
  1214. wait()
  1215. end
  1216. p:Remove()
  1217. end), bl2)
  1218. bl2.Anchored = true
  1219.  
  1220. bl2 = Instance.new("Part")
  1221. bl2.TopSurface = 0
  1222. bl2.BottomSurface = 0
  1223. bl2.CanCollide = false
  1224. bl2.formFactor = "Symmetric"
  1225. m = Instance.new("SpecialMesh")
  1226. m.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1227. m.Scale = Vector3.new(1, 6, 1)
  1228. m.Parent = bl2
  1229. bl2.Size = Vector3.new(1, 1, 1)
  1230. bl2.Anchored = false
  1231. bl2.Name = "c"
  1232. bl2.CFrame = CFrame.new(C.Position) - Vector3.new(0, 2, 0)
  1233. bl2.BrickColor = BrickColor.new("White")
  1234. bl2.Parent = CPlayer
  1235. coroutine.resume(coroutine.create(function(p)
  1236. for i = 1, 20 do
  1237. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(6, 0, 6)
  1238. p.Transparency = i / 20
  1239. p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(3), 0)
  1240. wait()
  1241. end
  1242. p:Remove()
  1243. end), bl2)
  1244. bl2.Anchored = true
  1245.  
  1246. gg.cframe = gg.cframe * CFrame.fromEulerAnglesXYZ(math.rad(10), -math.rad(10), 0)
  1247. expected = 3
  1248. did = false
  1249. pooted = 0
  1250. workspace.CurrentCamera.CameraType = "Follow"
  1251. sos = game:GetService("RunService").Stepped:connect(function()
  1252. pooted = pooted + 1
  1253. if pooted >= expected + 1 then
  1254. sos:disconnect()
  1255. did = true
  1256. return
  1257. end
  1258. RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  1259. LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  1260. RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-4), math.rad(0), math.rad(0))
  1261. LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(4), math.rad(0), math.rad(0))
  1262. Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  1263. RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(5), math.rad(0), math.rad(0))
  1264.  
  1265. w.C0 = w.C0 * CFrame.fromEulerAnglesXYZ(math.rad(15), 0, 0)
  1266.  
  1267. end)
  1268. while did == false do
  1269. wait()
  1270. end
  1271. wait(.3)
  1272. expected = 5
  1273. did = false
  1274. pooted = 0
  1275. workspace.CurrentCamera.CameraType = "Follow"
  1276. sos = game:GetService("RunService").Stepped:connect(function()
  1277. pooted = pooted + 1
  1278. if pooted >= expected + 1 then
  1279. sos:disconnect()
  1280. did = true
  1281. return
  1282. end
  1283. RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  1284. LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  1285. RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(-8))
  1286. LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(8))
  1287. Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(5), math.rad(0), math.rad(0))
  1288. RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(14), math.rad(0), math.rad(0))
  1289.  
  1290. w.C0 = w.C0 * CFrame.new(0, 0, -.04) * CFrame.fromEulerAnglesXYZ(math.rad(15), 0, 0)
  1291.  
  1292. end)
  1293. while did == false do
  1294. wait()
  1295. end
  1296. expected = 203
  1297. did = false
  1298. pooted = 0
  1299. workspace.CurrentCamera.CameraType = "Follow"
  1300. sos = game:GetService("RunService").Stepped:connect(function()
  1301. pooted = pooted + 1
  1302. if pooted >= expected + 1 then
  1303. sos:disconnect()
  1304. did = true
  1305. return
  1306. end
  1307. resetWelds(3, {
  1308. RightHip,
  1309. LeftHip,
  1310. RootJoint,
  1311. Neck
  1312. })
  1313. RightShoulder.C0 = RightShoulderC0 * CFrame.new(math.random(-20, 20) / 200, math.cos(time() * 30), math.random(-20, 20) / 200) * CFrame.fromEulerAnglesXYZ(math.sin(time() * 20) / 3, math.sin(time() * 20) / 5, math.rad(60) - math.cos(time() * 70) * 2)
  1314. LeftShoulder.C0 = LeftShoulderC0 * CFrame.new(math.random(-20, 20) / 200, math.cos(time() * 30), math.random(-20, 20) / 200) * CFrame.fromEulerAnglesXYZ(math.sin(time() * 20) / 3, math.sin(time() * 20) / 5, math.rad(-60) + math.sin(time() * 60) * 2)
  1315. RightHip.C0 = RightHipC0 * CFrame.fromEulerAnglesXYZ(math.rad(-18), math.rad(0), math.rad(-30))
  1316. LeftHip.C0 = LeftHipC0 * CFrame.fromEulerAnglesXYZ(math.rad(-18), math.rad(0), math.rad(30))
  1317. Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20), math.rad(0), math.rad(0))
  1318. RootJoint.C0 = RootJointC0 * CFrame.new(math.random(-20, 20) / 200, math.random(-20, 20) / 200, math.random(-20, 20) / 200) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(0), math.rad(0))
  1319. w.C0 = w.C0 * CFrame.new(math.random(-20, 20) / 2000, math.random(-20, 20) / 2000, math.random(-20, 20) / 2000) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1320. C.CFrame = C.CFrame + Vector3.new(math.random(-20, 20) / 200, math.random(-20, 20) / 200, math.random(-20, 20) / 200)
  1321.  
  1322. if pooted / 2 == math.floor(pooted / 2) then
  1323. p = cPlayer["Right Arm"]:clone()
  1324. p.Anchored = true
  1325. p.CanCollide = false
  1326. p.Parent = workspace
  1327. p.Transparency = .5
  1328. game:GetService("Debris"):AddItem(p, .2)
  1329. p = cPlayer["Left Arm"]:clone()
  1330. p.Anchored = true
  1331. p.CanCollide = false
  1332. p.Parent = workspace
  1333. p.Transparency = .5
  1334. game:GetService("Debris"):AddItem(p, .2)
  1335.  
  1336. p = Instance.new("Part", workspace)
  1337. p.Name = "ORB"
  1338. p.TopSurface = 0
  1339. p.BottomSurface = 0
  1340. p.formFactor = "Custom"
  1341. p.CFrame = cPlayer.Torso.CFrame + cPlayer.Torso.CFrame.lookVector * 3 + Vector3.new(math.random(-20, 20) / 15, math.random(-20, 20) / 15 - .8, math.random(-20, 20) / 15)
  1342. m = Instance.new("SpecialMesh", p)
  1343. m.MeshType = "Sphere"
  1344. p.BrickColor = BrickColor:White()
  1345. p.Size = Vector3.new(.4, .4, .4)
  1346. p.CanCollide = false
  1347. p.Anchored = true
  1348. game:GetService("Debris"):AddItem(p, 5)
  1349. coroutine.resume(coroutine.create(function(p)
  1350. for i = 1, 8 do
  1351. p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1, 1, 1)
  1352. p.Transparency = i / 8
  1353. wait()
  1354. end
  1355. p:Remove()
  1356. end), p)
  1357.  
  1358. end
  1359.  
  1360. end)
  1361. while did == false do
  1362. wait()
  1363. end
  1364. wait(.5)
  1365. expected = 20
  1366. did = false
  1367. pooted = 0
  1368. workspace.CurrentCamera.CameraType = "Follow"
  1369. sos = game:GetService("RunService").Stepped:connect(function()
  1370. pooted = pooted + 1
  1371. if pooted >= expected + 1 then
  1372. sos:disconnect()
  1373. did = true
  1374. return
  1375. end
  1376. resetWelds(3, {
  1377. Neck,
  1378. RootJoint,
  1379. RightHip,
  1380. LeftHip
  1381. })
  1382. RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(2 * pooted), math.rad(0), math.rad(5 * pooted))
  1383. LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(-9 * pooted))
  1384. RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(-2))
  1385. LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(4 * pooted))
  1386. Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(2), math.rad(0), math.rad(2))
  1387. RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  1388. w.C0 = w.C0 * CFrame.new(0, 0.03, .03) * CFrame.fromEulerAnglesXYZ(math.rad(2), math.rad(2), math.rad(0))
  1389. end)
  1390. while did == false do
  1391. wait()
  1392. end
  1393. wait(2)
  1394. expected = 5
  1395. did = false
  1396. pooted = 0
  1397. workspace.CurrentCamera.CameraType = "Follow"
  1398. w.Parent = nil
  1399. bodypos.position = cPlayer.Torso.Position - Vector3.new(0, 1, 0)
  1400. poo = cPlayer.Torso.CFrame.lookVector
  1401. cPlayer.Torso.CFrame = CFrame.new(cPlayer.Torso.Position, cPlayer.Torso.Position + C.CFrame.lookVector * 50)
  1402. bodypos.Parent = cPlayer.Torso
  1403. sos = game:GetService("RunService").Stepped:connect(function()
  1404. pooted = pooted + 1
  1405. if pooted >= expected + 1 then
  1406. sos:disconnect()
  1407. did = true
  1408. return
  1409. end
  1410. resetWelds(3, {})
  1411. RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(80 - pooted * 35))
  1412. LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(10), math.rad(0), math.rad(-190 + pooted * 28))
  1413. RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(6), math.rad(0), math.rad(-80 + pooted * 4))
  1414. LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(8), math.rad(0), math.rad(84 - pooted * 4))
  1415. Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20 + pooted * 10), math.rad(0), math.rad(0))
  1416. RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, -pooted * .25) * CFrame.fromEulerAnglesXYZ(math.rad(-20 + pooted * 9), math.rad(0), math.rad(0))
  1417. end)
  1418. while did == false do
  1419. wait()
  1420. end
  1421. wait(.7)
  1422. expected = 5
  1423. did = false
  1424. pooted = 0
  1425. sos = game:GetService("RunService").Stepped:connect(function()
  1426. pooted = pooted + 1
  1427. if pooted >= expected + 1 then
  1428. sos:disconnect()
  1429. did = true
  1430. return
  1431. end
  1432. resetWelds(3, {})
  1433. RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0.05 * pooted, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 2), math.rad(0), math.rad(pooted * 6))
  1434. LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 2), math.rad(0), math.rad(-pooted * 6))
  1435. RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(-57 + pooted * 20))
  1436. LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(57 - pooted * 20))
  1437. Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 4), math.rad(0), math.rad(0))
  1438. RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, -.1 * pooted) * CFrame.fromEulerAnglesXYZ(math.rad(-57 + pooted * 20), math.rad(0), math.rad(0))
  1439. end)
  1440. while did == false do
  1441. wait()
  1442. end
  1443. wait(.2)
  1444. expected = 10
  1445. did = false
  1446. pooted = 0
  1447. workspace.CurrentCamera.CameraType = "Follow"
  1448. g = Instance.new("BodyGyro")
  1449. g.Parent = cPlayer.Torso
  1450. sos = game:GetService("RunService").Stepped:connect(function()
  1451. pooted = pooted + 1
  1452. if pooted >= expected + 1 then
  1453. sos:disconnect()
  1454. did = true
  1455. return
  1456. end
  1457. RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-2), math.rad(0), math.rad(-2))
  1458. LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(2))
  1459. RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(-4))
  1460. LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(4))
  1461. Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-7), math.rad(0), math.rad(0))
  1462. RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, .05) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0))
  1463. if pooted >= 2 then
  1464. bodypos.position = bodypos.position + Vector3.new(0, 12, 0) - dir * 5
  1465. cPlayer.Torso.CFrame = cPlayer.Torso.CFrame + Vector3.new(0, 12, 0) - dir * 5
  1466. end
  1467. end)
  1468. while did == false do
  1469. wait()
  1470. end
  1471. wait(.2)
  1472. bodypos:Remove()
  1473. wait(.5)
  1474.  
  1475. e = Instance.new("Explosion")
  1476. e.BlastRadius = 30
  1477. e.Position = C.Position
  1478. e.BlastPressure = e.BlastPressure * 2.5
  1479. e.Parent = workspace
  1480. s = Instance.new("Sound", C)
  1481. s.SoundId = "rbxassetid://258057783"
  1482. s.Volume = 1
  1483. s:Play()
  1484. Instance.new("Sound", s)
  1485. g:Remove()
  1486. --dun
  1487. nubhit.Torso.Anchored = false
  1488. Hum.PlatformStand = false
  1489. C.Anchored = true
  1490.  
  1491. coroutine.resume(coroutine.create(function(t)
  1492. wait(3)
  1493. p = Instance.new("Sound")
  1494. p.SoundId = "http://www.roblox.com/asset/?id=154677261"
  1495. p.Parent = t
  1496. p.Volume = 1
  1497. p:Play()
  1498. end), C)
  1499. game:GetService("Debris"):AddItem(LOL, 5)
  1500. end
  1501. resetWelds(3, {})
  1502. workspace.CurrentCamera.CameraType = "Custom"
  1503. Hum.WalkSpeed = 16
  1504. Hum.Name = "Humanoid"
  1505. bodypos:Remove()
  1506. partpos:Remove()
  1507. Anim.Parent = nil
  1508. wait(.1)
  1509. Anim.Disabled = false
  1510. Anim.Parent = cPlayer
  1511. deb = true
  1512. end
  1513.  
  1514. Tool = Instance.new("HopperBin")
  1515. Tool.Name = "ROAD ROLLER DA"
  1516. Tool.Parent = game.Players.LocalPlayer.Backpack
  1517. Tool.Selected:connect(function(mouse)
  1518. mouse.Button1Down:connect(function()
  1519. doitdocdoit()
  1520. end)
  1521. end)
  1522.  
  1523. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement