Advertisement
samuelrichter66

Gay fighter

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