Ban43_GodOfEdits

test gale

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