anonymous321313

Untitled

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