Advertisement
Guest User

Untitled

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