Advertisement
Guest User

Untitled

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