Advertisement
Guest User

f

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