686

Untitled

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