Advertisement
memberhero

Gale Fighter NLS

Dec 10th, 2020
265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 112.08 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. local RealPlayer = Player
  4. do local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  5. ---------------------------------------------------------------
  6. --[[ Name : Gale Fighter ]]--
  7. -------------------------------------------------------
  8. --A Collaboration Between makhail07 and KillerDarkness0105
  9.  
  10. --Base Animaion by makhail07, attacks by KillerDarkness0105
  11. -------------------------------------------------------
  12.  
  13.  
  14. local FavIDs = {
  15. 340106355, --Nefl Crystals
  16. 927529620, --Dimension
  17. 876981900, --Fantasy
  18. 398987889, --Ordinary Days
  19. 1117396305, --Oh wait, it's you.
  20. 885996042, --Action Winter Journey
  21. 919231299, --Sprawling Idiot Effigy
  22. 743466274, --Good Day Sunshine
  23. 727411183, --Knife Fight
  24. 1402748531, --The Earth Is Counting On You!
  25. 595230126 --Robot Language
  26. }
  27.  
  28.  
  29.  
  30. --The reality of my life isn't real but a Universe -makhail07
  31. wait(0.2)
  32. local plr = game:service'Players'.LocalPlayer
  33. print('Local User is '..plr.Name)
  34. print('Gale Fighter Loaded')
  35. print('The Fighter that is as fast as wind, a true Fighter')
  36. local char = plr.Character
  37. local hum = char.Humanoid
  38. local hed = char.Head
  39. local root = char.HumanoidRootPart
  40. local rootj = root.RootJoint
  41. local tors = char.Torso
  42. local ra = char["Right Arm"]
  43. local la = char["Left Arm"]
  44. local rl = char["Right Leg"]
  45. local ll = char["Left Leg"]
  46. local neck = tors["Neck"]
  47. local mouse = plr:GetMouse()
  48. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  49. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  50. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  51. local maincolor = BrickColor.new("Institutional white")
  52. hum.MaxHealth = 200
  53. hum.Health = 200
  54.  
  55. -------------------------------------------------------
  56. --Start Good Stuff--
  57. -------------------------------------------------------
  58. cam = game.Workspace.CurrentCamera
  59. CF = CFrame.new
  60. angles = CFrame.Angles
  61. attack = false
  62. Euler = CFrame.fromEulerAnglesXYZ
  63. Rad = math.rad
  64. IT = Instance.new
  65. BrickC = BrickColor.new
  66. Cos = math.cos
  67. Acos = math.acos
  68. Sin = math.sin
  69. Asin = math.asin
  70. Abs = math.abs
  71. Mrandom = math.random
  72. Floor = math.floor
  73. -------------------------------------------------------
  74. --End Good Stuff--
  75. -------------------------------------------------------
  76. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  77. RSH, LSH = nil, nil
  78. RW = Instance.new("Weld")
  79. LW = Instance.new("Weld")
  80. RH = tors["Right Hip"]
  81. LH = tors["Left Hip"]
  82. RSH = tors["Right Shoulder"]
  83. LSH = tors["Left Shoulder"]
  84. RSH.Parent = nil
  85. LSH.Parent = nil
  86. RW.Name = "RW"
  87. RW.Part0 = tors
  88. RW.C0 = CF(1.5, 0.5, 0)
  89. RW.C1 = CF(0, 0.5, 0)
  90. RW.Part1 = ra
  91. RW.Parent = tors
  92. LW.Name = "LW"
  93. LW.Part0 = tors
  94. LW.C0 = CF(-1.5, 0.5, 0)
  95. LW.C1 = CF(0, 0.5, 0)
  96. LW.Part1 = la
  97. LW.Parent = tors
  98. vt = Vector3.new
  99. Effects = {}
  100. -------------------------------------------------------
  101. --Start HeartBeat--
  102. -------------------------------------------------------
  103. ArtificialHB = Instance.new("BindableEvent", script)
  104. ArtificialHB.Name = "Heartbeat"
  105. script:WaitForChild("Heartbeat")
  106.  
  107. frame = 1 / 90
  108. tf = 0
  109. allowframeloss = false
  110. tossremainder = false
  111.  
  112.  
  113. lastframe = tick()
  114. script.Heartbeat:Fire()
  115.  
  116.  
  117. game:GetService("RunService").Heartbeat:connect(function(s, p)
  118. tf = tf + s
  119. if tf >= frame then
  120. if allowframeloss then
  121. script.Heartbeat:Fire()
  122. lastframe = tick()
  123. else
  124. for i = 1, math.floor(tf / frame) do
  125. script.Heartbeat:Fire()
  126. end
  127. lastframe = tick()
  128. end
  129. if tossremainder then
  130. tf = 0
  131. else
  132. tf = tf - frame * math.floor(tf / frame)
  133. end
  134. end
  135. end)
  136. -------------------------------------------------------
  137. --End HeartBeat--
  138. -------------------------------------------------------
  139.  
  140.  
  141.  
  142. -------------------------------------------------------
  143. --Start Combo Function--
  144. -------------------------------------------------------
  145. local comboing = false
  146. local combohits = 0
  147. local combotime = 0
  148. local maxtime = 65
  149.  
  150.  
  151.  
  152. function sandbox(var,func)
  153. local env = getfenv(func)
  154. local newenv = setmetatable({},{
  155. __index = function(self,k)
  156. if k=="script" then
  157. return var
  158. else
  159. return env[k]
  160. end
  161. end,
  162. })
  163. setfenv(func,newenv)
  164. return func
  165. end
  166. cors = {}
  167. mas = Instance.new("Model",game:GetService("Lighting"))
  168. comboframe = Instance.new("ScreenGui")
  169. Frame1 = Instance.new("Frame")
  170. Frame2 = Instance.new("Frame")
  171. TextLabel3 = Instance.new("TextLabel")
  172. comboframe.Name = "combinserter"
  173. comboframe.Parent = mas
  174. Frame1.Name = "combtimegui"
  175. Frame1.Parent = comboframe
  176. Frame1.Size = UDim2.new(0, 300, 0, 14)
  177. Frame1.Position = UDim2.new(0, 900, 0.629999971, 0)
  178. Frame1.BackgroundColor3 = Color3.new(0, 0, 0)
  179. Frame1.BorderColor3 = Color3.new(0.0313726, 0.0470588, 0.0627451)
  180. Frame1.BorderSizePixel = 5
  181. Frame2.Name = "combtimeoverlay"
  182. Frame2.Parent = Frame1
  183. Frame2.Size = UDim2.new(0, 0, 0, 14)
  184. Frame2.BackgroundColor3 = Color3.new(0, 1, 0)
  185. Frame2.ZIndex = 2
  186. TextLabel3.Parent = Frame2
  187. TextLabel3.Transparency = 0
  188. TextLabel3.Size = UDim2.new(0, 300, 0, 50)
  189. TextLabel3.Text ="Hits: "..combohits
  190. TextLabel3.Position = UDim2.new(0, 0, -5.5999999, 0)
  191. TextLabel3.BackgroundColor3 = Color3.new(1, 1, 1)
  192. TextLabel3.BackgroundTransparency = 1
  193. TextLabel3.Font = Enum.Font.Bodoni
  194. TextLabel3.FontSize = Enum.FontSize.Size60
  195. TextLabel3.TextColor3 = Color3.new(0, 1, 0)
  196. TextLabel3.TextStrokeTransparency = 0
  197. gui = game:GetService("Players").LocalPlayer.PlayerGui
  198. for i,v in pairs(mas:GetChildren()) do
  199. v.Parent = game:GetService("Players").LocalPlayer.PlayerGui
  200. pcall(function() v:MakeJoints() end)
  201. end
  202. mas:Destroy()
  203. for i,v in pairs(cors) do
  204. spawn(function()
  205. pcall(v)
  206. end)
  207. end
  208.  
  209.  
  210.  
  211.  
  212.  
  213. coroutine.resume(coroutine.create(function()
  214. while true do
  215. wait()
  216.  
  217.  
  218. if combotime>65 then
  219. combotime = 65
  220. end
  221.  
  222.  
  223.  
  224.  
  225.  
  226. if combotime>.1 and comboing == true then
  227. TextLabel3.Transparency = 0
  228. TextLabel3.TextStrokeTransparency = 0
  229. TextLabel3.BackgroundTransparency = 1
  230. Frame1.Transparency = 0
  231. Frame2.Transparency = 0
  232. TextLabel3.Text ="Hits: "..combohits
  233. combotime = combotime - .34
  234. Frame2.Size = Frame2.Size:lerp(UDim2.new(0, combotime/maxtime*300, 0, 14),0.42)
  235. end
  236.  
  237.  
  238.  
  239.  
  240. if combotime<.1 then
  241. TextLabel3.BackgroundTransparency = 1
  242. TextLabel3.Transparency = 1
  243. TextLabel3.TextStrokeTransparency = 1
  244.  
  245. Frame2.Size = UDim2.new(0, 0, 0, 14)
  246. combotime = 0
  247. comboing = false
  248. Frame1.Transparency = 1
  249. Frame2.Transparency = 1
  250. combohits = 0
  251.  
  252. end
  253. end
  254. end))
  255.  
  256.  
  257.  
  258. -------------------------------------------------------
  259. --End Combo Function--
  260. -------------------------------------------------------
  261.  
  262. -------------------------------------------------------
  263. --Start Important Functions--
  264. -------------------------------------------------------
  265. function swait(num)
  266. if num == 0 or num == nil then
  267. game:service("RunService").Stepped:wait(0)
  268. else
  269. for i = 0, num do
  270. game:service("RunService").Stepped:wait(0)
  271. end
  272. end
  273. end
  274. function thread(f)
  275. coroutine.resume(coroutine.create(f))
  276. end
  277. function clerp(a, b, t)
  278. local qa = {
  279. QuaternionFromCFrame(a)
  280. }
  281. local qb = {
  282. QuaternionFromCFrame(b)
  283. }
  284. local ax, ay, az = a.x, a.y, a.z
  285. local bx, by, bz = b.x, b.y, b.z
  286. local _t = 1 - t
  287. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  288. end
  289. function QuaternionFromCFrame(cf)
  290. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  291. local trace = m00 + m11 + m22
  292. if trace > 0 then
  293. local s = math.sqrt(1 + trace)
  294. local recip = 0.5 / s
  295. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  296. else
  297. local i = 0
  298. if m00 < m11 then
  299. i = 1
  300. end
  301. if m22 > (i == 0 and m00 or m11) then
  302. i = 2
  303. end
  304. if i == 0 then
  305. local s = math.sqrt(m00 - m11 - m22 + 1)
  306. local recip = 0.5 / s
  307. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  308. elseif i == 1 then
  309. local s = math.sqrt(m11 - m22 - m00 + 1)
  310. local recip = 0.5 / s
  311. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  312. elseif i == 2 then
  313. local s = math.sqrt(m22 - m00 - m11 + 1)
  314. local recip = 0.5 / s
  315. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  316. end
  317. end
  318. end
  319. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  320. local xs, ys, zs = x + x, y + y, z + z
  321. local wx, wy, wz = w * xs, w * ys, w * zs
  322. local xx = x * xs
  323. local xy = x * ys
  324. local xz = x * zs
  325. local yy = y * ys
  326. local yz = y * zs
  327. local zz = z * zs
  328. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  329. end
  330. function QuaternionSlerp(a, b, t)
  331. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  332. local startInterp, finishInterp
  333. if cosTheta >= 1.0E-4 then
  334. if 1 - cosTheta > 1.0E-4 then
  335. local theta = math.acos(cosTheta)
  336. local invSinTheta = 1 / Sin(theta)
  337. startInterp = Sin((1 - t) * theta) * invSinTheta
  338. finishInterp = Sin(t * theta) * invSinTheta
  339. else
  340. startInterp = 1 - t
  341. finishInterp = t
  342. end
  343. elseif 1 + cosTheta > 1.0E-4 then
  344. local theta = math.acos(-cosTheta)
  345. local invSinTheta = 1 / Sin(theta)
  346. startInterp = Sin((t - 1) * theta) * invSinTheta
  347. finishInterp = Sin(t * theta) * invSinTheta
  348. else
  349. startInterp = t - 1
  350. finishInterp = t
  351. end
  352. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  353. end
  354. function rayCast(Position, Direction, Range, Ignore)
  355. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  356. end
  357. local RbxUtility = LoadLibrary("RbxUtility")
  358. local Create = RbxUtility.Create
  359.  
  360. -------------------------------------------------------
  361. --Start Damage Function--
  362. -------------------------------------------------------
  363. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  364. if hit.Parent == nil then
  365. return
  366. end
  367. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  368. for _, v in pairs(hit.Parent:children()) do
  369. if v:IsA("Humanoid") then
  370. h = v
  371. end
  372. end
  373. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  374.  
  375. hit.Parent:FindFirstChild("Head"):BreakJoints()
  376. end
  377.  
  378. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  379. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  380. if hit.Parent.DebounceHit.Value == true then
  381. return
  382. end
  383. end
  384. if insta == true then
  385. hit.Parent:FindFirstChild("Head"):BreakJoints()
  386. end
  387. local c = Create("ObjectValue"){
  388. Name = "creator",
  389. Value = game:service("Players").LocalPlayer,
  390. Parent = h,
  391. }
  392. game:GetService("Debris"):AddItem(c, .5)
  393. if HitSound ~= nil and HitPitch ~= nil then
  394. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  395. end
  396. local Damage = math.random(minim, maxim)
  397. local blocked = false
  398. local block = hit.Parent:findFirstChild("Block")
  399. if block ~= nil then
  400. if block.className == "IntValue" then
  401. if block.Value > 0 then
  402. blocked = true
  403. block.Value = block.Value - 1
  404. print(block.Value)
  405. end
  406. end
  407. end
  408. if blocked == false then
  409. h.Health = h.Health - Damage
  410. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  411. else
  412. h.Health = h.Health - (Damage / 2)
  413. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  414. end
  415. if Type == "Knockdown" then
  416. local hum = hit.Parent.Humanoid
  417. hum.PlatformStand = true
  418. coroutine.resume(coroutine.create(function(HHumanoid)
  419. swait(1)
  420. HHumanoid.PlatformStand = false
  421. end), hum)
  422. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  423. local bodvol = Create("BodyVelocity"){
  424. velocity = angle * knockback,
  425. P = 5000,
  426. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  427. Parent = hit,
  428. }
  429. local rl = Create("BodyAngularVelocity"){
  430. P = 3000,
  431. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  432. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  433. Parent = hit,
  434. }
  435. game:GetService("Debris"):AddItem(bodvol, .5)
  436. game:GetService("Debris"):AddItem(rl, .5)
  437. elseif Type == "Normal" then
  438. local vp = Create("BodyVelocity"){
  439. P = 500,
  440. maxForce = Vector3.new(math.huge, 0, math.huge),
  441. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  442. }
  443. if knockback > 0 then
  444. vp.Parent = hit.Parent.Torso
  445. end
  446. game:GetService("Debris"):AddItem(vp, .5)
  447. elseif Type == "Up" then
  448. local bodyVelocity = Create("BodyVelocity"){
  449. velocity = Vector3.new(0, 20, 0),
  450. P = 5000,
  451. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  452. Parent = hit,
  453. }
  454. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  455. elseif Type == "DarkUp" then
  456. coroutine.resume(coroutine.create(function()
  457. for i = 0, 1, 0.1 do
  458. swait()
  459. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  460. end
  461. end))
  462. local bodyVelocity = Create("BodyVelocity"){
  463. velocity = Vector3.new(0, 20, 0),
  464. P = 5000,
  465. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  466. Parent = hit,
  467. }
  468. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  469. elseif Type == "Snare" then
  470. local bp = Create("BodyPosition"){
  471. P = 2000,
  472. D = 100,
  473. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  474. position = hit.Parent.Torso.Position,
  475. Parent = hit.Parent.Torso,
  476. }
  477. game:GetService("Debris"):AddItem(bp, 1)
  478. elseif Type == "Freeze" then
  479. local BodPos = Create("BodyPosition"){
  480. P = 50000,
  481. D = 1000,
  482. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  483. position = hit.Parent.Torso.Position,
  484. Parent = hit.Parent.Torso,
  485. }
  486. local BodGy = Create("BodyGyro") {
  487. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  488. P = 20e+003,
  489. Parent = hit.Parent.Torso,
  490. cframe = hit.Parent.Torso.CFrame,
  491. }
  492. hit.Parent.Torso.Anchored = true
  493. coroutine.resume(coroutine.create(function(Part)
  494. swait(1.5)
  495. Part.Anchored = false
  496. end), hit.Parent.Torso)
  497. game:GetService("Debris"):AddItem(BodPos, 3)
  498. game:GetService("Debris"):AddItem(BodGy, 3)
  499. end
  500. local debounce = Create("BoolValue"){
  501. Name = "DebounceHit",
  502. Parent = hit.Parent,
  503. Value = true,
  504. }
  505. game:GetService("Debris"):AddItem(debounce, Delay)
  506. c = Create("ObjectValue"){
  507. Name = "creator",
  508. Value = Player,
  509. Parent = h,
  510. }
  511. game:GetService("Debris"):AddItem(c, .5)
  512. end
  513. end
  514.  
  515.  
  516.  
  517.  
  518. kDamagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  519. if hit.Parent==nil then
  520. return
  521. end
  522. h=hit.Parent:FindFirstChild("Humanoid")
  523. for _,v in pairs(hit.Parent:children()) do
  524. if v:IsA("Humanoid") then
  525. h=v
  526. end
  527. end
  528. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  529. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  530. end
  531. if hit.Parent.className=="Hat" then
  532. hit=hit.Parent.Parent:findFirstChild("Head")
  533. end
  534. if h~=nil and hit.Parent.Name~=char.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  535. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  536. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  537. return
  538. end]]
  539. -- hs(hit,1.2)
  540. c=Instance.new("ObjectValue")
  541. c.Name="creator"
  542. c.Value=game:service("Players").LocalPlayer
  543. c.Parent=h
  544. game:GetService("Debris"):AddItem(c,.5)
  545. Damage=math.random(minim,maxim)
  546. -- h:TakeDamage(Damage)
  547. blocked=false
  548. block=hit.Parent:findFirstChild("Block")
  549. if block~=nil then
  550. print(block.className)
  551. if block.className=="NumberValue" then
  552. if block.Value>0 then
  553. blocked=true
  554. if decreaseblock==nil then
  555. block.Value=block.Value-1
  556. end
  557. end
  558. end
  559. if block.className=="IntValue" then
  560. if block.Value>0 then
  561. blocked=true
  562. if decreaseblock~=nil then
  563. block.Value=block.Value-1
  564. end
  565. end
  566. end
  567. end
  568. if blocked==false then
  569. -- h:TakeDamage(Damage)
  570. h.Health=h.Health-Damage
  571. kshowDamage(hit.Parent,Damage,.5,BrickColor.new("White"))
  572. else
  573. h.Health=h.Health-(Damage/2)
  574. kshowDamage(hit.Parent,Damage/2,.5,BrickColor.new("White"))
  575. end
  576. if Type=="Knockdown" then
  577. hum=hit.Parent.Humanoid
  578. hum.PlatformStand=true
  579. coroutine.resume(coroutine.create(function(HHumanoid)
  580. swait(1)
  581. HHumanoid.PlatformStand=false
  582. end),hum)
  583. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  584. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  585. local bodvol=Instance.new("BodyVelocity")
  586. bodvol.velocity=angle*knockback
  587. bodvol.P=5000
  588. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  589. bodvol.Parent=hit
  590. rl=Instance.new("BodyAngularVelocity")
  591. rl.P=3000
  592. rl.maxTorque=Vector3.new(500,500,500)
  593. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  594. rl.Parent=hit
  595. game:GetService("Debris"):AddItem(bodvol,.5)
  596. game:GetService("Debris"):AddItem(rl,.5)
  597. elseif Type=="Normal" then
  598. vp=Instance.new("BodyVelocity")
  599. vp.P=500
  600. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  601. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  602. if KnockbackType==1 then
  603. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  604. elseif KnockbackType==2 then
  605. vp.velocity=Property.CFrame.lookVector*knockback
  606. end
  607. if knockback>0 then
  608. vp.Parent=hit.Parent.Torso
  609. end
  610. game:GetService("Debris"):AddItem(vp,.5)
  611. elseif Type=="Up" then
  612. hit.Parent.Humanoid.PlatformStand = true
  613. local bodyVelocity=Instance.new("BodyVelocity")
  614. bodyVelocity.velocity=vt(0,15,0)
  615. bodyVelocity.P=5000
  616. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  617. bodyVelocity.Parent=hit
  618. game:GetService("Debris"):AddItem(bodyVelocity,1)
  619. rl=Instance.new("BodyAngularVelocity")
  620. rl.P=3000
  621. rl.AngularVelocity = Vector3.new(2000,2000,2000)
  622. rl.MaxTorque = Vector3.new(40000,40000,40000)
  623. rl.Parent=hit
  624. hit.Parent.Humanoid.PlatformStand = false
  625. game:GetService("Debris"):AddItem(rl,.5)
  626. elseif Type=="Snare" then
  627. bp=Instance.new("BodyPosition")
  628. bp.P=2000
  629. bp.D=100
  630. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  631. bp.position=hit.Parent.Torso.Position
  632. bp.Parent=hit.Parent.Torso
  633. game:GetService("Debris"):AddItem(bp,1)
  634. elseif Type=="Float" then
  635. hit.Parent.Humanoid.PlatformStand = true
  636. bp=Instance.new("BodyPosition")
  637. bp.P=2000
  638. bp.D=400
  639. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  640. bp.position=hit.Parent.Torso.Position+vt(0,35,24)
  641. bp.Parent=hit.Parent.Torso
  642.  
  643. local rl=Instance.new("BodyAngularVelocity",hit.Parent.Torso)
  644. rl.P=377705
  645. rl.maxTorque=Vector3.new(1,1,1)*500
  646. rl.angularvelocity=Vector3.new(math.random(-3,3),math.random(-6,6),math.random(-3,3))
  647.  
  648. local BF = Instance.new("BodyForce",hit.Parent.Torso)
  649. BF.force = Vector3.new(0, workspace.Gravity/1.10, 0)
  650. game:GetService("Debris"):AddItem(bp,5)
  651. game:GetService("Debris"):AddItem(BF,5)
  652. game:GetService("Debris"):AddItem(rl,5)
  653. elseif Type=="Target" then
  654. if Targetting==false then
  655. ZTarget=hit.Parent.Torso
  656. coroutine.resume(coroutine.create(function(Part)
  657. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  658. swait(5)
  659. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  660. end),ZTarget)
  661. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  662. targetgui=Instance.new("BillboardGui")
  663. targetgui.Parent=ZTarget
  664. targetgui.Size=UDim2.new(10,100,10,100)
  665. targ=Instance.new("ImageLabel")
  666. targ.Parent=targetgui
  667. targ.BackgroundTransparency=1
  668. targ.Image="rbxassetid://4834067"
  669. targ.Size=UDim2.new(1,0,1,0)
  670. cam.CameraType="Scriptable"
  671. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  672. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  673. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  674. Targetting=true
  675. RocketTarget=ZTarget
  676. for i=1,Property do
  677. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  678. if Humanoid.Health>0 and char.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  679. swait()
  680. end
  681. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  682. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  683. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  684. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  685. end
  686. Targetting=false
  687. RocketTarget=nil
  688. targetgui.Parent=nil
  689. cam.CameraType="Custom"
  690. end
  691. end
  692. debounce=Instance.new("BoolValue")
  693. debounce.Name="DebounceHit"
  694. debounce.Parent=hit.Parent
  695. debounce.Value=true
  696. game:GetService("Debris"):AddItem(debounce,Delay)
  697. c=Instance.new("ObjectValue")
  698. c.Name="creator"
  699. c.Value=Player
  700. c.Parent=h
  701. game:GetService("Debris"):AddItem(c,.5)
  702. CRIT=false
  703. hitDeb=true
  704. AttackPos=6
  705. comboing = true
  706. combohits = combohits+1
  707. combotime = combotime+3.4
  708.  
  709.  
  710.  
  711. if hitfloor == nil then
  712.  
  713. local velo=Instance.new("BodyVelocity")
  714. velo.velocity=vt(0,5.5,0)
  715. velo.P=8000
  716. velo.maxForce=Vector3.new(math.huge, math.huge, math.huge)
  717. velo.Parent=root
  718. game:GetService("Debris"):AddItem(velo,0.06)
  719.  
  720. local hitvelo=Instance.new("BodyVelocity")
  721. hitvelo.velocity=vt(0,5.5,0)
  722. hitvelo.P=8000
  723. hitvelo.maxForce=Vector3.new(math.huge, math.huge, math.huge)
  724. hitvelo.Parent=hit
  725. game:GetService("Debris"):AddItem(hitvelo,0.06)
  726.  
  727. coroutine.resume(coroutine.create(function()
  728. for i = 0,3.7,0.1 do
  729. swait()
  730. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,0,-2.4)
  731. root.Velocity = root.CFrame.lookVector*0
  732. hit.Velocity = hit.CFrame.lookVector*130
  733. end
  734. end))
  735. coroutine.resume(coroutine.create(function()
  736. while ultra == true do
  737. swait()
  738. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,0,-2.4)
  739. end
  740. end))
  741.  
  742.  
  743. end
  744.  
  745.  
  746. end
  747. end
  748.  
  749. kshowDamage=function(Char,Dealt,du,Color)
  750. m=Instance.new("Model")
  751. m.Name=tostring(Dealt)
  752. h=Instance.new("Humanoid")
  753. h.Health=0
  754. h.MaxHealth=0
  755. h.Parent=m
  756. c=Instance.new("Part")
  757. c.Transparency=0
  758. c.BrickColor=Color
  759. c.Name="Head"
  760. c.Material = "Neon"
  761. c.TopSurface=0
  762. c.BottomSurface=0
  763. c.formFactor="Plate"
  764. c.Size=Vector3.new(1,.4,1)
  765. ms=Instance.new("CylinderMesh")
  766. ms.Scale=Vector3.new(.8,.8,.8)
  767. if CRIT==true then
  768. ms.Scale=Vector3.new(1,1.25,1)
  769. end
  770. ms.Parent=c
  771. c.Reflectance=0
  772. Instance.new("BodyGyro").Parent=c
  773. c.Parent=m
  774. if Char:findFirstChild("Head")~=nil then
  775. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  776. elseif Char.Parent:findFirstChild("Head")~=nil then
  777. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  778. end
  779. f=Instance.new("BodyPosition")
  780. f.P=2000
  781. f.D=220
  782. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  783. f.position=c.Position+Vector3.new(0,3,0)
  784. f.Parent=c
  785. game:GetService("Debris"):AddItem(m,.5+du)
  786. c.CanCollide=false
  787. m.Parent=workspace
  788. c.CanCollide=false
  789.  
  790. end
  791.  
  792. -------------------------------------------------------
  793. --End Damage Function--
  794. -------------------------------------------------------
  795.  
  796. -------------------------------------------------------
  797. --Start Damage Function Customization--
  798. -------------------------------------------------------
  799. function ShowDamage(Pos, Text, Time, Color)
  800. local Rate = (1 / 30)
  801. local Pos = (Pos or Vector3.new(0, 0, 0))
  802. local Text = (Text or "")
  803. local Time = (Time or 2)
  804. local Color = (Color or Color3.new(1, 0, 1))
  805. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  806. EffectPart.Anchored = true
  807. local BillboardGui = Create("BillboardGui"){
  808. Size = UDim2.new(3, 0, 3, 0),
  809. Adornee = EffectPart,
  810. Parent = EffectPart,
  811. }
  812. local TextLabel = Create("TextLabel"){
  813. BackgroundTransparency = 1,
  814. Size = UDim2.new(1, 0, 1, 0),
  815. Text = Text,
  816. Font = "Bodoni",
  817. TextColor3 = Color,
  818. TextScaled = true,
  819. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  820. Parent = BillboardGui,
  821. }
  822. game.Debris:AddItem(EffectPart, (Time))
  823. EffectPart.Parent = game:GetService("Workspace")
  824. delay(0, function()
  825. local Frames = (Time / Rate)
  826. for Frame = 1, Frames do
  827. wait(Rate)
  828. local Percent = (Frame / Frames)
  829. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  830. TextLabel.TextTransparency = Percent
  831. end
  832. if EffectPart and EffectPart.Parent then
  833. EffectPart:Destroy()
  834. end
  835. end)
  836. end
  837. -------------------------------------------------------
  838. --End Damage Function Customization--
  839. -------------------------------------------------------
  840.  
  841. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  842. for _, c in pairs(workspace:children()) do
  843. local hum = c:findFirstChild("Humanoid")
  844. if hum ~= nil then
  845. local head = c:findFirstChild("Head")
  846. if head ~= nil then
  847. local targ = head.Position - Part.Position
  848. local mag = targ.magnitude
  849. if magni >= mag and c.Name ~= plr.Name then
  850. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  851. end
  852. end
  853. end
  854. end
  855. end
  856.  
  857.  
  858. CFuncs = {
  859. Part = {
  860. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  861. local Part = Create("Part")({
  862. Parent = Parent,
  863. Reflectance = Reflectance,
  864. Transparency = Transparency,
  865. CanCollide = false,
  866. Locked = true,
  867. BrickColor = BrickColor.new(tostring(BColor)),
  868. Name = Name,
  869. Size = Size,
  870. Material = Material
  871. })
  872. RemoveOutlines(Part)
  873. return Part
  874. end
  875. },
  876. Mesh = {
  877. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  878. local Msh = Create(Mesh)({
  879. Parent = Part,
  880. Offset = OffSet,
  881. Scale = Scale
  882. })
  883. if Mesh == "SpecialMesh" then
  884. Msh.MeshType = MeshType
  885. Msh.MeshId = MeshId
  886. end
  887. return Msh
  888. end
  889. },
  890. Mesh = {
  891. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  892. local Msh = Create(Mesh)({
  893. Parent = Part,
  894. Offset = OffSet,
  895. Scale = Scale
  896. })
  897. if Mesh == "SpecialMesh" then
  898. Msh.MeshType = MeshType
  899. Msh.MeshId = MeshId
  900. end
  901. return Msh
  902. end
  903. },
  904. Weld = {
  905. Create = function(Parent, Part0, Part1, C0, C1)
  906. local Weld = Create("Weld")({
  907. Parent = Parent,
  908. Part0 = Part0,
  909. Part1 = Part1,
  910. C0 = C0,
  911. C1 = C1
  912. })
  913. return Weld
  914. end
  915. },
  916. Sound = {
  917. Create = function(id, par, vol, pit)
  918. coroutine.resume(coroutine.create(function()
  919. local S = Create("Sound")({
  920. Volume = vol,
  921. Pitch = pit or 1,
  922. SoundId = id,
  923. Parent = par or workspace
  924. })
  925. wait()
  926. S:play()
  927. game:GetService("Debris"):AddItem(S, 6)
  928. end))
  929. end
  930. },
  931. ParticleEmitter = {
  932. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  933. local fp = Create("ParticleEmitter")({
  934. Parent = Parent,
  935. Color = ColorSequence.new(Color1, Color2),
  936. LightEmission = LightEmission,
  937. Size = Size,
  938. Texture = Texture,
  939. Transparency = Transparency,
  940. ZOffset = ZOffset,
  941. Acceleration = Accel,
  942. Drag = Drag,
  943. LockedToPart = LockedToPart,
  944. VelocityInheritance = VelocityInheritance,
  945. EmissionDirection = EmissionDirection,
  946. Enabled = Enabled,
  947. Lifetime = LifeTime,
  948. Rate = Rate,
  949. Rotation = Rotation,
  950. RotSpeed = RotSpeed,
  951. Speed = Speed,
  952. VelocitySpread = VelocitySpread
  953. })
  954. return fp
  955. end
  956. }
  957. }
  958. function RemoveOutlines(part)
  959. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  960. end
  961. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  962. local Part = Create("Part")({
  963. formFactor = FormFactor,
  964. Parent = Parent,
  965. Reflectance = Reflectance,
  966. Transparency = Transparency,
  967. CanCollide = false,
  968. Locked = true,
  969. BrickColor = BrickColor.new(tostring(BColor)),
  970. Name = Name,
  971. Size = Size,
  972. Material = Material
  973. })
  974. RemoveOutlines(Part)
  975. return Part
  976. end
  977. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  978. local Msh = Create(Mesh)({
  979. Parent = Part,
  980. Offset = OffSet,
  981. Scale = Scale
  982. })
  983. if Mesh == "SpecialMesh" then
  984. Msh.MeshType = MeshType
  985. Msh.MeshId = MeshId
  986. end
  987. return Msh
  988. end
  989. function CreateWeld(Parent, Part0, Part1, C0, C1)
  990. local Weld = Create("Weld")({
  991. Parent = Parent,
  992. Part0 = Part0,
  993. Part1 = Part1,
  994. C0 = C0,
  995. C1 = C1
  996. })
  997. return Weld
  998. end
  999.  
  1000.  
  1001. -------------------------------------------------------
  1002. --Start Effect Function--
  1003. -------------------------------------------------------
  1004. EffectModel = Instance.new("Model", char)
  1005. Effects = {
  1006. Block = {
  1007. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1008. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1009. prt.Anchored = true
  1010. prt.CFrame = cframe
  1011. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1012. game:GetService("Debris"):AddItem(prt, 10)
  1013. if Type == 1 or Type == nil then
  1014. table.insert(Effects, {
  1015. prt,
  1016. "Block1",
  1017. delay,
  1018. x3,
  1019. y3,
  1020. z3,
  1021. msh
  1022. })
  1023. elseif Type == 2 then
  1024. table.insert(Effects, {
  1025. prt,
  1026. "Block2",
  1027. delay,
  1028. x3,
  1029. y3,
  1030. z3,
  1031. msh
  1032. })
  1033. else
  1034. table.insert(Effects, {
  1035. prt,
  1036. "Block3",
  1037. delay,
  1038. x3,
  1039. y3,
  1040. z3,
  1041. msh
  1042. })
  1043. end
  1044. end
  1045. },
  1046. Sphere = {
  1047. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1048. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1049. prt.Anchored = true
  1050. prt.CFrame = cframe
  1051. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1052. game:GetService("Debris"):AddItem(prt, 10)
  1053. table.insert(Effects, {
  1054. prt,
  1055. "Cylinder",
  1056. delay,
  1057. x3,
  1058. y3,
  1059. z3,
  1060. msh
  1061. })
  1062. end
  1063. },
  1064. Cylinder = {
  1065. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1066. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1067. prt.Anchored = true
  1068. prt.CFrame = cframe
  1069. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1070. game:GetService("Debris"):AddItem(prt, 10)
  1071. table.insert(Effects, {
  1072. prt,
  1073. "Cylinder",
  1074. delay,
  1075. x3,
  1076. y3,
  1077. z3,
  1078. msh
  1079. })
  1080. end
  1081. },
  1082. Wave = {
  1083. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1084. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1085. prt.Anchored = true
  1086. prt.CFrame = cframe
  1087. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  1088. game:GetService("Debris"):AddItem(prt, 10)
  1089. table.insert(Effects, {
  1090. prt,
  1091. "Cylinder",
  1092. delay,
  1093. x3 / 60,
  1094. y3 / 60,
  1095. z3 / 60,
  1096. msh
  1097. })
  1098. end
  1099. },
  1100. Ring = {
  1101. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1102. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1103. prt.Anchored = true
  1104. prt.CFrame = cframe
  1105. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1106. game:GetService("Debris"):AddItem(prt, 10)
  1107. table.insert(Effects, {
  1108. prt,
  1109. "Cylinder",
  1110. delay,
  1111. x3,
  1112. y3,
  1113. z3,
  1114. msh
  1115. })
  1116. end
  1117. },
  1118. Break = {
  1119. Create = function(brickcolor, cframe, x1, y1, z1)
  1120. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1121. prt.Anchored = true
  1122. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1123. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1124. local num = math.random(10, 50) / 1000
  1125. game:GetService("Debris"):AddItem(prt, 10)
  1126. table.insert(Effects, {
  1127. prt,
  1128. "Shatter",
  1129. num,
  1130. prt.CFrame,
  1131. math.random() - math.random(),
  1132. 0,
  1133. math.random(50, 100) / 100
  1134. })
  1135. end
  1136. },
  1137. Spiral = {
  1138. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1139. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1140. prt.Anchored = true
  1141. prt.CFrame = cframe
  1142. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1143. game:GetService("Debris"):AddItem(prt, 10)
  1144. table.insert(Effects, {
  1145. prt,
  1146. "Cylinder",
  1147. delay,
  1148. x3,
  1149. y3,
  1150. z3,
  1151. msh
  1152. })
  1153. end
  1154. },
  1155. Push = {
  1156. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1157. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1158. prt.Anchored = true
  1159. prt.CFrame = cframe
  1160. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1161. game:GetService("Debris"):AddItem(prt, 10)
  1162. table.insert(Effects, {
  1163. prt,
  1164. "Cylinder",
  1165. delay,
  1166. x3,
  1167. y3,
  1168. z3,
  1169. msh
  1170. })
  1171. end
  1172. }
  1173. }
  1174. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  1175. local fp = IT("Part")
  1176. fp.formFactor = formfactor
  1177. fp.Parent = parent
  1178. fp.Reflectance = reflectance
  1179. fp.Transparency = transparency
  1180. fp.CanCollide = false
  1181. fp.Locked = true
  1182. fp.BrickColor = brickcolor
  1183. fp.Name = name
  1184. fp.Size = size
  1185. fp.Position = tors.Position
  1186. RemoveOutlines(fp)
  1187. fp.Material = "SmoothPlastic"
  1188. fp:BreakJoints()
  1189. return fp
  1190. end
  1191.  
  1192. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1193. local mesh = IT(Mesh)
  1194. mesh.Parent = part
  1195. if Mesh == "SpecialMesh" then
  1196. mesh.MeshType = meshtype
  1197. if meshid ~= "nil" then
  1198. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  1199. end
  1200. end
  1201. mesh.Offset = offset
  1202. mesh.Scale = scale
  1203. return mesh
  1204. end
  1205.  
  1206. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  1207. local type = type
  1208. local rng = Instance.new("Part", char)
  1209. rng.Anchored = true
  1210. rng.BrickColor = color
  1211. rng.CanCollide = false
  1212. rng.FormFactor = 3
  1213. rng.Name = "Ring"
  1214. rng.Material = "Neon"
  1215. rng.Size = Vector3.new(1, 1, 1)
  1216. rng.Transparency = 0
  1217. rng.TopSurface = 0
  1218. rng.BottomSurface = 0
  1219. rng.CFrame = pos
  1220. local rngm = Instance.new("SpecialMesh", rng)
  1221. rngm.MeshType = MType
  1222. rngm.Scale = scale
  1223. local scaler2 = 1
  1224. if type == "Add" then
  1225. scaler2 = 1 * value
  1226. elseif type == "Divide" then
  1227. scaler2 = 1 / value
  1228. end
  1229. coroutine.resume(coroutine.create(function()
  1230. for i = 0, 10 / bonuspeed, 0.1 do
  1231. swait()
  1232. if type == "Add" then
  1233. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1234. elseif type == "Divide" then
  1235. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1236. end
  1237. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1238. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  1239. end
  1240. rng:Destroy()
  1241. end))
  1242. end
  1243.  
  1244. function Eviscerate(dude)
  1245. if dude.Name ~= char then
  1246. local bgf = IT("BodyGyro", dude.Head)
  1247. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1248. local val = IT("BoolValue", dude)
  1249. val.Name = "IsHit"
  1250. local ds = coroutine.wrap(function()
  1251. dude:WaitForChild("Head"):BreakJoints()
  1252. wait(0.5)
  1253. target = nil
  1254. coroutine.resume(coroutine.create(function()
  1255. for i, v in pairs(dude:GetChildren()) do
  1256. if v:IsA("Accessory") then
  1257. v:Destroy()
  1258. end
  1259. if v:IsA("Humanoid") then
  1260. v:Destroy()
  1261. end
  1262. if v:IsA("CharacterMesh") then
  1263. v:Destroy()
  1264. end
  1265. if v:IsA("Model") then
  1266. v:Destroy()
  1267. end
  1268. if v:IsA("Part") or v:IsA("MeshPart") then
  1269. for x, o in pairs(v:GetChildren()) do
  1270. if o:IsA("Decal") then
  1271. o:Destroy()
  1272. end
  1273. end
  1274. coroutine.resume(coroutine.create(function()
  1275. v.Material = "Neon"
  1276. v.CanCollide = false
  1277. local PartEmmit1 = IT("ParticleEmitter", v)
  1278. PartEmmit1.LightEmission = 1
  1279. PartEmmit1.Texture = "rbxassetid://284205403"
  1280. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1281. PartEmmit1.Rate = 150
  1282. PartEmmit1.Lifetime = NumberRange.new(1)
  1283. PartEmmit1.Size = NumberSequence.new({
  1284. NumberSequenceKeypoint.new(0, 0.75, 0),
  1285. NumberSequenceKeypoint.new(1, 0, 0)
  1286. })
  1287. PartEmmit1.Transparency = NumberSequence.new({
  1288. NumberSequenceKeypoint.new(0, 0, 0),
  1289. NumberSequenceKeypoint.new(1, 1, 0)
  1290. })
  1291. PartEmmit1.Speed = NumberRange.new(0, 0)
  1292. PartEmmit1.VelocitySpread = 30000
  1293. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1294. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1295. local BodPoss = IT("BodyPosition", v)
  1296. BodPoss.P = 3000
  1297. BodPoss.D = 1000
  1298. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1299. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1300. v.Color = maincolor.Color
  1301. coroutine.resume(coroutine.create(function()
  1302. for i = 0, 49 do
  1303. swait(1)
  1304. v.Transparency = v.Transparency + 0.08
  1305. end
  1306. wait(0.5)
  1307. PartEmmit1.Enabled = false
  1308. wait(3)
  1309. v:Destroy()
  1310. dude:Destroy()
  1311. end))
  1312. end))
  1313. end
  1314. end
  1315. end))
  1316. end)
  1317. ds()
  1318. end
  1319. end
  1320.  
  1321. function FindNearestHead(Position, Distance, SinglePlayer)
  1322. if SinglePlayer then
  1323. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1324. end
  1325. local List = {}
  1326. for i, v in pairs(workspace:GetChildren()) do
  1327. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1328. table.insert(List, v)
  1329. end
  1330. end
  1331. return List
  1332. end
  1333.  
  1334. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1335. local type = type
  1336. local rng = Instance.new("Part", char)
  1337. rng.Anchored = true
  1338. rng.BrickColor = color
  1339. rng.CanCollide = false
  1340. rng.FormFactor = 3
  1341. rng.Name = "Ring"
  1342. rng.Material = "Neon"
  1343. rng.Size = Vector3.new(1, 1, 1)
  1344. rng.Transparency = 0
  1345. rng.TopSurface = 0
  1346. rng.BottomSurface = 0
  1347. rng.CFrame = pos
  1348. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1349. local rngm = Instance.new("SpecialMesh", rng)
  1350. rngm.MeshType = MType
  1351. rngm.Scale = Vector3.new(x1, y1, z1)
  1352. local scaler2 = 1
  1353. local speeder = FastSpeed
  1354. if type == "Add" then
  1355. scaler2 = 1 * value
  1356. elseif type == "Divide" then
  1357. scaler2 = 1 / value
  1358. end
  1359. coroutine.resume(coroutine.create(function()
  1360. for i = 0, 10 / bonuspeed, 0.1 do
  1361. swait()
  1362. if type == "Add" then
  1363. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1364. elseif type == "Divide" then
  1365. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1366. end
  1367. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1368. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1369. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1370. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1371. end
  1372. rng:Destroy()
  1373. end))
  1374. end
  1375.  
  1376. function SoulSteal(dude)
  1377. if dude.Name ~= char then
  1378. local bgf = IT("BodyGyro", dude.Head)
  1379. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1380. local val = IT("BoolValue", dude)
  1381. val.Name = "IsHit"
  1382. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1383. local soulst = coroutine.wrap(function()
  1384. local soul = Instance.new("Part",dude)
  1385. soul.Size = Vector3.new(1,1,1)
  1386. soul.CanCollide = false
  1387. soul.Anchored = false
  1388. soul.Position = torso.Position
  1389. soul.Transparency = 1
  1390. local PartEmmit1 = IT("ParticleEmitter", soul)
  1391. PartEmmit1.LightEmission = 1
  1392. PartEmmit1.Texture = "rbxassetid://569507414"
  1393. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1394. PartEmmit1.Rate = 250
  1395. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1396. PartEmmit1.Size = NumberSequence.new({
  1397. NumberSequenceKeypoint.new(0, 1, 0),
  1398. NumberSequenceKeypoint.new(1, 0, 0)
  1399. })
  1400. PartEmmit1.Transparency = NumberSequence.new({
  1401. NumberSequenceKeypoint.new(0, 0, 0),
  1402. NumberSequenceKeypoint.new(1, 1, 0)
  1403. })
  1404. PartEmmit1.Speed = NumberRange.new(0, 0)
  1405. PartEmmit1.VelocitySpread = 30000
  1406. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1407. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1408. local BodPoss = IT("BodyPosition", soul)
  1409. BodPoss.P = 3000
  1410. BodPoss.D = 1000
  1411. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1412. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1413. wait(1.6)
  1414. soul.Touched:connect(function(hit)
  1415. if hit.Parent == char then
  1416. soul:Destroy()
  1417. end
  1418. end)
  1419. wait(1.2)
  1420. while soul do
  1421. swait()
  1422. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1423. BodPoss.Position = tors.Position
  1424. end
  1425. end)
  1426. soulst()
  1427. end
  1428. end
  1429.  
  1430.  
  1431.  
  1432.  
  1433. --killer's effects
  1434.  
  1435.  
  1436.  
  1437.  
  1438.  
  1439. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1440. local Part = Create("Part"){
  1441. Parent = Parent,
  1442. Reflectance = Reflectance,
  1443. Transparency = Transparency,
  1444. CanCollide = false,
  1445. Locked = true,
  1446. BrickColor = BrickColor.new(tostring(BColor)),
  1447. Name = Name,
  1448. Size = Size,
  1449. Material = Material,
  1450. }
  1451. RemoveOutlines(Part)
  1452. return Part
  1453. end
  1454.  
  1455. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1456. local Msh = Create(Mesh){
  1457. Parent = Part,
  1458. Offset = OffSet,
  1459. Scale = Scale,
  1460. }
  1461. if Mesh == "SpecialMesh" then
  1462. Msh.MeshType = MeshType
  1463. Msh.MeshId = MeshId
  1464. end
  1465. return Msh
  1466. end
  1467.  
  1468.  
  1469.  
  1470. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1471. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1472. prt.Anchored = true
  1473. prt.CFrame = cframe
  1474. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1475. game:GetService("Debris"):AddItem(prt, 10)
  1476. if Type == 1 or Type == nil then
  1477. table.insert(Effects, {
  1478. prt,
  1479. "Block1",
  1480. delay,
  1481. x3,
  1482. y3,
  1483. z3,
  1484. msh
  1485. })
  1486. elseif Type == 2 then
  1487. table.insert(Effects, {
  1488. prt,
  1489. "Block2",
  1490. delay,
  1491. x3,
  1492. y3,
  1493. z3,
  1494. msh
  1495. })
  1496. end
  1497. end
  1498.  
  1499. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1500. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1501. prt.Anchored = true
  1502. prt.CFrame = cframe
  1503. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1504. game:GetService("Debris"):AddItem(prt, 10)
  1505. table.insert(Effects, {
  1506. prt,
  1507. "Cylinder",
  1508. delay,
  1509. x3,
  1510. y3,
  1511. z3,
  1512. msh
  1513. })
  1514. end
  1515.  
  1516. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1517. local prt=CreatePart(workspace,"Neon",0,0,brickcolor,"Effect",vt(.5,.5,.5))--part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1518. prt.Anchored=true
  1519. prt.CFrame=cframe
  1520. msh=CreateMesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  1521. game:GetService("Debris"):AddItem(prt,2)
  1522. coroutine.resume(coroutine.create(function(Part,Mesh,num)
  1523. for i=0,1,delay do
  1524. swait()
  1525. Part.Transparency=i
  1526. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1527. end
  1528. Part.Parent=nil
  1529. end),prt,msh,(math.random(0,1)+math.random())/5)
  1530. end
  1531.  
  1532. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1533. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1534. prt.Anchored = true
  1535. prt.CFrame = cframe
  1536. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1537. game:GetService("Debris"):AddItem(prt, 10)
  1538. table.insert(Effects, {
  1539. prt,
  1540. "Cylinder",
  1541. delay,
  1542. x3,
  1543. y3,
  1544. z3,
  1545. msh
  1546. })
  1547. end
  1548.  
  1549. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1550. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1551. prt.Anchored = true
  1552. prt.CFrame = cframe
  1553. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1554. game:GetService("Debris"):AddItem(prt, 10)
  1555. table.insert(Effects, {
  1556. prt,
  1557. "Cylinder",
  1558. delay,
  1559. x3,
  1560. y3,
  1561. z3,
  1562. msh
  1563. })
  1564. end
  1565.  
  1566. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1567. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1568. prt.Anchored = true
  1569. prt.CFrame = cframe
  1570. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1571. game:GetService("Debris"):AddItem(prt, 10)
  1572. table.insert(Effects, {
  1573. prt,
  1574. "Cylinder",
  1575. delay,
  1576. x3,
  1577. y3,
  1578. z3,
  1579. msh
  1580. })
  1581. end
  1582.  
  1583.  
  1584. function MoonEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1585. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1586. prt.Anchored = true
  1587. prt.CFrame = cframe
  1588. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://259403370", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1589. game:GetService("Debris"):AddItem(prt, 10)
  1590. table.insert(Effects, {
  1591. prt,
  1592. "Cylinder",
  1593. delay,
  1594. x3,
  1595. y3,
  1596. z3,
  1597. msh
  1598. })
  1599. end
  1600.  
  1601. function HeadEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1602. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1603. prt.Anchored = true
  1604. prt.CFrame = cframe
  1605. local msh = CreateMesh("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1606. game:GetService("Debris"):AddItem(prt, 10)
  1607. table.insert(Effects, {
  1608. prt,
  1609. "Cylinder",
  1610. delay,
  1611. x3,
  1612. y3,
  1613. z3,
  1614. msh
  1615. })
  1616. end
  1617.  
  1618. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  1619. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1620. prt.Anchored = true
  1621. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1622. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1623. local num = math.random(10, 50) / 1000
  1624. game:GetService("Debris"):AddItem(prt, 10)
  1625. table.insert(Effects, {
  1626. prt,
  1627. "Shatter",
  1628. num,
  1629. prt.CFrame,
  1630. math.random() - math.random(),
  1631. 0,
  1632. math.random(50, 100) / 100
  1633. })
  1634. end
  1635.  
  1636.  
  1637.  
  1638.  
  1639.  
  1640. so = function(id,par,vol,pit)
  1641. coroutine.resume(coroutine.create(function()
  1642. local sou = Instance.new("Sound",par or workspace)
  1643. sou.Volume=vol
  1644. sou.Pitch=pit or 1
  1645. sou.SoundId=id
  1646. sou:play()
  1647. game:GetService("Debris"):AddItem(sou,8)
  1648. end))
  1649. end
  1650.  
  1651.  
  1652. --end of killer's effects
  1653.  
  1654.  
  1655. function FaceMouse()
  1656. local Cam = workspace.CurrentCamera
  1657. return {
  1658. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1659. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1660. }
  1661. end
  1662. -------------------------------------------------------
  1663. --End Effect Function--
  1664. -------------------------------------------------------
  1665. function Cso(ID, PARENT, VOLUME, PITCH)
  1666. local NSound = nil
  1667. coroutine.resume(coroutine.create(function()
  1668. NSound = IT("Sound", PARENT)
  1669. NSound.Volume = VOLUME
  1670. NSound.Pitch = PITCH
  1671. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1672. swait()
  1673. NSound:play()
  1674. game:GetService("Debris"):AddItem(NSound, 10)
  1675. end))
  1676. return NSound
  1677. end
  1678. function CameraEnshaking(Length, Intensity)
  1679. coroutine.resume(coroutine.create(function()
  1680. local intensity = 1 * Intensity
  1681. local rotM = 0.01 * Intensity
  1682. for i = 0, Length, 0.1 do
  1683. swait()
  1684. intensity = intensity - 0.05 * Intensity / Length
  1685. rotM = rotM - 5.0E-4 * Intensity / Length
  1686. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1687. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  1688. end
  1689. hum.CameraOffset = Vector3.new(0, 0, 0)
  1690. end))
  1691. end
  1692. -------------------------------------------------------
  1693. --End Important Functions--
  1694. -------------------------------------------------------
  1695.  
  1696.  
  1697. -------------------------------------------------------
  1698. --Start Customization--
  1699. -------------------------------------------------------
  1700. local Player_Size = 1
  1701. if Player_Size ~= 1 then
  1702. root.Size = root.Size * Player_Size
  1703. tors.Size = tors.Size * Player_Size
  1704. hed.Size = hed.Size * Player_Size
  1705. ra.Size = ra.Size * Player_Size
  1706. la.Size = la.Size * Player_Size
  1707. rl.Size = rl.Size * Player_Size
  1708. ll.Size = ll.Size * Player_Size
  1709. ----------------------------------------------------------------------------------
  1710. rootj.Parent = root
  1711. neck.Parent = tors
  1712. RW.Parent = tors
  1713. LW.Parent = tors
  1714. RH.Parent = tors
  1715. LH.Parent = tors
  1716. ----------------------------------------------------------------------------------
  1717. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1718. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1719. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1720. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1721. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1722. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1723. ----------------------------------------------------------------------------------
  1724. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1725. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1726. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1727. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1728. --hat.Parent = Character
  1729. end
  1730. ----------------------------------------------------------------------------------
  1731. local SONG = 900817147 --900817147
  1732. local SONG2 = 0
  1733. local Music = Instance.new("Sound",tors)
  1734. Music.Volume = 0.7
  1735. Music.Looped = true
  1736. Music.Pitch = 1 --Pitcher
  1737. ----------------------------------------------------------------------------------
  1738. local equipped = false
  1739. local idle = 0
  1740. local change = 1
  1741. local val = 0
  1742. local toim = 0
  1743. local idleanim = 0.4
  1744. local sine = 0
  1745. local Sit = 1
  1746. local attacktype = 1
  1747. local attackdebounce = false
  1748. local euler = CFrame.fromEulerAnglesXYZ
  1749. local cankick = false
  1750. ----------------------------------------------------------------------------------
  1751. hum.WalkSpeed = 8
  1752. hum.JumpPower = 57
  1753. --[[
  1754. local ROBLOXIDLEANIMATION = IT("Animation")
  1755. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  1756. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  1757. ]]
  1758. local ANIMATOR = hum.Animator
  1759. local ANIMATE = char.Animate
  1760. ANIMATE.Parent = nil
  1761. ANIMATOR.Parent = nil
  1762. -------------------------------------------------------
  1763. --End Customization--
  1764. -------------------------------------------------------
  1765.  
  1766.  
  1767. -------------------------------------------------------
  1768. --Start Attacks N Stuff--
  1769. -------------------------------------------------------
  1770.  
  1771. --pls be proud mak i did my best
  1772.  
  1773.  
  1774.  
  1775. function attackone()
  1776.  
  1777. attack = true
  1778.  
  1779. for i = 0, 1.35, 0.1 do
  1780. swait()
  1781. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-4-2*i), math.rad(4+2*i), math.rad(-40-11*i)), 0.2)
  1782. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(40+11*i)), 0.2)
  1783. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.6, 0.2) * angles(math.rad(90+4*i), math.rad(-43), math.rad(16+6*i)), 0.3)
  1784. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-43)), 0.3)
  1785. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.7, 0) * RHCF * angles(math.rad(-34), math.rad(0), math.rad(-17)), 0.2)
  1786. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, -0.2) * LHCF * angles(math.rad(-24), math.rad(0), math.rad(0)), 0.2)
  1787. end
  1788.  
  1789. so("http://roblox.com/asset/?id=1340545854",ra,1,math.random(0.7,1))
  1790.  
  1791.  
  1792. con5=ra.Touched:connect(function(hit)
  1793. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1794. if attackdebounce == false then
  1795. attackdebounce = true
  1796.  
  1797. kDamagefunc(hit,3,4,math.random(2,3),"Normal",root,0,1)
  1798.  
  1799. so("http://roblox.com/asset/?id=636494529",ra,2,1)
  1800.  
  1801. RingEffect(BrickColor.new("White"),ra.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  1802. RingEffect(BrickColor.new("White"),ra.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  1803. SphereEffect(BrickColor.new("White"),ra.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  1804.  
  1805.  
  1806. coroutine.resume(coroutine.create(function()
  1807. for i = 0,1,0.1 do
  1808. swait()
  1809. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24)
  1810. end
  1811. end))
  1812.  
  1813.  
  1814. wait(0.34)
  1815. attackdebounce = false
  1816.  
  1817. end
  1818. end
  1819. end)
  1820. for i = 0, 1.12, 0.1 do
  1821. swait()
  1822. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.9, -0) * angles(math.rad(14), math.rad(6), math.rad(23)), 0.35)
  1823. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-4), math.rad(0), math.rad(-23)), 0.35)
  1824. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -0.8) * angles(math.rad(110), math.rad(23), math.rad(2)), 0.4)
  1825. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0.2) * angles(math.rad(-37), math.rad(0), math.rad(-13)), 0.35)
  1826. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.3) * RHCF * angles(math.rad(-4), math.rad(0), math.rad(6)), 0.3)
  1827. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0.05) * LHCF * angles(math.rad(-22), math.rad(0), math.rad(23)), 0.3)
  1828. end
  1829.  
  1830. con5:Disconnect()
  1831. attack = false
  1832.  
  1833. end
  1834.  
  1835.  
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845.  
  1846. function attacktwo()
  1847.  
  1848. attack = true
  1849.  
  1850. for i = 0, 1.35, 0.1 do
  1851. swait()
  1852. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-4), math.rad(-4), math.rad(40)), 0.2)
  1853. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2)
  1854. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(46)), 0.3)
  1855. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, 0.2) * angles(math.rad(90), math.rad(23), math.rad(6)), 0.3)
  1856. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.7, -0.2) * RHCF * angles(math.rad(-34), math.rad(0), math.rad(-17)), 0.2)
  1857. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-24), math.rad(0), math.rad(0)), 0.2)
  1858. end
  1859.  
  1860. so("http://roblox.com/asset/?id=1340545854",la,1,math.random(0.7,1))
  1861.  
  1862.  
  1863. con5=la.Touched:connect(function(hit)
  1864. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1865. if attackdebounce == false then
  1866. attackdebounce = true
  1867.  
  1868. kDamagefunc(hit,3,4,math.random(2,3),"Normal",root,0,1)
  1869.  
  1870. so("http://roblox.com/asset/?id=636494529",la,2,1)
  1871.  
  1872. RingEffect(BrickColor.new("White"),la.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  1873. RingEffect(BrickColor.new("White"),la.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  1874. SphereEffect(BrickColor.new("White"),la.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  1875.  
  1876.  
  1877. coroutine.resume(coroutine.create(function()
  1878. for i = 0,1,0.1 do
  1879. swait()
  1880. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24)
  1881. end
  1882. end))
  1883.  
  1884.  
  1885. wait(0.34)
  1886. attackdebounce = false
  1887.  
  1888. end
  1889. end
  1890. end)
  1891.  
  1892.  
  1893.  
  1894.  
  1895. for i = 0, 1.12, 0.1 do
  1896. swait()
  1897. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.9, -0) * angles(math.rad(14), math.rad(-6), math.rad(-27)), 0.35)
  1898. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-4), math.rad(0), math.rad(27)), 0.35)
  1899. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.16) * angles(math.rad(-33), math.rad(0), math.rad(23)), 0.4)
  1900. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.67, -0.9) * angles(math.rad(116), math.rad(-28), math.rad(1)), 0.35)
  1901. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0.05) * RHCF * angles(math.rad(-22), math.rad(0), math.rad(-18)), 0.3)
  1902. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, -0.3) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(4)), 0.3)
  1903. end
  1904.  
  1905. con5:Disconnect()
  1906. attack = false
  1907.  
  1908. end
  1909.  
  1910.  
  1911.  
  1912.  
  1913.  
  1914. function attackthree()
  1915.  
  1916. attack = true
  1917.  
  1918.  
  1919. for i = 0, 1.14, 0.1 do
  1920. swait()
  1921. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-4), math.rad(-4), math.rad(40)), 0.2)
  1922. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2)
  1923. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-46)), 0.3)
  1924. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, 0.2) * angles(math.rad(90), math.rad(23), math.rad(36)), 0.3)
  1925. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.7, -0.2) * RHCF * angles(math.rad(-34), math.rad(0), math.rad(-17)), 0.2)
  1926. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-12), math.rad(0), math.rad(34)), 0.2)
  1927. end
  1928.  
  1929. con5=hum.Touched:connect(function(hit)
  1930. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1931. if attackdebounce == false then
  1932. attackdebounce = true
  1933.  
  1934. kDamagefunc(hit,4,5,math.random(3,4),"Normal",root,0,1)
  1935. so("http://roblox.com/asset/?id=636494529",ll,2,1)
  1936.  
  1937. RingEffect(BrickColor.new("White"),ll.CFrame*CF(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  1938. RingEffect(BrickColor.new("White"),ll.CFrame*CF(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  1939. SphereEffect(BrickColor.new("White"),ll.CFrame*CF(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  1940.  
  1941.  
  1942. coroutine.resume(coroutine.create(function()
  1943. for i = 0,1,0.1 do
  1944. swait()
  1945. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24)
  1946. end
  1947. end))
  1948.  
  1949.  
  1950. wait(0.34)
  1951. attackdebounce = false
  1952.  
  1953. end
  1954. end
  1955. end)
  1956.  
  1957. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  1958. for i = 0, 9.14, 0.3 do
  1959. swait()
  1960. BlockEffect(BrickColor.new("White"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  1961. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(8), math.rad(8), math.rad(0-54*i)), 0.35)
  1962. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
  1963. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
  1964. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
  1965. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(7), math.rad(0), math.rad(4)), 0.35)
  1966. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-64-7*i), math.rad(0), math.rad(0-9*i)), 0.35)
  1967. end
  1968. attack = false
  1969. con5:disconnect()
  1970. end
  1971.  
  1972.  
  1973.  
  1974. function attackfour()
  1975.  
  1976. attack = true
  1977. so("http://www.roblox.com/asset/?id=1452040709", RightLeg, 3, 1)
  1978. WaveEffect(BrickColor.new("White"), root.CFrame * CFrame.new(0, -1, 0) * euler(0, math.random(-50, 50), 0), 1, 1, 1, 1, 0.5, 1, 0.05)
  1979. for i = 0, 5.14, 0.1 do
  1980. swait()
  1981. SphereEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
  1982. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.8) * angles(math.rad(24+4*i), math.rad(0), math.rad(0)), 0.2)
  1983. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0+11*i), math.rad(0), math.rad(0)), 0.2)
  1984. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0-6*i), math.rad(0), math.rad(36+4*i)), 0.3)
  1985. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0-6*i), math.rad(0), math.rad(-36-4*i)), 0.3)
  1986. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.6, -0.3) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-28+4*i)), 0.2)
  1987. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.2, -0.5) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-34-4*i)), 0.2)
  1988. end
  1989. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  1990. local velo=Instance.new("BodyVelocity")
  1991. velo.velocity=vt(0,25,0)
  1992. velo.P=8000
  1993. velo.maxForce=Vector3.new(math.huge, math.huge, math.huge)
  1994. velo.Parent=root
  1995. game:GetService("Debris"):AddItem(velo,0.7)
  1996.  
  1997.  
  1998.  
  1999. con5=hum.Touched:connect(function(hit)
  2000. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2001. if attackdebounce == false then
  2002. attackdebounce = true
  2003. coroutine.resume(coroutine.create(function()
  2004. for i = 0,1.5,0.1 do
  2005. swait()
  2006. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.6,-1.8)
  2007. end
  2008. end))
  2009. kDamagefunc(hit,3,4,math.random(0,0),"Normal",root,0,1)
  2010. so("http://roblox.com/asset/?id=636494529",rl,2,1)
  2011. RingEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2012. RingEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2013. SphereEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  2014.  
  2015.  
  2016.  
  2017. coroutine.resume(coroutine.create(function()
  2018. for i = 0,1,0.1 do
  2019. swait()
  2020. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.75*1.8,0.75*1.8),math.random(-0.75*1.8,0.75*1.8),math.random(-0.75*1.8,0.75*1.8)),0.44)
  2021. end
  2022. end))
  2023.  
  2024.  
  2025. wait(0.14)
  2026. attackdebounce = false
  2027. end
  2028. end
  2029. end)
  2030.  
  2031. for i = 0, 5.11, 0.15 do
  2032. swait()
  2033. BlockEffect(BrickColor.new("White"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2034. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, 0.1+0.2*i) * angles(math.rad(-10-80*i), math.rad(0), math.rad(0)), 0.42)
  2035. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-43), math.rad(0), math.rad(0)), 0.42)
  2036. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-8), math.rad(0), math.rad(60)), 0.35)
  2037. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-8), math.rad(0), math.rad(-60)), 0.35)
  2038. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.5, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20+10*i)), 0.42)
  2039. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.5, -0.4) * LHCF * angles(math.rad(0), math.rad(0), math.rad(24)), 0.42)
  2040. end
  2041.  
  2042.  
  2043. attack = false
  2044. con5:disconnect()
  2045. end
  2046.  
  2047.  
  2048.  
  2049.  
  2050.  
  2051. local cooldown = false
  2052. function quickkick()
  2053. attack = true
  2054.  
  2055.  
  2056. con5=hum.Touched:connect(function(hit)
  2057. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2058. if attackdebounce == false then
  2059. attackdebounce = true
  2060.  
  2061. coroutine.resume(coroutine.create(function()
  2062. for i = 0,1.5,0.1 do
  2063. swait()
  2064. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.3,-1.8)
  2065. end
  2066. end))
  2067.  
  2068. kDamagefunc(hit,1,2,math.random(0,0),"Normal",root,0,1)
  2069. so("http://roblox.com/asset/?id=636494529",rl,2,1)
  2070. RingEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2071. RingEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2072. SphereEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  2073.  
  2074.  
  2075.  
  2076. coroutine.resume(coroutine.create(function()
  2077. for i = 0,1,0.1 do
  2078. swait()
  2079. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.8*1.8,0.8*1.8),math.random(-0.8*1.8,0.8*1.8),math.random(-0.8*1.8,0.8*1.8)),0.44)
  2080. end
  2081. end))
  2082.  
  2083.  
  2084. wait(0.08)
  2085. attackdebounce = false
  2086. end
  2087. end
  2088. end)
  2089.  
  2090. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  2091. for i = 0, 11.14, 0.3 do
  2092. swait()
  2093. root.Velocity = root.CFrame.lookVector * 30
  2094. BlockEffect(BrickColor.new("White"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2095. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(-21-30*i), math.rad(8+10*i), math.rad(0-90*i)), 0.35)
  2096. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
  2097. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
  2098. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
  2099. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(7), math.rad(0), math.rad(4)), 0.35)
  2100. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-64-2*i), math.rad(0), math.rad(0-9*i)), 0.35)
  2101. end
  2102. attack = false
  2103. con5:disconnect()
  2104. end
  2105.  
  2106.  
  2107.  
  2108.  
  2109.  
  2110.  
  2111.  
  2112.  
  2113. function Taunt()
  2114. attack = true
  2115. hum.WalkSpeed = 0
  2116. Cso("1535995570", hed, 8.45, 1)
  2117. for i = 0, 8.2, 0.1 do
  2118. swait()
  2119. hum.WalkSpeed = 0
  2120. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 12)) * angles(Rad(0), Rad(0), Rad(0)), 0.2)
  2121. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25), Rad(0), Rad(16 * Cos(sine / 12))), 0.2)
  2122. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.1)
  2123. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.1)
  2124. RW.C0 = clerp(RW.C0, CF(1.1* Player_Size, 0.5 + 0.05 * Sin(sine / 12)* Player_Size, -0.5* Player_Size) * angles(Rad(180), Rad(6), Rad(-56)), 0.1)
  2125. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.1 + 0.05 * Sin(sine / 12)* Player_Size, -0.5* Player_Size) * angles(Rad(45), Rad(6), Rad(86)), 0.1)
  2126. end
  2127. attack = false
  2128. hum.WalkSpeed = 8
  2129. end
  2130.  
  2131.  
  2132.  
  2133.  
  2134.  
  2135.  
  2136.  
  2137. function Hyperkickcombo()
  2138.  
  2139. attack = true
  2140. so("http://www.roblox.com/asset/?id=1452040709", RightLeg, 3, 1)
  2141. WaveEffect(BrickColor.new("White"), root.CFrame * CFrame.new(0, -1, 0) * euler(0, math.random(-50, 50), 0), 1, 1, 1, 1, 0.5, 1, 0.05)
  2142. for i = 0, 7.14, 0.1 do
  2143. swait()
  2144. SphereEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
  2145. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.8) * angles(math.rad(24), math.rad(0), math.rad(0)), 0.2)
  2146. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  2147. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(36)), 0.3)
  2148. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-36)), 0.3)
  2149. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.6, -0.3) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-28)), 0.2)
  2150. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.2, -0.5) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-34)), 0.2)
  2151. end
  2152. local Cracking = Cso("292536356", tors, 10, 1)
  2153. for i = 0, 7.14, 0.1 do
  2154. swait()
  2155. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
  2156. Aura(5, 0.15, "Add" , root.CFrame * CF(Mrandom(-12, 12), -6, Mrandom(-12, 12)) * angles(Rad(90 + Mrandom(-12, 12)), 0, 0), 1.5, 1.5, 10, -0.015, BrickC"Lime green", 0, "Sphere")
  2157. WaveEffect(BrickColor.new("Lime green"), root.CFrame * CFrame.new(0, -6, 0) * euler(0, math.random(-25, 25), 0), 1, 1, 1, 1, 0.2, 1, 0.05)
  2158. SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
  2159. SphereEffect(BrickColor.new("Lime green"),ll.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
  2160. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.8) * angles(math.rad(24), math.rad(0), math.rad(0)), 0.2)
  2161. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(30), math.rad(0), math.rad(0)), 0.2)
  2162. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(36)), 0.3)
  2163. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-36)), 0.3)
  2164. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.6, -0.3) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-28)), 0.2)
  2165. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.2, -0.5) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-34)), 0.2)
  2166. end
  2167. Cracking.Playing = false
  2168. so("http://www.roblox.com/asset/?id=197161452", char, 3, 0.8)
  2169. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  2170. SphereEffect(BrickColor.new("Lime green"),tors.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,38,38,38,0.08)
  2171. local velo=Instance.new("BodyVelocity")
  2172. velo.velocity=vt(0,27,0)
  2173. velo.P=11000
  2174. velo.maxForce=Vector3.new(math.huge, math.huge, math.huge)
  2175. velo.Parent=root
  2176. game:GetService("Debris"):AddItem(velo,1.24)
  2177.  
  2178.  
  2179.  
  2180. con5=hum.Touched:connect(function(hit)
  2181. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2182. if attackdebounce == false then
  2183. attackdebounce = true
  2184. coroutine.resume(coroutine.create(function()
  2185. for i = 0,1.5,0.1 do
  2186. swait()
  2187. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,3.4,-1.8)
  2188. end
  2189. end))
  2190. kDamagefunc(hit,2,3,math.random(0,0),"Normal",root,0,1)
  2191. so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
  2192. RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2193. RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2194. SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  2195.  
  2196.  
  2197.  
  2198. coroutine.resume(coroutine.create(function()
  2199. for i = 0,1,0.1 do
  2200. swait()
  2201. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
  2202. end
  2203. end))
  2204.  
  2205.  
  2206. wait(0.09)
  2207. attackdebounce = false
  2208. end
  2209. end
  2210. end)
  2211.  
  2212. for i = 0, 9.11, 0.2 do
  2213. swait()
  2214. BlockEffect(BrickColor.new("Lime green"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2215. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, 0.1+0.12*i) * angles(math.rad(-10-95*i), math.rad(0), math.rad(0)), 0.42)
  2216. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-43), math.rad(0), math.rad(0)), 0.42)
  2217. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-8), math.rad(0), math.rad(60)), 0.35)
  2218. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-8), math.rad(0), math.rad(-60)), 0.35)
  2219. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.5, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20+10*i)), 0.42)
  2220. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.5, -0.4) * LHCF * angles(math.rad(0), math.rad(0), math.rad(24)), 0.42)
  2221. end
  2222.  
  2223.  
  2224.  
  2225.  
  2226. con5:disconnect()
  2227.  
  2228.  
  2229.  
  2230.  
  2231.  
  2232.  
  2233. con5=hum.Touched:connect(function(hit)
  2234. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2235. if attackdebounce == false then
  2236. attackdebounce = true
  2237. coroutine.resume(coroutine.create(function()
  2238. for i = 0,1.5,0.1 do
  2239. swait()
  2240. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
  2241. end
  2242. end))
  2243. kDamagefunc(hit,3,4,math.random(0,0),"Normal",root,0,1)
  2244.  
  2245. so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
  2246. RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2247. RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2248. SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  2249.  
  2250.  
  2251.  
  2252. coroutine.resume(coroutine.create(function()
  2253. for i = 0,1,0.1 do
  2254. swait()
  2255. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
  2256. end
  2257. end))
  2258.  
  2259.  
  2260. wait(0.08)
  2261. attackdebounce = false
  2262. end
  2263. end
  2264. end)
  2265.  
  2266.  
  2267.  
  2268. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  2269. for i = 0, 9.14, 0.3 do
  2270. swait()
  2271. root.Velocity = root.CFrame.lookVector * 20
  2272. BlockEffect(BrickColor.new("Lime green"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2273. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(53), math.rad(8), math.rad(0-54*i)), 0.35)
  2274. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
  2275. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
  2276. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
  2277. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(7), math.rad(0), math.rad(4)), 0.35)
  2278. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-64-7*i), math.rad(0), math.rad(0-9*i)), 0.35)
  2279. end
  2280.  
  2281.  
  2282.  
  2283. con5:disconnect()
  2284.  
  2285.  
  2286.  
  2287. con5=hum.Touched:connect(function(hit)
  2288. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2289. if attackdebounce == false then
  2290. attackdebounce = true
  2291. coroutine.resume(coroutine.create(function()
  2292. for i = 0,1.5,0.1 do
  2293. swait()
  2294. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
  2295. end
  2296. end))
  2297. kDamagefunc(hit,3,4,math.random(0,0),"Normal",root,0,1)
  2298. so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
  2299. RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2300. RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2301. SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  2302.  
  2303.  
  2304.  
  2305. coroutine.resume(coroutine.create(function()
  2306. for i = 0,1,0.1 do
  2307. swait()
  2308. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
  2309. end
  2310. end))
  2311.  
  2312.  
  2313. wait(0.05)
  2314. attackdebounce = false
  2315. end
  2316. end
  2317. end)
  2318.  
  2319.  
  2320. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  2321. for i = 0, 15.14, 0.32 do
  2322. swait()
  2323. root.Velocity = root.CFrame.lookVector * 20
  2324. BlockEffect(BrickColor.new("Lime green"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2325. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(-21-50*i), math.rad(8+20*i), math.rad(0-90*i)), 0.35)
  2326. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
  2327. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
  2328. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
  2329. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(7), math.rad(0), math.rad(4)), 0.35)
  2330. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-64-2*i), math.rad(0), math.rad(0-4*i)), 0.35)
  2331. end
  2332.  
  2333. attack = false
  2334. con5:disconnect()
  2335.  
  2336. end
  2337.  
  2338.  
  2339.  
  2340.  
  2341.  
  2342. local ultra = false
  2343.  
  2344. function Galekicks()
  2345.  
  2346. attack = true
  2347. so("http://www.roblox.com/asset/?id=1452040709", RightLeg, 3, 1)
  2348. for i = 0, 1.65, 0.1 do
  2349. swait()
  2350. root.Velocity = root.CFrame.lookVector * 0
  2351. SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
  2352. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
  2353. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
  2354. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
  2355. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
  2356. RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
  2357. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
  2358. end
  2359.  
  2360.  
  2361. for i = 1, 17 do
  2362.  
  2363. con5=hum.Touched:connect(function(hit)
  2364. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2365. if attackdebounce == false then
  2366. attackdebounce = true
  2367. coroutine.resume(coroutine.create(function()
  2368. for i = 0,1.5,0.1 do
  2369. swait()
  2370. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
  2371. end
  2372. end))
  2373. kDamagefunc(hit,1,2,math.random(0,0),"Normal",root,0,1)
  2374. so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
  2375. RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2376. RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2377. SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  2378.  
  2379.  
  2380.  
  2381. coroutine.resume(coroutine.create(function()
  2382. for i = 0,1,0.1 do
  2383. swait()
  2384. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
  2385. end
  2386. end))
  2387.  
  2388.  
  2389. wait(0.05)
  2390. attackdebounce = false
  2391. end
  2392. end
  2393. end)
  2394.  
  2395. for i = 0, .1, 0.2 do
  2396. swait()
  2397. BlockEffect(BrickColor.new("Lime green"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 1.5, 1.5, 1.5, 0.03)
  2398. root.Velocity = root.CFrame.lookVector * 10
  2399. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, -0.3) * angles(math.rad(-44), math.rad(-2), math.rad(90)), 0.7)
  2400. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-24), math.rad(-90)), 0.7)
  2401. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.7)
  2402. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.7)
  2403. RH.C0 = clerp(RH.C0, CFrame.new(1, -.6 , 0) * RHCF * angles(math.rad(math.random(-100,-10)), math.rad(0), math.rad(2)), 0.7)
  2404. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-34), math.rad(0), math.rad(0)), 0.7)
  2405. end
  2406.  
  2407. so("http://roblox.com/asset/?id=1340545854",rl,1,math.random(0.7,1))
  2408.  
  2409. for i = 0, 0.4, 0.2 do
  2410. swait()
  2411. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
  2412. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
  2413. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
  2414. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
  2415. RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
  2416. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
  2417. end
  2418. con5:disconnect()
  2419. end
  2420.  
  2421.  
  2422. u = mouse.KeyDown:connect(function(key)
  2423. if key == 'r' and combohits >= 150 then
  2424. ultra = true
  2425. SphereEffect(BrickColor.new("Really red"),tors.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,15,15,15,0.04)
  2426. end
  2427. end)
  2428. wait(0.3)
  2429. if ultra == true then
  2430. combohits = 0
  2431. wait(0.1)
  2432. for i = 0, 1.65, 0.1 do
  2433. swait()
  2434. root.Velocity = root.CFrame.lookVector * 0
  2435. SphereEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
  2436. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
  2437. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
  2438. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
  2439. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
  2440. RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
  2441. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
  2442. end
  2443.  
  2444.  
  2445. so("http://roblox.com/asset/?id=146094803",hed,1,1.2)
  2446.  
  2447. for i = 1, 65 do
  2448. --Aura(5, 0.15, "Add" , root.CFrame * CF(Mrandom(-12, 12), -6, Mrandom(-12, 12)) * angles(Rad(90 + Mrandom(-12, 12)), 0, 0), 1.5, 1.5, 10, -0.015, BrickC"Really red", 0, "Brick")
  2449. con5=hum.Touched:connect(function(hit)
  2450. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2451. if attackdebounce == false then
  2452. attackdebounce = true
  2453. coroutine.resume(coroutine.create(function()
  2454. for i = 0,1.5,0.1 do
  2455. swait()
  2456. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
  2457. end
  2458. end))
  2459. kDamagefunc(hit,1,2,math.random(0,0),"Normal",root,0,1)
  2460.  
  2461.  
  2462.  
  2463.  
  2464. so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
  2465. RingEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2466. RingEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2467. SphereEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  2468.  
  2469.  
  2470.  
  2471. coroutine.resume(coroutine.create(function()
  2472. for i = 0,1,0.1 do
  2473. swait()
  2474. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
  2475. end
  2476. end))
  2477.  
  2478.  
  2479. wait(0.05)
  2480. attackdebounce = false
  2481. end
  2482. end
  2483. end)
  2484.  
  2485. for i = 0, .03, 0.1 do
  2486. swait()
  2487. BlockEffect(BrickColor.new("Really red"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 1.5, 1.5, 1.5, 0.03)
  2488. root.Velocity = root.CFrame.lookVector * 10
  2489. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, -0.3) * angles(math.rad(-44), math.rad(-2), math.rad(90)), 0.7)
  2490. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-24), math.rad(-90)), 0.7)
  2491. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.7)
  2492. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.7)
  2493. RH.C0 = clerp(RH.C0, CFrame.new(1, -.6 , 0) * RHCF * angles(math.rad(math.random(-100,-10)), math.rad(0), math.rad(2)), 0.7)
  2494. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-34), math.rad(0), math.rad(0)), 0.7)
  2495. end
  2496.  
  2497. so("http://roblox.com/asset/?id=1340545854",rl,1,math.random(0.7,1))
  2498.  
  2499. for i = 0, 0.07, 0.1 do
  2500. swait()
  2501. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
  2502. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
  2503. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
  2504. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
  2505. RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
  2506. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
  2507. end
  2508. con5:disconnect()
  2509. end
  2510.  
  2511. for i = 0, 1.65, 0.1 do
  2512. swait()
  2513. root.Velocity = root.CFrame.lookVector * 0
  2514. SphereEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
  2515. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
  2516. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
  2517. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
  2518. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
  2519. RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
  2520. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
  2521. end
  2522.  
  2523. con5=hum.Touched:connect(function(hit)
  2524. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2525. if attackdebounce == false then
  2526. attackdebounce = true
  2527. coroutine.resume(coroutine.create(function()
  2528. for i = 0,1.5,0.1 do
  2529. swait()
  2530. --hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
  2531. end
  2532. end))
  2533. kDamagefunc(hit, 1, 3, 0,"Normal",root,0,1)
  2534. so("http://roblox.com/asset/?id=636494529",rl,2,.63)
  2535. RingEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2536. RingEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2537. SphereEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  2538.  
  2539.  
  2540. coroutine.resume(coroutine.create(function()
  2541. for i = 0,1,0.1 do
  2542. swait()
  2543. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
  2544. end
  2545. end))
  2546.  
  2547.  
  2548. wait(0.05)
  2549. attackdebounce = false
  2550. end
  2551. end
  2552. end)
  2553.  
  2554. so("http://www.roblox.com/asset/?id=1452040709", RightLeg, 1, 1.4)
  2555. SphereEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,38,38,38,0.08)
  2556.  
  2557. for i = 0, 2, 0.1 do
  2558. swait()
  2559. --BlockEffect(BrickColor.new("Really red"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 1.5, 1.5, 1.5, 0.03)
  2560. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
  2561. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
  2562. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
  2563. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
  2564. RH.C0 = clerp(RH.C0, CFrame.new(1, -.6 , 0.2) * RHCF * angles(math.rad(-50), math.rad(0), math.rad(2)), 0.2)
  2565. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
  2566. end
  2567. SphereEffect(BrickColor.new("Really red"),tors.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,8,8,8,0.04)
  2568.  
  2569. wait(0.25)
  2570. con5:Disconnect()
  2571.  
  2572.  
  2573.  
  2574.  
  2575. con5=hum.Touched:connect(function(hit)
  2576. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2577. if attackdebounce == false then
  2578. attackdebounce = true
  2579.  
  2580. kDamagefunc(hit,1,2,math.random(0,0),"Normal",root,0,1)
  2581. so("http://roblox.com/asset/?id=565207203",ll,7,0.63)
  2582.  
  2583. RingEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,2.2,6,2.2,0.04)
  2584. RingEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,2.2,6,2.2,0.04)
  2585. SphereEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,8,8,8,0.04)
  2586. SpecialEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,8,8,8,0.04)
  2587. SphereEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,5,18,5,0.04)
  2588. WaveEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,1.5,16,1.5,0.04)
  2589.  
  2590. coroutine.resume(coroutine.create(function()
  2591. for i = 0,1,0.1 do
  2592. swait()
  2593. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24)
  2594. end
  2595. end))
  2596.  
  2597. wait(0.06)
  2598. attackdebounce = false
  2599.  
  2600. end
  2601. end
  2602. end)
  2603.  
  2604. coroutine.resume(coroutine.create(function()
  2605. while ultra == true do
  2606. swait()
  2607. root.CFrame = root.CFrame*CFrame.new(math.random(-3,3),math.random(-2,2),math.random(-3,3))
  2608. end
  2609. end))
  2610.  
  2611.  
  2612. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  2613. for i = 1,3 do
  2614. for i = 0, 9.14, 0.45 do
  2615. swait()
  2616. root.Velocity = root.CFrame.lookVector * 30
  2617. BlockEffect(BrickColor.new("Really red"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2618. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(8), math.rad(8), math.rad(0-94*i)), 0.35)
  2619. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
  2620. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
  2621. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
  2622. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(7), math.rad(0), math.rad(4)), 0.35)
  2623. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-64-7*i), math.rad(0), math.rad(0-9*i)), 0.35)
  2624. end
  2625. end
  2626.  
  2627.  
  2628. for i = 1,3 do
  2629. for i = 0, 11.14, 0.45 do
  2630. swait()
  2631. root.Velocity = root.CFrame.lookVector * 30
  2632. BlockEffect(BrickColor.new("Really red"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2633. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(-21-30*i), math.rad(8+10*i), math.rad(0-110*i)), 0.35)
  2634. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
  2635. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
  2636. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
  2637. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(27), math.rad(0), math.rad(74)), 0.35)
  2638. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-34-2*i), math.rad(0), math.rad(0-9*i)), 0.35)
  2639. end
  2640.  
  2641.  
  2642.  
  2643. end
  2644. so("http://www.roblox.com/asset/?id=197161452", char, 0.5, 0.8)
  2645. con5:disconnect()
  2646.  
  2647.  
  2648. end -- combo hit end
  2649. attack = false
  2650. ultra = false
  2651. u:disconnect()
  2652.  
  2653. end
  2654.  
  2655.  
  2656.  
  2657.  
  2658. -------------------------------------------------------
  2659. --End Attacks N Stuff--
  2660. -------------------------------------------------------
  2661. mouse.KeyDown:connect(function(key)
  2662. if string.byte(key) == 48 then
  2663. Swing = 2
  2664. hum.WalkSpeed = 24.82
  2665. end
  2666. end)
  2667. mouse.KeyUp:connect(function(key)
  2668. if string.byte(key) == 48 then
  2669. Swing = 1
  2670. hum.WalkSpeed = 8
  2671. end
  2672. end)
  2673.  
  2674.  
  2675.  
  2676.  
  2677.  
  2678.  
  2679.  
  2680. mouse.Button1Down:connect(function()
  2681. if attack==false then
  2682. if attacktype==1 then
  2683. attack=true
  2684. attacktype=2
  2685. attackone()
  2686. elseif attacktype==2 then
  2687. attack=true
  2688. attacktype=3
  2689. attacktwo()
  2690. elseif attacktype==3 then
  2691. attack=true
  2692. attacktype=4
  2693. attackthree()
  2694. elseif attacktype==4 then
  2695. attack=true
  2696. attacktype=1
  2697. attackfour()
  2698. end
  2699. end
  2700. end)
  2701.  
  2702.  
  2703.  
  2704.  
  2705. mouse.KeyDown:connect(function(key)
  2706. if key == 'e' and attack == false and cankick == true and cooldown == false then
  2707. quickkick()
  2708. cooldown = true
  2709.  
  2710. coroutine.resume(coroutine.create(function()
  2711. wait(2)
  2712. cooldown = false
  2713. end))
  2714.  
  2715.  
  2716.  
  2717. end
  2718. end)
  2719.  
  2720.  
  2721.  
  2722.  
  2723.  
  2724.  
  2725.  
  2726.  
  2727. mouse.KeyDown:connect(function(key)
  2728. if attack == false then
  2729. if key == 't' then
  2730. Taunt()
  2731. elseif key == 'f' then
  2732. Hyperkickcombo()
  2733. elseif key == 'r' then
  2734. Galekicks()
  2735. end
  2736. end
  2737. end)
  2738.  
  2739. -------------------------------------------------------
  2740. --Start Animations--
  2741. -------------------------------------------------------
  2742. print("By Makhail07 and KillerDarkness0105")
  2743. print("Basic Animations by Makhail07")
  2744. print("Attack Animations by KillerDarkness0105")
  2745. print("This is pretty much our final script together")
  2746. print("--------------------------------")
  2747. print("Attacks")
  2748. print("E in air: Quick Kicks")
  2749. print("Left Mouse: 4 click combo")
  2750. print("F: Hyper Kicks")
  2751. print("R: Gale Kicks, Spam R if your combo is over 150 to do an ultra combo")
  2752. print("--------------------------------")
  2753. while true do
  2754. swait()
  2755. sine = sine + change
  2756. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  2757. local velderp = root.Velocity.y
  2758. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  2759.  
  2760. if hitfloor == nil then
  2761. cankick = true
  2762. else
  2763. cankick = false
  2764. end
  2765.  
  2766.  
  2767. if equipped == true or equipped == false then
  2768. if attack == false then
  2769. idle = idle + 1
  2770. else
  2771. idle = 0
  2772. end
  2773. if 1 < root.Velocity.y and hitfloor == nil then
  2774. Anim = "Jump"
  2775. if attack == false then
  2776. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  2777. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
  2778. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.1)
  2779. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2780. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2781. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  2782. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  2783. end
  2784. elseif -1 > root.Velocity.y and hitfloor == nil then
  2785. Anim = "Fall"
  2786. if attack == false then
  2787. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  2788. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
  2789. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.1)
  2790. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  2791. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  2792. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  2793. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  2794. end
  2795. elseif torvel < 1 and hitfloor ~= nil then
  2796. Anim = "Idle"
  2797. change = 1
  2798. if attack == false then
  2799. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  2800. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 12)) * angles(Rad(0), Rad(0), Rad(20)), 0.1)
  2801. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-6.5 * Sin(sine / 12)), Rad(0), Rad(-20)), 0.1)
  2802. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-12.5), Rad(0), Rad(0)), 0.1)
  2803. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, -0.2* Player_Size) * angles(Rad(0), Rad(-65), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(6)), 0.1)
  2804. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.2 + 0.05 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(110), Rad(6 + 6.5 * Sin(sine / 12)), Rad(25)), 0.1)
  2805. LW.C0 = clerp(LW.C0, CF(-1.3* Player_Size, 0.2 + 0.05 * Sin(sine / 12)* Player_Size, -0.5* Player_Size) * angles(Rad(110), Rad(6 - 6.5 * Sin(sine / 12)), Rad(25)), 0.1)
  2806. end
  2807. elseif torvel > 2 and torvel < 22 and hitfloor ~= nil then
  2808. Anim = "Walk"
  2809. change = 1
  2810. if attack == false then
  2811. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  2812. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
  2813. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-1), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.15)
  2814. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 15 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2815. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 15 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2816. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(56) * Cos(sine / 7) , Rad(10 * Cos(sine / 7)), Rad(6) - ra.RotVelocity.Y / 75), 0.1)
  2817. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-56) * Cos(sine / 7) , Rad(10 * Cos(sine / 7)) , Rad(-6) + la.RotVelocity.Y / 75), 0.1)
  2818. end
  2819. elseif torvel >= 22 and hitfloor ~= nil then
  2820. Anim = "Sprint"
  2821. change = 1.35
  2822. if attack == false then
  2823. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  2824. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
  2825. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-8.5 - 2 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.15)
  2826. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2827. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2828. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-65) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  2829. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-65) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
  2830. end
  2831. end
  2832. end
  2833. Music.SoundId = "rbxassetid://"..SONG
  2834. Music.Looped = true
  2835. Music.Pitch = 1
  2836. Music.Volume = 0.7
  2837. Music.Parent = tors
  2838. Music:Resume()
  2839. if 0 < #Effects then
  2840. for e = 1, #Effects do
  2841. if Effects[e] ~= nil then
  2842. local Thing = Effects[e]
  2843. if Thing ~= nil then
  2844. local Part = Thing[1]
  2845. local Mode = Thing[2]
  2846. local Delay = Thing[3]
  2847. local IncX = Thing[4]
  2848. local IncY = Thing[5]
  2849. local IncZ = Thing[6]
  2850. if 1 >= Thing[1].Transparency then
  2851. if Thing[2] == "Block1" then
  2852. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2853. local Mesh = Thing[1].Mesh
  2854. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2855. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2856. elseif Thing[2] == "Block2" then
  2857. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  2858. local Mesh = Thing[7]
  2859. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2860. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2861. elseif Thing[2] == "Block3" then
  2862. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  2863. local Mesh = Thing[7]
  2864. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2865. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2866. elseif Thing[2] == "Cylinder" then
  2867. local Mesh = Thing[1].Mesh
  2868. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2869. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2870. elseif Thing[2] == "Blood" then
  2871. local Mesh = Thing[7]
  2872. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2873. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2874. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2875. elseif Thing[2] == "Elec" then
  2876. local Mesh = Thing[1].Mesh
  2877. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2878. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2879. elseif Thing[2] == "Disappear" then
  2880. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2881. elseif Thing[2] == "Shatter" then
  2882. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2883. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2884. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2885. Thing[6] = Thing[6] + Thing[5]
  2886. end
  2887. else
  2888. Part.Parent = nil
  2889. table.remove(Effects, e)
  2890. end
  2891. end
  2892. end
  2893. end
  2894. end
  2895. end
  2896. -------------------------------------------------------
  2897. --End Animations And Script--
  2898. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement