Advertisement
fescripter159

Untitled

Jul 23rd, 2019
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 77.02 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("FE Compatibility code V2 by Mokiros")
  6. local RealPlayer = RealPlayer
  7. script.Parent = RealPlayer.Character
  8.  
  9. --Fake event to make stuff like Mouse.KeyDown work
  10. local Disconnect_Function = function(this)
  11. this[1].Functions[this[2]] = nil
  12. end
  13. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  14. local FakeEvent_Metatable = {__index={
  15. Connect = function(this,f)
  16. local i = tostring(math.random(0,10000))
  17. while this.Functions[i] do
  18. i = tostring(math.random(0,10000))
  19. end
  20. this.Functions[i] = f
  21. return setmetatable({this,i},Disconnect_Metatable)
  22. end
  23. }}
  24. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  25. local function fakeEvent()
  26. return setmetatable({Functions={}},FakeEvent_Metatable)
  27. end
  28.  
  29. --Creating fake input objects with fake variables
  30. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  31. FakeMouse.keyUp = FakeMouse.KeyUp
  32. FakeMouse.keyDown = FakeMouse.KeyDown
  33. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  34. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  35. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  36. end}
  37. --Merged 2 functions into one by checking amount of arguments
  38. CAS.UnbindAction = CAS.BindAction
  39.  
  40. --This function will trigger the events that have been :Connect()'ed
  41. local function TriggerEvent(self,ev,...)
  42. for _,f in pairs(self[ev].Functions) do
  43. f(...)
  44. end
  45. end
  46. FakeMouse.TriggerEvent = TriggerEvent
  47. UIS.TriggerEvent = TriggerEvent
  48.  
  49. --Client communication
  50. local Event = Instance.new("RemoteEvent")
  51. Event.Name = "UserInput_Event"
  52. Event.OnServerEvent:Connect(function(plr,io)
  53. if plr~=RealPlayer then return end
  54. FakeMouse.Target = io.Target
  55. FakeMouse.Hit = io.Hit
  56. if not io.isMouse then
  57. local b = io.UserInputState == Enum.UserInputState.Begin
  58. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  59. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  60. end
  61. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  62. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  63. end
  64. for _,t in pairs(CAS.Actions) do
  65. for _,k in pairs(t.Keys) do
  66. if k==io.KeyCode then
  67. t.Function(t.Name,io.UserInputState,io)
  68. end
  69. end
  70. end
  71. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  72. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  73. end
  74. end)
  75. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  76. local Mouse = owner:GetMouse()
  77. local UIS = game:GetService("UserInputService")
  78. local input = function(io,RobloxHandled)
  79. if RobloxHandled then return end
  80. --Since InputObject is a client-side instance, we create and pass table instead
  81. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  82. end
  83. UIS.InputBegan:Connect(input)
  84. UIS.InputEnded:Connect(input)
  85.  
  86. local h,t
  87. --Give the server mouse data every second frame, but only if the values changed
  88. --If player is not moving their mouse, client won't fire events
  89. local HB = game:GetService("RunService").Heartbeat
  90. while true do
  91. if h~=Mouse.Hit or t~=Mouse.Target then
  92. h,t=Mouse.Hit,Mouse.Target
  93. Event:FireServer({isMouse=true,Target=t,Hit=h})
  94. end
  95. --Wait 2 frames
  96. for i=1,2 do
  97. HB:Wait()
  98. end
  99. end]==],script)
  100.  
  101. ----Sandboxed game object that allows the usage of client-side methods and services
  102. --Real game object
  103. local RealGame = game
  104.  
  105. --Metatable for fake service
  106. local FakeService_Metatable = {
  107. __index = function(self,k)
  108. local s = rawget(self,"_RealService")
  109. if s then
  110. return typeof(s[k])=="function"
  111. and function(_,...)return s[k](s,...)end or s[k]
  112. end
  113. end,
  114. __newindex = function(self,k,v)
  115. local s = rawget(self,"_RealService")
  116. if s then s[k]=v end
  117. end
  118. }
  119. local function FakeService(t,RealService)
  120. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  121. return setmetatable(t,FakeService_Metatable)
  122. end
  123.  
  124. --Fake game object
  125. local FakeGame = {
  126. GetService = function(self,s)
  127. return rawget(self,s) or RealGame:GetService(s)
  128. end,
  129. Players = FakeService({
  130. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  131. },"Players"),
  132. UserInputService = FakeService(UIS,"UserInputService"),
  133. ContextActionService = FakeService(CAS,"ContextActionService"),
  134. RunService = FakeService({
  135. _btrs = {},
  136. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  137. BindToRenderStep = function(self,name,_,fun)
  138. self._btrs[name] = self.Heartbeat:Connect(fun)
  139. end,
  140. UnbindFromRenderStep = function(self,name)
  141. self._btrs[name]:Disconnect()
  142. end,
  143. },"RunService")
  144. }
  145. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  146. FakeGame.service = FakeGame.GetService
  147. FakeService(FakeGame,game)
  148. --Changing owner to fake player object to support owner:GetMouse()
  149. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  150. end
  151.  
  152. --[[ Name : Gale Fighter ]]--
  153. -------------------------------------------------------
  154. --A Collaboration Between makhail07 and KillerDarkness0105
  155.  
  156. --Base Animaion by makhail07, attacks by KillerDarkness0105
  157. -------------------------------------------------------
  158.  
  159.  
  160. local FavIDs = {
  161. 340106355, --Nefl Crystals
  162. 927529620, --Dimension
  163. 876981900, --Fantasy
  164. 398987889, --Ordinary Days
  165. 1117396305, --Oh wait, it's you.
  166. 885996042, --Action Winter Journey
  167. 919231299, --Sprawling Idiot Effigy
  168. 743466274, --Good Day Sunshine
  169. 727411183, --Knife Fight
  170. 1402748531, --The Earth Is Counting On You!
  171. 595230126 --Robot Language
  172. }
  173.  
  174.  
  175.  
  176. --The reality of my life isn't real but a Universe -makhail07
  177. wait(0.2)
  178. local plr = owner
  179. print('Local User is '..plr.Name)
  180. print('Gale Fighter Loaded')
  181. print('The Fighter that is as fast as wind, a true Fighter')
  182. local char = plr.Character
  183. local hum = char.Humanoid
  184. local hed = char.Head
  185. local root = char.HumanoidRootPart
  186. local rootj = root.RootJoint
  187. local tors = char.Torso
  188. local ra = char["Right Arm"]
  189. local la = char["Left Arm"]
  190. local rl = char["Right Leg"]
  191. local ll = char["Left Leg"]
  192. local neck = tors["Neck"]
  193. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  194. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  195. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  196. local maincolor = BrickColor.new("Institutional white")
  197. hum.MaxHealth = 200
  198. hum.Health = 200
  199.  
  200. -------------------------------------------------------
  201. --Start Good Stuff--
  202. -------------------------------------------------------
  203. cam = game.Workspace.CurrentCamera
  204. CF = CFrame.new
  205. angles = CFrame.Angles
  206. attack = false
  207. Euler = CFrame.fromEulerAnglesXYZ
  208. Rad = math.rad
  209. IT = Instance.new
  210. BrickC = BrickColor.new
  211. Cos = math.cos
  212. Acos = math.acos
  213. Sin = math.sin
  214. Asin = math.asin
  215. Abs = math.abs
  216. Mrandom = math.random
  217. Floor = math.floor
  218. -------------------------------------------------------
  219. --End Good Stuff--
  220. -------------------------------------------------------
  221. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  222. RSH, LSH = nil, nil
  223. RW = Instance.new("Weld")
  224. LW = Instance.new("Weld")
  225. RH = tors["Right Hip"]
  226. LH = tors["Left Hip"]
  227. RSH = tors["Right Shoulder"]
  228. LSH = tors["Left Shoulder"]
  229. RSH.Parent = nil
  230. LSH.Parent = nil
  231. RW.Name = "RW"
  232. RW.Part0 = tors
  233. RW.C0 = CF(1.5, 0.5, 0)
  234. RW.C1 = CF(0, 0.5, 0)
  235. RW.Part1 = ra
  236. RW.Parent = tors
  237. LW.Name = "LW"
  238. LW.Part0 = tors
  239. LW.C0 = CF(-1.5, 0.5, 0)
  240. LW.C1 = CF(0, 0.5, 0)
  241. LW.Part1 = la
  242. LW.Parent = tors
  243. vt = Vector3.new
  244. Effects = {}
  245. -------------------------------------------------------
  246. --Start HeartBeat--
  247. -------------------------------------------------------
  248. ArtificialHB = Instance.new("BindableEvent", script)
  249. ArtificialHB.Name = "Heartbeat"
  250. script:WaitForChild("Heartbeat")
  251.  
  252. frame = 1 / 90
  253. tf = 0
  254. allowframeloss = false
  255. tossremainder = false
  256.  
  257.  
  258. lastframe = tick()
  259. script.Heartbeat:Fire()
  260.  
  261.  
  262. game:GetService("RunService").Heartbeat:connect(function(s, p)
  263. tf = tf + s
  264. if tf >= frame then
  265. if allowframeloss then
  266. script.Heartbeat:Fire()
  267. lastframe = tick()
  268. else
  269. for i = 1, math.floor(tf / frame) do
  270. script.Heartbeat:Fire()
  271. end
  272. lastframe = tick()
  273. end
  274. if tossremainder then
  275. tf = 0
  276. else
  277. tf = tf - frame * math.floor(tf / frame)
  278. end
  279. end
  280. end)
  281. -------------------------------------------------------
  282. --End HeartBeat--
  283. -------------------------------------------------------
  284.  
  285.  
  286.  
  287. -------------------------------------------------------
  288. --Start Combo Function--
  289. -------------------------------------------------------
  290. local comboing = false
  291. local combohits = 0
  292. local combotime = 0
  293. local maxtime = 65
  294.  
  295.  
  296.  
  297. function sandbox(var,func)
  298. local env = getfenv(func)
  299. local newenv = setmetatable({},{
  300. __index = function(self,k)
  301. if k=="script" then
  302. return var
  303. else
  304. return env[k]
  305. end
  306. end,
  307. })
  308. setfenv(func,newenv)
  309. return func
  310. end
  311. cors = {}
  312. mas = Instance.new("Model",game:GetService("Lighting"))
  313. comboframe = Instance.new("ScreenGui")
  314. Frame1 = Instance.new("Frame")
  315. Frame2 = Instance.new("Frame")
  316. TextLabel3 = Instance.new("TextLabel")
  317. comboframe.Name = "combinserter"
  318. comboframe.Parent = mas
  319. Frame1.Name = "combtimegui"
  320. Frame1.Parent = comboframe
  321. Frame1.Size = UDim2.new(0, 300, 0, 14)
  322. Frame1.Position = UDim2.new(0, 900, 0.629999971, 0)
  323. Frame1.BackgroundColor3 = Color3.new(0, 0, 0)
  324. Frame1.BorderColor3 = Color3.new(0.0313726, 0.0470588, 0.0627451)
  325. Frame1.BorderSizePixel = 5
  326. Frame2.Name = "combtimeoverlay"
  327. Frame2.Parent = Frame1
  328. Frame2.Size = UDim2.new(0, 0, 0, 14)
  329. Frame2.BackgroundColor3 = Color3.new(0, 1, 0)
  330. Frame2.ZIndex = 2
  331. TextLabel3.Parent = Frame2
  332. TextLabel3.Transparency = 0
  333. TextLabel3.Size = UDim2.new(0, 300, 0, 50)
  334. TextLabel3.Text ="Hits: "..combohits
  335. TextLabel3.Position = UDim2.new(0, 0, -5.5999999, 0)
  336. TextLabel3.BackgroundColor3 = Color3.new(1, 1, 1)
  337. TextLabel3.BackgroundTransparency = 1
  338. TextLabel3.Font = Enum.Font.Bodoni
  339. TextLabel3.FontSize = Enum.FontSize.Size60
  340. TextLabel3.TextColor3 = Color3.new(0, 1, 0)
  341. TextLabel3.TextStrokeTransparency = 0
  342. gui = game:GetService("Players").LocalPlayer.PlayerGui
  343. for i,v in pairs(mas:GetChildren()) do
  344. v.Parent = game:GetService("Players").LocalPlayer.PlayerGui
  345. pcall(function() v:MakeJoints() end)
  346. end
  347. mas:Destroy()
  348. for i,v in pairs(cors) do
  349. spawn(function()
  350. pcall(v)
  351. end)
  352. end
  353.  
  354.  
  355.  
  356.  
  357.  
  358. coroutine.resume(coroutine.create(function()
  359. while true do
  360. wait()
  361.  
  362.  
  363. if combotime>65 then
  364. combotime = 65
  365. end
  366.  
  367.  
  368.  
  369.  
  370.  
  371. if combotime>.1 and comboing == true then
  372. TextLabel3.Transparency = 0
  373. TextLabel3.TextStrokeTransparency = 0
  374. TextLabel3.BackgroundTransparency = 1
  375. Frame1.Transparency = 0
  376. Frame2.Transparency = 0
  377. TextLabel3.Text ="Hits: "..combohits
  378. combotime = combotime - .34
  379. Frame2.Size = Frame2.Size:lerp(UDim2.new(0, combotime/maxtime*300, 0, 14),0.42)
  380. end
  381.  
  382.  
  383.  
  384.  
  385. if combotime<.1 then
  386. TextLabel3.BackgroundTransparency = 1
  387. TextLabel3.Transparency = 1
  388. TextLabel3.TextStrokeTransparency = 1
  389.  
  390. Frame2.Size = UDim2.new(0, 0, 0, 14)
  391. combotime = 0
  392. comboing = false
  393. Frame1.Transparency = 1
  394. Frame2.Transparency = 1
  395. combohits = 0
  396.  
  397. end
  398. end
  399. end))
  400.  
  401.  
  402.  
  403. -------------------------------------------------------
  404. --End Combo Function--
  405. -------------------------------------------------------
  406.  
  407. -------------------------------------------------------
  408. --Start Important Functions--
  409. -------------------------------------------------------
  410. function swait(num)
  411. if num == 0 or num == nil then
  412. game:service("RunService").Stepped:wait(0)
  413. else
  414. for i = 0, num do
  415. game:service("RunService").Stepped:wait(0)
  416. end
  417. end
  418. end
  419. function thread(f)
  420. coroutine.resume(coroutine.create(f))
  421. end
  422. function clerp(a, b, t)
  423. local qa = {
  424. QuaternionFromCFrame(a)
  425. }
  426. local qb = {
  427. QuaternionFromCFrame(b)
  428. }
  429. local ax, ay, az = a.x, a.y, a.z
  430. local bx, by, bz = b.x, b.y, b.z
  431. local _t = 1 - t
  432. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  433. end
  434. function QuaternionFromCFrame(cf)
  435. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  436. local trace = m00 + m11 + m22
  437. if trace > 0 then
  438. local s = math.sqrt(1 + trace)
  439. local recip = 0.5 / s
  440. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  441. else
  442. local i = 0
  443. if m00 < m11 then
  444. i = 1
  445. end
  446. if m22 > (i == 0 and m00 or m11) then
  447. i = 2
  448. end
  449. if i == 0 then
  450. local s = math.sqrt(m00 - m11 - m22 + 1)
  451. local recip = 0.5 / s
  452. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  453. elseif i == 1 then
  454. local s = math.sqrt(m11 - m22 - m00 + 1)
  455. local recip = 0.5 / s
  456. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  457. elseif i == 2 then
  458. local s = math.sqrt(m22 - m00 - m11 + 1)
  459. local recip = 0.5 / s
  460. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  461. end
  462. end
  463. end
  464. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  465. local xs, ys, zs = x + x, y + y, z + z
  466. local wx, wy, wz = w * xs, w * ys, w * zs
  467. local xx = x * xs
  468. local xy = x * ys
  469. local xz = x * zs
  470. local yy = y * ys
  471. local yz = y * zs
  472. local zz = z * zs
  473. 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))
  474. end
  475. function QuaternionSlerp(a, b, t)
  476. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  477. local startInterp, finishInterp
  478. if cosTheta >= 1.0E-4 then
  479. if 1 - cosTheta > 1.0E-4 then
  480. local theta = math.acos(cosTheta)
  481. local invSinTheta = 1 / Sin(theta)
  482. startInterp = Sin((1 - t) * theta) * invSinTheta
  483. finishInterp = Sin(t * theta) * invSinTheta
  484. else
  485. startInterp = 1 - t
  486. finishInterp = t
  487. end
  488. elseif 1 + cosTheta > 1.0E-4 then
  489. local theta = math.acos(-cosTheta)
  490. local invSinTheta = 1 / Sin(theta)
  491. startInterp = Sin((t - 1) * theta) * invSinTheta
  492. finishInterp = Sin(t * theta) * invSinTheta
  493. else
  494. startInterp = t - 1
  495. finishInterp = t
  496. end
  497. 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
  498. end
  499. function rayCast(Position, Direction, Range, Ignore)
  500. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  501. end
  502. local RbxUtility = LoadLibrary("RbxUtility")
  503. local Create = RbxUtility.Create
  504.  
  505. -------------------------------------------------------
  506. --Start Damage Function--
  507. -------------------------------------------------------
  508. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  509. if hit.Parent == nil then
  510. return
  511. end
  512. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  513. for _, v in pairs(hit.Parent:children()) do
  514. if v:IsA("Humanoid") then
  515. h = v
  516. end
  517. end
  518. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  519.  
  520. hit.Parent:FindFirstChild("Head"):BreakJoints()
  521. end
  522.  
  523. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  524. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  525. if hit.Parent.DebounceHit.Value == true then
  526. return
  527. end
  528. end
  529. if insta == true then
  530. hit.Parent:FindFirstChild("Head"):BreakJoints()
  531. end
  532. local c = Create("ObjectValue"){
  533. Name = "creator",
  534. Value = owner,
  535. Parent = h,
  536. }
  537. game:GetService("Debris"):AddItem(c, .5)
  538. if HitSound ~= nil and HitPitch ~= nil then
  539. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  540. end
  541. local Damage = math.random(minim, maxim)
  542. local blocked = false
  543. local block = hit.Parent:findFirstChild("Block")
  544. if block ~= nil then
  545. if block.className == "IntValue" then
  546. if block.Value > 0 then
  547. blocked = true
  548. block.Value = block.Value - 1
  549. print(block.Value)
  550. end
  551. end
  552. end
  553. if blocked == false then
  554. h.Health = h.Health - Damage
  555. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  556. else
  557. h.Health = h.Health - (Damage / 2)
  558. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  559. end
  560. if Type == "Knockdown" then
  561. local hum = hit.Parent.Humanoid
  562. hum.PlatformStand = true
  563. coroutine.resume(coroutine.create(function(HHumanoid)
  564. swait(1)
  565. HHumanoid.PlatformStand = false
  566. end), hum)
  567. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  568. local bodvol = Create("BodyVelocity"){
  569. velocity = angle * knockback,
  570. P = 5000,
  571. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  572. Parent = hit,
  573. }
  574. local rl = Create("BodyAngularVelocity"){
  575. P = 3000,
  576. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  577. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  578. Parent = hit,
  579. }
  580. game:GetService("Debris"):AddItem(bodvol, .5)
  581. game:GetService("Debris"):AddItem(rl, .5)
  582. elseif Type == "Normal" then
  583. local vp = Create("BodyVelocity"){
  584. P = 500,
  585. maxForce = Vector3.new(math.huge, 0, math.huge),
  586. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  587. }
  588. if knockback > 0 then
  589. vp.Parent = hit.Parent.Torso
  590. end
  591. game:GetService("Debris"):AddItem(vp, .5)
  592. elseif Type == "Up" then
  593. local bodyVelocity = Create("BodyVelocity"){
  594. velocity = Vector3.new(0, 20, 0),
  595. P = 5000,
  596. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  597. Parent = hit,
  598. }
  599. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  600. elseif Type == "DarkUp" then
  601. coroutine.resume(coroutine.create(function()
  602. for i = 0, 1, 0.1 do
  603. swait()
  604. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  605. end
  606. end))
  607. local bodyVelocity = Create("BodyVelocity"){
  608. velocity = Vector3.new(0, 20, 0),
  609. P = 5000,
  610. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  611. Parent = hit,
  612. }
  613. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  614. elseif Type == "Snare" then
  615. local bp = Create("BodyPosition"){
  616. P = 2000,
  617. D = 100,
  618. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  619. position = hit.Parent.Torso.Position,
  620. Parent = hit.Parent.Torso,
  621. }
  622. game:GetService("Debris"):AddItem(bp, 1)
  623. elseif Type == "Freeze" then
  624. local BodPos = Create("BodyPosition"){
  625. P = 50000,
  626. D = 1000,
  627. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  628. position = hit.Parent.Torso.Position,
  629. Parent = hit.Parent.Torso,
  630. }
  631. local BodGy = Create("BodyGyro") {
  632. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  633. P = 20e+003,
  634. Parent = hit.Parent.Torso,
  635. cframe = hit.Parent.Torso.CFrame,
  636. }
  637. hit.Parent.Torso.Anchored = true
  638. coroutine.resume(coroutine.create(function(Part)
  639. swait(1.5)
  640. Part.Anchored = false
  641. end), hit.Parent.Torso)
  642. game:GetService("Debris"):AddItem(BodPos, 3)
  643. game:GetService("Debris"):AddItem(BodGy, 3)
  644. end
  645. local debounce = Create("BoolValue"){
  646. Name = "DebounceHit",
  647. Parent = hit.Parent,
  648. Value = true,
  649. }
  650. game:GetService("Debris"):AddItem(debounce, Delay)
  651. c = Create("ObjectValue"){
  652. Name = "creator",
  653. Value = Player,
  654. Parent = h,
  655. }
  656. game:GetService("Debris"):AddItem(c, .5)
  657. end
  658. end
  659.  
  660.  
  661.  
  662.  
  663. kDamagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  664. if hit.Parent==nil then
  665. return
  666. end
  667. h=hit.Parent:FindFirstChild("Humanoid")
  668. for _,v in pairs(hit.Parent:children()) do
  669. if v:IsA("Humanoid") then
  670. h=v
  671. end
  672. end
  673. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  674. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  675. end
  676. if hit.Parent.className=="Hat" then
  677. hit=hit.Parent.Parent:findFirstChild("Head")
  678. end
  679. if h~=nil and hit.Parent.Name~=char.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  680. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  681. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  682. return
  683. end]]
  684. -- hs(hit,1.2)
  685. c=Instance.new("ObjectValue")
  686. c.Name="creator"
  687. c.Value=owner
  688. c.Parent=h
  689. game:GetService("Debris"):AddItem(c,.5)
  690. Damage=math.random(minim,maxim)
  691. -- h:TakeDamage(Damage)
  692. blocked=false
  693. block=hit.Parent:findFirstChild("Block")
  694. if block~=nil then
  695. print(block.className)
  696. if block.className=="NumberValue" then
  697. if block.Value>0 then
  698. blocked=true
  699. if decreaseblock==nil then
  700. block.Value=block.Value-1
  701. end
  702. end
  703. end
  704. if block.className=="IntValue" then
  705. if block.Value>0 then
  706. blocked=true
  707. if decreaseblock~=nil then
  708. block.Value=block.Value-1
  709. end
  710. end
  711. end
  712. end
  713. if blocked==false then
  714. -- h:TakeDamage(Damage)
  715. h.Health=h.Health-Damage
  716. kshowDamage(hit.Parent,Damage,.5,BrickColor.new("White"))
  717. else
  718. h.Health=h.Health-(Damage/2)
  719. kshowDamage(hit.Parent,Damage/2,.5,BrickColor.new("White"))
  720. end
  721. if Type=="Knockdown" then
  722. hum=hit.Parent.Humanoid
  723. hum.PlatformStand=true
  724. coroutine.resume(coroutine.create(function(HHumanoid)
  725. swait(1)
  726. HHumanoid.PlatformStand=false
  727. end),hum)
  728. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  729. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  730. local bodvol=Instance.new("BodyVelocity")
  731. bodvol.velocity=angle*knockback
  732. bodvol.P=5000
  733. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  734. bodvol.Parent=hit
  735. rl=Instance.new("BodyAngularVelocity")
  736. rl.P=3000
  737. rl.maxTorque=Vector3.new(500,500,500)
  738. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  739. rl.Parent=hit
  740. game:GetService("Debris"):AddItem(bodvol,.5)
  741. game:GetService("Debris"):AddItem(rl,.5)
  742. elseif Type=="Normal" then
  743. vp=Instance.new("BodyVelocity")
  744. vp.P=500
  745. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  746. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  747. if KnockbackType==1 then
  748. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  749. elseif KnockbackType==2 then
  750. vp.velocity=Property.CFrame.lookVector*knockback
  751. end
  752. if knockback>0 then
  753. vp.Parent=hit.Parent.Torso
  754. end
  755. game:GetService("Debris"):AddItem(vp,.5)
  756. elseif Type=="Up" then
  757. hit.Parent.Humanoid.PlatformStand = true
  758. local bodyVelocity=Instance.new("BodyVelocity")
  759. bodyVelocity.velocity=vt(0,15,0)
  760. bodyVelocity.P=5000
  761. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  762. bodyVelocity.Parent=hit
  763. game:GetService("Debris"):AddItem(bodyVelocity,1)
  764. rl=Instance.new("BodyAngularVelocity")
  765. rl.P=3000
  766. rl.AngularVelocity = Vector3.new(2000,2000,2000)
  767. rl.MaxTorque = Vector3.new(40000,40000,40000)
  768. rl.Parent=hit
  769. hit.Parent.Humanoid.PlatformStand = false
  770. game:GetService("Debris"):AddItem(rl,.5)
  771. elseif Type=="Snare" then
  772. bp=Instance.new("BodyPosition")
  773. bp.P=2000
  774. bp.D=100
  775. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  776. bp.position=hit.Parent.Torso.Position
  777. bp.Parent=hit.Parent.Torso
  778. game:GetService("Debris"):AddItem(bp,1)
  779. elseif Type=="Float" then
  780. hit.Parent.Humanoid.PlatformStand = true
  781. bp=Instance.new("BodyPosition")
  782. bp.P=2000
  783. bp.D=400
  784. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  785. bp.position=hit.Parent.Torso.Position+vt(0,35,24)
  786. bp.Parent=hit.Parent.Torso
  787.  
  788. local rl=Instance.new("BodyAngularVelocity",hit.Parent.Torso)
  789. rl.P=377705
  790. rl.maxTorque=Vector3.new(1,1,1)*500
  791. rl.angularvelocity=Vector3.new(math.random(-3,3),math.random(-6,6),math.random(-3,3))
  792.  
  793. local BF = Instance.new("BodyForce",hit.Parent.Torso)
  794. BF.force = Vector3.new(0, workspace.Gravity/1.10, 0)
  795. game:GetService("Debris"):AddItem(bp,5)
  796. game:GetService("Debris"):AddItem(BF,5)
  797. game:GetService("Debris"):AddItem(rl,5)
  798. elseif Type=="Target" then
  799. if Targetting==false then
  800. ZTarget=hit.Parent.Torso
  801. coroutine.resume(coroutine.create(function(Part)
  802. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  803. swait(5)
  804. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  805. end),ZTarget)
  806. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  807. targetgui=Instance.new("BillboardGui")
  808. targetgui.Parent=ZTarget
  809. targetgui.Size=UDim2.new(10,100,10,100)
  810. targ=Instance.new("ImageLabel")
  811. targ.Parent=targetgui
  812. targ.BackgroundTransparency=1
  813. targ.Image="rbxassetid://4834067"
  814. targ.Size=UDim2.new(1,0,1,0)
  815. cam.CameraType="Scriptable"
  816. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  817. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  818. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  819. Targetting=true
  820. RocketTarget=ZTarget
  821. for i=1,Property do
  822. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  823. if Humanoid.Health>0 and char.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  824. swait()
  825. end
  826. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  827. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  828. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  829. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  830. end
  831. Targetting=false
  832. RocketTarget=nil
  833. targetgui.Parent=nil
  834. cam.CameraType="Custom"
  835. end
  836. end
  837. debounce=Instance.new("BoolValue")
  838. debounce.Name="DebounceHit"
  839. debounce.Parent=hit.Parent
  840. debounce.Value=true
  841. game:GetService("Debris"):AddItem(debounce,Delay)
  842. c=Instance.new("ObjectValue")
  843. c.Name="creator"
  844. c.Value=Player
  845. c.Parent=h
  846. game:GetService("Debris"):AddItem(c,.5)
  847. CRIT=false
  848. hitDeb=true
  849. AttackPos=6
  850. comboing = true
  851. combohits = combohits+1
  852. combotime = combotime+3.4
  853.  
  854.  
  855.  
  856. if hitfloor == nil then
  857.  
  858. local velo=Instance.new("BodyVelocity")
  859. velo.velocity=vt(0,5.5,0)
  860. velo.P=8000
  861. velo.maxForce=Vector3.new(math.huge, math.huge, math.huge)
  862. velo.Parent=root
  863. game:GetService("Debris"):AddItem(velo,0.06)
  864.  
  865. local hitvelo=Instance.new("BodyVelocity")
  866. hitvelo.velocity=vt(0,5.5,0)
  867. hitvelo.P=8000
  868. hitvelo.maxForce=Vector3.new(math.huge, math.huge, math.huge)
  869. hitvelo.Parent=hit
  870. game:GetService("Debris"):AddItem(hitvelo,0.06)
  871.  
  872. coroutine.resume(coroutine.create(function()
  873. for i = 0,3.7,0.1 do
  874. swait()
  875. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,0,-2.4)
  876. root.Velocity = root.CFrame.lookVector*0
  877. hit.Velocity = hit.CFrame.lookVector*130
  878. end
  879. end))
  880. coroutine.resume(coroutine.create(function()
  881. while ultra == true do
  882. swait()
  883. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,0,-2.4)
  884. end
  885. end))
  886.  
  887.  
  888. end
  889.  
  890.  
  891. end
  892. end
  893.  
  894. kshowDamage=function(Char,Dealt,du,Color)
  895. m=Instance.new("Model")
  896. m.Name=tostring(Dealt)
  897. h=Instance.new("Humanoid")
  898. h.Health=0
  899. h.MaxHealth=0
  900. h.Parent=m
  901. c=Instance.new("Part")
  902. c.Transparency=0
  903. c.BrickColor=Color
  904. c.Name="Head"
  905. c.Material = "Neon"
  906. c.TopSurface=0
  907. c.BottomSurface=0
  908. c.formFactor="Plate"
  909. c.Size=Vector3.new(1,.4,1)
  910. ms=Instance.new("CylinderMesh")
  911. ms.Scale=Vector3.new(.8,.8,.8)
  912. if CRIT==true then
  913. ms.Scale=Vector3.new(1,1.25,1)
  914. end
  915. ms.Parent=c
  916. c.Reflectance=0
  917. Instance.new("BodyGyro").Parent=c
  918. c.Parent=m
  919. if Char:findFirstChild("Head")~=nil then
  920. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  921. elseif Char.Parent:findFirstChild("Head")~=nil then
  922. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  923. end
  924. f=Instance.new("BodyPosition")
  925. f.P=2000
  926. f.D=220
  927. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  928. f.position=c.Position+Vector3.new(0,3,0)
  929. f.Parent=c
  930. game:GetService("Debris"):AddItem(m,.5+du)
  931. c.CanCollide=false
  932. m.Parent=workspace
  933. c.CanCollide=false
  934.  
  935. end
  936.  
  937. -------------------------------------------------------
  938. --End Damage Function--
  939. -------------------------------------------------------
  940.  
  941. -------------------------------------------------------
  942. --Start Damage Function Customization--
  943. -------------------------------------------------------
  944. function ShowDamage(Pos, Text, Time, Color)
  945. local Rate = (1 / 30)
  946. local Pos = (Pos or Vector3.new(0, 0, 0))
  947. local Text = (Text or "")
  948. local Time = (Time or 2)
  949. local Color = (Color or Color3.new(1, 0, 1))
  950. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  951. EffectPart.Anchored = true
  952. local BillboardGui = Create("BillboardGui"){
  953. Size = UDim2.new(3, 0, 3, 0),
  954. Adornee = EffectPart,
  955. Parent = EffectPart,
  956. }
  957. local TextLabel = Create("TextLabel"){
  958. BackgroundTransparency = 1,
  959. Size = UDim2.new(1, 0, 1, 0),
  960. Text = Text,
  961. Font = "Bodoni",
  962. TextColor3 = Color,
  963. TextScaled = true,
  964. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  965. Parent = BillboardGui,
  966. }
  967. game.Debris:AddItem(EffectPart, (Time))
  968. EffectPart.Parent = game:GetService("Workspace")
  969. delay(0, function()
  970. local Frames = (Time / Rate)
  971. for Frame = 1, Frames do
  972. wait(Rate)
  973. local Percent = (Frame / Frames)
  974. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  975. TextLabel.TextTransparency = Percent
  976. end
  977. if EffectPart and EffectPart.Parent then
  978. EffectPart:Destroy()
  979. end
  980. end)
  981. end
  982. -------------------------------------------------------
  983. --End Damage Function Customization--
  984. -------------------------------------------------------
  985.  
  986. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  987. for _, c in pairs(workspace:children()) do
  988. local hum = c:findFirstChild("Humanoid")
  989. if hum ~= nil then
  990. local head = c:findFirstChild("Head")
  991. if head ~= nil then
  992. local targ = head.Position - Part.Position
  993. local mag = targ.magnitude
  994. if magni >= mag and c.Name ~= plr.Name then
  995. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  996. end
  997. end
  998. end
  999. end
  1000. end
  1001.  
  1002.  
  1003. CFuncs = {
  1004. Part = {
  1005. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1006. local Part = Create("Part")({
  1007. Parent = Parent,
  1008. Reflectance = Reflectance,
  1009. Transparency = Transparency,
  1010. CanCollide = false,
  1011. Locked = true,
  1012. BrickColor = BrickColor.new(tostring(BColor)),
  1013. Name = Name,
  1014. Size = Size,
  1015. Material = Material
  1016. })
  1017. RemoveOutlines(Part)
  1018. return Part
  1019. end
  1020. },
  1021. Mesh = {
  1022. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1023. local Msh = Create(Mesh)({
  1024. Parent = Part,
  1025. Offset = OffSet,
  1026. Scale = Scale
  1027. })
  1028. if Mesh == "SpecialMesh" then
  1029. Msh.MeshType = MeshType
  1030. Msh.MeshId = MeshId
  1031. end
  1032. return Msh
  1033. end
  1034. },
  1035. Mesh = {
  1036. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1037. local Msh = Create(Mesh)({
  1038. Parent = Part,
  1039. Offset = OffSet,
  1040. Scale = Scale
  1041. })
  1042. if Mesh == "SpecialMesh" then
  1043. Msh.MeshType = MeshType
  1044. Msh.MeshId = MeshId
  1045. end
  1046. return Msh
  1047. end
  1048. },
  1049. Weld = {
  1050. Create = function(Parent, Part0, Part1, C0, C1)
  1051. local Weld = Create("Weld")({
  1052. Parent = Parent,
  1053. Part0 = Part0,
  1054. Part1 = Part1,
  1055. C0 = C0,
  1056. C1 = C1
  1057. })
  1058. return Weld
  1059. end
  1060. },
  1061. Sound = {
  1062. Create = function(id, par, vol, pit)
  1063. coroutine.resume(coroutine.create(function()
  1064. local S = Create("Sound")({
  1065. Volume = vol,
  1066. Pitch = pit or 1,
  1067. SoundId = id,
  1068. Parent = par or workspace
  1069. })
  1070. wait()
  1071. S:play()
  1072. game:GetService("Debris"):AddItem(S, 6)
  1073. end))
  1074. end
  1075. },
  1076. ParticleEmitter = {
  1077. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1078. local fp = Create("ParticleEmitter")({
  1079. Parent = Parent,
  1080. Color = ColorSequence.new(Color1, Color2),
  1081. LightEmission = LightEmission,
  1082. Size = Size,
  1083. Texture = Texture,
  1084. Transparency = Transparency,
  1085. ZOffset = ZOffset,
  1086. Acceleration = Accel,
  1087. Drag = Drag,
  1088. LockedToPart = LockedToPart,
  1089. VelocityInheritance = VelocityInheritance,
  1090. EmissionDirection = EmissionDirection,
  1091. Enabled = Enabled,
  1092. Lifetime = LifeTime,
  1093. Rate = Rate,
  1094. Rotation = Rotation,
  1095. RotSpeed = RotSpeed,
  1096. Speed = Speed,
  1097. VelocitySpread = VelocitySpread
  1098. })
  1099. return fp
  1100. end
  1101. }
  1102. }
  1103. function RemoveOutlines(part)
  1104. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1105. end
  1106. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1107. local Part = Create("Part")({
  1108. formFactor = FormFactor,
  1109. Parent = Parent,
  1110. Reflectance = Reflectance,
  1111. Transparency = Transparency,
  1112. CanCollide = false,
  1113. Locked = true,
  1114. BrickColor = BrickColor.new(tostring(BColor)),
  1115. Name = Name,
  1116. Size = Size,
  1117. Material = Material
  1118. })
  1119. RemoveOutlines(Part)
  1120. return Part
  1121. end
  1122. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1123. local Msh = Create(Mesh)({
  1124. Parent = Part,
  1125. Offset = OffSet,
  1126. Scale = Scale
  1127. })
  1128. if Mesh == "SpecialMesh" then
  1129. Msh.MeshType = MeshType
  1130. Msh.MeshId = MeshId
  1131. end
  1132. return Msh
  1133. end
  1134. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1135. local Weld = Create("Weld")({
  1136. Parent = Parent,
  1137. Part0 = Part0,
  1138. Part1 = Part1,
  1139. C0 = C0,
  1140. C1 = C1
  1141. })
  1142. return Weld
  1143. end
  1144.  
  1145.  
  1146. -------------------------------------------------------
  1147. --Start Effect Function--
  1148. -------------------------------------------------------
  1149. EffectModel = Instance.new("Model", char)
  1150. Effects = {
  1151. Block = {
  1152. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1153. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1154. prt.Anchored = true
  1155. prt.CFrame = cframe
  1156. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1157. game:GetService("Debris"):AddItem(prt, 10)
  1158. if Type == 1 or Type == nil then
  1159. table.insert(Effects, {
  1160. prt,
  1161. "Block1",
  1162. delay,
  1163. x3,
  1164. y3,
  1165. z3,
  1166. msh
  1167. })
  1168. elseif Type == 2 then
  1169. table.insert(Effects, {
  1170. prt,
  1171. "Block2",
  1172. delay,
  1173. x3,
  1174. y3,
  1175. z3,
  1176. msh
  1177. })
  1178. else
  1179. table.insert(Effects, {
  1180. prt,
  1181. "Block3",
  1182. delay,
  1183. x3,
  1184. y3,
  1185. z3,
  1186. msh
  1187. })
  1188. end
  1189. end
  1190. },
  1191. Sphere = {
  1192. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1193. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1194. prt.Anchored = true
  1195. prt.CFrame = cframe
  1196. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1197. game:GetService("Debris"):AddItem(prt, 10)
  1198. table.insert(Effects, {
  1199. prt,
  1200. "Cylinder",
  1201. delay,
  1202. x3,
  1203. y3,
  1204. z3,
  1205. msh
  1206. })
  1207. end
  1208. },
  1209. Cylinder = {
  1210. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1211. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1212. prt.Anchored = true
  1213. prt.CFrame = cframe
  1214. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1215. game:GetService("Debris"):AddItem(prt, 10)
  1216. table.insert(Effects, {
  1217. prt,
  1218. "Cylinder",
  1219. delay,
  1220. x3,
  1221. y3,
  1222. z3,
  1223. msh
  1224. })
  1225. end
  1226. },
  1227. Wave = {
  1228. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1229. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1230. prt.Anchored = true
  1231. prt.CFrame = cframe
  1232. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  1233. game:GetService("Debris"):AddItem(prt, 10)
  1234. table.insert(Effects, {
  1235. prt,
  1236. "Cylinder",
  1237. delay,
  1238. x3 / 60,
  1239. y3 / 60,
  1240. z3 / 60,
  1241. msh
  1242. })
  1243. end
  1244. },
  1245. Ring = {
  1246. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1247. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1248. prt.Anchored = true
  1249. prt.CFrame = cframe
  1250. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1251. game:GetService("Debris"):AddItem(prt, 10)
  1252. table.insert(Effects, {
  1253. prt,
  1254. "Cylinder",
  1255. delay,
  1256. x3,
  1257. y3,
  1258. z3,
  1259. msh
  1260. })
  1261. end
  1262. },
  1263. Break = {
  1264. Create = function(brickcolor, cframe, x1, y1, z1)
  1265. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1266. prt.Anchored = true
  1267. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1268. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1269. local num = math.random(10, 50) / 1000
  1270. game:GetService("Debris"):AddItem(prt, 10)
  1271. table.insert(Effects, {
  1272. prt,
  1273. "Shatter",
  1274. num,
  1275. prt.CFrame,
  1276. math.random() - math.random(),
  1277. 0,
  1278. math.random(50, 100) / 100
  1279. })
  1280. end
  1281. },
  1282. Spiral = {
  1283. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1284. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1285. prt.Anchored = true
  1286. prt.CFrame = cframe
  1287. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1288. game:GetService("Debris"):AddItem(prt, 10)
  1289. table.insert(Effects, {
  1290. prt,
  1291. "Cylinder",
  1292. delay,
  1293. x3,
  1294. y3,
  1295. z3,
  1296. msh
  1297. })
  1298. end
  1299. },
  1300. Push = {
  1301. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1302. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1303. prt.Anchored = true
  1304. prt.CFrame = cframe
  1305. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1306. game:GetService("Debris"):AddItem(prt, 10)
  1307. table.insert(Effects, {
  1308. prt,
  1309. "Cylinder",
  1310. delay,
  1311. x3,
  1312. y3,
  1313. z3,
  1314. msh
  1315. })
  1316. end
  1317. }
  1318. }
  1319. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  1320. local fp = IT("Part")
  1321. fp.formFactor = formfactor
  1322. fp.Parent = parent
  1323. fp.Reflectance = reflectance
  1324. fp.Transparency = transparency
  1325. fp.CanCollide = false
  1326. fp.Locked = true
  1327. fp.BrickColor = brickcolor
  1328. fp.Name = name
  1329. fp.Size = size
  1330. fp.Position = tors.Position
  1331. RemoveOutlines(fp)
  1332. fp.Material = "SmoothPlastic"
  1333. fp:BreakJoints()
  1334. return fp
  1335. end
  1336.  
  1337. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1338. local mesh = IT(Mesh)
  1339. mesh.Parent = part
  1340. if Mesh == "SpecialMesh" then
  1341. mesh.MeshType = meshtype
  1342. if meshid ~= "nil" then
  1343. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  1344. end
  1345. end
  1346. mesh.Offset = offset
  1347. mesh.Scale = scale
  1348. return mesh
  1349. end
  1350.  
  1351. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  1352. local type = type
  1353. local rng = Instance.new("Part", char)
  1354. rng.Anchored = true
  1355. rng.BrickColor = color
  1356. rng.CanCollide = false
  1357. rng.FormFactor = 3
  1358. rng.Name = "Ring"
  1359. rng.Material = "Neon"
  1360. rng.Size = Vector3.new(1, 1, 1)
  1361. rng.Transparency = 0
  1362. rng.TopSurface = 0
  1363. rng.BottomSurface = 0
  1364. rng.CFrame = pos
  1365. local rngm = Instance.new("SpecialMesh", rng)
  1366. rngm.MeshType = MType
  1367. rngm.Scale = scale
  1368. local scaler2 = 1
  1369. if type == "Add" then
  1370. scaler2 = 1 * value
  1371. elseif type == "Divide" then
  1372. scaler2 = 1 / value
  1373. end
  1374. coroutine.resume(coroutine.create(function()
  1375. for i = 0, 10 / bonuspeed, 0.1 do
  1376. swait()
  1377. if type == "Add" then
  1378. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1379. elseif type == "Divide" then
  1380. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1381. end
  1382. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1383. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  1384. end
  1385. rng:Destroy()
  1386. end))
  1387. end
  1388.  
  1389. function Eviscerate(dude)
  1390. if dude.Name ~= char then
  1391. local bgf = IT("BodyGyro", dude.Head)
  1392. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1393. local val = IT("BoolValue", dude)
  1394. val.Name = "IsHit"
  1395. local ds = coroutine.wrap(function()
  1396. dude:WaitForChild("Head"):BreakJoints()
  1397. wait(0.5)
  1398. target = nil
  1399. coroutine.resume(coroutine.create(function()
  1400. for i, v in pairs(dude:GetChildren()) do
  1401. if v:IsA("Accessory") then
  1402. v:Destroy()
  1403. end
  1404. if v:IsA("Humanoid") then
  1405. v:Destroy()
  1406. end
  1407. if v:IsA("CharacterMesh") then
  1408. v:Destroy()
  1409. end
  1410. if v:IsA("Model") then
  1411. v:Destroy()
  1412. end
  1413. if v:IsA("Part") or v:IsA("MeshPart") then
  1414. for x, o in pairs(v:GetChildren()) do
  1415. if o:IsA("Decal") then
  1416. o:Destroy()
  1417. end
  1418. end
  1419. coroutine.resume(coroutine.create(function()
  1420. v.Material = "Neon"
  1421. v.CanCollide = false
  1422. local PartEmmit1 = IT("ParticleEmitter", v)
  1423. PartEmmit1.LightEmission = 1
  1424. PartEmmit1.Texture = "rbxassetid://284205403"
  1425. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1426. PartEmmit1.Rate = 150
  1427. PartEmmit1.Lifetime = NumberRange.new(1)
  1428. PartEmmit1.Size = NumberSequence.new({
  1429. NumberSequenceKeypoint.new(0, 0.75, 0),
  1430. NumberSequenceKeypoint.new(1, 0, 0)
  1431. })
  1432. PartEmmit1.Transparency = NumberSequence.new({
  1433. NumberSequenceKeypoint.new(0, 0, 0),
  1434. NumberSequenceKeypoint.new(1, 1, 0)
  1435. })
  1436. PartEmmit1.Speed = NumberRange.new(0, 0)
  1437. PartEmmit1.VelocitySpread = 30000
  1438. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1439. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1440. local BodPoss = IT("BodyPosition", v)
  1441. BodPoss.P = 3000
  1442. BodPoss.D = 1000
  1443. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1444. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1445. v.Color = maincolor.Color
  1446. coroutine.resume(coroutine.create(function()
  1447. for i = 0, 49 do
  1448. swait(1)
  1449. v.Transparency = v.Transparency + 0.08
  1450. end
  1451. wait(0.5)
  1452. PartEmmit1.Enabled = false
  1453. wait(3)
  1454. v:Destroy()
  1455. dude:Destroy()
  1456. end))
  1457. end))
  1458. end
  1459. end
  1460. end))
  1461. end)
  1462. ds()
  1463. end
  1464. end
  1465.  
  1466. function FindNearestHead(Position, Distance, SinglePlayer)
  1467. if SinglePlayer then
  1468. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1469. end
  1470. local List = {}
  1471. for i, v in pairs(workspace:GetChildren()) do
  1472. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1473. table.insert(List, v)
  1474. end
  1475. end
  1476. return List
  1477. end
  1478.  
  1479. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1480. local type = type
  1481. local rng = Instance.new("Part", char)
  1482. rng.Anchored = true
  1483. rng.BrickColor = color
  1484. rng.CanCollide = false
  1485. rng.FormFactor = 3
  1486. rng.Name = "Ring"
  1487. rng.Material = "Neon"
  1488. rng.Size = Vector3.new(1, 1, 1)
  1489. rng.Transparency = 0
  1490. rng.TopSurface = 0
  1491. rng.BottomSurface = 0
  1492. rng.CFrame = pos
  1493. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1494. local rngm = Instance.new("SpecialMesh", rng)
  1495. rngm.MeshType = MType
  1496. rngm.Scale = Vector3.new(x1, y1, z1)
  1497. local scaler2 = 1
  1498. local speeder = FastSpeed
  1499. if type == "Add" then
  1500. scaler2 = 1 * value
  1501. elseif type == "Divide" then
  1502. scaler2 = 1 / value
  1503. end
  1504. coroutine.resume(coroutine.create(function()
  1505. for i = 0, 10 / bonuspeed, 0.1 do
  1506. swait()
  1507. if type == "Add" then
  1508. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1509. elseif type == "Divide" then
  1510. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1511. end
  1512. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1513. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1514. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1515. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1516. end
  1517. rng:Destroy()
  1518. end))
  1519. end
  1520.  
  1521. function SoulSteal(dude)
  1522. if dude.Name ~= char then
  1523. local bgf = IT("BodyGyro", dude.Head)
  1524. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1525. local val = IT("BoolValue", dude)
  1526. val.Name = "IsHit"
  1527. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1528. local soulst = coroutine.wrap(function()
  1529. local soul = Instance.new("Part",dude)
  1530. soul.Size = Vector3.new(1,1,1)
  1531. soul.CanCollide = false
  1532. soul.Anchored = false
  1533. soul.Position = torso.Position
  1534. soul.Transparency = 1
  1535. local PartEmmit1 = IT("ParticleEmitter", soul)
  1536. PartEmmit1.LightEmission = 1
  1537. PartEmmit1.Texture = "rbxassetid://569507414"
  1538. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1539. PartEmmit1.Rate = 250
  1540. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1541. PartEmmit1.Size = NumberSequence.new({
  1542. NumberSequenceKeypoint.new(0, 1, 0),
  1543. NumberSequenceKeypoint.new(1, 0, 0)
  1544. })
  1545. PartEmmit1.Transparency = NumberSequence.new({
  1546. NumberSequenceKeypoint.new(0, 0, 0),
  1547. NumberSequenceKeypoint.new(1, 1, 0)
  1548. })
  1549. PartEmmit1.Speed = NumberRange.new(0, 0)
  1550. PartEmmit1.VelocitySpread = 30000
  1551. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1552. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1553. local BodPoss = IT("BodyPosition", soul)
  1554. BodPoss.P = 3000
  1555. BodPoss.D = 1000
  1556. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1557. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1558. wait(1.6)
  1559. soul.Touched:connect(function(hit)
  1560. if hit.Parent == char then
  1561. soul:Destroy()
  1562. end
  1563. end)
  1564. wait(1.2)
  1565. while soul do
  1566. swait()
  1567. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1568. BodPoss.Position = tors.Position
  1569. end
  1570. end)
  1571. soulst()
  1572. end
  1573. end
  1574.  
  1575.  
  1576.  
  1577.  
  1578. --killer's effects
  1579.  
  1580.  
  1581.  
  1582.  
  1583.  
  1584. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1585. local Part = Create("Part"){
  1586. Parent = Parent,
  1587. Reflectance = Reflectance,
  1588. Transparency = Transparency,
  1589. CanCollide = false,
  1590. Locked = true,
  1591. BrickColor = BrickColor.new(tostring(BColor)),
  1592. Name = Name,
  1593. Size = Size,
  1594. Material = Material,
  1595. }
  1596. RemoveOutlines(Part)
  1597. return Part
  1598. end
  1599.  
  1600. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1601. local Msh = Create(Mesh){
  1602. Parent = Part,
  1603. Offset = OffSet,
  1604. Scale = Scale,
  1605. }
  1606. if Mesh == "SpecialMesh" then
  1607. Msh.MeshType = MeshType
  1608. Msh.MeshId = MeshId
  1609. end
  1610. return Msh
  1611. end
  1612.  
  1613.  
  1614.  
  1615. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1616. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1617. prt.Anchored = true
  1618. prt.CFrame = cframe
  1619. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1620. game:GetService("Debris"):AddItem(prt, 10)
  1621. if Type == 1 or Type == nil then
  1622. table.insert(Effects, {
  1623. prt,
  1624. "Block1",
  1625. delay,
  1626. x3,
  1627. y3,
  1628. z3,
  1629. msh
  1630. })
  1631. elseif Type == 2 then
  1632. table.insert(Effects, {
  1633. prt,
  1634. "Block2",
  1635. delay,
  1636. x3,
  1637. y3,
  1638. z3,
  1639. msh
  1640. })
  1641. end
  1642. end
  1643.  
  1644. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1645. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1646. prt.Anchored = true
  1647. prt.CFrame = cframe
  1648. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1649. game:GetService("Debris"):AddItem(prt, 10)
  1650. table.insert(Effects, {
  1651. prt,
  1652. "Cylinder",
  1653. delay,
  1654. x3,
  1655. y3,
  1656. z3,
  1657. msh
  1658. })
  1659. end
  1660.  
  1661. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1662. 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))
  1663. prt.Anchored=true
  1664. prt.CFrame=cframe
  1665. msh=CreateMesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  1666. game:GetService("Debris"):AddItem(prt,2)
  1667. coroutine.resume(coroutine.create(function(Part,Mesh,num)
  1668. for i=0,1,delay do
  1669. swait()
  1670. Part.Transparency=i
  1671. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1672. end
  1673. Part.Parent=nil
  1674. end),prt,msh,(math.random(0,1)+math.random())/5)
  1675. end
  1676.  
  1677. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1678. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1679. prt.Anchored = true
  1680. prt.CFrame = cframe
  1681. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1682. game:GetService("Debris"):AddItem(prt, 10)
  1683. table.insert(Effects, {
  1684. prt,
  1685. "Cylinder",
  1686. delay,
  1687. x3,
  1688. y3,
  1689. z3,
  1690. msh
  1691. })
  1692. end
  1693.  
  1694. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1695. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1696. prt.Anchored = true
  1697. prt.CFrame = cframe
  1698. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1699. game:GetService("Debris"):AddItem(prt, 10)
  1700. table.insert(Effects, {
  1701. prt,
  1702. "Cylinder",
  1703. delay,
  1704. x3,
  1705. y3,
  1706. z3,
  1707. msh
  1708. })
  1709. end
  1710.  
  1711. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1712. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1713. prt.Anchored = true
  1714. prt.CFrame = cframe
  1715. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1716. game:GetService("Debris"):AddItem(prt, 10)
  1717. table.insert(Effects, {
  1718. prt,
  1719. "Cylinder",
  1720. delay,
  1721. x3,
  1722. y3,
  1723. z3,
  1724. msh
  1725. })
  1726. end
  1727.  
  1728.  
  1729. function MoonEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1730. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1731. prt.Anchored = true
  1732. prt.CFrame = cframe
  1733. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://259403370", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1734. game:GetService("Debris"):AddItem(prt, 10)
  1735. table.insert(Effects, {
  1736. prt,
  1737. "Cylinder",
  1738. delay,
  1739. x3,
  1740. y3,
  1741. z3,
  1742. msh
  1743. })
  1744. end
  1745.  
  1746. function HeadEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1747. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1748. prt.Anchored = true
  1749. prt.CFrame = cframe
  1750. local msh = CreateMesh("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1751. game:GetService("Debris"):AddItem(prt, 10)
  1752. table.insert(Effects, {
  1753. prt,
  1754. "Cylinder",
  1755. delay,
  1756. x3,
  1757. y3,
  1758. z3,
  1759. msh
  1760. })
  1761. end
  1762.  
  1763. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  1764. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1765. prt.Anchored = true
  1766. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1767. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1768. local num = math.random(10, 50) / 1000
  1769. game:GetService("Debris"):AddItem(prt, 10)
  1770. table.insert(Effects, {
  1771. prt,
  1772. "Shatter",
  1773. num,
  1774. prt.CFrame,
  1775. math.random() - math.random(),
  1776. 0,
  1777. math.random(50, 100) / 100
  1778. })
  1779. end
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785. so = function(id,par,vol,pit)
  1786. coroutine.resume(coroutine.create(function()
  1787. local sou = Instance.new("Sound",par or workspace)
  1788. sou.Volume=vol
  1789. sou.Pitch=pit or 1
  1790. sou.SoundId=id
  1791. sou:play()
  1792. game:GetService("Debris"):AddItem(sou,8)
  1793. end))
  1794. end
  1795.  
  1796.  
  1797. --end of killer's effects
  1798.  
  1799.  
  1800. function FaceMouse()
  1801. local Cam = workspace.CurrentCamera
  1802. return {
  1803. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1804. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1805. }
  1806. end
  1807. -------------------------------------------------------
  1808. --End Effect Function--
  1809. -------------------------------------------------------
  1810. function Cso(ID, PARENT, VOLUME, PITCH)
  1811. local NSound = nil
  1812. coroutine.resume(coroutine.create(function()
  1813. NSound = IT("Sound", PARENT)
  1814. NSound.Volume = VOLUME
  1815. NSound.Pitch = PITCH
  1816. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1817. swait()
  1818. NSound:play()
  1819. game:GetService("Debris"):AddItem(NSound, 10)
  1820. end))
  1821. return NSound
  1822. end
  1823. function CameraEnshaking(Length, Intensity)
  1824. coroutine.resume(coroutine.create(function()
  1825. local intensity = 1 * Intensity
  1826. local rotM = 0.01 * Intensity
  1827. for i = 0, Length, 0.1 do
  1828. swait()
  1829. intensity = intensity - 0.05 * Intensity / Length
  1830. rotM = rotM - 5.0E-4 * Intensity / Length
  1831. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1832. 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)
  1833. end
  1834. hum.CameraOffset = Vector3.new(0, 0, 0)
  1835. end))
  1836. end
  1837. -------------------------------------------------------
  1838. --End Important Functions--
  1839. -------------------------------------------------------
  1840.  
  1841.  
  1842. -------------------------------------------------------
  1843. --Start Customization--
  1844. -------------------------------------------------------
  1845. local Player_Size = 1
  1846. if Player_Size ~= 1 then
  1847. root.Size = root.Size * Player_Size
  1848. tors.Size = tors.Size * Player_Size
  1849. hed.Size = hed.Size * Player_Size
  1850. ra.Size = ra.Size * Player_Size
  1851. la.Size = la.Size * Player_Size
  1852. rl.Size = rl.Size * Player_Size
  1853. ll.Size = ll.Size * Player_Size
  1854. ----------------------------------------------------------------------------------
  1855. rootj.Parent = root
  1856. neck.Parent = tors
  1857. RW.Parent = tors
  1858. LW.Parent = tors
  1859. RH.Parent = tors
  1860. LH.Parent = tors
  1861. ----------------------------------------------------------------------------------
  1862. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1863. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1864. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1865. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1866. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1867. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1868. ----------------------------------------------------------------------------------
  1869. 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))
  1870. 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))
  1871. 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))
  1872. 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))
  1873. --hat.Parent = Character
  1874. end
  1875. ----------------------------------------------------------------------------------
  1876. local SONG = 900817147 --900817147
  1877. local SONG2 = 0
  1878. local Music = Instance.new("Sound",tors)
  1879. Music.Volume = 0.7
  1880. Music.Looped = true
  1881. Music.Pitch = 1 --Pitcher
  1882. ----------------------------------------------------------------------------------
  1883. local equipped = false
  1884. local idle = 0
  1885. local change = 1
  1886. local val = 0
  1887. local toim = 0
  1888. local idleanim = 0.4
  1889. local sine = 0
  1890. local Sit = 1
  1891. local attacktype = 1
  1892. local attackdebounce = false
  1893. local euler = CFrame.fromEulerAnglesXYZ
  1894. local cankick = false
  1895. ----------------------------------------------------------------------------------
  1896. hum.WalkSpeed = 8
  1897. hum.JumpPower = 57
  1898. --[[
  1899. local ROBLOXIDLEANIMATION = IT("Animation")
  1900. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  1901. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  1902. ]]
  1903. local ANIMATOR = hum.Animator
  1904. local ANIMATE = char.Animate
  1905. ANIMATE.Parent = nil
  1906. ANIMATOR.Parent = nil
  1907. -------------------------------------------------------
  1908. --End Customization--
  1909. -------------------------------------------------------
  1910.  
  1911.  
  1912. -------------------------------------------------------
  1913. --Start Attacks N Stuff--
  1914. -------------------------------------------------------
  1915.  
  1916. --pls be proud mak i did my best
  1917.  
  1918.  
  1919.  
  1920. function attackone()
  1921.  
  1922. attack = true
  1923.  
  1924. for i = 0, 1.35, 0.1 do
  1925. swait()
  1926. 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)
  1927. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(40+11*i)), 0.2)
  1928. 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)
  1929. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-43)), 0.3)
  1930. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.7, 0) * RHCF * angles(math.rad(-34), math.rad(0), math.rad(-17)), 0.2)
  1931. 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)
  1932. end
  1933.  
  1934. so("http://roblox.com/asset/?id=1340545854",ra,1,math.random(0.7,1))
  1935.  
  1936.  
  1937. con5=ra.Touched:connect(function(hit)
  1938. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1939. if attackdebounce == false then
  1940. attackdebounce = true
  1941.  
  1942. kDamagefunc(hit,3,4,math.random(2,3),"Normal",root,0,1)
  1943.  
  1944. so("http://roblox.com/asset/?id=636494529",ra,2,1)
  1945.  
  1946. 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)
  1947. 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)
  1948. 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)
  1949.  
  1950.  
  1951. coroutine.resume(coroutine.create(function()
  1952. for i = 0,1,0.1 do
  1953. swait()
  1954. 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)
  1955. end
  1956. end))
  1957.  
  1958.  
  1959. wait(0.34)
  1960. attackdebounce = false
  1961.  
  1962. end
  1963. end
  1964. end)
  1965. for i = 0, 1.12, 0.1 do
  1966. swait()
  1967. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.9, -0) * angles(math.rad(14), math.rad(6), math.rad(23)), 0.35)
  1968. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-4), math.rad(0), math.rad(-23)), 0.35)
  1969. 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)
  1970. 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)
  1971. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.3) * RHCF * angles(math.rad(-4), math.rad(0), math.rad(6)), 0.3)
  1972. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0.05) * LHCF * angles(math.rad(-22), math.rad(0), math.rad(23)), 0.3)
  1973. end
  1974.  
  1975. con5:Disconnect()
  1976. attack = false
  1977.  
  1978. end
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984.  
  1985.  
  1986.  
  1987.  
  1988.  
  1989.  
  1990.  
  1991. function attacktwo()
  1992.  
  1993. attack = true
  1994.  
  1995. for i = 0, 1.35, 0.1 do
  1996. swait()
  1997. 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)
  1998. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2)
  1999. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(46)), 0.3)
  2000. 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)
  2001. 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)
  2002. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-24), math.rad(0), math.rad(0)), 0.2)
  2003. end
  2004.  
  2005. so("http://roblox.com/asset/?id=1340545854",la,1,math.random(0.7,1))
  2006.  
  2007.  
  2008. con5=la.Touched:connect(function(hit)
  2009. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2010. if attackdebounce == false then
  2011. attackdebounce = true
  2012.  
  2013. kDamagefunc(hit,3,4,math.random(2,3),"Normal",root,0,1)
  2014.  
  2015. so("http://roblox.com/asset/?id=636494529",la,2,1)
  2016.  
  2017. 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)
  2018. 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)
  2019. 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)
  2020.  
  2021.  
  2022. coroutine.resume(coroutine.create(function()
  2023. for i = 0,1,0.1 do
  2024. swait()
  2025. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24)
  2026. end
  2027. end))
  2028.  
  2029.  
  2030. wait(0.34)
  2031. attackdebounce = false
  2032.  
  2033. end
  2034. end
  2035. end)
  2036.  
  2037.  
  2038.  
  2039.  
  2040. for i = 0, 1.12, 0.1 do
  2041. swait()
  2042. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.9, -0) * angles(math.rad(14), math.rad(-6), math.rad(-27)), 0.35)
  2043. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-4), math.rad(0), math.rad(27)), 0.35)
  2044. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.16) * angles(math.rad(-33), math.rad(0), math.rad(23)), 0.4)
  2045. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.67, -0.9) * angles(math.rad(116), math.rad(-28), math.rad(1)), 0.35)
  2046. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0.05) * RHCF * angles(math.rad(-22), math.rad(0), math.rad(-18)), 0.3)
  2047. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, -0.3) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(4)), 0.3)
  2048. end
  2049.  
  2050. con5:Disconnect()
  2051. attack = false
  2052.  
  2053. end
  2054.  
  2055.  
  2056.  
  2057.  
  2058.  
  2059. function attackthree()
  2060.  
  2061. attack = true
  2062.  
  2063.  
  2064. for i = 0, 1.14, 0.1 do
  2065. swait()
  2066. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-4), math.rad(-4), math.rad(40)), 0.2)
  2067. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2)
  2068. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-46)), 0.3)
  2069. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, 0.2) * angles(math.rad(90), math.rad(23), math.rad(36)), 0.3)
  2070. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.7, -0.2) * RHCF * angles(math.rad(-34), math.rad(0), math.rad(-17)), 0.2)
  2071. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-12), math.rad(0), math.rad(34)), 0.2)
  2072. end
  2073.  
  2074. con5=hum.Touched:connect(function(hit)
  2075. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2076. if attackdebounce == false then
  2077. attackdebounce = true
  2078.  
  2079. kDamagefunc(hit,4,5,math.random(3,4),"Normal",root,0,1)
  2080. so("http://roblox.com/asset/?id=636494529",ll,2,1)
  2081.  
  2082. RingEffect(BrickColor.new("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)
  2083. 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)
  2084. 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)
  2085.  
  2086.  
  2087. coroutine.resume(coroutine.create(function()
  2088. for i = 0,1,0.1 do
  2089. swait()
  2090. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24)
  2091. end
  2092. end))
  2093.  
  2094.  
  2095. wait(0.34)
  2096. attackdebounce = false
  2097.  
  2098. end
  2099. end
  2100. end)
  2101.  
  2102. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  2103. for i = 0, 9.14, 0.3 do
  2104. swait()
  2105. BlockEffect(BrickColor.new("White"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2106. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(8), math.rad(8), math.rad(0-54*i)), 0.35)
  2107. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
  2108. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
  2109. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
  2110. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(7), math.rad(0), math.rad(4)), 0.35)
  2111. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-64-7*i), math.rad(0), math.rad(0-9*i)), 0.35)
  2112. end
  2113. attack = false
  2114. con5:disconnect()
  2115. end
  2116.  
  2117.  
  2118.  
  2119. function attackfour()
  2120.  
  2121. attack = true
  2122. so("http://www.roblox.com/asset/?id=1452040709", RightLeg, 3, 1)
  2123. WaveEffect(BrickColor.new("White"), root.CFrame * CFrame.new(0, -1, 0) * euler(0, math.random(-50, 50), 0), 1, 1, 1, 1, 0.5, 1, 0.05)
  2124. for i = 0, 5.14, 0.1 do
  2125. swait()
  2126. SphereEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
  2127. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.8) * angles(math.rad(24+4*i), math.rad(0), math.rad(0)), 0.2)
  2128. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0+11*i), math.rad(0), math.rad(0)), 0.2)
  2129. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0-6*i), math.rad(0), math.rad(36+4*i)), 0.3)
  2130. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0-6*i), math.rad(0), math.rad(-36-4*i)), 0.3)
  2131. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.6, -0.3) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-28+4*i)), 0.2)
  2132. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.2, -0.5) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-34-4*i)), 0.2)
  2133. end
  2134. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  2135. local velo=Instance.new("BodyVelocity")
  2136. velo.velocity=vt(0,25,0)
  2137. velo.P=8000
  2138. velo.maxForce=Vector3.new(math.huge, math.huge, math.huge)
  2139. velo.Parent=root
  2140. game:GetService("Debris"):AddItem(velo,0.7)
  2141.  
  2142.  
  2143.  
  2144. con5=hum.Touched:connect(function(hit)
  2145. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2146. if attackdebounce == false then
  2147. attackdebounce = true
  2148. coroutine.resume(coroutine.create(function()
  2149. for i = 0,1.5,0.1 do
  2150. swait()
  2151. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.6,-1.8)
  2152. end
  2153. end))
  2154. kDamagefunc(hit,3,4,math.random(0,0),"Normal",root,0,1)
  2155. so("http://roblox.com/asset/?id=636494529",rl,2,1)
  2156. RingEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2157. RingEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2158. SphereEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  2159.  
  2160.  
  2161.  
  2162. coroutine.resume(coroutine.create(function()
  2163. for i = 0,1,0.1 do
  2164. swait()
  2165. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.75*1.8,0.75*1.8),math.random(-0.75*1.8,0.75*1.8),math.random(-0.75*1.8,0.75*1.8)),0.44)
  2166. end
  2167. end))
  2168.  
  2169.  
  2170. wait(0.14)
  2171. attackdebounce = false
  2172. end
  2173. end
  2174. end)
  2175.  
  2176. for i = 0, 5.11, 0.15 do
  2177. swait()
  2178. BlockEffect(BrickColor.new("White"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2179. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, 0.1+0.2*i) * angles(math.rad(-10-80*i), math.rad(0), math.rad(0)), 0.42)
  2180. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-43), math.rad(0), math.rad(0)), 0.42)
  2181. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-8), math.rad(0), math.rad(60)), 0.35)
  2182. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-8), math.rad(0), math.rad(-60)), 0.35)
  2183. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.5, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20+10*i)), 0.42)
  2184. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.5, -0.4) * LHCF * angles(math.rad(0), math.rad(0), math.rad(24)), 0.42)
  2185. end
  2186.  
  2187.  
  2188. attack = false
  2189. con5:disconnect()
  2190. end
  2191.  
  2192.  
  2193.  
  2194.  
  2195.  
  2196. local cooldown = false
  2197. function quickkick()
  2198. attack = true
  2199.  
  2200.  
  2201. con5=hum.Touched:connect(function(hit)
  2202. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2203. if attackdebounce == false then
  2204. attackdebounce = true
  2205.  
  2206. coroutine.resume(coroutine.create(function()
  2207. for i = 0,1.5,0.1 do
  2208. swait()
  2209. hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.3,-1.8)
  2210. end
  2211. end))
  2212.  
  2213. kDamagefunc(hit,1,2,math.random(0,0),"Normal",root,0,1)
  2214. so("http://roblox.com/asset/?id=636494529",rl,2,1)
  2215. RingEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2216. RingEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
  2217. SphereEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
  2218.  
  2219.  
  2220.  
  2221. coroutine.resume(coroutine.create(function()
  2222. for i = 0,1,0.1 do
  2223. swait()
  2224. hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.8*1.8,0.8*1.8),math.random(-0.8*1.8,0.8*1.8),math.random(-0.8*1.8,0.8*1.8)),0.44)
  2225. end
  2226. end))
  2227.  
  2228.  
  2229. wait(0.08)
  2230. attackdebounce = false
  2231. end
  2232. end
  2233. end)
  2234.  
  2235. so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
  2236. for i = 0, 11.14, 0.3 do
  2237. swait()
  2238. root.Velocity = root.CFrame.lookVector * 30
  2239. BlockEffect(BrickColor.new("White"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
  2240. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(-21-30*i), math.rad(8+10*i), math.rad(0-90*i)), 0.35)
  2241. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
  2242. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
  2243. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
  2244. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(7), math.rad(0), math.rad(4)), 0.35)
  2245. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-64-2*i), math.rad(0), math.rad(0-9*i)), 0.35)
  2246. end
  2247. attack = false
  2248. con5:disconnect()
  2249. end
  2250.  
  2251.  
  2252.  
  2253.  
  2254.  
  2255.  
  2256.  
  2257.  
  2258. function Taunt()
  2259. attack = true
  2260. hum.WalkSpeed = 0
  2261. Cso("1535995570", hed, 8.45, 1)
  2262. for i = 0, 8.2, 0.1 do
  2263. swait()
  2264. hum.WalkSpeed = 0
  2265. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 12)) * angles(Rad(0), Rad(0), Rad(0)), 0.2)
  2266. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25), Rad(0), Rad(16 * Cos(sine / 12))), 0.2)
  2267. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.1)
  2268. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.1)
  2269. RW.C0 = clerp(RW.C0, CF(1.1* Player_Size, 0.5 + 0.05 * Sin(sine / 12)* Player_Size, -0.5* Player_Size) * angles(Rad(180), Rad(6), Rad(-56)), 0.1)
  2270. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.1 + 0.05 * Sin(sine / 12)* Player_Size, -0.5* Player_Size) * angles(Rad(45), Rad(6), Rad(86)), 0.1)
  2271. end
  2272. attack = false
  2273. hum.WalkSpeed = 8
  2274. end
  2275.  
  2276.  
  2277.  
  2278.  
  2279.  
  2280.  
  2281.  
  2282. function Hyperkickcombo()
  2283.  
  2284. attack = true
  2285. so("http://www.roblox.com/asset/?id=1452040709", RightLeg, 3, 1)
  2286. WaveEffect(BrickColor.new("White"), root.CFrame * CFrame.new(0, -1, 0) * euler(0, math.random(-50, 50), 0), 1, 1, 1, 1, 0.5, 1, 0.05)
  2287. for i = 0, 7.14, 0.1 do
  2288. swait()
  2289. SphereEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
  2290. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.8) * angles(math.rad(24), math.rad(0), math.rad(0)), 0.2)
  2291. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  2292. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(36)), 0.3)
  2293. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(m
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement