Advertisement
DarkScriptZEditors

Ummm FE?

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