Advertisement
HenloMyDude

fighter

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