StarzoZero

Roblox FE SUPER SONIC!!! (Live and Learn!)

Dec 22nd, 2018
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 150.10 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87.  
  88. --Script Make By RADDIACTIVE
  89. --SMILEY FACE
  90.  
  91. local p = owner
  92. local char = p.Character
  93. local larm = char["Left Arm"]
  94. local rarm = char["Right Arm"]
  95. local lleg = char["Left Leg"]
  96. local rleg = char["Right Leg"]
  97. local hed = char.Head
  98. local torso = char.Torso
  99. local hum = char.Humanoid
  100. local cam = game.Workspace.CurrentCamera
  101. local root = char.HumanoidRootPart
  102. local deb = false
  103. local shot = 0
  104. local debris=game:service"Debris"
  105. local l = game:GetService("Lighting")
  106. local rs = game:GetService("RunService").RenderStepped
  107. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  108. math.randomseed(os.time())
  109. for i,v in pairs(char:children()) do
  110. if v:IsA("Hat") then
  111. v:Destroy()
  112. end
  113. end
  114. for i,v in pairs (hed:GetChildren()) do
  115. if v:IsA("Sound") then
  116. v:Destroy()
  117. end
  118. end
  119. ----------------------------------------------------
  120. Debounces = {
  121. CanAttack = true;
  122. NoIdl = false;
  123. Slashing = false;
  124. Slashed = false;
  125. RPunch = false;
  126. RPunched = false;
  127. LPunch = false;
  128. LPunched = false;
  129. }
  130. local Touche = {char.Name, }
  131. ----------------------------------------------------
  132. hed.face.Texture = "rbxassetid://1030686298"
  133. char["Body Colors"].HeadColor = BrickColor.new("Pastel brown")
  134. char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown")
  135. char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown")
  136. char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown")
  137. ----------------------------------------------------
  138. ypcall(function()
  139. char.Shirt:Destroy()
  140. char.Pants:Destroy()
  141. shirt = Instance.new("Shirt", char)
  142. shirt.Name = "Shirt"
  143. pants = Instance.new("Pants", char)
  144. pants.Name = "Pants"
  145. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=2925272"
  146. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=2925454"
  147. end)
  148. ----------------------------------------------------
  149. function lerp(a, b, t) -- Linear interpolation
  150. return a + (b - a)*t
  151. end
  152.  
  153. function slerp(a, b, t) --Spherical interpolation
  154. dot = a:Dot(b)
  155. if dot > 0.99999 or dot < -0.99999 then
  156. return t <= 0.5 and a or b
  157. else
  158. r = math.acos(dot)
  159. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  160. end
  161. end
  162.  
  163. function matrixInterpolate(a, b, t)
  164. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  165. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  166. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  167. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  168. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  169. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  170. local t = v1:Dot(v2)
  171. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  172. return CFrame.new()
  173. end
  174. return CFrame.new(
  175. v0.x, v0.y, v0.z,
  176. v1.x, v1.y, v1.z,
  177. v2.x, v2.y, v2.z,
  178. v3.x, v3.y, v3.z)
  179. end
  180. ----------------------------------------------------
  181. function genWeld(a,b)
  182. local w = Instance.new("Weld",a)
  183. w.Part0 = a
  184. w.Part1 = b
  185. return w
  186. end
  187. function weld(a, b)
  188. local weld = Instance.new("Weld")
  189. weld.Name = "W"
  190. weld.Part0 = a
  191. weld.Part1 = b
  192. weld.C0 = a.CFrame:inverse() * b.CFrame
  193. weld.Parent = a
  194. return weld;
  195. end
  196. ----------------------------------------------------
  197. function Lerp(c1,c2,al)
  198. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  199. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  200. for i,v in pairs(com1) do
  201. com1[i] = v+(com2[i]-v)*al
  202. end
  203. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  204. end
  205. ----------------------------------------------------
  206. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  207. local wld = Instance.new("Weld", wp1)
  208. wld.Part0 = wp0
  209. wld.Part1 = wp1
  210. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  211. end
  212. ----------------------------------------------------
  213. function weld5(part0, part1, c0, c1)
  214. weeld=Instance.new("Weld", part0)
  215. weeld.Part0=part0
  216. weeld.Part1=part1
  217. weeld.C0=c0
  218. weeld.C1=c1
  219. return weeld
  220. end
  221. ----------------------------------------------------
  222. function HasntTouched(plrname)
  223. local ret = true
  224. for _, v in pairs(Touche) do
  225. if v == plrname then
  226. ret = false
  227. end
  228. end
  229. return ret
  230. end
  231. ----------------------------------------------------
  232. newWeld(torso, larm, -1.5, 0.5, 0)
  233. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  234. newWeld(torso, rarm, 1.5, 0.5, 0)
  235. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  236. newWeld(torso, hed, 0, 1.5, 0)
  237. newWeld(torso, lleg, -0.5, -1, 0)
  238. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  239. newWeld(torso, rleg, 0.5, -1, 0)
  240. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  241. newWeld(root, torso, 0, -1, 0)
  242. torso.Weld.C1 = CFrame.new(0, -1, 0)
  243. ----------------------------------------------------
  244. z = Instance.new("Sound", char)
  245. z.SoundId = "rbxassetid://251975234"--251975234
  246. z.Looped = true
  247. z.Pitch = 1
  248. z.Volume = 1
  249. wait(.1)
  250. z:Play()
  251. ----------------------------------------------------
  252. local Transforming = true
  253. hum.WalkSpeed = 0
  254. local fx = Instance.new("Part",torso)
  255. fx.Anchored = true
  256. fx.Material = "Neon"
  257. fx.CanCollide = false
  258. fx.Locked = true
  259. fx.Transparency = 1
  260. fx.Material = "SmoothPlastic"
  261. fx.Size = Vector3.new(1,1,1)
  262. fx.TopSurface = "SmoothNoOutlines"
  263. fx.BottomSurface = "SmoothNoOutlines"
  264. fx.BrickColor = BrickColor.new("New Yeller")
  265. fxm = Instance.new("SpecialMesh",fx)
  266. fxm.MeshType = "Sphere"
  267. fxm.Scale = Vector3.new(1,1,1)
  268. for i = 1, 20 do rs:wait()
  269. fx.Transparency = fx.Transparency - (1/20)
  270. fx.CFrame = torso.CFrame
  271. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  272. rs:wait()
  273. end
  274. ----------------------------------------------------
  275. local m = Instance.new("Model")
  276. m.Name = "Hair"
  277. p1 = Instance.new("Part", m)
  278. p1.BrickColor = BrickColor.new("New Yeller")
  279. p1.FormFactor = Enum.FormFactor.Symmetric
  280. p1.Size = Vector3.new(1, 1, 1)
  281. p1.CFrame = CFrame.new(-2.49043155, 8.24595642, -3.40113306, -5.48362732e-006, -0.978699088, 0.205299795, 3.27825546e-007, -0.205299854, -0.978699148, 1, -5.28991222e-006, 1.48639083e-006)
  282. p1.CanCollide = false
  283. p1.Locked = true
  284. p1.BottomSurface = Enum.SurfaceType.Smooth
  285. p1.TopSurface = Enum.SurfaceType.Smooth
  286. b1 = Instance.new("SpecialMesh", p1)
  287. b1.MeshId = "http://www.roblox.com/asset/?id="
  288. b1.TextureId = ""
  289. b1.MeshType = Enum.MeshType.FileMesh
  290. b1.Name = "Mesh"
  291. b1.VertexColor = Vector3.new(0, 0, 0)
  292. b1.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  293. p2 = Instance.new("Part", m)
  294. p2.BrickColor = BrickColor.new("Pastel brown")
  295. p2.Transparency = 1
  296. p2.Name = "Head"
  297. p2.FormFactor = Enum.FormFactor.Symmetric
  298. p2.Size = Vector3.new(2, 1, 1)
  299. p2.CFrame = CFrame.new(-1.70008016, 8.14794922, -3.40013027, 4.24603923e-006, 7.4505806e-008, -1, -1.50268988e-007, 1, 1.49011612e-008, 1.00000012, 6.79109462e-008, 4.23316806e-006)
  300. p2.CanCollide = false
  301. p2.Locked = true
  302. p2.TopSurface = Enum.SurfaceType.Smooth
  303. b2 = Instance.new("SpecialMesh", p2)
  304. b2.MeshType = Enum.MeshType.Head
  305. b2.Name = "Mesh"
  306. b2.Scale = Vector3.new(1.25, 1.25, 1.25)
  307. p3 = Instance.new("Part", m)
  308. p3.BrickColor = BrickColor.new("New Yeller")
  309. p3.FormFactor = Enum.FormFactor.Symmetric
  310. p3.Size = Vector3.new(2, 2, 2)
  311. p3.CFrame = CFrame.new(-1.70003617, 8.71796131, -3.4000442, 2.57710985e-006, 6.95607483e-008, -1.00000012, -1.20466638e-007, 1, 9.95640903e-009, 1.00000024, 3.81086345e-008, 2.56423846e-006)
  312. p3.CanCollide = false
  313. p3.Locked = true
  314. p3.BottomSurface = Enum.SurfaceType.Smooth
  315. p3.TopSurface = Enum.SurfaceType.Smooth
  316. b3 = Instance.new("SpecialMesh", p3)
  317. b3.MeshId = "http://www.roblox.com/asset/?id="
  318. b3.TextureId = ""
  319. b3.MeshType = Enum.MeshType.FileMesh
  320. b3.Name = "Mesh"
  321. b3.VertexColor = Vector3.new(0, 0, 0)
  322. b3.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
  323. p4 = Instance.new("Part", m)
  324. p4.BrickColor = BrickColor.new("New Yeller")
  325. p4.FormFactor = Enum.FormFactor.Symmetric
  326. p4.Size = Vector3.new(1, 1, 1)
  327. p4.CFrame = CFrame.new(-1.77981007, 8.84795475, -3.40016508, 5.79576135e-006, 7.9450956e-008, -1.00000012, -1.80071311e-007, 1, 1.98458743e-008, 1.00000024, 9.77132402e-008, 5.78289018e-006)
  328. p4.CanCollide = false
  329. p4.Locked = true
  330. p4.BottomSurface = Enum.SurfaceType.Smooth
  331. p4.TopSurface = Enum.SurfaceType.Smooth
  332. b4 = Instance.new("SpecialMesh", p4)
  333. b4.MeshId = "http://www.roblox.com/asset/?id="
  334. b4.TextureId = ""
  335. b4.MeshType = Enum.MeshType.FileMesh
  336. b4.Name = "Mesh"
  337. b4.VertexColor = Vector3.new(0, 0, 0)
  338. p5 = Instance.new("Part", m)
  339. p5.BrickColor = BrickColor.new("New Yeller")
  340. p5.FormFactor = Enum.FormFactor.Symmetric
  341. p5.Size = Vector3.new(1, 1, 1)
  342. p5.CFrame = CFrame.new(-1.70003772, 8.46796131, -3.40004301, -3.43517968e-007, 2.98088111e-007, -1, -1.00421907e-007, 1, 2.38484063e-007, 1.00000012, 1.80640072e-008, -3.56389592e-007)
  343. p5.CanCollide = false
  344. p5.Locked = true
  345. p5.BottomSurface = Enum.SurfaceType.Smooth
  346. p5.TopSurface = Enum.SurfaceType.Smooth
  347. b5 = Instance.new("SpecialMesh", p5)
  348. b5.MeshId = "http://www.roblox.com/asset/?id="
  349. b5.TextureId = ""
  350. b5.MeshType = Enum.MeshType.FileMesh
  351. b5.Name = "Mesh"
  352. b5.VertexColor = Vector3.new(0, 0, 0)
  353. b5.Scale = Vector3.new(1, 0.899999976, 1)
  354. p6 = Instance.new("Part", m)
  355. p6.BrickColor = BrickColor.new("New Yeller")
  356. p6.FormFactor = Enum.FormFactor.Symmetric
  357. p6.Size = Vector3.new(1, 1, 1)
  358. p6.CFrame = CFrame.new(-1.89967656, 8.58795834, -3.44990659, -5.81936433e-007, 5.36502284e-007, -0.99999994, -1.3998249e-007, 1, 4.76898265e-007, 1, 5.76247672e-008, -5.94808171e-007)
  359. p6.CanCollide = false
  360. p6.Locked = true
  361. p6.BottomSurface = Enum.SurfaceType.Smooth
  362. p6.TopSurface = Enum.SurfaceType.Smooth
  363. b6 = Instance.new("SpecialMesh", p6)
  364. b6.MeshId = "http://www.roblox.com/asset/?id="
  365. b6.TextureId = ""
  366. b6.MeshType = Enum.MeshType.FileMesh
  367. b6.Name = "Mesh"
  368. b6.VertexColor = Vector3.new(0, 0, 0)
  369. p7 = Instance.new("Part", m)
  370. p7.BrickColor = BrickColor.new("New Yeller")
  371. p7.FormFactor = Enum.FormFactor.Symmetric
  372. p7.Size = Vector3.new(1, 1, 1)
  373. p7.CFrame = CFrame.new(-1.89918542, 8.31796837, -3.50097537, -4.62727087e-007, 5.36502228e-007, -0.999999881, -1.39982518e-007, 1, 4.76898208e-007, 0.99999994, 5.76247459e-008, -4.75598938e-007)
  374. p7.CanCollide = false
  375. p7.Locked = true
  376. p7.BottomSurface = Enum.SurfaceType.Smooth
  377. p7.TopSurface = Enum.SurfaceType.Smooth
  378. b7 = Instance.new("SpecialMesh", p7)
  379. b7.MeshId = "http://www.roblox.com/asset/?id="
  380. b7.TextureId = ""
  381. b7.MeshType = Enum.MeshType.FileMesh
  382. b7.Name = "Mesh"
  383. b7.VertexColor = Vector3.new(0, 0, 0)
  384. p8 = Instance.new("Part", m)
  385. p8.BrickColor = BrickColor.new("New Yeller")
  386. p8.FormFactor = Enum.FormFactor.Symmetric
  387. p8.Size = Vector3.new(1, 1, 1)
  388. p8.CFrame = CFrame.new(-2.62433338, 7.66397905, -3.4010179, -1.17798254e-006, -0.805111349, 0.593123376, -2.5008859e-007, -0.593123615, -0.805111527, 0.999999881, -9.58229293e-007, 4.4941558e-007)
  389. p8.CanCollide = false
  390. p8.Locked = true
  391. p8.BottomSurface = Enum.SurfaceType.Smooth
  392. p8.TopSurface = Enum.SurfaceType.Smooth
  393. b8 = Instance.new("SpecialMesh", p8)
  394. b8.MeshId = "http://www.roblox.com/asset/?id="
  395. b8.TextureId = ""
  396. b8.MeshType = Enum.MeshType.FileMesh
  397. b8.Name = "Mesh"
  398. b8.VertexColor = Vector3.new(0, 0, 0)
  399. b8.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  400. p9 = Instance.new("Part", m)
  401. p9.BrickColor = BrickColor.new("New Yeller")
  402. p9.FormFactor = Enum.FormFactor.Symmetric
  403. p9.Size = Vector3.new(2, 1, 2)
  404. p9.CFrame = CFrame.new(-1.76505995, 8.56096649, -3.40065479, -9.73168881e-007, -0.0995008349, -0.995037436, -1.70322267e-007, 0.995037675, -0.0995009243, 1, 1.13823972e-007, -6.80968242e-007)
  405. p9.CanCollide = false
  406. p9.Locked = true
  407. p9.BottomSurface = Enum.SurfaceType.Smooth
  408. p9.TopSurface = Enum.SurfaceType.Smooth
  409. b9 = Instance.new("SpecialMesh", p9)
  410. b9.MeshId = "http://www.roblox.com/asset/?id="
  411. b9.TextureId = ""
  412. b9.MeshType = Enum.MeshType.FileMesh
  413. b9.Name = "Mesh"
  414. b9.VertexColor = Vector3.new(0, 0, 0)
  415. b9.Scale = Vector3.new(1.01999998, 1.04999995, 1.04999995)
  416. p10 = Instance.new("Part", m)
  417. p10.BrickColor = BrickColor.new("New Yeller")
  418. p10.FormFactor = Enum.FormFactor.Symmetric
  419. p10.Size = Vector3.new(1, 1, 1)
  420. p10.CFrame = CFrame.new(-2.0207715, 9.06097031, -3.39961624, -1.10652763e-006, -0.683569431, -0.729885519, -2.85231891e-007, 0.729885638, -0.68356967, 1.00000012, -3.22293062e-007, -8.40051371e-007)
  421. p10.CanCollide = false
  422. p10.Locked = true
  423. p10.BottomSurface = Enum.SurfaceType.Smooth
  424. p10.TopSurface = Enum.SurfaceType.Smooth
  425. b10 = Instance.new("SpecialMesh", p10)
  426. b10.MeshId = "http://www.roblox.com/asset/?id="
  427. b10.TextureId = ""
  428. b10.MeshType = Enum.MeshType.FileMesh
  429. b10.Name = "Mesh"
  430. b10.VertexColor = Vector3.new(0, 0, 0)
  431. b10.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  432. p11 = Instance.new("Part", m)
  433. p11.BrickColor = BrickColor.new("New Yeller")
  434. p11.FormFactor = Enum.FormFactor.Symmetric
  435. p11.Size = Vector3.new(1, 1, 1)
  436. p11.CFrame = CFrame.new(-2.16468835, 8.78595829, -3.40089417, -1.41617738e-006, -0.989475727, -0.144699216, -4.36450762e-007, 0.144699067, -0.989476085, 1.00000024, -9.47996682e-007, -7.38401468e-007)
  437. p11.CanCollide = false
  438. p11.Locked = true
  439. p11.BottomSurface = Enum.SurfaceType.Smooth
  440. p11.TopSurface = Enum.SurfaceType.Smooth
  441. b11 = Instance.new("SpecialMesh", p11)
  442. b11.MeshId = "http://www.roblox.com/asset/?id="
  443. b11.TextureId = ""
  444. b11.MeshType = Enum.MeshType.FileMesh
  445. b11.Name = "Mesh"
  446. b11.VertexColor = Vector3.new(0, 0, 0)
  447. b11.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  448. p12 = Instance.new("Part", m)
  449. p12.BrickColor = BrickColor.new("New Yeller")
  450. p12.FormFactor = Enum.FormFactor.Custom
  451. p12.Size = Vector3.new(1, 3.5, 1)
  452. p12.CFrame = CFrame.new(-3.74216318, 6.74288082, -3.40101933, -1.20476273e-006, -0.553697288, 0.832718134, -3.31002866e-007, -0.832718611, -0.553697169, 1.00000036, -8.7345768e-007, 3.69213154e-007)
  453. p12.CanCollide = false
  454. p12.Locked = true
  455. p12.BottomSurface = Enum.SurfaceType.Smooth
  456. p12.TopSurface = Enum.SurfaceType.Smooth
  457. b12 = Instance.new("SpecialMesh", p12)
  458. b12.MeshId = "http://www.roblox.com/asset/?id="
  459. b12.TextureId = ""
  460. b12.MeshType = Enum.MeshType.FileMesh
  461. b12.Name = "Mesh"
  462. b12.VertexColor = Vector3.new(0, 0, 0)
  463. b12.Scale = Vector3.new(1, 3, 1.29999995)
  464. p13 = Instance.new("Part", m)
  465. p13.BrickColor = BrickColor.new("New Yeller")
  466. p13.FormFactor = Enum.FormFactor.Custom
  467. p13.Size = Vector3.new(1, 2, 1)
  468. p13.CFrame = CFrame.new(-3.32689047, 6.86741829, -3.40101862, -9.81709945e-007, -0.319307148, 0.947651446, -5.6545997e-007, -0.947651923, -0.31930691, 1.00000048, -8.39551717e-007, 1.79318391e-007)
  469. p13.CanCollide = false
  470. p13.Locked = true
  471. p13.BottomSurface = Enum.SurfaceType.Smooth
  472. p13.TopSurface = Enum.SurfaceType.Smooth
  473. b13 = Instance.new("SpecialMesh", p13)
  474. b13.MeshId = "http://www.roblox.com/asset/?id="
  475. b13.TextureId = ""
  476. b13.MeshType = Enum.MeshType.FileMesh
  477. b13.Name = "Mesh"
  478. b13.VertexColor = Vector3.new(0, 0, 0)
  479. b13.Scale = Vector3.new(1, 3, 1.29999995)
  480. p14 = Instance.new("Part", m)
  481. p14.BrickColor = BrickColor.new("New Yeller")
  482. p14.FormFactor = Enum.FormFactor.Custom
  483. p14.Size = Vector3.new(1, 2, 1)
  484. p14.CFrame = CFrame.new(-3.02689028, 7.96740961, -3.40101862, -1.33478545e-006, -0.750354111, 0.661036491, -5.20037702e-008, -0.661037207, -0.750354171, 1.0000006, -6.31296757e-007, 2.01137496e-007)
  485. p14.CanCollide = false
  486. p14.Locked = true
  487. p14.BottomSurface = Enum.SurfaceType.Smooth
  488. p14.TopSurface = Enum.SurfaceType.Smooth
  489. b14 = Instance.new("SpecialMesh", p14)
  490. b14.MeshId = "http://www.roblox.com/asset/?id="
  491. b14.TextureId = ""
  492. b14.MeshType = Enum.MeshType.FileMesh
  493. b14.Name = "Mesh"
  494. b14.VertexColor = Vector3.new(0, 0, 0)
  495. b14.Scale = Vector3.new(1, 3, 1.29999995)
  496. p15 = Instance.new("Part", m)
  497. p15.BrickColor = BrickColor.new("New Yeller")
  498. p15.FormFactor = Enum.FormFactor.Custom
  499. p15.Size = Vector3.new(1, 2.5, 1)
  500. p15.CFrame = CFrame.new(-2.96531463, 7.75924349, -2.90101862, 0.342019022, -0.520305753, 0.782499552, -1.1920929e-007, -0.832718909, -0.553697407, 0.939693451, 0.189374983, -0.284806281)
  501. p15.CanCollide = false
  502. p15.Locked = true
  503. p15.BottomSurface = Enum.SurfaceType.Smooth
  504. p15.TopSurface = Enum.SurfaceType.Smooth
  505. b15 = Instance.new("SpecialMesh", p15)
  506. b15.MeshId = "http://www.roblox.com/asset/?id="
  507. b15.TextureId = ""
  508. b15.MeshType = Enum.MeshType.FileMesh
  509. b15.Name = "Mesh"
  510. b15.VertexColor = Vector3.new(0, 0, 0)
  511. b15.Scale = Vector3.new(1, 3, 1.29999995)
  512. p16 = Instance.new("Part", m)
  513. p16.BrickColor = BrickColor.new("New Yeller")
  514. p16.FormFactor = Enum.FormFactor.Custom
  515. p16.Size = Vector3.new(1, 2.5, 1)
  516. p16.CFrame = CFrame.new(-2.96531439, 7.75924349, -3.80101967, -0.258820295, -0.534830391, 0.804343879, -1.78813934e-007, -0.832718968, -0.553697228, 0.96592629, -0.143308073, 0.215523779)
  517. p16.CanCollide = false
  518. p16.Locked = true
  519. p16.BottomSurface = Enum.SurfaceType.Smooth
  520. p16.TopSurface = Enum.SurfaceType.Smooth
  521. b16 = Instance.new("SpecialMesh", p16)
  522. b16.MeshId = "http://www.roblox.com/asset/?id="
  523. b16.TextureId = ""
  524. b16.MeshType = Enum.MeshType.FileMesh
  525. b16.Name = "Mesh"
  526. b16.VertexColor = Vector3.new(0, 0, 0)
  527. b16.Scale = Vector3.new(1, 3, 1.29999995)
  528. p17 = Instance.new("Part", m)
  529. p17.BrickColor = BrickColor.new("New Yeller")
  530. p17.FormFactor = Enum.FormFactor.Custom
  531. p17.Size = Vector3.new(1, 2.4000001, 1)
  532. p17.CFrame = CFrame.new(-2.69075108, 7.07788849, -3.40101933, -1.13248825e-006, -0.319307148, 0.947651625, -1.1920929e-006, -0.947652161, -0.319306791, 1.0000006, -1.54972076e-006, 1.04308128e-007)
  533. p17.CanCollide = false
  534. p17.Locked = true
  535. p17.BottomSurface = Enum.SurfaceType.Smooth
  536. p17.TopSurface = Enum.SurfaceType.Smooth
  537. b17 = Instance.new("SpecialMesh", p17)
  538. b17.MeshId = "http://www.roblox.com/asset/?id="
  539. b17.TextureId = ""
  540. b17.MeshType = Enum.MeshType.FileMesh
  541. b17.Name = "Mesh"
  542. b17.VertexColor = Vector3.new(0, 0, 0)
  543. b17.Scale = Vector3.new(1, 3, 1.29999995)
  544. p18 = Instance.new("Part", m)
  545. p18.BrickColor = BrickColor.new("New Yeller")
  546. p18.FormFactor = Enum.FormFactor.Custom
  547. p18.Size = Vector3.new(2, 2, 2)
  548. p18.CFrame = CFrame.new(-1.70003319, 8.71796608, -3.40004444, -2.37434961e-006, 1.78813934e-007, 1.00000036, -2.35242567e-007, 1.00000072, 3.27825546e-007, -1.0000006, 7.95440158e-009, -2.91315405e-006)
  549. p18.CanCollide = false
  550. p18.Locked = true
  551. p18.BottomSurface = Enum.SurfaceType.Smooth
  552. p18.TopSurface = Enum.SurfaceType.Smooth
  553. b18 = Instance.new("SpecialMesh", p18)
  554. b18.MeshId = "http://www.roblox.com/asset/?id=1029494331"
  555. b18.TextureId = ""
  556. b18.MeshType = Enum.MeshType.FileMesh
  557. b18.Name = "Mesh"
  558. b18.VertexColor = Vector3.new(0, 0, 0)
  559. b18.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
  560. w1 = Instance.new("Weld", p1)
  561. w1.Name = "Head_Weld"
  562. w1.Part0 = p1
  563. w1.C0 = CFrame.new(3.40111661, -0.744508088, 8.58160019, -5.48362732e-006, 3.27825546e-007, 1, -0.978699088, -0.205299854, -5.30481339e-006, 0.205299824, -0.978699148, 1.49011612e-006)
  564. w1.Part1 = p2
  565. w1.C1 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006)
  566. w2 = Instance.new("Weld", p2)
  567. w2.Name = "Part_Weld"
  568. w2.Part0 = p2
  569. w2.C0 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006)
  570. w2.Part1 = p3
  571. w2.C1 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006)
  572. w3 = Instance.new("Weld", p3)
  573. w3.Name = "Part_Weld"
  574. w3.Part0 = p3
  575. w3.C0 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006)
  576. w3.Part1 = p4
  577. w3.C1 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006)
  578. w4 = Instance.new("Weld", p4)
  579. w4.Name = "Part_Weld"
  580. w4.Part0 = p4
  581. w4.C0 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006)
  582. w4.Part1 = p5
  583. w4.C1 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007)
  584. w5 = Instance.new("Weld", p5)
  585. w5.Name = "Part_Weld"
  586. w5.Part0 = p5
  587. w5.C0 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007)
  588. w5.Part1 = p6
  589. w5.C1 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007)
  590. w6 = Instance.new("Weld", p6)
  591. w6.Name = "Part_Weld"
  592. w6.Part0 = p6
  593. w6.C0 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007)
  594. w6.Part1 = p7
  595. w6.C1 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007)
  596. w7 = Instance.new("Weld", p7)
  597. w7.Name = "Part_Weld"
  598. w7.Part0 = p7
  599. w7.C0 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007)
  600. w7.Part1 = p8
  601. w7.C1 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007)
  602. w8 = Instance.new("Weld", p8)
  603. w8.Name = "Part_Weld"
  604. w8.Part0 = p8
  605. w8.C0 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007)
  606. w8.Part1 = p9
  607. w8.C1 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007)
  608. w9 = Instance.new("Weld", p9)
  609. w9.Name = "Part_Weld"
  610. w9.Part0 = p9
  611. w9.C0 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007)
  612. w9.Part1 = p10
  613. w9.C1 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007)
  614. w10 = Instance.new("Weld", p10)
  615. w10.Name = "Part_Weld"
  616. w10.Part0 = p10
  617. w10.C0 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007)
  618. w10.Part1 = p11
  619. w10.C1 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007)
  620. w11 = Instance.new("Weld", p11)
  621. w11.Name = "Part_Weld"
  622. w11.Part0 = p11
  623. w11.C0 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007)
  624. w11.Part1 = p12
  625. w11.C1 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007)
  626. w12 = Instance.new("Weld", p12)
  627. w12.Name = "Part_Weld"
  628. w12.Part0 = p12
  629. w12.C0 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007)
  630. w12.Part1 = p13
  631. w12.C1 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007)
  632. w13 = Instance.new("Weld", p13)
  633. w13.Name = "Part_Weld"
  634. w13.Part0 = p13
  635. w13.C0 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007)
  636. w13.Part1 = p14
  637. w13.C1 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007)
  638. w14 = Instance.new("Weld", p14)
  639. w14.Name = "Part_Weld"
  640. w14.Part0 = p14
  641. w14.C0 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007)
  642. w14.Part1 = p15
  643. w14.C1 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775)
  644. w15 = Instance.new("Weld", p15)
  645. w15.Name = "Part_Weld"
  646. w15.Part0 = p15
  647. w15.C0 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775)
  648. w15.Part1 = p16
  649. w15.C1 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928)
  650. w16 = Instance.new("Weld", p16)
  651. w16.Name = "Part_Weld"
  652. w16.Part0 = p16
  653. w16.C0 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928)
  654. w16.Part1 = p17
  655. w16.C1 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007)
  656. w17 = Instance.new("Weld", p17)
  657. w17.Name = "Part_Weld"
  658. w17.Part0 = p17
  659. w17.C0 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007)
  660. w17.Part1 = p18
  661. w17.C1 = CFrame.new(-3.40004683, -8.49, 2.12, -2.6504224e-006, -7.89943471e-008, -1, -2.47197018e-008, 1, -7.89942831e-008, 1, 2.47194887e-008, -2.6504224e-006)
  662. m.Parent = char
  663. m:MakeJoints()
  664. ----------------------------------------------------
  665. local cor = Instance.new("Part", char.Hair)
  666. cor.Name = "Link"
  667. cor.Locked = true
  668. cor.BottomSurface = 0
  669. cor.CanCollide = false
  670. cor.Size = Vector3.new(1, 9, 1)
  671. cor.Transparency = 1
  672. cor.TopSurface = 0
  673. corw = Instance.new("Weld", cor)
  674. corw.Part0 = hed
  675. corw.Part1 = cor
  676. corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  677. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  678. weld1 = Instance.new("Weld", char.Hair)
  679. weld1.Part0 = cor
  680. weld1.Part1 = char.Hair.Head
  681. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  682. ----------------------------------------------------
  683. GroundWave1 = function()
  684. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  685. local Colors = {"New Yeller", "New Yeller"}
  686. local wave = Instance.new("Part", torso)
  687. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  688. wave.Anchored = true
  689. wave.CanCollide = false
  690. wave.Locked = true
  691. wave.Size = Vector3.new(1, 1, 1)
  692. wave.TopSurface = "Smooth"
  693. wave.BottomSurface = "Smooth"
  694. wave.Transparency = 0.35
  695. wave.CFrame = HandCF
  696. wm = Instance.new("SpecialMesh", wave)
  697. wm.MeshId = "rbxassetid://3270017"
  698. coroutine.wrap(function()
  699. for i = 1, 30, 1 do
  700. wm.Scale = Vector3.new(1 + i*1.2, 1 + i*1.2, 1)
  701. wave.Size = wm.Scale
  702. wave.CFrame = HandCF
  703. wave.Transparency = i/30
  704. wait()
  705. end
  706. wait()
  707. wave:Destroy()
  708. end)()
  709. end
  710. ----------------------------------------------------
  711. GroundWave = function()
  712. if Transforming == true then
  713. local wave = Instance.new("Part", torso)
  714. wave.BrickColor = BrickColor.new("New Yeller")
  715. wave.Anchored = true
  716. wave.CanCollide = false
  717. wave.Locked = true
  718. wave.Size = Vector3.new(1, 1, 1)
  719. wave.TopSurface = "Smooth"
  720. wave.BottomSurface = "Smooth"
  721. wave.Transparency = 0.35
  722. wave.CFrame = fx.CFrame
  723. wm = Instance.new("SpecialMesh", wave)
  724. wm.MeshType = "Sphere"
  725. wm.Scale = Vector3.new(1,1,1)
  726. coroutine.wrap(function()
  727. for i = 1, 18, 1 do
  728. wm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2)
  729. --wave.Size = wm.Scale
  730. wave.CFrame = fx.CFrame
  731. wave.Transparency = i/14
  732. wait()
  733. end
  734. wait()
  735. wave:Destroy()
  736. end)()
  737. elseif Transforming == false then
  738. wait()
  739. end
  740. end
  741.  
  742. for i = 1, 100 do rs:wait()
  743. fx.CFrame = torso.CFrame
  744. end
  745.  
  746. Spawn(function()
  747. while wait(1) do
  748. GroundWave()
  749. end
  750. end)
  751.  
  752. wait(4)
  753.  
  754. Transforming = false
  755.  
  756. for i = 1, 20 do rs:wait()
  757. fx.Transparency = fx.Transparency + (1/20)
  758. fx.CFrame = torso.CFrame
  759. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  760. rs:wait()
  761. end
  762.  
  763. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  764. local wave = Instance.new("Part", torso)
  765. wave.BrickColor = BrickColor.new("Institutional white")
  766. wave.Anchored = true
  767. wave.CanCollide = false
  768. wave.Locked = true
  769. wave.Size = Vector3.new(1, 1, 1)
  770. wave.TopSurface = "Smooth"
  771. wave.BottomSurface = "Smooth"
  772. wave.Transparency = 0.35
  773. wave.CFrame = HandCF
  774. wm = Instance.new("SpecialMesh", wave)
  775. wm.MeshId = "rbxassetid://3270017"
  776. coroutine.wrap(function()
  777. for i = 1, 14, 1 do
  778. wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
  779. wave.Size = wm.Scale
  780. wave.CFrame = HandCF
  781. wave.Transparency = i/14
  782. wait()
  783. end
  784. wait()
  785. wave:Destroy()
  786. end)()
  787. hum.WalkSpeed = 16
  788. ----------------------------------------------------
  789. Blast = function()
  790. local Colors = {"New Yeller", "New Yeller"}
  791. local wave = Instance.new("Part", torso)
  792. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  793. wave.Anchored = true
  794. wave.CanCollide = false
  795. wave.Locked = true
  796. wave.Size = Vector3.new(1, 1, 1)
  797. wave.TopSurface = "Smooth"
  798. wave.BottomSurface = "Smooth"
  799. wave.Transparency = 0.35
  800. wave.CFrame = rarm.CFrame
  801. wm = Instance.new("SpecialMesh", wave)
  802. wm.MeshType = "Sphere"
  803. wm.Scale = Vector3.new(1,1,1)
  804. z = Instance.new("Sound",wave)
  805. z.SoundId = "rbxassetid://237035051"
  806. z.Volume = 1
  807. z.Pitch = .9
  808. z:Play()
  809. coroutine.wrap(function()
  810. for i = 1, 30, 1 do
  811. wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4)
  812. --wave.Size = wm.Scale
  813. wave.CFrame = rarm.CFrame
  814. wave.Transparency = (1/14)
  815. rs:wait()
  816. end
  817. rs:wait()
  818. wave:Destroy()
  819. z:Destroy()
  820. end)()
  821. end
  822. ----------------------------------------------------
  823. rarm.Touched:connect(function(ht)
  824. hit = ht.Parent
  825. if ht and hit:IsA("Model") then
  826. if hit:FindFirstChild("Humanoid") then
  827. if hit.Name ~= p.Name then
  828. if Debounces.RPunch == true and Debounces.RPunched == false then
  829. Debounces.RPunched = true
  830. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  831. if Debounces.ks==true then
  832. z = Instance.new("Sound",hed)
  833. z.SoundId = "rbxassetid://169380525"
  834. z.Pitch = ptz[math.random(1,#ptz)]
  835. z.Volume = 1
  836. z:Play()
  837. end
  838. wait(.2)
  839. Debounces.RPunched = false
  840. end
  841. end
  842. end
  843. elseif ht and hit:IsA("Hat") then
  844. if hit.Parent.Name ~= p.Name then
  845. if hit.Parent:FindFirstChild("Humanoid") then
  846. if Debounces.RPunch == true and Debounces.RPunched == false then
  847. Debounces.RPunched = true
  848. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  849. if Debounces.ks==true then
  850. z = Instance.new("Sound",hed)
  851. z.SoundId = "rbxassetid://169380525"
  852. z.Pitch = ptz[math.random(1,#ptz)]
  853. z.Volume = 1
  854. z:Play()
  855. end
  856. wait(.2)
  857. Debounces.RPunched = false
  858. end
  859. end
  860. end
  861. end
  862. end)
  863. larm.Touched:connect(function(ht)
  864. hit = ht.Parent
  865. if ht and hit:IsA("Model") then
  866. if hit:FindFirstChild("Humanoid") then
  867. if hit.Name ~= p.Name then
  868. if Debounces.LPunch == true and Debounces.LPunched == false then
  869. Debounces.LPunched = true
  870. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  871. if Debounces.ks2==true then
  872. z = Instance.new("Sound",hed)
  873. z.SoundId = "rbxassetid://169380525"
  874. z.Pitch = ptz[math.random(1,#ptz)]
  875. z.Volume = 1
  876. z:Play()
  877. end
  878. wait(.2)
  879. Debounces.LPunched = false
  880. end
  881. end
  882. end
  883. elseif ht and hit:IsA("Hat") then
  884. if hit.Parent.Name ~= p.Name then
  885. if hit.Parent:FindFirstChild("Humanoid") then
  886. if Debounces.LPunch == true and Debounces.LPunched == false then
  887. Debounces.LPunched = true
  888. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  889. if Debounces.ks2==true then
  890. z = Instance.new("Sound",hed)
  891. z.SoundId = "rbxassetid://169380525"
  892. z.Pitch = ptz[math.random(1,#ptz)]
  893. z.Volume = 1
  894. z:Play()
  895. end
  896. wait(.2)
  897. Debounces.LPunched = false
  898. end
  899. end
  900. end
  901. end
  902. end)
  903. ----------------------------------------------------
  904. mod4 = Instance.new("Model",char)
  905.  
  906. ptez = {0.7, 0.8, 0.9, 1}
  907.  
  908. function FindNearestTorso(Position,Distance,SinglePlayer)
  909. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  910. local List = {}
  911. for i,v in pairs(workspace:GetChildren())do
  912. if v:IsA("Model")then
  913. if v:findFirstChild("Torso")then
  914. if v ~= char then
  915. if(v.Torso.Position -Position).magnitude <= Distance then
  916. table.insert(List,v)
  917. end
  918. end
  919. end
  920. end
  921. end
  922. return List
  923. end
  924.  
  925. function Punch()
  926. part=Instance.new('Part',mod4)
  927. part.Anchored=true
  928. part.CanCollide=false
  929. part.FormFactor='Custom'
  930. part.Size=Vector3.new(.2,.2,.2)
  931. part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0)
  932. part.Transparency=.7
  933. part.BrickColor=BrickColor.new('New Yeller')
  934. mesh=Instance.new('SpecialMesh',part)
  935. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  936. mesh.Scale=Vector3.new(3,3,3)
  937. part2=Instance.new('Part',mod4)
  938. part2.Anchored=true
  939. part2.CanCollide=false
  940. part2.FormFactor='Custom'
  941. part2.Size=Vector3.new(.2,.2,.2)
  942. part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0)
  943. part2.Transparency=.7
  944. part2.BrickColor=BrickColor.new('New Yeller')
  945. mesh2=Instance.new('SpecialMesh',part2)
  946. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  947. mesh2.Scale=Vector3.new(3,1.5,3)
  948. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  949. if v:FindFirstChild('Humanoid') then
  950. v.Humanoid:TakeDamage(math.random(2,6))
  951. end
  952. end
  953. coroutine.resume(coroutine.create(function()
  954. for i=0,0.62,0.4 do
  955. wait()
  956. part.CFrame=part.CFrame
  957. part.Transparency=i
  958. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  959. part2.CFrame=part2.CFrame
  960. part2.Transparency=i
  961. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  962. end
  963. part.Parent=nil
  964. part2.Parent=nil
  965. end))
  966. end
  967. ----------------------------------------------------
  968. rarm.Touched:connect(function(ht)
  969. hit = ht.Parent
  970. if ht and hit:IsA("Model") then
  971. if hit:FindFirstChild("Humanoid") then
  972. if hit.Name ~= p.Name then
  973. if Debounces.RPunch == true and Debounces.RPunched == false then
  974. Debounces.RPunched = true
  975. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  976. if Debounces.ks==true then
  977. z = Instance.new("Sound",hed)
  978. z.SoundId = "rbxassetid://169380525"
  979. z.Pitch = ptz[math.random(1,#ptz)]
  980. z.Volume = 1
  981. z:Play()
  982. end
  983. wait(.2)
  984. Debounces.RPunched = false
  985. end
  986. end
  987. end
  988. elseif ht and hit:IsA("Hat") then
  989. if hit.Parent.Name ~= p.Name then
  990. if hit.Parent:FindFirstChild("Humanoid") then
  991. if Debounces.RPunch == true and Debounces.RPunched == false then
  992. Debounces.RPunched = true
  993. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  994. if Debounces.ks==true then
  995. z = Instance.new("Sound",hed)
  996. z.SoundId = "rbxassetid://169380525"
  997. z.Pitch = ptz[math.random(1,#ptz)]
  998. z.Volume = 1
  999. z:Play()
  1000. end
  1001. wait(.2)
  1002. Debounces.RPunched = false
  1003. end
  1004. end
  1005. end
  1006. end
  1007. end)
  1008. larm.Touched:connect(function(ht)
  1009. hit = ht.Parent
  1010. if ht and hit:IsA("Model") then
  1011. if hit:FindFirstChild("Humanoid") then
  1012. if hit.Name ~= p.Name then
  1013. if Debounces.LPunch == true and Debounces.LPunched == false then
  1014. Debounces.LPunched = true
  1015. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  1016. if Debounces.ks2==true then
  1017. z = Instance.new("Sound",hed)
  1018. z.SoundId = "rbxassetid://169380525"
  1019. z.Pitch = ptz[math.random(1,#ptz)]
  1020. z.Volume = 1
  1021. z:Play()
  1022. end
  1023. wait(.2)
  1024. Debounces.LPunched = false
  1025. end
  1026. end
  1027. end
  1028. elseif ht and hit:IsA("Hat") then
  1029. if hit.Parent.Name ~= p.Name then
  1030. if hit.Parent:FindFirstChild("Humanoid") then
  1031. if Debounces.LPunch == true and Debounces.LPunched == false then
  1032. Debounces.LPunched = true
  1033. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  1034. if Debounces.ks2==true then
  1035. z = Instance.new("Sound",hed)
  1036. z.SoundId = "rbxassetid://169380525"
  1037. z.Pitch = ptz[math.random(1,#ptz)]
  1038. z.Volume = 1
  1039. z:Play()
  1040. end
  1041. wait(.2)
  1042. Debounces.LPunched = false
  1043. end
  1044. end
  1045. end
  1046. end
  1047. end)
  1048. ----------------------------------------------------
  1049. local player = owner
  1050. local pchar = player.Character
  1051. local cam = workspace.CurrentCamera
  1052.  
  1053. local rad = math.rad
  1054.  
  1055. local keysDown = {}
  1056. local flySpeed = 0
  1057. local MAX_FLY_SPEED = 150
  1058.  
  1059. local canFly = false
  1060. local flyToggled = false
  1061.  
  1062. local forward, side = 0, 0
  1063. local lastForward, lastSide = 0, 0
  1064.  
  1065. local floatBP = Instance.new("BodyPosition")
  1066. floatBP.maxForce = Vector3.new(0, math.huge, 0)
  1067. local flyBV = Instance.new("BodyVelocity")
  1068. flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  1069. local turnBG = Instance.new("BodyGyro")
  1070. turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  1071.  
  1072. mouse.KeyDown:connect(function(key)
  1073. keysDown[key] = true
  1074.  
  1075. if key == "f" then
  1076. flyToggled = not flyToggled
  1077.  
  1078. if not flyToggled then
  1079. stanceToggle = "Normal"
  1080. floatBP.Parent = nil
  1081. flyBV.Parent = nil
  1082. turnBG.Parent = nil
  1083. root.Velocity = Vector3.new()
  1084. pchar.Humanoid.PlatformStand = false
  1085. end
  1086. end
  1087.  
  1088. end)
  1089. mouse.KeyUp:connect(function(key)
  1090. keysDown[key] = nil
  1091. end)
  1092.  
  1093. local function updateFly()
  1094.  
  1095. if not flyToggled then return end
  1096.  
  1097. lastForward = forward
  1098. lastSide = side
  1099.  
  1100. forward = 0
  1101. side = 0
  1102.  
  1103. if keysDown.w then
  1104. forward = forward + 1
  1105. end
  1106. if keysDown.s then
  1107. forward = forward - 1
  1108. end
  1109. if keysDown.a then
  1110. side = side - 1
  1111. end
  1112. if keysDown.d then
  1113. side = side + 1
  1114. end
  1115.  
  1116. canFly = (forward ~= 0 or side ~= 0)
  1117.  
  1118. if canFly then
  1119. stanceToggle = "Floating"
  1120. turnBG.Parent = root
  1121. floatBP.Parent = nil
  1122. flyBV.Parent = root
  1123.  
  1124. flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
  1125. if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
  1126. else
  1127. floatBP.position = root.Position
  1128. floatBP.Parent = root
  1129.  
  1130. flySpeed = flySpeed - 1
  1131. if flySpeed < 0 then flySpeed = 0 end
  1132. end
  1133.  
  1134. local camCF = cam.CoordinateFrame
  1135. local in_forward = canFly and forward or lastForward
  1136. local in_side = canFly and side or lastSide
  1137.  
  1138. flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side,
  1139. in_forward * 0.2, 0).p) - camCF.p) * flySpeed
  1140.  
  1141. turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0,
  1142. 0)
  1143. end
  1144.  
  1145. game:service'RunService'.RenderStepped:connect(function()
  1146. if flyToggled then
  1147. pchar.Humanoid.PlatformStand = true
  1148. end
  1149. updateFly()
  1150. end)
  1151. -------------------------------
  1152. mouse.KeyDown:connect(function(key)
  1153. if key == "q" then
  1154. if Debounces.CanAttack == true then
  1155. Debounces.CanAttack = false
  1156. Debounces.NoIdl = true
  1157. Debounces.on = true
  1158. function FindNearestTorso(Position,Distance,SinglePlayer)
  1159. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1160. local List = {}
  1161. for i,v in pairs(workspace:GetChildren())do
  1162. if v:IsA("Model")then
  1163. if v:findFirstChild("Torso")then
  1164. if v ~= char then
  1165. if(v.Torso.Position -Position).magnitude <= Distance then
  1166. table.insert(List,v)
  1167. end
  1168. end
  1169. end
  1170. end
  1171. end
  1172. return List
  1173. end
  1174. z = Instance.new("Sound",hed)
  1175. z.SoundId = "rbxassetid://232213955"
  1176. z.Pitch = 1
  1177. z.Volume = 1
  1178. wait(0.2)
  1179. z:Play()
  1180. sp = Instance.new("Part",rarm)
  1181. sp.Anchored = true
  1182. sp.CanCollide = false
  1183. sp.Locked = true
  1184. sp.Transparency = 0
  1185. sp.Material = "Neon"
  1186. sp.Size = Vector3.new(1,1,1)
  1187. sp.TopSurface = "SmoothNoOutlines"
  1188. sp.BottomSurface = "SmoothNoOutlines"
  1189. sp.BrickColor = BrickColor.new("New Yeller")
  1190. spm = Instance.new("SpecialMesh",sp)
  1191. spm.MeshType = "Sphere"
  1192. spm.Scale = Vector3.new(21,21,21)
  1193. sp2 = Instance.new("Part", rarm)
  1194. sp2.Name = "Energy"
  1195. sp2.BrickColor = BrickColor.new("New Yeller")
  1196. sp2.Size = Vector3.new(1, 1, 1)
  1197. sp2.Shape = "Ball"
  1198. sp2.CanCollide = false
  1199. sp2.Anchored = true
  1200. sp2.Locked = true
  1201. sp2.TopSurface = 0
  1202. sp2.BottomSurface = 0
  1203. sp2.Transparency = 1
  1204. spm2 = Instance.new("SpecialMesh",sp2)
  1205. spm2.MeshId = "rbxassetid://990753566"
  1206. spm2.Scale = Vector3.new(2,2,2)
  1207. for i = 1, 20 do
  1208. spm.Scale = spm.Scale - Vector3.new(1,1,1)
  1209. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  1210. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4)
  1211. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4)
  1212. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  1213. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  1214. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1215. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1216. if Debounces.on == false then break end
  1217. rs:wait()
  1218. end
  1219. for i = 1, 100, 20 do rs:wait()
  1220. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  1221. end
  1222. for i = 1, 20 do
  1223. sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
  1224. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4)
  1225. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.4)
  1226. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4)
  1227. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4)
  1228. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1229. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1230. if Debounces.on == false then break end
  1231. rs:wait()
  1232. end
  1233. sp.Transparency = 1
  1234. for i = 1, 20 do
  1235. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4)
  1236. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.62,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.4)
  1237. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4)
  1238. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4)
  1239. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1240. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  1241. if Debounces.on == false then break end
  1242. rs:wait()
  1243. end
  1244. wait(1)
  1245. sp.Transparency = 0
  1246. sp2.Transparency = 0.84
  1247. for i = 1, 20 do
  1248. --spm.Scale = spm.Scale - Vector3.new(1,1,1)
  1249. sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  1250. sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i))
  1251. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4)
  1252. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2)
  1253. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2)
  1254. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  1255. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2)
  1256. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2)
  1257. if Debounces.on == false then break end
  1258. rs:wait()
  1259. end
  1260. for i = 1, 2880, 50 do
  1261. rs:wait()
  1262. sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
  1263. sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  1264. rs:wait()
  1265. end
  1266. sp:Destroy()
  1267. sp2:Destroy()
  1268. local X = Instance.new("Part",char)
  1269. local O = Instance.new("ObjectValue",X)
  1270. O.Name = "creator"
  1271. X.Locked = true
  1272. X.Name = "Shell"
  1273. X.Anchored = false
  1274. X.CanCollide = false
  1275. X.Transparency = 0
  1276. X.Reflectance = 0
  1277. X.BottomSurface = 0
  1278. X.TopSurface = 0
  1279. X.Shape = 0
  1280. local V = Instance.new("ObjectValue",X)
  1281. V.Value = char
  1282. V.Name = "creator"
  1283. X.BrickColor = BrickColor.new("New Yeller")
  1284. X.Size = Vector3.new(2,2,2)
  1285. X.Material = "Neon"
  1286. local Z = Instance.new("SpecialMesh",X)
  1287. Z.MeshType = "Sphere"
  1288. Z.Scale = Vector3.new(0.5,0.5,1)
  1289. X.CFrame = rarm.CFrame*CFrame.new(-3,0,0)
  1290. local bv = Instance.new("BodyVelocity",X)
  1291. bv.maxForce = Vector3.new(99999,99999,99999)
  1292. X.CFrame = CFrame.new(X.Position,mouse.Hit.p)
  1293. bv.velocity = X.CFrame.lookVector*65
  1294.  
  1295. Explode = X.Touched:connect(function(hit)
  1296. if hit ~= char and hit.Name ~= "Shell" then
  1297. local cf = X.CFrame
  1298. bv:Destroy()
  1299. X.Anchored = true
  1300. Z:Remove()
  1301. Explode:disconnect()
  1302. X.Size = Vector3.new(3,3,3)
  1303. X.Touched:connect(function(hit) end)
  1304. X.CanCollide = false
  1305. local part3 = Instance.new("Part", rarm)
  1306. part3.Anchored=true
  1307. part3.CanCollide=false
  1308. part3.Locked = true
  1309. part3.TopSurface = "SmoothNoOutlines"
  1310. part3.BottomSurface = "SmoothNoOutlines"
  1311. part3.FormFactor='Custom'
  1312. part3.Size=Vector3.new(1,1, 1)
  1313. part3.CFrame=X.CFrame
  1314. part3.Transparency=0
  1315. part3.BrickColor=BrickColor.new("New Yeller")
  1316. local mesh3 = Instance.new("SpecialMesh",part3)
  1317. mesh3.MeshType = "Sphere"
  1318. mesh3.Scale = Vector3.new(1,1,1)
  1319. --debris:AddItem(X,8)
  1320. local part4 = Instance.new("Part", rarm)
  1321. part4.Material = "Neon"
  1322. part4.Anchored=true
  1323. part4.CanCollide=false
  1324. part4.Locked = true
  1325. part4.TopSurface = "SmoothNoOutlines"
  1326. part4.BottomSurface = "SmoothNoOutlines"
  1327. part4.FormFactor='Custom'
  1328. part4.Size=Vector3.new(1,1, 1)
  1329. part4.CFrame=X.CFrame
  1330. part4.Transparency=0
  1331. part4.BrickColor=BrickColor.new("Hot pink")
  1332. local mesh4 = Instance.new("SpecialMesh",part4)
  1333. mesh4.MeshType = "Sphere"
  1334. mesh4.Scale = Vector3.new(.5,.5,.5)
  1335. local part7 = Instance.new("Part", rarm)
  1336. part7.Material = "Neon"
  1337. part7.Anchored=true
  1338. part7.CanCollide=false
  1339. part7.Locked = true
  1340. part7.TopSurface = "SmoothNoOutlines"
  1341. part7.BottomSurface = "SmoothNoOutlines"
  1342. part7.FormFactor='Custom'
  1343. part7.Size=Vector3.new(1,1, 1)
  1344. part7.CFrame=X.CFrame
  1345. part7.Transparency=0
  1346. part7.BrickColor=BrickColor.new("New Yeller")
  1347. local mesh7 = Instance.new("SpecialMesh",part7)
  1348. mesh7.MeshType = "Sphere"
  1349. mesh7.Scale = Vector3.new(0.1, 0.1, 0.1)
  1350. --[[X.Touched:connect(function(ht)
  1351. hit = ht.Parent
  1352. if ht and hit:IsA("Model") then
  1353. if hit:FindFirstChild("Humanoid") then
  1354. if hit.Name ~= p.Name then
  1355. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1356. wait(.3)
  1357. end
  1358. end
  1359. elseif ht and hit:IsA("Hat") then
  1360. if hit.Parent.Name ~= p.Name then
  1361. if hit.Parent:FindFirstChild("Humanoid") then
  1362. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1363. wait(.3)
  1364. end
  1365. end
  1366. end
  1367. end)
  1368. part3.Touched:connect(function(ht)
  1369. hit = ht.Parent
  1370. if ht and hit:IsA("Model") then
  1371. if hit:FindFirstChild("Humanoid") then
  1372. if hit.Name ~= p.Name then
  1373. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1374. wait(.3)
  1375. end
  1376. end
  1377. elseif ht and hit:IsA("Hat") then
  1378. if hit.Parent.Name ~= p.Name then
  1379. if hit.Parent:FindFirstChild("Humanoid") then
  1380. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  1381. wait(.3)
  1382. end
  1383. end
  1384. end
  1385. end)]]--
  1386. for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do
  1387. if v:FindFirstChild('Humanoid') then
  1388. v.Humanoid:TakeDamage(math.random(60,90))
  1389. v.Humanoid.PlatformStand = true
  1390. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  1391. end
  1392. end
  1393.  
  1394. local acos = math.acos
  1395. local sqrt = math.sqrt
  1396. local Vec3 = Vector3.new
  1397. local fromAxisAngle = CFrame.fromAxisAngle
  1398.  
  1399. local function toAxisAngle(CFr)
  1400. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  1401. local Angle = math.acos((R00+R11+R22-1)/2)
  1402. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1403. A = A == 0 and 0.00001 or A
  1404. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1405. B = B == 0 and 0.00001 or B
  1406. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1407. C = C == 0 and 0.00001 or C
  1408. local x = (R21-R12)/sqrt(A)
  1409. local y = (R02-R20)/sqrt(B)
  1410. local z = (R10-R01)/sqrt(C)
  1411. return Vec3(x,y,z),Angle
  1412. end
  1413.  
  1414. function ApplyTrig(Num,Func)
  1415. local Min,Max = Func(0),Func(1)
  1416. local i = Func(Num)
  1417. return (i-Min)/(Max-Min)
  1418. end
  1419.  
  1420. function LerpCFrame(CFrame1,CFrame2,Num)
  1421. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  1422. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  1423. end
  1424.  
  1425. function Crater(Torso,Radius)
  1426. Spawn(function()
  1427. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  1428. local Ignore = {}
  1429. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1430. if v.Character ~= nil then
  1431. Ignore[#Ignore+1] = v.Character
  1432. end
  1433. end
  1434. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  1435. if Hit == nil then return end
  1436. local Parts = {}
  1437. for i = 1,360,10 do
  1438. local P = Instance.new("Part",Torso.Parent)
  1439. P.Anchored = true
  1440. P.FormFactor = "Custom"
  1441. P.BrickColor = Hit.BrickColor
  1442. P.Material = Hit.Material
  1443. P.TopSurface = "Smooth"
  1444. P.BottomSurface = "Smooth"
  1445. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  1446. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  1447. Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
  1448. if math.random(0,5) == 0 then -- rubble
  1449. local P = Instance.new("Part",Torso.Parent)
  1450. P.Anchored = true
  1451. P.FormFactor = "Custom"
  1452. P.BrickColor = Hit.BrickColor
  1453. P.Material = Hit.Material
  1454. P.TopSurface = "Smooth"
  1455. P.BottomSurface = "Smooth"
  1456. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  1457. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  1458. Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
  1459. end
  1460. end
  1461. for i = 0,1,0.05 do
  1462. for i2,v in pairs(Parts) do
  1463. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  1464. end
  1465. wait(0.02)
  1466. end
  1467. for i,v in pairs(Parts) do
  1468. if v[1].Size.X > 2.1 then
  1469. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  1470. end
  1471. v[1].Anchored = false
  1472. end
  1473. for i = 0,1,0.05 do
  1474. for i2,v in pairs(Parts) do
  1475. v[1].Transparency = i
  1476. if i == 1 then
  1477. v[1]:Destroy()
  1478. elseif i >= 0.25 then
  1479. v[1].CanCollide = false
  1480. end
  1481. end
  1482. wait(0.02)
  1483. end
  1484. Parts = nil
  1485. end)
  1486. end
  1487.  
  1488. ROW = function(out, trans, s, wt, t, ang, plus)
  1489. for i = 1, 360, 360/t do
  1490. local c = Instance.new("Part", game.Workspace)
  1491. c.FormFactor = 3
  1492. c.TopSurface = 0
  1493. c.BottomSurface = 0
  1494. c.Size = s
  1495. c.Anchored = true
  1496. c.CanCollide = wt
  1497. c.Material=workspace.Base.Material
  1498. c.Transparency = trans
  1499. c.BrickColor = workspace.Base.BrickColor
  1500. c.CFrame = CFrame.new(X.CFrame.x,0,X.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang
  1501. c.Locked=true
  1502. game.Debris:AddItem(c,15)
  1503. end
  1504. end
  1505.  
  1506. Part = function(x,y,z,color,tr,cc,an,parent)
  1507. local p = Instance.new('Part',parent or Weapon)
  1508. p.formFactor = 'Custom'
  1509. p.Size = Vector3.new(x,y,z)
  1510. p.BrickColor = BrickColor.new(color)
  1511. p.CanCollide = cc
  1512. p.Transparency = tr
  1513. p.Anchored = an
  1514. p.TopSurface,p.BottomSurface = 0,0
  1515. p.Locked=true
  1516. p:BreakJoints()
  1517. return p end
  1518.  
  1519. Mesh = function(par,num,x,y,z)
  1520. local msh = _
  1521. if num == 1 then msh = Instance.new("CylinderMesh",par)
  1522. elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
  1523. elseif num == 3 then msh = Instance.new("BlockMesh",par)
  1524. elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso"
  1525. elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
  1526. end msh.Scale = Vector3.new(x,y,z)
  1527. return msh end
  1528.  
  1529. function explosion(col1,col2,cfr,sz,rng,dmg)
  1530. local a= Part(1,1,1,col1,.5,false,true,workspace)
  1531. local a2= Part(1,1,1,col2,.5,false,true,workspace)
  1532. local a3= Part(1,1,1,col2,.5,false,true,workspace)
  1533. v1,v2,v3=sz.x,sz.y,sz.z
  1534. local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3)
  1535. local m2= Mesh(a2,3,v1/3,v2/3,v3/3)
  1536. local m3= Mesh(a3,3,v1/3,v2/3,v3/3)
  1537. a.CFrame=cfr
  1538. a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  1539. a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  1540.  
  1541. Spawn(function()
  1542. while wait() do
  1543. if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end
  1544. m.Scale=m.Scale+Vector3.new(.1,0.1,0.1)
  1545. m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1)
  1546. m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1)
  1547. a.Transparency=a.Transparency+0.05
  1548. a2.Transparency=a2.Transparency+0.05
  1549. a3.Transparency=a3.Transparency+0.05
  1550. end
  1551. end)
  1552. end
  1553.  
  1554. Crater(X,20)
  1555. ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0)
  1556. z = Instance.new("Sound",X)
  1557. z.SoundId = "rbxassetid://231917744"
  1558. z.Pitch = .5
  1559. z.Volume = 10
  1560. z1 = Instance.new("Sound",X)
  1561. z1.SoundId = "rbxassetid://231917744"
  1562. z1.Pitch = .5
  1563. z1.Volume = 10
  1564. z2 = Instance.new("Sound",X)
  1565. z2.SoundId = "rbxassetid://231917744"
  1566. z2.Pitch = .5
  1567. z2.Volume = 10
  1568. z3 = Instance.new("Sound",X)
  1569. z3.SoundId = "rbxassetid://245537790"
  1570. z3.Pitch = .7
  1571. z3.Volume = 1
  1572. z4 = Instance.new("Sound",X)
  1573. z4.SoundId = "rbxassetid://245537790"
  1574. z4.Pitch = .7
  1575. z4.Volume = 1
  1576. wait(0.1)
  1577. z:Play()
  1578. z1:Play()
  1579. z2:Play()
  1580. z3:Play()
  1581. z4:Play()
  1582.  
  1583. local part=Instance.new('Part',rarm)
  1584. part.Anchored=true
  1585. part.CanCollide=false
  1586. part.Locked = true
  1587. part.FormFactor='Custom'
  1588. part.Size=Vector3.new(1,1,1)
  1589. part.CFrame=X.CFrame*CFrame.new(0,0,0)
  1590. part.Transparency=0
  1591. part.BrickColor=BrickColor.new('New Yeller')
  1592. local mesh=Instance.new('SpecialMesh',part)
  1593. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  1594. mesh.Scale=Vector3.new(2,2,2)
  1595. local part2=part:clone()
  1596. part2.Parent = rarm
  1597. part2.BrickColor=BrickColor.new("New Yeller")
  1598. local part5=part:clone()
  1599. part5.Parent = rarm
  1600. part5.BrickColor=BrickColor.new("Magenta")
  1601. local part6=part:clone()
  1602. part6.Parent = rarm
  1603. part6.BrickColor=BrickColor.new("Black")
  1604. local mesh2=mesh:clone()
  1605. mesh2.Parent=part2
  1606. mesh2.Scale=Vector3.new(3, 3, 3)
  1607. local mesh5=mesh:clone()
  1608. mesh5.Parent=part5
  1609. mesh5.Scale=Vector3.new(3, 3, 3)
  1610. local mesh6=mesh:clone()
  1611. mesh6.Parent=part6
  1612. mesh6.Scale=Vector3.new(3, 3, 3)
  1613. local blast = Instance.new("Part", rarm)
  1614. blast.BrickColor = BrickColor.new("New Yeller")
  1615. blast.Anchored = true
  1616. blast.CanCollide = false
  1617. blast.Locked = true
  1618. blast.Size = Vector3.new(1, 1, 1)
  1619. blast.TopSurface = "Smooth"
  1620. blast.BottomSurface = "Smooth"
  1621. blast.Transparency = 0
  1622. blast.CFrame = HandCF
  1623. local bm = Instance.new("SpecialMesh", blast)
  1624. bm.Scale = Vector3.new(5,1,5)
  1625. bm.MeshId = "rbxassetid://3270017"
  1626. local blast2 = Instance.new("Part", rarm)
  1627. blast2.BrickColor = BrickColor.new("New Yeller")
  1628. blast2.Anchored = true
  1629. blast2.CanCollide = false
  1630. blast2.Locked = true
  1631. blast2.Size = Vector3.new(1, 1, 1)
  1632. blast2.TopSurface = "Smooth"
  1633. blast2.BottomSurface = "Smooth"
  1634. blast2.Transparency = 0
  1635. blast2.CFrame = HandCF
  1636. local bm2 = Instance.new("SpecialMesh", blast2)
  1637. bm2.Scale = Vector3.new(3,1,3)
  1638. bm2.MeshId = "rbxassetid://3270017"
  1639. local blast3 = Instance.new("Part", rarm)
  1640. blast3.BrickColor = BrickColor.new("New Yeller")
  1641. blast3.Anchored = true
  1642. blast3.CanCollide = false
  1643. blast3.Locked = true
  1644. blast3.Size = Vector3.new(1, 1, 1)
  1645. blast3.TopSurface = "Smooth"
  1646. blast3.BottomSurface = "Smooth"
  1647. blast3.Transparency = 0
  1648. blast3.CFrame = HandCF
  1649. local bm3 = Instance.new("SpecialMesh", blast3)
  1650. bm3.Scale = Vector3.new(3,1,3)
  1651. bm3.MeshId = "rbxassetid://3270017"
  1652. for i = 1,120 do rs:wait()
  1653. X.Transparency = X.Transparency + (1/120)
  1654. part.Transparency = part.Transparency + (1/120)
  1655. part2.Transparency = part2.Transparency + (1/120)
  1656. part3.Transparency = part3.Transparency + (1/120)
  1657. part4.Transparency = part4.Transparency + (1/120)
  1658. part5.Transparency = part5.Transparency + (1/120)
  1659. part6.Transparency = part6.Transparency + (1/120)
  1660. part7.Transparency = part7.Transparency + (1/120)
  1661. blast.Transparency = blast.Transparency + (1/120)
  1662. blast2.Transparency = blast2.Transparency + (1/120)
  1663. blast3.Transparency = blast3.Transparency + (1/120)
  1664. X.Size = X.Size + Vector3.new(.8,.8,.8)
  1665. --part3.Size = part3.Size + Vector3.new(3,3,3)
  1666. mesh.Scale = mesh.Scale + Vector3.new(1,.2,1)
  1667. mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1)
  1668. mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3)
  1669. mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7)
  1670. mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6)
  1671. mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2)
  1672. mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4)
  1673. bm.Scale = bm.Scale + Vector3.new(6,6,.2)
  1674. bm2.Scale = bm2.Scale + Vector3.new(4,4,.2)
  1675. bm3.Scale = bm3.Scale + Vector3.new(4,4,.2)
  1676. X.CFrame = cf
  1677. part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0)
  1678. part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0)
  1679. part3.CFrame=X.CFrame
  1680. part4.CFrame=X.CFrame
  1681. part7.CFrame=X.CFrame
  1682. part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0)
  1683. part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0)
  1684. blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1685. blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0))
  1686. blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0))
  1687. rs:wait()
  1688. end
  1689. X:Destroy()
  1690. part:Destroy()
  1691. part2:Destroy()
  1692. part3:Destroy()
  1693. part4:Destroy()
  1694. part5:Destroy()
  1695. part6:Destroy()
  1696. blast:Destroy()
  1697. blast2:Destroy()
  1698. blast3:Destroy()
  1699. z:Destroy()
  1700. z1:Destroy()
  1701. z2:Destroy()
  1702. z3:Destroy()
  1703. z4:Destroy()
  1704. end
  1705. end)
  1706. for i = 1, 20 do
  1707. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2)
  1708. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2)
  1709. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
  1710. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4)
  1711. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2)
  1712. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2)
  1713. if Debounces.on == false then break end
  1714. rs:wait()
  1715. end
  1716. if Debounces.CanAttack == false then
  1717. Debounces.CanAttack = true
  1718. Debounces.NoIdl = false
  1719. Debounces.on = false
  1720. end
  1721. end
  1722. end
  1723. end)
  1724. ----------------------------------------------------
  1725. mouse.KeyDown:connect(function(key)
  1726. if key == "e" then
  1727. if Debounces.CanAttack == true then
  1728. Debounces.CanAttack = false
  1729. Debounces.on = true
  1730. Debounces.NoIdl = true
  1731. pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
  1732. z = Instance.new("Sound", rarm)
  1733. z.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  1734. z.Volume = .6
  1735. z.Pitch = pt[math.random(1,#pt)]
  1736. z.Looped = false
  1737. z:Play()
  1738. Debounces.RPunch = true
  1739. Debounces.LPunch = true
  1740. Debounces.ks = true
  1741. Debounces.ks2 = true
  1742. for i = 1, 3 do
  1743. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  1744. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  1745. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1746. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1747. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  1748. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  1749. if Debounces.on == false then break end
  1750. wait()
  1751. end
  1752. z2 = Instance.new("Sound", larm)
  1753. z2.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1754. z2.Volume = .6
  1755. z2.Pitch = pt[math.random(1,#pt)]
  1756. z2.Looped = false
  1757. z2:Play()
  1758. for i = 1, 3 do
  1759. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1760. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  1761. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1762. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1763. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1764. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1765. if Debounces.on == false then break end
  1766. wait()
  1767. end
  1768. z3 = Instance.new("Sound", rarm)
  1769. z3.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1770. z3.Volume = 0.6
  1771. z3.Pitch = pt[math.random(1,#pt)]
  1772. z3.Looped = false
  1773. z3:Play()
  1774. for i = 1, 3 do
  1775. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  1776. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  1777. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1778. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1779. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  1780. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  1781. if Debounces.on == false then break end
  1782. wait()
  1783. end
  1784. z4 = Instance.new("Sound", larm)
  1785. z4.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1786. z4.Volume = .6
  1787. z4.Pitch = pt[math.random(1,#pt)]
  1788. z4.Looped = false
  1789. z4:Play()
  1790. for i = 1, 3 do
  1791. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1792. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  1793. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1794. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1795. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1796. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1797. if Debounces.on == false then break end
  1798. wait()
  1799. end
  1800. z5 = Instance.new("Sound", rarm)
  1801. z5.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1802. z5.Volume = .6
  1803. z5.Pitch = pt[math.random(1,#pt)]
  1804. z5.Looped = false
  1805. z5:Play()
  1806. for i = 1, 3 do
  1807. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
  1808. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
  1809. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  1810. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  1811. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
  1812. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
  1813. if Debounces.on == false then break end
  1814. wait()
  1815. end
  1816. z6 = Instance.new("Sound", larm)
  1817. z6.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1818. z6.Volume = .6
  1819. z6.Pitch = pt[math.random(1,#pt)]
  1820. z6.Looped = false
  1821. z6:Play()
  1822. for i = 1, 3 do
  1823. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1824. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  1825. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1826. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1827. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1828. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1829. if Debounces.on == false then break end
  1830. wait()
  1831. end
  1832. z7 = Instance.new("Sound", rarm)
  1833. z7.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  1834. z7.Volume = .6
  1835. z7.Pitch = pt[math.random(1,#pt)]
  1836. z7.Looped = false
  1837. z7:Play()
  1838. for i = 1, 3 do
  1839. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  1840. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  1841. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1842. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1843. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  1844. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  1845. if Debounces.on == false then break end
  1846. wait()
  1847. end
  1848. z8 = Instance.new("Sound", larm)
  1849. z8.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1850. z8.Volume = .6
  1851. z8.Pitch = pt[math.random(1,#pt)]
  1852. z8.Looped = false
  1853. z8:Play()
  1854. for i = 1, 3 do
  1855. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1856. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  1857. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1858. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1859. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1860. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1861. if Debounces.on == false then break end
  1862. wait()
  1863. end
  1864. z9 = Instance.new("Sound", rarm)
  1865. z9.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1866. z9.Volume = 0.6
  1867. z9.Pitch = pt[math.random(1,#pt)]
  1868. z9.Looped = false
  1869. z9:Play()
  1870. for i = 1, 3 do
  1871. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  1872. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  1873. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1874. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1875. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  1876. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  1877. if Debounces.on == false then break end
  1878. wait()
  1879. end
  1880. z10 = Instance.new("Sound", larm)
  1881. z10.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1882. z10.Volume = .6
  1883. z10.Pitch = pt[math.random(1,#pt)]
  1884. z10.Looped = false
  1885. z10:Play()
  1886. for i = 1, 3 do
  1887. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1888. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  1889. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1890. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1891. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1892. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1893. if Debounces.on == false then break end
  1894. wait()
  1895. end
  1896. z11 = Instance.new("Sound", rarm)
  1897. z11.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1898. z11.Volume = .6
  1899. z11.Pitch = pt[math.random(1,#pt)]
  1900. z11.Looped = false
  1901. z11:Play()
  1902. for i = 1, 3 do
  1903. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
  1904. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
  1905. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  1906. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  1907. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
  1908. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
  1909. if Debounces.on == false then break end
  1910. wait()
  1911. end
  1912. z12 = Instance.new("Sound", larm)
  1913. z12.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1914. z12.Volume = .6
  1915. z12.Pitch = pt[math.random(1,#pt)]
  1916. z12.Looped = false
  1917. z12:Play()
  1918. for i = 1, 3 do
  1919. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1920. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  1921. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1922. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1923. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1924. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1925. if Debounces.on == false then break end
  1926. wait()
  1927. end
  1928. z13 = Instance.new("Sound", rarm)
  1929. z13.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1930. z13.Volume = 0.6
  1931. z13.Pitch = pt[math.random(1,#pt)]
  1932. z13.Looped = false
  1933. z13:Play()
  1934. for i = 1, 3 do
  1935. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  1936. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  1937. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1938. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1939. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  1940. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  1941. if Debounces.on == false then break end
  1942. wait()
  1943. end
  1944. z14 = Instance.new("Sound", larm)
  1945. z14.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1946. z14.Volume = .6
  1947. z14.Pitch = pt[math.random(1,#pt)]
  1948. z14.Looped = false
  1949. z14:Play()
  1950. for i = 1, 3 do
  1951. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1952. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  1953. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1954. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1955. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1956. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1957. if Debounces.on == false then break end
  1958. wait()
  1959. end
  1960. z15 = Instance.new("Sound", rarm)
  1961. z15.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1962. z15.Volume = .6
  1963. z15.Pitch = pt[math.random(1,#pt)]
  1964. z15.Looped = false
  1965. z15:Play()
  1966. for i = 1, 3 do
  1967. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
  1968. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
  1969. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  1970. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  1971. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
  1972. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
  1973. if Debounces.on == false then break end
  1974. wait()
  1975. end
  1976. z16 = Instance.new("Sound", larm)
  1977. z16.SoundId = "http://www.roblox.com/asset/?id=206083107"
  1978. z16.Volume = .6
  1979. z16.Pitch = pt[math.random(1,#pt)]
  1980. z16.Looped = false
  1981. z16:Play()
  1982. for i = 1, 3 do
  1983. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1984. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  1985. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1986. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1987. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1988. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1989. if Debounces.on == false then break end
  1990. wait()
  1991. end
  1992. z17 = Instance.new("Sound", rarm)
  1993. z17.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  1994. z17.Volume = .6
  1995. z17.Pitch = pt[math.random(1,#pt)]
  1996. z17.Looped = false
  1997. z17:Play()
  1998. for i = 1, 3 do
  1999. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  2000. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  2001. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2002. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2003. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2004. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2005. if Debounces.on == false then break end
  2006. wait()
  2007. end
  2008. z18 = Instance.new("Sound", larm)
  2009. z18.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2010. z18.Volume = .6
  2011. z18.Pitch = pt[math.random(1,#pt)]
  2012. z18.Looped = false
  2013. z18:Play()
  2014. for i = 1, 3 do
  2015. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2016. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  2017. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2018. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2019. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2020. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2021. if Debounces.on == false then break end
  2022. wait()
  2023. end
  2024. z19 = Instance.new("Sound", rarm)
  2025. z19.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2026. z19.Volume = 0.6
  2027. z19.Pitch = pt[math.random(1,#pt)]
  2028. z19.Looped = false
  2029. z19:Play()
  2030. for i = 1, 3 do
  2031. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  2032. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  2033. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  2034. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  2035. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  2036. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  2037. if Debounces.on == false then break end
  2038. wait()
  2039. end
  2040. z20 = Instance.new("Sound", larm)
  2041. z20.SoundId = "http://www.roblox.com/asset/?id=206083107"
  2042. z20.Volume = .6
  2043. z20.Pitch = pt[math.random(1,#pt)]
  2044. z20.Looped = false
  2045. z20:Play()
  2046. for i = 1, 3 do
  2047. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  2048. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  2049. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  2050. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  2051. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  2052. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  2053. if Debounces.on == false then break end
  2054. wait()
  2055. end
  2056. z:Destroy()
  2057. z2:Destroy()
  2058. z3:Destroy()
  2059. z4:Destroy()
  2060. z5:Destroy()
  2061. z6:Destroy()
  2062. z7:Destroy()
  2063. z8:Destroy()
  2064. z9:Destroy()
  2065. z10:Destroy()
  2066. z11:Destroy()
  2067. z12:Destroy()
  2068. z13:Destroy()
  2069. z14:Destroy()
  2070. z15:Destroy()
  2071. z16:Destroy()
  2072. z17:Destroy()
  2073. z18:Destroy()
  2074. z19:Destroy()
  2075. z20:Destroy()
  2076. Debounces.LPunch = false
  2077. Debounces.RPunch = false
  2078. Debounces.ks = false
  2079. Debounces.ks2 = false
  2080. if Debounces.CanAttack == false then
  2081. Debounces.CanAttack = true
  2082. Debounces.on = false
  2083. Debounces.NoIdl = false
  2084. end
  2085. end
  2086. end
  2087. end)
  2088. -------------------------------
  2089. mouse.KeyDown:connect(function(key)
  2090. if key == "t" then
  2091. if Debounces.CanAttack == true then
  2092. Debounces.CanAttack = false
  2093. Debounces.NoIdl = true
  2094. Debounces.on = true
  2095. Debounces.ks = true
  2096. kik = rleg.Touched:connect(function(ht)
  2097. hit = ht.Parent
  2098. if ht and hit:IsA("Model") then
  2099. if hit:FindFirstChild("Humanoid") then
  2100. if hit.Name ~= p.Name then
  2101. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  2102. Debounces.Slashed = true]]--
  2103. if Debounces.ks==true then
  2104. z = Instance.new("Sound",hed)
  2105. z.SoundId = "rbxassetid://169380525"
  2106. z.Volume = 1
  2107. z:Play()
  2108. Debounces.ks=false
  2109. end
  2110. hit:FindFirstChild("Humanoid"):TakeDamage(2)
  2111. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
  2112. --Debounces.Slashed = false
  2113. --end
  2114. end
  2115. end
  2116. elseif ht and hit:IsA("Hat") then
  2117. if hit.Parent.Name ~= p.Name then
  2118. if hit.Parent:FindFirstChild("Humanoid") then
  2119. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  2120. Debounces.Slashed = true]]--
  2121. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
  2122. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
  2123. --Debounces.Slashed = false
  2124. --end
  2125. end
  2126. end
  2127. end
  2128. end)
  2129. for i = 1,20 do
  2130. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4)
  2131. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.4)
  2132. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2133. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4)
  2134. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4)
  2135. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
  2136. if Debounces.on == false then break end
  2137. rs:wait()
  2138. end
  2139. kik:disconnect()
  2140. if Debounces.CanAttack == false then
  2141. Debounces.CanAttack = true
  2142. Debounces.NoIdl = false
  2143. Debounces.on = false
  2144. end
  2145. end
  2146. end
  2147. end)
  2148. ----------------------------------------------------
  2149. mouse.KeyDown:connect(function(key)
  2150. if key == "y" then
  2151. if Debounces.CanAttack == true then
  2152. Debounces.CanAttack = false
  2153. Debounces.on = true
  2154. Debounces.NoIdl = true
  2155. for i = 1, 15 do
  2156. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.2)
  2157. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.6)
  2158. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2)
  2159. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4)
  2160. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  2161. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  2162. if Debounces.on == false then break end
  2163. rs:wait(2.7)
  2164. end
  2165. x = Instance.new("Sound",char)
  2166. x.SoundId = "rbxassetid://228343271"
  2167. x.Pitch = 1
  2168. x.Volume = .8
  2169. wait(.1)
  2170. x:Play()
  2171. Debounces.on = false
  2172. Debounces.Here = false
  2173. shot = shot + 1
  2174. local rng = Instance.new("Part", larm)
  2175. rng.Anchored = true
  2176. rng.BrickColor = BrickColor.new("New Yeller")
  2177. rng.CanCollide = false
  2178. rng.FormFactor = 3
  2179. rng.Name = "Ring"
  2180. rng.Size = Vector3.new(1, 1, 1)
  2181. rng.Transparency = 0.35
  2182. rng.TopSurface = 0
  2183. rng.BottomSurface = 0
  2184. rng2 = rng:clone()
  2185. rng3 = rng2:clone()
  2186. rng4 = rng2:clone()
  2187. local rngm = Instance.new("SpecialMesh", rng)
  2188. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2189. rngm.Scale = Vector3.new(10, 10, 1)
  2190. rngm2 = rngm:clone()
  2191. rngm2.Scale = Vector3.new(5, 5, 3)
  2192. rngm3=rngm2:clone()
  2193. rngm3.Parent = rng3
  2194. rngm3.Scale = Vector3.new(8, 8, 1)
  2195. rngm4 = rngm2:clone()
  2196. rngm4.Parent = rng4
  2197. rngm4.Scale = Vector3.new(6, 6, 1)
  2198. local bem = Instance.new("Part", larm)
  2199. bem.Anchored = true
  2200. bem.BrickColor = BrickColor.new("New Yeller")
  2201. bem.CanCollide = false
  2202. bem.FormFactor = 3
  2203. bem.Name = "Beam" .. shot
  2204. bem.Size = Vector3.new(1, 1, 1)
  2205. bem.Transparency = 0.35
  2206. bem.TopSurface = 0
  2207. bem.BottomSurface = 0
  2208. local bemm = Instance.new("SpecialMesh", bem)
  2209. bemm.MeshType = 4
  2210. bemm.Scale = Vector3.new(1, 4, 4)
  2211. local out = Instance.new("Part", larm)
  2212. out.Anchored = true
  2213. out.BrickColor = BrickColor.new("New Yeller")
  2214. out.CanCollide = false
  2215. out.FormFactor = 3
  2216. out.Name = "Out"
  2217. out.Size = Vector3.new(4, 4, 4)
  2218. out.Transparency = 0.35
  2219. out.TopSurface = 0
  2220. out.BottomSurface = 0
  2221. local outm = Instance.new("SpecialMesh", out)
  2222. outm.MeshId = "http://www.roblox.com/asset/?id=1033714"
  2223. outm.Scale = Vector3.new(6, 4, 6)
  2224. local bnd = Instance.new("Part", larm)
  2225. bnd.Anchored = true
  2226. bnd.BrickColor = BrickColor.new("New Yeller")
  2227. bnd.CanCollide = false
  2228. bnd.FormFactor = 3
  2229. bnd.Name = "Bend"
  2230. bnd.Size = Vector3.new(1, 1, 1)
  2231. bnd.Transparency = 1
  2232. bnd.TopSurface = 0
  2233. bnd.BottomSurface = 0
  2234. local bndm = Instance.new("SpecialMesh", bnd)
  2235. bndm.MeshType = 3
  2236. bndm.Scale = Vector3.new(8, 8, 8)
  2237. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  2238. bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90))
  2239. bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
  2240. rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
  2241. rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0)
  2242. rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0)
  2243. Debounces.Shewt = true
  2244. coroutine.wrap(function()
  2245. for i = 1, 20, 0.2 do
  2246. rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1)
  2247. rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1)
  2248. rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1)
  2249. rng.Transparency = i/20
  2250. rng3.Transparency = 1/24
  2251. rng4.Transparency = i/26
  2252. wait()
  2253. end
  2254. wait()
  2255. rng:Destroy()
  2256. end)()
  2257. if Debounces.Shewt == true then
  2258. larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
  2259. hit = ht.Parent
  2260. if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
  2261. if HasntTouched(hit.Name) == true and deb == false then
  2262. deb = true
  2263. coroutine.wrap(function()
  2264. hit:FindFirstChild("Humanoid").PlatformStand = true
  2265. hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  2266. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
  2267. end)()
  2268. table.insert(Touche, hit.Name)
  2269. deb = false
  2270. end
  2271. elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
  2272. if HasntTouched(hit.Parent.Name) == true and deb == false then
  2273. deb = true
  2274. coroutine.wrap(function()
  2275. hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
  2276. hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  2277. wait(1)
  2278. hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
  2279. end)()
  2280. table.insert(Touche, hit.Parent.Name)
  2281. deb = false
  2282. for i, v in pairs(Touche) do
  2283. print(v)
  2284. end
  2285. end
  2286. end
  2287. end)
  2288. end
  2289. for i = 0, 260, 8 do
  2290. bem.Size = Vector3.new(i, 3, 3)
  2291. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  2292. bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
  2293. bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2)
  2294. bnd.Size = Vector3.new(1,1,1)
  2295. bndm.Scale = Vector3.new(8,8,8)
  2296. if i % 10 == 0 then
  2297. local newRng = rng2:Clone()
  2298. newRng.Parent = larm
  2299. newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0)
  2300. local newRngm = rngm2:clone()
  2301. newRngm.Parent=newRng
  2302. coroutine.wrap(function()
  2303. for i = 1, 10, 0.2 do
  2304. newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 3)
  2305. newRng.Transparency = i/10
  2306. wait()
  2307. end
  2308. wait()
  2309. newRng:Destroy()
  2310. end)()
  2311. end
  2312. wait()
  2313. end
  2314. wait()
  2315. Debounces.Shewt = false
  2316. bem:Destroy()
  2317. out:Destroy()
  2318. bnd:Destroy()
  2319. Debounces.Ready = false
  2320. for i, v in pairs(Touche) do
  2321. table.remove(Touche, i)
  2322. end
  2323. wait()
  2324. table.insert(Touche, char.Name)
  2325. Debounces.NoIdl = false
  2326. if Debounces.CanAttack == false then
  2327. Debounces.CanAttack = true
  2328. end
  2329. end
  2330. end
  2331. end)
  2332. ----------------------------------------------------
  2333. --[[mouse.KeyDown:connect(function(key)
  2334. if key == "y" then
  2335. if Debounces.CanAttack == true then
  2336. Debounces.CanAttack = false
  2337. Debounces.NoIdl = true
  2338. Debounces.on = true
  2339. local shell = Instance.new("Part",torso)
  2340. shell.BrickColor = BrickColor.new("New Yeller")
  2341. shell.Anchored = false
  2342. shell.CanCollide = false
  2343. shell.Locked = true
  2344. shell.TopSurface = "SmoothNoOutlines"
  2345. shell.BottomSurface = "SmoothNoOutlines"
  2346. shell.Size = Vector3.new(1.2,1.2,1.2)
  2347. shell.FormFactor = 3
  2348. local shellm = Instance.new("SpecialMesh",shell)
  2349. shellm.MeshType = "Sphere"
  2350. shellm.Scale = Vector3.new(1.2,1.2,1.2)
  2351. Omega = function()
  2352. local X = Instance.new("Part",char)
  2353. local O = Instance.new("ObjectValue",X)
  2354. O.Name = "creator"
  2355. X.Locked = true
  2356. X.Name = "Shell"
  2357. X.Anchored = false
  2358. X.CanCollide = false
  2359. X.Transparency = 0.5
  2360. X.Reflectance = 0
  2361. X.BottomSurface = 0
  2362. X.TopSurface = 0
  2363. X.Shape = 0
  2364. local V = Instance.new("ObjectValue",X)
  2365. V.Value = char
  2366. V.Name = "creator"
  2367. X.BrickColor = BrickColor.new("New Yeller")
  2368. X.Size = Vector3.new(40,40,40)
  2369. --X.Material = "Neon"
  2370. local Z = Instance.new("SpecialMesh",X)
  2371. Z.MeshType = "Sphere"
  2372. Z.Scale = Vector3.new(0.2,0.2,0.2)
  2373. X.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
  2374. local bv = Instance.new("BodyVelocity",X)
  2375. bv.maxForce = Vector3.new(99999,99999,99999)
  2376. X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10)
  2377. bv.velocity = root.CFrame.lookVector*10
  2378. Explode = X.Touched:connect(function(hit)
  2379. if hit ~= char and hit.Name ~= "Shell" and hit ~= X and hit:IsA("Part") or hit:IsA("BasePart}") then
  2380. local cf = X.CFrame
  2381. bv:Destroy()
  2382. X.Anchored = true
  2383. Z:Remove()
  2384. Explode:disconnect()
  2385. X.Size = Vector3.new(3,3,3)
  2386. X.Touched:connect(function(hit) end)
  2387. X.CanCollide = false
  2388. for i,v in pairs(FindNearestTorso(X.CFrame.p,200))do
  2389. if v:FindFirstChild('Humanoid') then
  2390. v.Humanoid:TakeDamage(math.random(80,120))
  2391. end
  2392. end
  2393. for i = 1, (40) do rs:wait()
  2394. X.Transparency = X.Transparency + (1/40)
  2395. X.Size = X.Size + Vector3.new(1,1,1)
  2396. X.CFrame = root.CFrame * CFrame.new(0,0,-10)
  2397. end
  2398. X:Destroy()
  2399. end
  2400. end)
  2401. end
  2402. for i = 1,200 do
  2403. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2404. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.03)
  2405. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)
  2406. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2407. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2408. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2409. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2410. if Debounces.on == false then break end
  2411. rs:wait()
  2412. end
  2413. for i = 1,30 do
  2414. shell.CFrame = torso.CFrame * CFrame.new(0,8,0)
  2415. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.4)
  2416. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-170)), 0.4)
  2417. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2418. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2419. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2420. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2421. if Debounces.on == false then break end
  2422. rs:wait()
  2423. end
  2424. for i = 1,40 do
  2425. shell.CFrame = torso.CFrame * CFrame.new(0,20,0)
  2426. shell.Size = shell.Size + Vector3.new(1,1,1)
  2427. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(100)), 0.4)
  2428. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-100)), 0.4)
  2429. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2430. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2431. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2432. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2433. if Debounces.on == false then break end
  2434. rs:wait()
  2435. end
  2436. for i = 1,40 do
  2437. shell.CFrame = torso.CFrame * CFrame.new(0,0,-30)
  2438. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(20)), 0.4)
  2439. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-20)), 0.4)
  2440. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2441. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2442. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2443. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2444. if Debounces.on == false then break end
  2445. rs:wait()
  2446. end
  2447. for i = 1,60 do
  2448. shell.CFrame = torso.CFrame * CFrame.new(0,0,-60)
  2449. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-30)), 0.4)
  2450. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.4)
  2451. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2452. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2453. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2454. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2455. if Debounces.on == false then break end
  2456. rs:wait()
  2457. end
  2458. for i = 1,60 do
  2459. shell.CFrame = torso.CFrame * CFrame.new(0,0,-60)
  2460. shell.Size = shell.Size + Vector3.new(1,1,1)
  2461. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(120)), 0.4)
  2462. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(-120)), 0.4)
  2463. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  2464. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  2465. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2466. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
  2467. if Debounces.on == false then break end
  2468. rs:wait()
  2469. end
  2470. if Debounces.CanAttack == false then
  2471. Debounces.CanAttack = true
  2472. Debounces.NoIdl = false
  2473. Debounces.on = false
  2474. end
  2475. end
  2476. end
  2477. end)]]--
  2478. ----------------------------------------------------
  2479. Charging = false
  2480. mouse.KeyDown:connect(function(key)
  2481. if key == "r" then
  2482. if Charging == false then
  2483. Charging = true
  2484. if Debounces.CanAttack == true then
  2485. Debounces.CanAttack = false
  2486. Debounces.NoIdl = true
  2487. Debounces.on = true
  2488. for i = 1,20 do
  2489. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2)
  2490. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2)
  2491. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  2492. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  2493. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
  2494. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
  2495. if Debounces.on == false then break end
  2496. rs:wait()
  2497. end
  2498. --[[for i = 1,20 do
  2499. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4)
  2500. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4)
  2501. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4)
  2502. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4)
  2503. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4)
  2504. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4)
  2505. if Debounces.on == false then break end
  2506. rs:wait()
  2507. end]]--
  2508. pt=Instance.new('Part',torso)
  2509. pt.Anchored=true
  2510. pt.CanCollide=false
  2511. pt.Locked = true
  2512. pt.FormFactor='Custom'
  2513. pt.Size=Vector3.new(1,1,1)
  2514. pt.CFrame=root.CFrame*CFrame.new(0,-1,0)
  2515. pt.Transparency=.6
  2516. pt.BrickColor=BrickColor.new('New Yeller')
  2517. msh=Instance.new('SpecialMesh',pt)
  2518. msh.MeshId='http://www.roblox.com/asset/?id=20329976'
  2519. msh.Scale=Vector3.new(8,4,8)
  2520. pt2=pt:clone()
  2521. pt2.Parent = torso
  2522. pt2.CFrame=root.CFrame*CFrame.new(0,-1,0)
  2523. pt2.BrickColor=BrickColor.new("New Yeller")
  2524. msh2=msh:clone()
  2525. msh2.Parent=pt2
  2526. msh2.Scale=Vector3.new(10,5,10)
  2527.  
  2528. custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
  2529.  
  2530. bl = Instance.new("Part", char)
  2531. bl.Locked = true
  2532. bl.Name = "Shell"
  2533. bl.BrickColor = BrickColor.new("New Yeller")
  2534. bl.Anchored = true
  2535. bl.CanCollide = false
  2536. bl.Transparency = 0
  2537. bl.Reflectance = 0
  2538. bl.BottomSurface = 0
  2539. bl.TopSurface = 0
  2540. bl.Shape = 0
  2541. blm = Instance.new("SpecialMesh",bl)
  2542. blm.MeshType = "Sphere"
  2543. blm.Scale = Vector3.new(1,1,1)
  2544. blm.MeshId = "rbxassetid://9982590"
  2545.  
  2546. coroutine.resume(coroutine.create(function()
  2547. for i=1, math.huge, 4 do
  2548. if Charging == true then
  2549. rs:wait()
  2550. bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  2551. blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1)
  2552. bl.Transparency = bl.Transparency + 0.005
  2553. pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0)
  2554. pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0)
  2555. msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05)
  2556. msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05)
  2557. elseif Charging == false then break
  2558. end
  2559. end
  2560. end))
  2561.  
  2562. repeat
  2563. local p = Instance.new('Part',torso)
  2564. p.formFactor = 'Custom'
  2565. p.Size = Vector3.new(1,1,1)
  2566. p.BrickColor = workspace.Base.BrickColor
  2567. p.CanCollide = false
  2568. p.Transparency = 0
  2569. p.Anchored = true
  2570. p.Locked=true
  2571. p.Material = workspace.Base.Material
  2572. s = math.random(1,40)/10
  2573. local m = Instance.new("BlockMesh",p)
  2574. m.Scale = Vector3.new(s,s,s)
  2575. p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random())
  2576. --[[coroutine.wrap(function()
  2577. wait(2)
  2578. while Charging == true do
  2579. wait(2)
  2580. GroundWave1()
  2581. wait(2)
  2582. end
  2583. end)()]]--
  2584. Spawn(function()
  2585. while rs:wait() do
  2586. if Charging == true then
  2587. rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50)))
  2588. larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30)))
  2589. hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0))
  2590. torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  2591. lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10)))
  2592. rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20)))
  2593. elseif Charging == false then break
  2594. end
  2595. end
  2596. end)
  2597. Spawn(function()
  2598. while rs:wait() do
  2599. if p.Transparency >= 1 then p:Destroy() break end
  2600. p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
  2601. p.Transparency = p.Transparency+0.01
  2602. end
  2603. end)
  2604. wait(.3)
  2605. until Charging == false
  2606. end
  2607. end
  2608. end
  2609. end)
  2610. ----------------------------------------------------
  2611. mouse.KeyUp:connect(function(key)
  2612. if key == "r" then
  2613. if Charging == true then
  2614. Charging = false
  2615. pt:Destroy()
  2616. pt2:Destroy()
  2617. bl:Destroy()
  2618. if Debounces.CanAttack == false then
  2619. Debounces.CanAttack = true
  2620. Debounces.NoIdl = false
  2621. Debounces.on = false
  2622. end
  2623. end
  2624. end
  2625. end)
  2626. ----------------------------------------------------
  2627. mouse.KeyDown:connect(function(key)
  2628. if key == "g" then
  2629. if Debounces.CanAttack == true then
  2630. Debounces.CanAttack = false
  2631. Debounces.NoIdl = true
  2632. Debounces.on = true
  2633. local shell = Instance.new("Part",torso)
  2634. shell.BrickColor = BrickColor.new("New Yeller")
  2635. shell.Anchored = true
  2636. shell.CanCollide = false
  2637. shell.Locked = true
  2638. shell.TopSurface = "SmoothNoOutlines"
  2639. shell.BottomSurface = "SmoothNoOutlines"
  2640. shell.Size = Vector3.new(1,1,1)
  2641. shellm = Instance.new("SpecialMesh",shell)
  2642. shellm.MeshType = "Sphere"
  2643. shellm.Scale = Vector3.new(1,1,1)
  2644. local shell2 = Instance.new("Part",torso)
  2645. shell2.BrickColor = BrickColor.new("New Yeller")
  2646. shell2.Anchored = true
  2647. shell2.CanCollide = false
  2648. shell2.Locked = true
  2649. shell2.TopSurface = "SmoothNoOutlines"
  2650. shell2.BottomSurface = "SmoothNoOutlines"
  2651. shell2.Size = Vector3.new(1,1,1)
  2652. shellm2 = Instance.new("SpecialMesh",shell2)
  2653. shellm2.MeshType = "Sphere"
  2654. shellm2.Scale = Vector3.new(1,1,1)
  2655.  
  2656. function FindNearestTorso(Position,Distance,SinglePlayer)
  2657. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  2658. local List = {}
  2659. for i,v in pairs(workspace:GetChildren())do
  2660. if v:IsA("Model")then
  2661. if v:findFirstChild("Torso")then
  2662. if v ~= char then
  2663. if(v.Torso.Position -Position).magnitude <= Distance then
  2664. table.insert(List,v)
  2665. end
  2666. end
  2667. end
  2668. end
  2669. end
  2670. return List
  2671. end
  2672.  
  2673. Shell = function()
  2674. local X = Instance.new("Part",char)
  2675. local O = Instance.new("ObjectValue",X)
  2676. O.Name = "creator"
  2677. X.Locked = true
  2678. X.Name = "Shell"
  2679. X.Anchored = false
  2680. X.CanCollide = false
  2681. X.Transparency = 0
  2682. X.Reflectance = 0
  2683. X.BottomSurface = 0
  2684. X.TopSurface = 0
  2685. X.Shape = 0
  2686. local V = Instance.new("ObjectValue",X)
  2687. V.Value = char
  2688. V.Name = "creator"
  2689. X.BrickColor = BrickColor.new("New Yeller")
  2690. X.Size = Vector3.new(1,1,1)
  2691. --X.Material = "Neon"
  2692. local Z = Instance.new("SpecialMesh",X)
  2693. Z.MeshType = "Sphere"
  2694. Z.Scale = Vector3.new(1,1,1)
  2695. X.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
  2696. local bv = Instance.new("BodyVelocity",X)
  2697. bv.maxForce = Vector3.new(99999,99999,99999)
  2698. X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10)
  2699. bv.velocity = root.CFrame.lookVector*65
  2700. Explode = X.Touched:connect(function(hit)
  2701. if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then
  2702. local cf = X.CFrame
  2703. bv:Destroy()
  2704. X.Anchored = true
  2705. Z:Remove()
  2706. Explode:disconnect()
  2707. X.Size = Vector3.new(3,3,3)
  2708. X.Touched:connect(function(hit) end)
  2709. X.CanCollide = false
  2710. for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do
  2711. if v:FindFirstChild('Humanoid') then
  2712. v.Humanoid:TakeDamage(math.random(6,12))
  2713. end
  2714. end
  2715. for i = 1, (40) do rs:wait()
  2716. X.Transparency = X.Transparency + (1/40)
  2717. X.Size = X.Size + Vector3.new(1,1,1)
  2718. X.CFrame = cf
  2719. end
  2720. X:Destroy()
  2721. end
  2722. end)
  2723. end
  2724. Shell()
  2725. for i = 1, 10 do
  2726. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2727. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2728. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  2729. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  2730. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.7)
  2731. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.7)
  2732. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.7)
  2733. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.7)
  2734. if Debounces.on == false then break end
  2735. rs:wait()
  2736. end
  2737. Shell()
  2738. shell.Transparency = 1
  2739. for i = 1, 10 do
  2740. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2741. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2742. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  2743. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  2744. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2745. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2746. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  2747. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  2748. if Debounces.on == false then break end
  2749. rs:wait()
  2750. end
  2751. Shell()
  2752. shell.Transparency = 0
  2753. shell2.Transparency = 1
  2754. for i = 1, 10 do
  2755. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2756. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2757. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  2758. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  2759. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  2760. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2761. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  2762. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  2763. if Debounces.on == false then break end
  2764. rs:wait()
  2765. end
  2766. Shell()
  2767. shell2.Transparency = 0
  2768. shell.Transparency = 1
  2769. for i = 1, 10 do
  2770. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2771. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2772. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  2773. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  2774. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2775. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2776. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  2777. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  2778. if Debounces.on == false then break end
  2779. rs:wait()
  2780. end
  2781. Shell()
  2782. shell.Transparency = 0
  2783. shell2.Transparency = 1
  2784. for i = 1, 10 do
  2785. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2786. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2787. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  2788. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  2789. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  2790. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2791. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  2792. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  2793. if Debounces.on == false then break end
  2794. rs:wait()
  2795. end
  2796. Shell()
  2797. shell2.Transparency = 0
  2798. shell.Transparency = 1
  2799. for i = 1, 10 do
  2800. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2801. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2802. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  2803. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  2804. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2805. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2806. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  2807. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  2808. if Debounces.on == false then break end
  2809. rs:wait()
  2810. end
  2811. Shell()
  2812. shell.Transparency = 0
  2813. shell2.Transparency = 1
  2814. for i = 1, 10 do
  2815. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2816. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2817. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  2818. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.5)
  2819. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  2820. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2821. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  2822. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  2823. if Debounces.on == false then break end
  2824. rs:wait()
  2825. end
  2826. Shell()
  2827. shell2.Transparency = 0
  2828. shell.Transparency = 1
  2829. for i = 1, 10 do
  2830. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2831. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2832. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  2833. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  2834. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2835. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2836. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  2837. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  2838. if Debounces.on == false then break end
  2839. rs:wait()
  2840. end
  2841. Shell()
  2842. shell.Transparency = 0
  2843. shell2.Transparency = 1
  2844. for i = 1, 10 do
  2845. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2846. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2847. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  2848. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  2849. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  2850. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2851. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  2852. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  2853. if Debounces.on == false then break end
  2854. rs:wait()
  2855. end
  2856. Shell()
  2857. shell2.Transparency = 0
  2858. shell.Transparency = 1
  2859. for i = 1, 10 do
  2860. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2861. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2862. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  2863. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  2864. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2865. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2866. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  2867. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  2868. if Debounces.on == false then break end
  2869. rs:wait()
  2870. end
  2871. Shell()
  2872. shell.Transparency = 0
  2873. shell2.Transparency = 1
  2874. for i = 1, 10 do
  2875. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2876. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2877. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  2878. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  2879. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  2880. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2881. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  2882. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  2883. if Debounces.on == false then break end
  2884. rs:wait()
  2885. end
  2886. Shell()
  2887. shell2.Transparency = 0
  2888. shell.Transparency = 1
  2889. for i = 1, 10 do
  2890. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2891. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2892. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  2893. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  2894. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  2895. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  2896. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  2897. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  2898. if Debounces.on == false then break end
  2899. rs:wait()
  2900. end
  2901. Shell()
  2902. shell.Transparency = 0
  2903. shell2.Transparency = 1
  2904. for i = 1, 10 do
  2905. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  2906. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  2907. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  2908. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  2909. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  2910. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  2911. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  2912. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  2913. if Debounces.on == false then break end
  2914. rs:wait()
  2915. end
  2916. shell.Transparency = 1
  2917. if Debounces.CanAttack == false then
  2918. Debounces.CanAttack = true
  2919. Debounces.NoIdl = false
  2920. Debounces.on = false
  2921. end
  2922. end
  2923. end
  2924. end)
  2925. ----------------------------------------------------
  2926. Search = false
  2927. mouse.KeyDown:connect(function(key)
  2928. if key == "n" then
  2929. if Search == false then
  2930. Search = true
  2931. for i,v in pairs(game.Players:getPlayers()) do
  2932. if v.Name~=char.Name then
  2933. for j,k in pairs(v.Character:GetChildren()) do
  2934. if k:IsA("BasePart") and k.Transparency >= 1 then
  2935. bawx=Instance.new("SelectionBox",cam)
  2936. bawx.Color = BrickColor.new("Bright red")
  2937. bawx.Transparency = .5
  2938. bawx.Adornee = k
  2939. end
  2940. end
  2941. end
  2942. end
  2943. elseif Search == true then
  2944. Search = false
  2945. for i, v in pairs(cam:GetChildren()) do
  2946. if v:IsA("SelectionBox") then
  2947. v:Destroy()
  2948. end
  2949. end
  2950. end
  2951. end
  2952. end)
  2953. ----------------------------------------------------
  2954. Grab = false
  2955. mouse.KeyDown:connect(function(key)
  2956. if key == "z" then
  2957. Debounces.on = true
  2958. Debounces.NoIdl = true
  2959. Debounces.ks = true
  2960. if Grab == false then
  2961. gp = nil
  2962. for i = 1, 20 do
  2963. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.2)
  2964. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.2)
  2965. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  2966. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  2967. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2)
  2968. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2)
  2969. if Debounces.on == false then break end
  2970. rs:wait()
  2971. end
  2972. con1=larm.Touched:connect(function(hit) -- this is grab
  2973. ht = hit.Parent
  2974. hum1=ht:FindFirstChild('Humanoid')
  2975. if hum1 ~= nil then
  2976. if Debounces.ks==true then
  2977. z = Instance.new("Sound",hed)
  2978. z.SoundId = "rbxassetid://169380525"
  2979. z.Volume = 1
  2980. z:Play()
  2981. Debounces.ks=false
  2982. end
  2983. hum1.PlatformStand=true
  2984. gp = ht
  2985. Grab = true
  2986. asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.4),CFrame.new(0,0,0))
  2987. asd.Parent = larm
  2988. asd.Name = "asd"
  2989. asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0)
  2990. --[[elseif hum1 == nil then
  2991. con1:disconnect()
  2992. wait() return]]--
  2993. end
  2994. end)
  2995. for i = 1, 20 do
  2996. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.2)
  2997. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.2)
  2998. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  2999. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  3000. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
  3001. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2)
  3002. if Debounces.on == false then break end
  3003. rs:wait()
  3004. end
  3005. if hum1 == nil then
  3006. Debounces.on = false
  3007. Debounces.NoIdl = false
  3008. end
  3009. con1:disconnect()
  3010. elseif Grab == true then
  3011. Grab = false
  3012. Punch()
  3013. z = Instance.new("Sound",hed)
  3014. z.SoundId = "rbxassetid://169380525"
  3015. z.Pitch = ptz[math.random(1,#ptz)]
  3016. z.Volume = 1
  3017. z:Play()
  3018. for i = 1, 10 do
  3019. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  3020. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  3021. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3022. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3023. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3024. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3025. if Debounces.on == false then break end
  3026. rs:wait()
  3027. end
  3028. Punch()
  3029. z = Instance.new("Sound",hed)
  3030. z.SoundId = "rbxassetid://169380525"
  3031. z.Pitch = ptz[math.random(1,#ptz)]
  3032. z.Volume = 1
  3033. z:Play()
  3034. for i = 1, 10 do
  3035. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  3036. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  3037. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3038. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3039. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3040. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3041. if Debounces.on == false then break end
  3042. rs:wait()
  3043. end
  3044. Punch()
  3045. z = Instance.new("Sound",hed)
  3046. z.SoundId = "rbxassetid://169380525"
  3047. z.Pitch = ptz[math.random(1,#ptz)]
  3048. z.Volume = 1
  3049. z:Play()
  3050. for i = 1, 10 do
  3051. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  3052. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  3053. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3054. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3055. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3056. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3057. if Debounces.on == false then break end
  3058. rs:wait()
  3059. end
  3060. Punch()
  3061. z = Instance.new("Sound",hed)
  3062. z.SoundId = "rbxassetid://169380525"
  3063. z.Pitch = ptz[math.random(1,#ptz)]
  3064. z.Volume = 1
  3065. z:Play()
  3066. for i = 1, 10 do
  3067. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  3068. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  3069. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3070. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3071. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3072. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3073. if Debounces.on == false then break end
  3074. rs:wait()
  3075. end
  3076. Punch()
  3077. z = Instance.new("Sound",hed)
  3078. z.SoundId = "rbxassetid://169380525"
  3079. z.Pitch = ptz[math.random(1,#ptz)]
  3080. z.Volume = 1
  3081. z:Play()
  3082. for i = 1, 10 do
  3083. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  3084. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  3085. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3086. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3087. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3088. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3089. if Debounces.on == false then break end
  3090. rs:wait()
  3091. end
  3092. Punch()
  3093. z = Instance.new("Sound",hed)
  3094. z.SoundId = "rbxassetid://169380525"
  3095. z.Pitch = ptz[math.random(1,#ptz)]
  3096. z.Volume = 1
  3097. z:Play()
  3098. for i = 1, 10 do
  3099. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  3100. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  3101. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3102. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3103. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3104. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3105. if Debounces.on == false then break end
  3106. rs:wait()
  3107. end
  3108. Punch()
  3109. z = Instance.new("Sound",hed)
  3110. z.SoundId = "rbxassetid://169380525"
  3111. z.Pitch = ptz[math.random(1,#ptz)]
  3112. z.Volume = 1
  3113. z:Play()
  3114. for i = 1, 10 do
  3115. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  3116. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  3117. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3118. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3119. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3120. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3121. if Debounces.on == false then break end
  3122. rs:wait()
  3123. end
  3124. Punch()
  3125. z = Instance.new("Sound",hed)
  3126. z.SoundId = "rbxassetid://169380525"
  3127. z.Pitch = ptz[math.random(1,#ptz)]
  3128. z.Volume = 1
  3129. z:Play()
  3130. for i = 1, 10 do
  3131. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  3132. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  3133. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3134. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3135. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3136. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3137. if Debounces.on == false then break end
  3138. rs:wait()
  3139. end
  3140. Punch()
  3141. z = Instance.new("Sound",hed)
  3142. z.SoundId = "rbxassetid://169380525"
  3143. z.Pitch = ptz[math.random(1,#ptz)]
  3144. z.Volume = 1
  3145. z:Play()
  3146. for i = 1, 10 do
  3147. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  3148. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  3149. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3150. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3151. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3152. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3153. if Debounces.on == false then break end
  3154. rs:wait()
  3155. end
  3156. Punch()
  3157. z = Instance.new("Sound",hed)
  3158. z.SoundId = "rbxassetid://169380525"
  3159. z.Pitch = ptz[math.random(1,#ptz)]
  3160. z.Volume = 1
  3161. z:Play()
  3162. for i = 1, 10 do
  3163. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  3164. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  3165. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3166. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3167. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3168. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3169. if Debounces.on == false then break end
  3170. rs:wait()
  3171. end
  3172. Punch()
  3173. z = Instance.new("Sound",hed)
  3174. z.SoundId = "rbxassetid://169380525"
  3175. z.Pitch = ptz[math.random(1,#ptz)]
  3176. z.Volume = 1
  3177. z:Play()
  3178. for i = 1, 10 do
  3179. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
  3180. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
  3181. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
  3182. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
  3183. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3184. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3185. if Debounces.on == false then break end
  3186. rs:wait()
  3187. end
  3188. Punch()
  3189. z = Instance.new("Sound",hed)
  3190. z.SoundId = "rbxassetid://169380525"
  3191. z.Pitch = ptz[math.random(1,#ptz)]
  3192. z.Volume = 1
  3193. z:Play()
  3194. for i = 1, 10 do
  3195. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
  3196. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
  3197. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
  3198. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
  3199. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3200. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3201. if Debounces.on == false then break end
  3202. rs:wait()
  3203. end
  3204. con1:disconnect()
  3205. Debounces.on = false
  3206. Debounces.NoIdl = false
  3207. if gp ~= nil then
  3208. gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140
  3209. for i,v in pairs(larm:GetChildren()) do
  3210. if v.Name == "asd" and v:IsA("Weld") then
  3211. v:Remove()
  3212. end
  3213. end
  3214. --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  3215. bv.maxForce = Vector3.new(400000, 400000, 400000)
  3216. bv.P = 125000
  3217. bv.velocity = char.Head.CFrame.lookVector * 200]]--
  3218. hum1=nil
  3219. ht=nil
  3220. Debounces.on = false
  3221. Debounces.NoIdl = false
  3222. elseif ht == nil then wait()
  3223. Grab = false
  3224. Debounces.on = false
  3225. Debounces.NoIdl = false
  3226. end
  3227. end
  3228. end
  3229. end)
  3230. ----------------------------------------------------
  3231. mouse.KeyDown:connect(function(key)
  3232. if string.byte(key) == 52 then
  3233. char.Humanoid.WalkSpeed = 60
  3234. end
  3235. end)
  3236. mouse.KeyUp:connect(function(key)
  3237. if string.byte(key) == 52 then
  3238. char.Humanoid.WalkSpeed = 8
  3239. end
  3240. end)
  3241. -------------------------------
  3242. local animpose = "Idle"
  3243. local lastanimpose = "Idle"
  3244. local sine = 0
  3245. local change = 1
  3246. local val = 0
  3247. local ffing = false
  3248. -------------------------------
  3249. game:GetService("RunService").RenderStepped:connect(function()
  3250. --[[if char.Humanoid.Jump == true then
  3251. jump = true
  3252. else
  3253. jump = false
  3254. end]]
  3255. char.Humanoid.FreeFalling:connect(function(f)
  3256. if f then
  3257. ffing = true
  3258. else
  3259. ffing = false
  3260. end
  3261. end)
  3262. sine = sine + change
  3263. if jumpn == true then
  3264. animpose = "Jumping"
  3265. elseif ffing == true then
  3266. animpose = "Freefalling"
  3267. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  3268. animpose = "Idle"
  3269. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  3270. animpose = "Walking"
  3271. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  3272. animpose = "Running"
  3273. end
  3274. if animpose ~= lastanimpose then
  3275. sine = 0
  3276. if Debounces.NoIdl == false then
  3277. if animpose == "Idle" then
  3278. for i = 1, 2 do
  3279. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4)
  3280. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4)
  3281. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  3282. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  3283. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  3284. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  3285. end
  3286. elseif animpose == "Walking" then
  3287. for i = 1, 2 do
  3288. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
  3289. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
  3290. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
  3291. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
  3292. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
  3293. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
  3294. end
  3295. elseif animpose == "Running" then
  3296. for i = 1, 2 do
  3297. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(-14),math.rad(8+2*math.cos(sine/14))), 0.2)
  3298. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(14),math.rad(-8-2*math.cos(sine/14))), 0.2)
  3299. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4)
  3300. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4)
  3301. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4)
  3302. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4)
  3303. wait()
  3304. end
  3305. end
  3306. else
  3307. end
  3308. end
  3309. lastanimpose = animpose
  3310. if Debounces.NoIdl == false then
  3311. if animpose == "Idle" then
  3312. change = 0.5
  3313. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8+2*math.cos(sine/14))), 0.4)
  3314. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8-2*math.cos(sine/14))), 0.4)
  3315. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  3316. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05)
  3317. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
  3318. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
  3319. elseif animpose == "Walking" then
  3320. change = 1
  3321. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
  3322. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
  3323. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
  3324. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
  3325. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
  3326. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
  3327. elseif animpose == "Running" then
  3328. change = 1
  3329. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.35,.4)*CFrame.Angles(math.rad(-30),math.rad(14),math.rad(-30+2*math.cos(sine/14))), 0.2)
  3330. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.55,-.4)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(40-2*math.cos(sine/14))), 0.2)
  3331. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4)
  3332. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.2)
  3333. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.2) * CFrame.Angles(math.rad(-20), math.rad(10), math.rad(0)), 0.4)
  3334. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(10), math.rad(0)), 0.4)
  3335. end
  3336. end
  3337. end)
  3338.  
  3339. hum.MaxHealth = 9001
  3340. wait(3)
  3341. hum.Health = 9001
  3342.  
  3343. function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
  3344. --[[Part0 = Vector3 (Start pos)
  3345. Part1 = Vector3 (End pos)
  3346. Times = number (Amount of lightning parts)
  3347. Offset = number (Offset)
  3348. Color = color (brickcolor value)
  3349. Thickness = number (thickness)
  3350. Trans = number (transparency)
  3351. ]]--
  3352. local magz = (Part0 - Part1).magnitude
  3353. local curpos = Part0
  3354. local trz = {-Offset,Offset}
  3355. for i=1,Times do
  3356. local li = Instance.new("Part", torso)
  3357. li.Name = "Lightning"
  3358. li.TopSurface =0
  3359. li.Material = "Neon"
  3360. li.BottomSurface = 0
  3361. li.Anchored = true
  3362. li.Locked = true
  3363. li.Transparency = Trans or 0.4
  3364. li.BrickColor = BrickColor.new(Color)
  3365. li.formFactor = "Custom"
  3366. li.CanCollide = false
  3367. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  3368. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  3369. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  3370. if Times == i then
  3371. local magz2 = (curpos - Part1).magnitude
  3372. li.Size = Vector3.new(Thickness,Thickness,magz2)
  3373. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  3374. else
  3375. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  3376. end
  3377. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  3378. game.Debris:AddItem(li,.1)
  3379. end
  3380. end
  3381.  
  3382. BodyParts = {} -- Parts to emit lightning effects from
  3383. for _, v in pairs(char:GetChildren()) do
  3384. if v:IsA("Part") then
  3385. table.insert(BodyParts, v)
  3386. end
  3387. end
  3388.  
  3389. Bounding = {} -- Calculate the bounding boxes
  3390. for _, v in pairs(BodyParts) do
  3391. local temp = {X=nil, Y=nil, Z=nil}
  3392. temp.X = v.Size.X/2 * 10
  3393. temp.Y = v.Size.Y/2 * 10
  3394. temp.Z = v.Size.Z/2 * 10
  3395. Bounding[v.Name] = temp
  3396. --table.insert(Bounding, v.Name, temp)
  3397. end
  3398.  
  3399. while wait(math.random(50)/50) do -- Emit the Lightning effects randomly
  3400. local Body1 = BodyParts[math.random(#BodyParts)]
  3401. local Body2 = BodyParts[math.random(#BodyParts)]
  3402. local Pos1 = Vector3.new(
  3403. math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10,
  3404. math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10,
  3405. math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10
  3406. )
  3407. local Pos2 = Vector3.new(
  3408. math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10,
  3409. math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10,
  3410. math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10
  3411. )
  3412. local SPos1 = Body1.Position + Pos1
  3413. local SPos2 = Body2.Position + Pos2
  3414. Lightning(SPos1, SPos2, 4, 3, "New Yeller", .3, .56)
  3415. end
Add Comment
Please, Sign In to add comment