Advertisement
FloweyTheFlower

Test! (fe)

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