scriptshocasereditor

Untitled

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