Advertisement
kqdragon

FUN

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