Advertisement
AsukaOS

Fe Edit Of Gale Fighter)

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