WagnerJunio07

Fighter FE (Test)

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