Advertisement
supborzuki

Gale Fighter Made by Ayo its peak#8748

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