Advertisement
Guest User

Untitled

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