Advertisement
memberhero

FE Gale Fighter Script

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