Advertisement
HenloMyDude

hi

Nov 28th, 2019
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 114.42 KB | None | 0 0
  1. --[[ Name : IDONTKNOW ]]--
  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.666667, 0, 1)
  325. Frame2.ZIndex = 2
  326. TextLabel3.Parent = Frame2
  327. TextLabel3.Transparency = 0
  328. TextLabel3.Size = UDim2.new(0, 300, 0, 50)
  329. TextLabel3.Text ="Smacks: "..combohits
  330. TextLabel3.Position = UDim2.new(0, 0, -5.5999999, 0)
  331. TextLabel3.BackgroundColor3 = Color3.new(0.666667, 0, 1)
  332. TextLabel3.BackgroundTransparency = 1
  333. TextLabel3.Font = Enum.Font.Bodoni
  334. TextLabel3.FontSize = Enum.FontSize.Size60
  335. TextLabel3.TextColor3 = Color3.new(0.666667, 0, 1)
  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 ="Smacks: "..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 = 2372056506--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. celer = "Royal purple"
  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(celer),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(celer),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(celer),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. NLS([[
  1927. function swait(num)
  1928. if num == 0 or num == nil then
  1929. game:service("RunService").Stepped:wait(0)
  1930. else
  1931. for i = 0, num do
  1932. game:service("RunService").Stepped:wait(0)
  1933. end
  1934. end
  1935. end
  1936. plr = owner
  1937. char = plr.Character
  1938. hum = char.Humanoid
  1939. for i = 0,1,0.1 do
  1940. swait()
  1941. 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)
  1942. end
  1943. ]],char)
  1944. end))
  1945.  
  1946. wait(0.34)
  1947. attackdebounce = false
  1948.  
  1949. end
  1950. end
  1951. end)
  1952. for i = 0, 1.12, 0.1 do
  1953. swait()
  1954. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.9, -0) * angles(math.rad(14), math.rad(6), math.rad(23)), 0.35)
  1955. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-4), math.rad(0), math.rad(-23)), 0.35)
  1956. 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)
  1957. 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)
  1958. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.3) * RHCF * angles(math.rad(-4), math.rad(0), math.rad(6)), 0.3)
  1959. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0.05) * LHCF * angles(math.rad(-22), math.rad(0), math.rad(23)), 0.3)
  1960. end
  1961.  
  1962. con5:Disconnect()
  1963. attack = false
  1964.  
  1965. end
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971.  
  1972.  
  1973.  
  1974.  
  1975.  
  1976.  
  1977.  
  1978. function attacktwo()
  1979.  
  1980. attack = true
  1981.  
  1982. for i = 0, 1.35, 0.1 do
  1983. swait()
  1984. 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)
  1985. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2)
  1986. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(46)), 0.3)
  1987. 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)
  1988. 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)
  1989. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-24), math.rad(0), math.rad(0)), 0.2)
  1990. end
  1991.  
  1992. so("http://roblox.com/asset/?id=1340545854",la,1,math.random(0.7,1))
  1993.  
  1994.  
  1995. con5=la.Touched:connect(function(hit)
  1996. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1997. if attackdebounce == false then
  1998. attackdebounce = true
  1999.  
  2000. kDamagefunc(hit,3,4,math.random(2,3),"Normal",root,0,1)
  2001.  
  2002. so("http://roblox.com/asset/?id=636494529",la,2,1)
  2003.  
  2004. RingEffect(BrickColor.new(celer),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)
  2005. RingEffect(BrickColor.new(celer),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)
  2006. SphereEffect(BrickColor.new(celer),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)
  2007.  
  2008.  
  2009. coroutine.resume(coroutine.create(function()
  2010. NLS([[
  2011. function swait(num)
  2012. if num == 0 or num == nil then
  2013. game:service("RunService").Stepped:wait(0)
  2014. else
  2015. for i = 0, num do
  2016. game:service("RunService").Stepped:wait(0)
  2017. end
  2018. end
  2019. end
  2020. plr = owner
  2021. char = plr.Character
  2022. hum = char.Humanoid
  2023. for i = 0,1,0.1 do
  2024. swait()
  2025. 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)
  2026. end
  2027. ]],char)
  2028. end))
  2029.  
  2030. wait(0.34)
  2031. attackdebounce = false
  2032.  
  2033. end
  2034. end
  2035. end)
  2036.  
  2037.  
  2038.  
  2039.  
  2040. for i = 0, 1.12, 0.1 do
  2041. swait()
  2042. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.9, -0) * angles(math.rad(14), math.rad(-6), math.rad(-27)), 0.35)
  2043. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-4), math.rad(0), math.rad(27)), 0.35)
  2044. 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)
  2045. 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)
  2046. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0.05) * RHCF * angles(math.rad(-22), math.rad(0), math.rad(-18)), 0.3)
  2047. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, -0.3) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(4)), 0.3)
  2048. end
  2049.  
  2050. con5:Disconnect()
  2051. attack = false
  2052.  
  2053. end
  2054.  
  2055.  
  2056.  
  2057.  
  2058.  
  2059. function attackthree()
  2060.  
  2061. attack = true
  2062.  
  2063.  
  2064. for i = 0, 1.14, 0.1 do
  2065. swait()
  2066. 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)
  2067. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2)
  2068. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-46)), 0.3)
  2069. 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)
  2070. 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)
  2071. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-12), math.rad(0), math.rad(34)), 0.2)
  2072. end
  2073.  
  2074. con5=hum.Touched:connect(function(hit)
  2075. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2076. if attackdebounce == false then
  2077. attackdebounce = true
  2078.  
  2079. kDamagefunc(hit,4,5,math.random(3,4),"Normal",root,0,1)
  2080. so("http://roblox.com/asset/?id=636494529",ll,2,1)
  2081.  
  2082. RingEffect(BrickColor.new(celer),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)
  2083. RingEffect(BrickColor.new(celer),ll.CFrame*CF(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2084. SphereEffect(BrickColor.new(celer),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)
  2085.  
  2086.  
  2087. coroutine.resume(coroutine.create(function()
  2088. for i = 0,1,0.1 do
  2089. swait()
  2090. 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)
  2091. end
  2092. end))
  2093.  
  2094.  
  2095. wait(0.34)
  2096. attackdebounce = false
  2097.  
  2098. end
  2099. end
  2100. end)
  2101.  
  2102. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  2103. for i = 0, 9.14, 0.3 do
  2104. swait()
  2105. BlockEffect(BrickColor.new(celer), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2106. 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)
  2107. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
  2108. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
  2109. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
  2110. 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)
  2111. 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)
  2112. end
  2113. attack = false
  2114. con5:disconnect()
  2115. end
  2116.  
  2117.  
  2118.  
  2119. function attackfour()
  2120.  
  2121. attack = true
  2122. so("http://www.roblox.com/asset/?id=1452040709", RightLeg, 3, 1)
  2123. WaveEffect(BrickColor.new(celer), root.CFrame * CFrame.new(0, -1, 0) * euler(0, math.random(-50, 50), 0), 1, 1, 1, 1, 0.5, 1, 0.05)
  2124. for i = 0, 5.14, 0.1 do
  2125. swait()
  2126. SphereEffect(BrickColor.new(celer),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
  2127. 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)
  2128. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0+11*i), math.rad(0), math.rad(0)), 0.2)
  2129. 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)
  2130. 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)
  2131. 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)
  2132. 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)
  2133. end
  2134. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  2135. local velo=Instance.new("BodyVelocity")
  2136. velo.velocity=vt(0,25,0)
  2137. velo.P=8000
  2138. velo.maxForce=Vector3.new(math.huge, math.huge, math.huge)
  2139. velo.Parent=root
  2140. game:GetService("Debris"):AddItem(velo,0.7)
  2141.  
  2142.  
  2143.  
  2144. con5=hum.Touched:connect(function(hit)
  2145. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2146. if attackdebounce == false then
  2147. attackdebounce = true
  2148. coroutine.resume(coroutine.create(function()
  2149. for i = 0,1.5,0.1 do
  2150. swait()
  2151. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.6,-1.8)
  2152. end
  2153. end))
  2154. kDamagefunc(hit,3,4,math.random(0,0),"Normal",root,0,1)
  2155. so("http://roblox.com/asset/?id=636494529",rl,2,1)
  2156. RingEffect(BrickColor.new(celer),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2157. RingEffect(BrickColor.new(celer),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2158. SphereEffect(BrickColor.new(celer),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  2159.  
  2160.  
  2161.  
  2162. coroutine.resume(coroutine.create(function()
  2163. for i = 0,1,0.1 do
  2164. swait()
  2165. 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)
  2166. end
  2167. end))
  2168.  
  2169.  
  2170. wait(0.14)
  2171. attackdebounce = false
  2172. end
  2173. end
  2174. end)
  2175.  
  2176. for i = 0, 5.11, 0.15 do
  2177. swait()
  2178. BlockEffect(BrickColor.new(celer), rl.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2179. 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)
  2180. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-43), math.rad(0), math.rad(0)), 0.42)
  2181. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-8), math.rad(0), math.rad(60)), 0.35)
  2182. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-8), math.rad(0), math.rad(-60)), 0.35)
  2183. 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)
  2184. 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)
  2185. end
  2186.  
  2187.  
  2188. attack = false
  2189. con5:disconnect()
  2190. end
  2191.  
  2192.  
  2193.  
  2194.  
  2195.  
  2196. local cooldown = false
  2197. function quickkick()
  2198. attack = true
  2199.  
  2200.  
  2201. con5=hum.Touched:connect(function(hit)
  2202. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2203. if attackdebounce == false then
  2204. attackdebounce = true
  2205.  
  2206. coroutine.resume(coroutine.create(function()
  2207. for i = 0,1.5,0.1 do
  2208. swait()
  2209. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.3,-1.8)
  2210. end
  2211. end))
  2212.  
  2213. kDamagefunc(hit,1,2,math.random(0,0),"Normal",root,0,1)
  2214. so("http://roblox.com/asset/?id=636494529",rl,2,1)
  2215. RingEffect(BrickColor.new(celer),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2216. RingEffect(BrickColor.new(celer),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2217. SphereEffect(BrickColor.new(celer),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  2218.  
  2219.  
  2220.  
  2221. coroutine.resume(coroutine.create(function()
  2222. for i = 0,1,0.1 do
  2223. swait()
  2224. 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)
  2225. end
  2226. end))
  2227.  
  2228.  
  2229. wait(0.08)
  2230. attackdebounce = false
  2231. end
  2232. end
  2233. end)
  2234.  
  2235. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  2236. for i = 0, 11.14, 0.3 do
  2237. swait()
  2238. root.Velocity = root.CFrame.lookVector * 30
  2239. BlockEffect(BrickColor.new(celer), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2240. 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)
  2241. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
  2242. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
  2243. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
  2244. 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)
  2245. 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)
  2246. end
  2247. attack = false
  2248. con5:disconnect()
  2249. end
  2250.  
  2251.  
  2252.  
  2253.  
  2254.  
  2255.  
  2256.  
  2257.  
  2258. function Taunt()
  2259. attack = true
  2260. hum.WalkSpeed = 0
  2261. Cso("2870109642", hed, 8.45, 1)
  2262. for i = 0, 4.2, 0.1 do
  2263. swait()
  2264. hum.WalkSpeed = 0
  2265. 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)
  2266. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(16 * Cos(sine / 12))), 0.2)
  2267. 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)
  2268. 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)
  2269. 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)
  2270. 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)
  2271. end
  2272. attack = false
  2273. hum.WalkSpeed = 8
  2274. end
  2275.  
  2276.  
  2277.  
  2278.  
  2279.  
  2280.  
  2281.  
  2282. function Hyperkickcombo()
  2283.  
  2284. attack = true
  2285. so("http://www.roblox.com/asset/?id=1452040709", RightLeg, 3, 1)
  2286. 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)
  2287. for i = 0, 7.14, 0.1 do
  2288. swait()
  2289. 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)
  2290. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.8) * angles(math.rad(24), math.rad(0), math.rad(0)), 0.2)
  2291. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  2292. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(36)), 0.3)
  2293. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-36)), 0.3)
  2294. 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)
  2295. 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)
  2296. end
  2297. local Cracking = Cso("292536356", tors, 10, 1)
  2298. for i = 0, 7.14, 0.1 do
  2299. swait()
  2300. 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)
  2301. 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")
  2302. 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)
  2303. 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)
  2304. 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)
  2305. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.8) * angles(math.rad(24), math.rad(0), math.rad(0)), 0.2)
  2306. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(30), math.rad(0), math.rad(0)), 0.2)
  2307. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(36)), 0.3)
  2308. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-36)), 0.3)
  2309. 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)
  2310. 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)
  2311. end
  2312. Cracking.Playing = false
  2313. so("http://www.roblox.com/asset/?id=197161452", char, 3, 0.8)
  2314. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  2315. 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)
  2316. local velo=Instance.new("BodyVelocity")
  2317. velo.velocity=vt(0,27,0)
  2318. velo.P=11000
  2319. velo.maxForce=Vector3.new(math.huge, math.huge, math.huge)
  2320. velo.Parent=root
  2321. game:GetService("Debris"):AddItem(velo,1.24)
  2322.  
  2323.  
  2324.  
  2325. con5=hum.Touched:connect(function(hit)
  2326. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2327. if attackdebounce == false then
  2328. attackdebounce = true
  2329. coroutine.resume(coroutine.create(function()
  2330. for i = 0,1.5,0.1 do
  2331. swait()
  2332. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,3.4,-1.8)
  2333. end
  2334. end))
  2335. kDamagefunc(hit,2,3,math.random(0,0),"Normal",root,0,1)
  2336. so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
  2337. 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)
  2338. 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)
  2339. 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)
  2340.  
  2341.  
  2342.  
  2343. coroutine.resume(coroutine.create(function()
  2344. for i = 0,1,0.1 do
  2345. swait()
  2346. 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)
  2347. end
  2348. end))
  2349.  
  2350.  
  2351. wait(0.09)
  2352. attackdebounce = false
  2353. end
  2354. end
  2355. end)
  2356.  
  2357. for i = 0, 9.11, 0.2 do
  2358. swait()
  2359. BlockEffect(BrickColor.new("Lime green"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2360. 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)
  2361. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-43), math.rad(0), math.rad(0)), 0.42)
  2362. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-8), math.rad(0), math.rad(60)), 0.35)
  2363. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-8), math.rad(0), math.rad(-60)), 0.35)
  2364. 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)
  2365. 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)
  2366. end
  2367.  
  2368.  
  2369.  
  2370.  
  2371. con5:disconnect()
  2372.  
  2373.  
  2374.  
  2375.  
  2376.  
  2377.  
  2378. con5=hum.Touched:connect(function(hit)
  2379. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2380. if attackdebounce == false then
  2381. attackdebounce = true
  2382. coroutine.resume(coroutine.create(function()
  2383. for i = 0,1.5,0.1 do
  2384. swait()
  2385. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
  2386. end
  2387. end))
  2388. kDamagefunc(hit,3,4,math.random(0,0),"Normal",root,0,1)
  2389.  
  2390. so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
  2391. 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)
  2392. 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)
  2393. 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)
  2394.  
  2395.  
  2396.  
  2397. coroutine.resume(coroutine.create(function()
  2398. for i = 0,1,0.1 do
  2399. swait()
  2400. 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)
  2401. end
  2402. end))
  2403.  
  2404.  
  2405. wait(0.08)
  2406. attackdebounce = false
  2407. end
  2408. end
  2409. end)
  2410.  
  2411.  
  2412.  
  2413. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  2414. for i = 0, 9.14, 0.3 do
  2415. swait()
  2416. root.Velocity = root.CFrame.lookVector * 20
  2417. BlockEffect(BrickColor.new("Lime green"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2418. 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)
  2419. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
  2420. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
  2421. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
  2422. 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)
  2423. 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)
  2424. end
  2425.  
  2426.  
  2427.  
  2428. con5:disconnect()
  2429.  
  2430.  
  2431.  
  2432. con5=hum.Touched:connect(function(hit)
  2433. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2434. if attackdebounce == false then
  2435. attackdebounce = true
  2436. coroutine.resume(coroutine.create(function()
  2437. for i = 0,1.5,0.1 do
  2438. swait()
  2439. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
  2440. end
  2441. end))
  2442. kDamagefunc(hit,3,4,math.random(0,0),"Normal",root,0,1)
  2443. so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
  2444. 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)
  2445. 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)
  2446. 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)
  2447.  
  2448.  
  2449.  
  2450. coroutine.resume(coroutine.create(function()
  2451. for i = 0,1,0.1 do
  2452. swait()
  2453. 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)
  2454. end
  2455. end))
  2456.  
  2457.  
  2458. wait(0.05)
  2459. attackdebounce = false
  2460. end
  2461. end
  2462. end)
  2463.  
  2464.  
  2465. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  2466. for i = 0, 15.14, 0.32 do
  2467. swait()
  2468. root.Velocity = root.CFrame.lookVector * 20
  2469. BlockEffect(BrickColor.new("Lime green"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2470. 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)
  2471. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
  2472. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
  2473. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
  2474. 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)
  2475. 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)
  2476. end
  2477.  
  2478. attack = false
  2479. con5:disconnect()
  2480.  
  2481. end
  2482.  
  2483.  
  2484.  
  2485.  
  2486.  
  2487. local ultra = false
  2488.  
  2489. function Galekicks()
  2490.  
  2491. attack = true
  2492. so("http://www.roblox.com/asset/?id=1452040709", RightLeg, 3, 1)
  2493. for i = 0, 1.65, 0.1 do
  2494. swait()
  2495. root.Velocity = root.CFrame.lookVector * 0
  2496. 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)
  2497. 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)
  2498. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
  2499. 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)
  2500. 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)
  2501. RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
  2502. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
  2503. end
  2504.  
  2505.  
  2506. for i = 1, 17 do
  2507.  
  2508. con5=hum.Touched:connect(function(hit)
  2509. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2510. if attackdebounce == false then
  2511. attackdebounce = true
  2512. coroutine.resume(coroutine.create(function()
  2513. for i = 0,1.5,0.1 do
  2514. swait()
  2515. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
  2516. end
  2517. end))
  2518. kDamagefunc(hit,1,2,math.random(0,0),"Normal",root,0,1)
  2519. so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
  2520. 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)
  2521. 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)
  2522. 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)
  2523.  
  2524.  
  2525.  
  2526. coroutine.resume(coroutine.create(function()
  2527. for i = 0,1,0.1 do
  2528. swait()
  2529. 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)
  2530. end
  2531. end))
  2532.  
  2533.  
  2534. wait(0.05)
  2535. attackdebounce = false
  2536. end
  2537. end
  2538. end)
  2539.  
  2540. for i = 0, .1, 0.2 do
  2541. swait()
  2542. BlockEffect(BrickColor.new("Lime green"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 1.5, 1.5, 1.5, 0.03)
  2543. root.Velocity = root.CFrame.lookVector * 10
  2544. 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)
  2545. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-24), math.rad(-90)), 0.7)
  2546. 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)
  2547. 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)
  2548. 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)
  2549. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-34), math.rad(0), math.rad(0)), 0.7)
  2550. end
  2551.  
  2552. so("http://roblox.com/asset/?id=1340545854",rl,1,math.random(0.7,1))
  2553.  
  2554. for i = 0, 0.4, 0.2 do
  2555. swait()
  2556. 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)
  2557. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
  2558. 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)
  2559. 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)
  2560. RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
  2561. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
  2562. end
  2563. con5:disconnect()
  2564. end
  2565.  
  2566.  
  2567. u = mouse.KeyDown:connect(function(key)
  2568. if key == 'r' and combohits >= 150 then
  2569. ultra = true
  2570. 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)
  2571. end
  2572. end)
  2573. wait(0.3)
  2574. if ultra == true then
  2575. combohits = 0
  2576. wait(0.1)
  2577. for i = 0, 1.65, 0.1 do
  2578. swait()
  2579. root.Velocity = root.CFrame.lookVector * 0
  2580. 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)
  2581. 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)
  2582. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
  2583. 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)
  2584. 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)
  2585. RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
  2586. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
  2587. end
  2588.  
  2589.  
  2590. so("http://roblox.com/asset/?id=146094803",hed,1,1.2)
  2591.  
  2592. for i = 1, 65 do
  2593. --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")
  2594. con5=hum.Touched:connect(function(hit)
  2595. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2596. if attackdebounce == false then
  2597. attackdebounce = true
  2598. coroutine.resume(coroutine.create(function()
  2599. for i = 0,1.5,0.1 do
  2600. swait()
  2601. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
  2602. end
  2603. end))
  2604. kDamagefunc(hit,1,2,math.random(0,0),"Normal",root,0,1)
  2605.  
  2606.  
  2607.  
  2608.  
  2609. so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
  2610. 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)
  2611. RingEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2612. 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)
  2613.  
  2614.  
  2615.  
  2616. coroutine.resume(coroutine.create(function()
  2617. for i = 0,1,0.1 do
  2618. swait()
  2619. 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)
  2620. end
  2621. end))
  2622.  
  2623.  
  2624. wait(0.05)
  2625. attackdebounce = false
  2626. end
  2627. end
  2628. end)
  2629.  
  2630. for i = 0, .03, 0.1 do
  2631. swait()
  2632. BlockEffect(BrickColor.new("Really red"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 1.5, 1.5, 1.5, 0.03)
  2633. root.Velocity = root.CFrame.lookVector * 10
  2634. 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)
  2635. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-24), math.rad(-90)), 0.7)
  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.7)
  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.7)
  2638. 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)
  2639. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-34), math.rad(0), math.rad(0)), 0.7)
  2640. end
  2641.  
  2642. so("http://roblox.com/asset/?id=1340545854",rl,1,math.random(0.7,1))
  2643.  
  2644. for i = 0, 0.07, 0.1 do
  2645. swait()
  2646. 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)
  2647. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
  2648. 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)
  2649. 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)
  2650. RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
  2651. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
  2652. end
  2653. con5:disconnect()
  2654. end
  2655.  
  2656. for i = 0, 1.65, 0.1 do
  2657. swait()
  2658. root.Velocity = root.CFrame.lookVector * 0
  2659. 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)
  2660. 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)
  2661. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
  2662. 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)
  2663. 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)
  2664. RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
  2665. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
  2666. end
  2667.  
  2668. con5=hum.Touched:connect(function(hit)
  2669. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2670. if attackdebounce == false then
  2671. attackdebounce = true
  2672. coroutine.resume(coroutine.create(function()
  2673. for i = 0,1.5,0.1 do
  2674. swait()
  2675. --hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
  2676. end
  2677. end))
  2678. kDamagefunc(hit, 1, 3, 0,"Normal",root,0,1)
  2679. so("http://roblox.com/asset/?id=636494529",rl,2,.63)
  2680. 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)
  2681. RingEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2682. 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)
  2683.  
  2684.  
  2685. coroutine.resume(coroutine.create(function()
  2686. for i = 0,1,0.1 do
  2687. swait()
  2688. 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)
  2689. end
  2690. end))
  2691.  
  2692.  
  2693. wait(0.05)
  2694. attackdebounce = false
  2695. end
  2696. end
  2697. end)
  2698.  
  2699. so("http://www.roblox.com/asset/?id=1452040709", RightLeg, 1, 1.4)
  2700. 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)
  2701.  
  2702. for i = 0, 2, 0.1 do
  2703. swait()
  2704. --BlockEffect(BrickColor.new("Really red"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 1.5, 1.5, 1.5, 0.03)
  2705. 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)
  2706. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
  2707. 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)
  2708. 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)
  2709. RH.C0 = clerp(RH.C0, CFrame.new(1, -.6 , 0.2) * RHCF * angles(math.rad(-50), math.rad(0), math.rad(2)), 0.2)
  2710. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
  2711. end
  2712. 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)
  2713.  
  2714. wait(0.25)
  2715. con5:Disconnect()
  2716.  
  2717.  
  2718.  
  2719.  
  2720. con5=hum.Touched:connect(function(hit)
  2721. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2722. if attackdebounce == false then
  2723. attackdebounce = true
  2724.  
  2725. kDamagefunc(hit,1,2,math.random(0,0),"Normal",root,0,1)
  2726. so("http://roblox.com/asset/?id=565207203",ll,7,0.63)
  2727.  
  2728. 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)
  2729. RingEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,2.2,6,2.2,0.04)
  2730. 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)
  2731. 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)
  2732. 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)
  2733. 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)
  2734.  
  2735. coroutine.resume(coroutine.create(function()
  2736. for i = 0,1,0.1 do
  2737. swait()
  2738. 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)
  2739. end
  2740. end))
  2741.  
  2742. wait(0.06)
  2743. attackdebounce = false
  2744.  
  2745. end
  2746. end
  2747. end)
  2748.  
  2749. coroutine.resume(coroutine.create(function()
  2750. while ultra == true do
  2751. swait()
  2752. root.CFrame = root.CFrame*CFrame.new(math.random(-3,3),math.random(-2,2),math.random(-3,3))
  2753. end
  2754. end))
  2755.  
  2756.  
  2757. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  2758. for i = 1,3 do
  2759. for i = 0, 9.14, 0.45 do
  2760. swait()
  2761. root.Velocity = root.CFrame.lookVector * 30
  2762. BlockEffect(BrickColor.new("Really red"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2763. 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)
  2764. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
  2765. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
  2766. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
  2767. 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)
  2768. 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)
  2769. end
  2770. end
  2771.  
  2772.  
  2773. for i = 1,3 do
  2774. for i = 0, 11.14, 0.45 do
  2775. swait()
  2776. root.Velocity = root.CFrame.lookVector * 30
  2777. BlockEffect(BrickColor.new("Really red"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2778. 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)
  2779. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
  2780. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
  2781. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
  2782. 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)
  2783. 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)
  2784. end
  2785.  
  2786.  
  2787.  
  2788. end
  2789. so("http://www.roblox.com/asset/?id=197161452", char, 0.5, 0.8)
  2790. con5:disconnect()
  2791.  
  2792.  
  2793. end -- combo hit end
  2794. attack = false
  2795. ultra = false
  2796. u:disconnect()
  2797.  
  2798. end
  2799.  
  2800.  
  2801.  
  2802.  
  2803. -------------------------------------------------------
  2804. --End Attacks N Stuff--
  2805. -------------------------------------------------------
  2806. function ackthings(key)
  2807. if key == "startrun" then
  2808. Swing = 2
  2809. hum.WalkSpeed = 50
  2810. end
  2811. if key == "stoprun" then
  2812. Swing = 1
  2813. hum.WalkSpeed = 16
  2814. end
  2815. end
  2816. remoti = Instance.new("RemoteEvent",char)
  2817. remoti.Name = "remoti"
  2818. NLS([[
  2819. plr = owner
  2820. char = plr.Character
  2821. remoti = char.remoti
  2822. mouse = plr:GetMouse()
  2823. mouse.KeyDown:connect(function(key)
  2824. if string.byte(key) == 48 then
  2825. remoti:FireServer("startrun")
  2826. end
  2827. end)
  2828. mouse.KeyUp:connect(function(key)
  2829. if string.byte(key) == 48 then
  2830. remoti:FireServer("stoprun")
  2831. end
  2832. end)
  2833. ]],owner.Character)
  2834. remoti.OnServerEvent:connect(ackthings)
  2835.  
  2836.  
  2837.  
  2838.  
  2839.  
  2840.  
  2841.  
  2842. mouse.Button1Down:connect(function()
  2843. if attack==false then
  2844. if attacktype==1 then
  2845. attack=true
  2846. attacktype=2
  2847. attackone()
  2848. elseif attacktype==2 then
  2849. attack=true
  2850. attacktype=3
  2851. attacktwo()
  2852. elseif attacktype==3 then
  2853. attack=true
  2854. attacktype=4
  2855. attackthree()
  2856. elseif attacktype==4 then
  2857. attack=true
  2858. attacktype=1
  2859. attackfour()
  2860. end
  2861. end
  2862. end)
  2863.  
  2864.  
  2865.  
  2866.  
  2867. mouse.KeyDown:connect(function(key)
  2868. if key == 'e' and attack == false and cankick == true and cooldown == false then
  2869. quickkick()
  2870. cooldown = true
  2871.  
  2872. coroutine.resume(coroutine.create(function()
  2873. wait(2)
  2874. cooldown = false
  2875. end))
  2876.  
  2877.  
  2878.  
  2879. end
  2880. end)
  2881.  
  2882.  
  2883.  
  2884.  
  2885.  
  2886.  
  2887.  
  2888.  
  2889. mouse.KeyDown:connect(function(key)
  2890. if attack == false then
  2891. if key == 't' then
  2892. Taunt()
  2893. elseif key == 'f' then
  2894. Hyperkickcombo()
  2895. elseif key == 'r' then
  2896. Galekicks()
  2897. end
  2898. end
  2899. end)
  2900.  
  2901. -------------------------------------------------------
  2902. --Start Animations--
  2903. -------------------------------------------------------
  2904. print("By Makhail07 and KillerDarkness0105")
  2905. print("Basic Animations by Makhail07")
  2906. print("Attack Animations by KillerDarkness0105")
  2907. print("This is pretty much our final script together")
  2908. print("--------------------------------")
  2909. print("Attacks")
  2910. print("E in air: Quick Kicks")
  2911. print("Left Mouse: 4 click combo")
  2912. print("F: Hyper Kicks")
  2913. print("R: Spam Kicks, Spam R if your combo is over 150 to do an ultra combo")
  2914. print("--------------------------------")
  2915. aa = 3
  2916. while true do
  2917. swait()
  2918. sine = sine + change
  2919. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  2920. local velderp = root.Velocity.y
  2921. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4+hum.HipHeight * Player_Size, char)
  2922.  
  2923. if hitfloor == nil then
  2924. cankick = true
  2925. else
  2926. cankick = false
  2927. end
  2928.  
  2929.  
  2930. if equipped == true or equipped == false then
  2931. if attack == false then
  2932. idle = idle + 1
  2933. else
  2934. idle = 0
  2935. end
  2936. if 1 < root.Velocity.y and hitfloor == nil then
  2937. Anim = "Jump"
  2938. if attack == false then
  2939. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  2940. 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)
  2941. 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)
  2942. 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)
  2943. 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)
  2944. 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)
  2945. 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)
  2946. end
  2947. elseif -1 > root.Velocity.y and hitfloor == nil then
  2948. Anim = "Fall"
  2949. if attack == false then
  2950. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  2951. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
  2952. 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)
  2953. 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)
  2954. 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)
  2955. 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)
  2956. 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)
  2957. end
  2958. elseif torvel < 1 and hitfloor ~= nil then
  2959. Anim = "Idle"
  2960. change = 1
  2961. if attack == false then
  2962. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  2963. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 12 / aa)) * angles(Rad(0), Rad(0), Rad(20)), 0.1)
  2964. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-6.5 * Sin(sine / 12 / aa)), Rad(0), Rad(-20)), 0.1)
  2965. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 12) / aa* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-12.5), Rad(0), Rad(0)), 0.1)
  2966. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 12 / aa)* Player_Size, -0.2* Player_Size) * angles(Rad(0), Rad(-65), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(6)), 0.1)
  2967. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.2 + 0.05 * Sin(sine / 12 / aa)* Player_Size, 0* Player_Size) * angles(Rad(110), Rad(6 + 6.5 * Sin(sine / 12 / aa)), Rad(25)), 0.1)
  2968. LW.C0 = clerp(LW.C0, CF(-1.3* Player_Size, 0.2 + 0.05 * Sin(sine / 12 / aa)* Player_Size, -0.5* Player_Size) * angles(Rad(110), Rad(6 - 6.5 * Sin(sine / 12 / aa)), Rad(25)), 0.1)
  2969. end
  2970. elseif torvel > 2 and torvel < 22 and hitfloor ~= nil then
  2971. Anim = "Walk"
  2972. change = 1
  2973. if attack == false then
  2974. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  2975. 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 / aa) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5 / aa)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7 / aa))), 0.15)
  2976. 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)
  2977. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7 / aa) / 2* Player_Size, 0.6 * Cos(sine / 7 / aa) / 2* Player_Size) * angles(Rad(-15 - 15 * Cos(sine / 7) / aa) - rl.RotVelocity.Y / 75 + -Sin(sine / 7 / aa) / 2.5, Rad(90 - 10 * Cos(sine / 7) / aa), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2978. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7 / aa) / 2* Player_Size, -0.6 * Cos(sine / 7 / aa) / 2* Player_Size) * angles(Rad(-15 + 15 * Cos(sine / 7 / aa)) + ll.RotVelocity.Y / 75 + Sin(sine / 7 / aa) / 2.5, Rad(-90 - 10 * Cos(sine / 7 / aa)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7 / aa) / aa), Rad(0), Rad(0)), 0.3)
  2979. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7 / aa)* Player_Size, 0* Player_Size) * angles(Rad(56) * Cos(sine / 7 / aa) , Rad(10 * Cos(sine / 7 / aa)), Rad(6) - ra.RotVelocity.Y / 75), 0.1)
  2980. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7 / aa)* Player_Size, 0* Player_Size) * angles(Rad(-56) * Cos(sine / 7 / aa) , Rad(10 * Cos(sine / 7 / aa)) , Rad(-6) + la.RotVelocity.Y / 75), 0.1)
  2981. end
  2982. elseif torvel >= 22 and hitfloor ~= nil then
  2983. Anim = "Sprint"
  2984. change = 1.35
  2985. if attack == false then
  2986. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  2987. 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)
  2988. 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)
  2989. 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)
  2990. 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)
  2991. 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)
  2992. 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)
  2993. end
  2994. end
  2995. end
  2996. Music.SoundId = "rbxassetid://" ..SONG
  2997. Music.Looped = true
  2998. Music.Pitch = 1
  2999. Music.Volume = 1
  3000. Music.Parent = tors
  3001. Music:Resume()
  3002. if 0 < #Effects then
  3003. for e = 1, #Effects do
  3004. if Effects[e] ~= nil then
  3005. local Thing = Effects[e]
  3006. if Thing ~= nil then
  3007. local Part = Thing[1]
  3008. local Mode = Thing[2]
  3009. local Delay = Thing[3]
  3010. local IncX = Thing[4]
  3011. local IncY = Thing[5]
  3012. local IncZ = Thing[6]
  3013. if 1 >= Thing[1].Transparency then
  3014. if Thing[2] == "Block1" then
  3015. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3016. local Mesh = Thing[1].Mesh
  3017. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3018. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3019. elseif Thing[2] == "Block2" then
  3020. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  3021. local Mesh = Thing[7]
  3022. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3023. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3024. elseif Thing[2] == "Block3" then
  3025. 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)
  3026. local Mesh = Thing[7]
  3027. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3028. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3029. elseif Thing[2] == "Cylinder" then
  3030. local Mesh = Thing[1].Mesh
  3031. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3032. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3033. elseif Thing[2] == "Blood" then
  3034. local Mesh = Thing[7]
  3035. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  3036. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3037. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3038. elseif Thing[2] == "Elec" then
  3039. local Mesh = Thing[1].Mesh
  3040. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  3041. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3042. elseif Thing[2] == "Disappear" then
  3043. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3044. elseif Thing[2] == "Shatter" then
  3045. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3046. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  3047. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  3048. Thing[6] = Thing[6] + Thing[5]
  3049. end
  3050. else
  3051. Part.Parent = nil
  3052. table.remove(Effects, e)
  3053. end
  3054. end
  3055. end
  3056. end
  3057. end
  3058. end
  3059. -------------------------------------------------------
  3060. --End Animations And Script--
  3061. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement