Advertisement
Scripteditor233

Angered Fighter.

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