Advertisement
Guest User

Majora MOON

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