Advertisement
ghostteen14

Untitled

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