Advertisement
Guest User

asdad

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