Advertisement
p0vdnot

Untitled

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