Advertisement
jasonskg1234

ssj5

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