Advertisement
HennadiY

test

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