Advertisement
Scripteditor233

Noob Fighter! >:3

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