Advertisement
Void_scripter0

gale fighter

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