Advertisement
wamandnj

Untitled

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