Advertisement
StarzoZero

Untitled

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