mememasterYT

some thing i dont know it will work

Apr 23rd, 2019
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 by Mokiros")
  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. -- music option
  109. local Music = Instance.new("Sound",game.Workspace)
  110. Music.Volume = 2.5
  111. Music.SoundId = "rbxassetid://1117396305"
  112. Music.Looped = true
  113. Music.Pitch = 1 --Pitcher
  114. Music:Play()
  115. local fighter = Instance.new("Sound",game.Workspace)
  116. fighter.Volume = 2.5
  117. fighter.SoundId = "rbxassetid://493647101"
  118. fighter.Looped = true
  119. fighter.Pitch = 1 --Pitcher
  120. local vaporwave = Instance.new("Sound",game.Workspace)
  121. vaporwave.Volume = 2.5
  122. vaporwave.SoundId = "rbxassetid://657355969"
  123. vaporwave.Looped = true
  124. vaporwave.Pitch = 1 --Pitcher
  125. vaporwave.Pitch = 1 --Pitcher
  126. local russian = Instance.new("Sound",game.Workspace)
  127. russian.Volume = 2.5
  128. russian.SoundId = "rbxassetid://689628356"
  129. russian.Looped = true
  130. russian.Pitch = 1 --Pitcher
  131. --local nayeem2
  132. local naeeym2 = Instance.new("BillboardGui",char)
  133. naeeym2.AlwaysOnTop = true
  134. naeeym2.Size = UDim2.new(5,35,2,35)
  135. naeeym2.StudsOffset = Vector3.new(0,2,0)
  136. naeeym2.Adornee = hed
  137. naeeym2.Name = "Name"
  138.  
  139. local tecks2 = Instance.new("TextLabel",game.Workspace.mememasterYT65910)
  140. tecks2.BackgroundTransparency = 1
  141. tecks2.TextScaled = true
  142. tecks2.BorderSizePixel = 0
  143. tecks2.Text = "Neutral"
  144. tecks2.Font = "Scifi"
  145. tecks2.TextSize = 30
  146. tecks2.TextStrokeTransparency = 0
  147. tecks2.Size = UDim2.new(1,0,0.5,0)
  148. tecks2.Parent = naeeym2
  149. --Fake game object
  150. local g = {
  151. GetService = function(self,s)
  152. return self[s]
  153. end,
  154. Players = FakeService({
  155. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  156. },"Players"),
  157. UserInputService = FakeService(UIS,"UserInputService"),
  158. ContextActionService = FakeService(CAS,"ContextActionService"),
  159. }
  160. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  161. g.service = g.GetService
  162.  
  163. g.RunService = FakeService({
  164. RenderStepped = _rg:GetService("RunService").Heartbeat,
  165. BindToRenderStep = function(self,name,_,fun)
  166.  
  167. end,
  168. UnbindFromRenderStep = function(self,name)
  169. self._btrs[name]:Disconnect()
  170. end,
  171. },"RunService")
  172.  
  173. setmetatable(g,{
  174. __index=function(self,s)
  175. return _rg:GetService(s) or typeof(_rg[s])=="function"
  176. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  177. end,
  178. __newindex = fsmt.__newindex,
  179. __call = fsmt.__call
  180. })
  181. --Changing owner to fake player object to support owner:GetMouse()
  182. game,owner = g,g.Players.LocalPlayer
  183. end
  184.  
  185. Player = game:GetService("Players").LocalPlayer
  186. PlayerGui = Player.PlayerGui
  187. Cam = workspace.CurrentCamera
  188. Backpack = Player.Backpack
  189. Character = Player.Character
  190. Humanoid = Character.Humanoid
  191. Mouse = Player:GetMouse()
  192. RootPart = Character["HumanoidRootPart"]
  193. Torso = Character["Torso"]
  194. Head = Character["Head"]
  195. RightArm = Character["Right Arm"]
  196. LeftArm = Character["Left Arm"]
  197. RightLeg = Character["Right Leg"]
  198. LeftLeg = Character["Left Leg"]
  199. RootJoint = RootPart["RootJoint"]
  200. Neck = Torso["Neck"]
  201. RightShoulder = Torso["Right Shoulder"]
  202. LeftShoulder = Torso["Left Shoulder"]
  203. RightHip = Torso["Right Hip"]
  204. LeftHip = Torso["Left Hip"]
  205. local TIME = 0
  206. local sick = Instance.new("Sound",Torso)
  207.  
  208. IT = Instance.new
  209. CF = CFrame.new
  210. VT = Vector3.new
  211. RAD = math.rad
  212. C3 = Color3.new
  213. UD2 = UDim2.new
  214. BRICKC = BrickColor.new
  215. ANGLES = CFrame.Angles
  216. EULER = CFrame.fromEulerAnglesXYZ
  217. COS = math.cos
  218. ACOS = math.acos
  219. SIN = math.sin
  220. ASIN = math.asin
  221. ABS = math.abs
  222. MRANDOM = math.random
  223. FLOOR = math.floor
  224.  
  225. --//=================================\\
  226. --|| USEFUL VALUES
  227. --\\=================================//
  228.  
  229. Animation_Speed = 3
  230. local FORCERESET = false
  231. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  232. local Speed = 16
  233. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  234. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  235. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  236. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  237. local DAMAGEMULTIPLIER = 1
  238. local ANIM = "Idle"
  239. local ATTACK = false
  240. local EQUIPPED = false
  241. local HOLD = false
  242. local COMBO = 1
  243. local Rooted = false
  244. local SINE = 0
  245. local KEYHOLD = false
  246. local CHANGE = 2 / Animation_Speed
  247. local WALKINGANIM = false
  248. local VALUE1 = false
  249. local VALUE2 = false
  250. local ROBLOXIDLEANIMATION = IT("Animation")
  251. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  252. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  253. --ROBLOXIDLEANIMATION.Parent = Humanoid
  254. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  255. WEAPONGUI.Name = "BanishV3Gui"
  256. local Weapon = IT("Model")
  257. Weapon.Name = "Adds"
  258. local Effects = IT("Folder", Weapon)
  259. Effects.Name = "Effects"
  260. local ANIMATOR = Humanoid.Animator
  261. local ANIMATE = Character:FindFirstChild("Animate")
  262. local UNANCHOR = true
  263. local TOBANISH = {}
  264. script.Parent = PlayerGui
  265.  
  266. --//=================================\\
  267. --\\=================================//
  268.  
  269.  
  270. --//=================================\\
  271. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  272. --\\=================================//
  273.  
  274. ArtificialHB = Instance.new("BindableEvent", script)
  275. ArtificialHB.Name = "ArtificialHB"
  276.  
  277. script:WaitForChild("ArtificialHB")
  278.  
  279. frame = Frame_Speed
  280. tf = 0
  281. allowframeloss = false
  282. tossremainder = false
  283. lastframe = tick()
  284. script.ArtificialHB:Fire()
  285.  
  286. game:GetService("RunService").Heartbeat:connect(function(s, p)
  287. tf = tf + s
  288. if tf >= frame then
  289. if allowframeloss then
  290. script.ArtificialHB:Fire()
  291. lastframe = tick()
  292. else
  293. for i = 1, math.floor(tf / frame) do
  294. script.ArtificialHB:Fire()
  295. end
  296. lastframe = tick()
  297. end
  298. if tossremainder then
  299. tf = 0
  300. else
  301. tf = tf - frame * math.floor(tf / frame)
  302. end
  303. end
  304. end)
  305.  
  306. --//=================================\\
  307. --\\=================================//
  308.  
  309. local plr = game:service'Players'.LocalPlayer
  310. print('Local User is '..plr.Name)
  311. print('Z,X,C,V,B')
  312. local char = plr.Character
  313. local hum = char.Humanoid
  314. local hed = char.Head
  315. local root = char.HumanoidRootPart
  316. local rootj = root.RootJoint
  317. local tors = char.Torso
  318. local ra = char["Right Arm"]
  319. local la = char["Left Arm"]
  320. local rl = char["Right Leg"]
  321. local ll = char["Left Leg"]
  322. local neck = tors["Neck"]
  323. local mouse = plr:GetMouse()
  324. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  325. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  326. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  327. local maincolor = BrickColor.new("Institutional white")
  328.  
  329.  
  330. -------------------------------------------------------
  331. --Start Good Stuff--
  332. -------------------------------------------------------
  333. cam = game.Workspace.CurrentCamera
  334. CF = CFrame.new
  335. angles = CFrame.Angles
  336. attack = false
  337. Euler = CFrame.fromEulerAnglesXYZ
  338. Rad = math.rad
  339. IT = Instance.new
  340. BrickC = BrickColor.new
  341. Cos = math.cos
  342. Acos = math.acos
  343. Sin = math.sin
  344. Asin = math.asin
  345. Abs = math.abs
  346. Mrandom = math.random
  347. Floor = math.floor
  348. -------------------------------------------------------
  349. --End Good Stuff--
  350. -------------------------------------------------------
  351. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  352. RSH, LSH = nil, nil
  353. RW = Instance.new("Weld")
  354. LW = Instance.new("Weld")
  355. RH = tors["Right Hip"]
  356. LH = tors["Left Hip"]
  357. RSH = tors["Right Shoulder"]
  358. LSH = tors["Left Shoulder"]
  359. RSH.Parent = nil
  360. LSH.Parent = nil
  361. RW.Name = "RW"
  362. RW.Part0 = tors
  363. RW.C0 = CF(1.5, 0.5, 0)
  364. RW.C1 = CF(0, 0.5, 0)
  365. RW.Part1 = ra
  366. RW.Parent = tors
  367. LW.Name = "LW"
  368. LW.Part0 = tors
  369. LW.C0 = CF(-1.5, 0.5, 0)
  370. LW.C1 = CF(0, 0.5, 0)
  371. LW.Part1 = la
  372. LW.Parent = tors
  373. Effects = {}
  374. -------------------------------------------------------
  375. --Start HeartBeat--
  376. -------------------------------------------------------
  377. ArtificialHB = Instance.new("BindableEvent", script)
  378. ArtificialHB.Name = "Heartbeat"
  379. script:WaitForChild("Heartbeat")
  380.  
  381. frame = 1 / 60
  382. tf = 0
  383. allowframeloss = false
  384. tossremainder = false
  385.  
  386.  
  387. lastframe = tick()
  388. script.Heartbeat:Fire()
  389.  
  390.  
  391. game:GetService("RunService").Heartbeat:connect(function(s, p)
  392. tf = tf + s
  393. if tf >= frame then
  394. if allowframeloss then
  395. script.Heartbeat:Fire()
  396. lastframe = tick()
  397. else
  398. for i = 1, math.floor(tf / frame) do
  399. script.Heartbeat:Fire()
  400. end
  401. lastframe = tick()
  402. end
  403. if tossremainder then
  404. tf = 0
  405. else
  406. tf = tf - frame * math.floor(tf / frame)
  407. end
  408. end
  409. end)
  410. -------------------------------------------------------
  411. --End HeartBeat--
  412. -------------------------------------------------------
  413.  
  414. -------------------------------------------------------
  415. --Start Important Functions--
  416. -------------------------------------------------------
  417. function swait(num)
  418. if num == 0 or num == nil then
  419. game:service("RunService").Stepped:wait(0)
  420. else
  421. for i = 0, num do
  422. game:service("RunService").Stepped:wait(0)
  423. end
  424. end
  425. end
  426. function thread(f)
  427. coroutine.resume(coroutine.create(f))
  428. end
  429. function clerp(a, b, t)
  430. local qa = {
  431. QuaternionFromCFrame(a)
  432. }
  433. local qb = {
  434. QuaternionFromCFrame(b)
  435. }
  436. local ax, ay, az = a.x, a.y, a.z
  437. local bx, by, bz = b.x, b.y, b.z
  438. local _t = 1 - t
  439. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  440. end
  441. function QuaternionFromCFrame(cf)
  442. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  443. local trace = m00 + m11 + m22
  444. if trace > 0 then
  445. local s = math.sqrt(1 + trace)
  446. local recip = 0.5 / s
  447. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  448. else
  449. local i = 0
  450. if m00 < m11 then
  451. i = 1
  452. end
  453. if m22 > (i == 0 and m00 or m11) then
  454. i = 2
  455. end
  456. if i == 0 then
  457. local s = math.sqrt(m00 - m11 - m22 + 1)
  458. local recip = 0.5 / s
  459. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  460. elseif i == 1 then
  461. local s = math.sqrt(m11 - m22 - m00 + 1)
  462. local recip = 0.5 / s
  463. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  464. elseif i == 2 then
  465. local s = math.sqrt(m22 - m00 - m11 + 1)
  466. local recip = 0.5 / s
  467. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  468. end
  469. end
  470. end
  471. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  472. local xs, ys, zs = x + x, y + y, z + z
  473. local wx, wy, wz = w * xs, w * ys, w * zs
  474. local xx = x * xs
  475. local xy = x * ys
  476. local xz = x * zs
  477. local yy = y * ys
  478. local yz = y * zs
  479. local zz = z * zs
  480. 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))
  481. end
  482. function QuaternionSlerp(a, b, t)
  483. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  484. local startInterp, finishInterp
  485. if cosTheta >= 1.0E-4 then
  486. if 1 - cosTheta > 1.0E-4 then
  487. local theta = math.acos(cosTheta)
  488. local invSinTheta = 1 / Sin(theta)
  489. startInterp = Sin((1 - t) * theta) * invSinTheta
  490. finishInterp = Sin(t * theta) * invSinTheta
  491. else
  492. startInterp = 1 - t
  493. finishInterp = t
  494. end
  495. elseif 1 + cosTheta > 1.0E-4 then
  496. local theta = math.acos(-cosTheta)
  497. local invSinTheta = 1 / Sin(theta)
  498. startInterp = Sin((t - 1) * theta) * invSinTheta
  499. finishInterp = Sin(t * theta) * invSinTheta
  500. else
  501. startInterp = t - 1
  502. finishInterp = t
  503. end
  504. 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
  505. end
  506. function rayCast(Position, Direction, Range, Ignore)
  507. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  508. end
  509. local RbxUtility = LoadLibrary("RbxUtility")
  510. local Create = RbxUtility.Create
  511.  
  512. -------------------------------------------------------
  513. --Start Damage Function--
  514. -------------------------------------------------------
  515. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  516. if hit.Parent == nil then
  517. return
  518. end
  519. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  520. for _, v in pairs(hit.Parent:children()) do
  521. if v:IsA("Humanoid") then
  522. h = v
  523. end
  524. end
  525. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  526.  
  527. hit.Parent:FindFirstChild("Head"):BreakJoints()
  528. end
  529.  
  530. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  531. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  532. if hit.Parent.DebounceHit.Value == true then
  533. return
  534. end
  535. end
  536. if insta == true then
  537. hit.Parent:FindFirstChild("Head"):BreakJoints()
  538. end
  539. local c = Create("ObjectValue"){
  540. Name = "creator",
  541. Value = game:service("Players").LocalPlayer,
  542. Parent = h,
  543. }
  544. game:GetService("Debris"):AddItem(c, .5)
  545. if HitSound ~= nil and HitPitch ~= nil then
  546. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  547. end
  548. local Damage = math.random(minim, maxim)
  549. local blocked = false
  550. local block = hit.Parent:findFirstChild("Block")
  551. if block ~= nil then
  552. if block.className == "IntValue" then
  553. if block.Value > 0 then
  554. blocked = true
  555. block.Value = block.Value - 1
  556. print(block.Value)
  557. end
  558. end
  559. end
  560. if blocked == false then
  561. h.Health = h.Health - Damage
  562. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  563. else
  564. h.Health = h.Health - (Damage / 2)
  565. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  566. end
  567. if Type == "Knockdown" then
  568. local hum = hit.Parent.Humanoid
  569. hum.PlatformStand = true
  570. coroutine.resume(coroutine.create(function(HHumanoid)
  571. swait(1)
  572. HHumanoid.PlatformStand = false
  573. end), hum)
  574. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  575. local bodvol = Create("BodyVelocity"){
  576. velocity = angle * knockback,
  577. P = 5000,
  578. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  579. Parent = hit,
  580. }
  581. local rl = Create("BodyAngularVelocity"){
  582. P = 3000,
  583. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  584. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  585. Parent = hit,
  586. }
  587. game:GetService("Debris"):AddItem(bodvol, .5)
  588. game:GetService("Debris"):AddItem(rl, .5)
  589. elseif Type == "Normal" then
  590. local vp = Create("BodyVelocity"){
  591. P = 500,
  592. maxForce = Vector3.new(math.huge, 0, math.huge),
  593. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  594. }
  595. if knockback > 0 then
  596. vp.Parent = hit.Parent.Torso
  597. end
  598. game:GetService("Debris"):AddItem(vp, .5)
  599. elseif Type == "Up" then
  600. local bodyVelocity = Create("BodyVelocity"){
  601. velocity = Vector3.new(0, 20, 0),
  602. P = 5000,
  603. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  604. Parent = hit,
  605. }
  606. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  607. elseif Type == "DarkUp" then
  608. coroutine.resume(coroutine.create(function()
  609. for i = 0, 1, 0.1 do
  610. swait()
  611. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  612. end
  613. end))
  614. local bodyVelocity = Create("BodyVelocity"){
  615. velocity = Vector3.new(0, 20, 0),
  616. P = 5000,
  617. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  618. Parent = hit,
  619. }
  620. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  621. elseif Type == "Snare" then
  622. local bp = Create("BodyPosition"){
  623. P = 2000,
  624. D = 100,
  625. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  626. position = hit.Parent.Torso.Position,
  627. Parent = hit.Parent.Torso,
  628. }
  629. game:GetService("Debris"):AddItem(bp, 1)
  630. elseif Type == "Freeze" then
  631. local BodPos = Create("BodyPosition"){
  632. P = 50000,
  633. D = 1000,
  634. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  635. position = hit.Parent.Torso.Position,
  636. Parent = hit.Parent.Torso,
  637. }
  638. local BodGy = Create("BodyGyro") {
  639. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  640. P = 20e+003,
  641. Parent = hit.Parent.Torso,
  642. cframe = hit.Parent.Torso.CFrame,
  643. }
  644. hit.Parent.Torso.Anchored = true
  645. coroutine.resume(coroutine.create(function(Part)
  646. swait(1.5)
  647. Part.Anchored = false
  648. end), hit.Parent.Torso)
  649. game:GetService("Debris"):AddItem(BodPos, 3)
  650. game:GetService("Debris"):AddItem(BodGy, 3)
  651. end
  652. local debounce = Create("BoolValue"){
  653. Name = "DebounceHit",
  654. Parent = hit.Parent,
  655. Value = true,
  656. }
  657. game:GetService("Debris"):AddItem(debounce, Delay)
  658. c = Create("ObjectValue"){
  659. Name = "creator",
  660. Value = Player,
  661. Parent = h,
  662. }
  663. game:GetService("Debris"):AddItem(c, .5)
  664. end
  665. end
  666. -------------------------------------------------------
  667. --End Damage Function--
  668. -------------------------------------------------------
  669.  
  670. -------------------------------------------------------
  671. --Start Damage Function Customization--
  672. -------------------------------------------------------
  673. function ShowDamage(Pos, Text, Time, Color)
  674. local Rate = (1 / 30)
  675. local Pos = (Pos or Vector3.new(0, 0, 0))
  676. local Text = (Text or "")
  677. local Time = (Time or 2)
  678. local Color = (Color or Color3.new(1, 0, 1))
  679. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  680. EffectPart.Anchored = true
  681. local BillboardGui = Create("BillboardGui"){
  682. Size = UDim2.new(3, 0, 3, 0),
  683. Adornee = EffectPart,
  684. Parent = EffectPart,
  685. }
  686. local TextLabel = Create("TextLabel"){
  687. BackgroundTransparency = 1,
  688. Size = UDim2.new(1, 0, 1, 0),
  689. Text = Text,
  690. Font = "Bodoni",
  691. TextColor3 = Color,
  692. TextScaled = true,
  693. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  694. Parent = BillboardGui,
  695. }
  696. game.Debris:AddItem(EffectPart, (Time))
  697. EffectPart.Parent = game:GetService("Workspace")
  698. delay(0, function()
  699. local Frames = (Time / Rate)
  700. for Frame = 1, Frames do
  701. wait(Rate)
  702. local Percent = (Frame / Frames)
  703. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  704. TextLabel.TextTransparency = Percent
  705. end
  706. if EffectPart and EffectPart.Parent then
  707. EffectPart:Destroy()
  708. end
  709. end)
  710. end
  711. -------------------------------------------------------
  712. --End Damage Function Customization--
  713. -------------------------------------------------------
  714.  
  715. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  716. for _, c in pairs(workspace:children()) do
  717. local hum = c:findFirstChild("Humanoid")
  718. if hum ~= nil then
  719. local head = c:findFirstChild("Head")
  720. if head ~= nil then
  721. local targ = head.Position - Part.Position
  722. local mag = targ.magnitude
  723. if magni >= mag and c.Name ~= plr.Name then
  724. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  725. end
  726. end
  727. end
  728. end
  729. end
  730.  
  731.  
  732. CFuncs = {
  733. Part = {
  734. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  735. local Part = Create("Part")({
  736. Parent = Parent,
  737. Reflectance = Reflectance,
  738. Transparency = Transparency,
  739. CanCollide = false,
  740. Locked = true,
  741. BrickColor = BrickColor.new(tostring(BColor)),
  742. Name = Name,
  743. Size = Size,
  744. Material = Material
  745. })
  746. RemoveOutlines(Part)
  747. return Part
  748. end
  749. },
  750. Mesh = {
  751. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  752. local Msh = Create(Mesh)({
  753. Parent = Part,
  754. Offset = OffSet,
  755. Scale = Scale
  756. })
  757. if Mesh == "SpecialMesh" then
  758. Msh.MeshType = MeshType
  759. Msh.MeshId = MeshId
  760. end
  761. return Msh
  762. end
  763. },
  764. Mesh = {
  765. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  766. local Msh = Create(Mesh)({
  767. Parent = Part,
  768. Offset = OffSet,
  769. Scale = Scale
  770. })
  771. if Mesh == "SpecialMesh" then
  772. Msh.MeshType = MeshType
  773. Msh.MeshId = MeshId
  774. end
  775. return Msh
  776. end
  777. },
  778. Weld = {
  779. Create = function(Parent, Part0, Part1, C0, C1)
  780. local Weld = Create("Weld")({
  781. Parent = Parent,
  782. Part0 = Part0,
  783. Part1 = Part1,
  784. C0 = C0,
  785. C1 = C1
  786. })
  787. return Weld
  788. end
  789. },
  790. Sound = {
  791. Create = function(id, par, vol, pit)
  792. coroutine.resume(coroutine.create(function()
  793. local S = Create("Sound")({
  794. Volume = vol,
  795. Pitch = pit or 1,
  796. SoundId = id,
  797. Parent = par or workspace
  798. })
  799. wait()
  800. S:play()
  801. game:GetService("Debris"):AddItem(S, 6)
  802. end))
  803. end
  804. },
  805. ParticleEmitter = {
  806. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  807. local fp = Create("ParticleEmitter")({
  808. Parent = Parent,
  809. Color = ColorSequence.new(Color1, Color2),
  810. LightEmission = LightEmission,
  811. Size = Size,
  812. Texture = Texture,
  813. Transparency = Transparency,
  814. ZOffset = ZOffset,
  815. Acceleration = Accel,
  816. Drag = Drag,
  817. LockedToPart = LockedToPart,
  818. VelocityInheritance = VelocityInheritance,
  819. EmissionDirection = EmissionDirection,
  820. Enabled = Enabled,
  821. Lifetime = LifeTime,
  822. Rate = Rate,
  823. Rotation = Rotation,
  824. RotSpeed = RotSpeed,
  825. Speed = Speed,
  826. VelocitySpread = VelocitySpread
  827. })
  828. return fp
  829. end
  830. }
  831. }
  832. function RemoveOutlines(part)
  833. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  834. end
  835. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  836. local Part = Create("Part")({
  837. formFactor = FormFactor,
  838. Parent = Parent,
  839. Reflectance = Reflectance,
  840. Transparency = Transparency,
  841. CanCollide = false,
  842. Locked = true,
  843. BrickColor = BrickColor.new(tostring(BColor)),
  844. Name = Name,
  845. Size = Size,
  846. Material = Material
  847. })
  848. RemoveOutlines(Part)
  849. return Part
  850. end
  851. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  852. local Msh = Create(Mesh)({
  853. Parent = Part,
  854. Offset = OffSet,
  855. Scale = Scale
  856. })
  857. if Mesh == "SpecialMesh" then
  858. Msh.MeshType = MeshType
  859. Msh.MeshId = MeshId
  860. end
  861. return Msh
  862. end
  863. function CreateWeld(Parent, Part0, Part1, C0, C1)
  864. local Weld = Create("Weld")({
  865. Parent = Parent,
  866. Part0 = Part0,
  867. Part1 = Part1,
  868. C0 = C0,
  869. C1 = C1
  870. })
  871. return Weld
  872. end
  873.  
  874.  
  875. -------------------------------------------------------
  876. --Start Effect Function--
  877. -------------------------------------------------------
  878. EffectModel = Instance.new("Model", char)
  879. Effects = {
  880. Block = {
  881. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  882. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  883. prt.Anchored = true
  884. prt.CFrame = cframe
  885. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  886. game:GetService("Debris"):AddItem(prt, 10)
  887. if Type == 1 or Type == nil then
  888. table.insert(Effects, {
  889. prt,
  890. "Block1",
  891. delay,
  892. x3,
  893. y3,
  894. z3,
  895. msh
  896. })
  897. elseif Type == 2 then
  898. table.insert(Effects, {
  899. prt,
  900. "Block2",
  901. delay,
  902. x3,
  903. y3,
  904. z3,
  905. msh
  906. })
  907. else
  908. table.insert(Effects, {
  909. prt,
  910. "Block3",
  911. delay,
  912. x3,
  913. y3,
  914. z3,
  915. msh
  916. })
  917. end
  918. end
  919. },
  920. Sphere = {
  921. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  922. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  923. prt.Anchored = true
  924. prt.CFrame = cframe
  925. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  926. game:GetService("Debris"):AddItem(prt, 10)
  927. table.insert(Effects, {
  928. prt,
  929. "Cylinder",
  930. delay,
  931. x3,
  932. y3,
  933. z3,
  934. msh
  935. })
  936. end
  937. },
  938. Cylinder = {
  939. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  940. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  941. prt.Anchored = true
  942. prt.CFrame = cframe
  943. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  944. game:GetService("Debris"):AddItem(prt, 10)
  945. table.insert(Effects, {
  946. prt,
  947. "Cylinder",
  948. delay,
  949. x3,
  950. y3,
  951. z3,
  952. msh
  953. })
  954. end
  955. },
  956. Wave = {
  957. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  958. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  959. prt.Anchored = true
  960. prt.CFrame = cframe
  961. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  962. game:GetService("Debris"):AddItem(prt, 10)
  963. table.insert(Effects, {
  964. prt,
  965. "Cylinder",
  966. delay,
  967. x3 / 60,
  968. y3 / 60,
  969. z3 / 60,
  970. msh
  971. })
  972. end
  973. },
  974. Ring = {
  975. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  976. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  977. prt.Anchored = true
  978. prt.CFrame = cframe
  979. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  980. game:GetService("Debris"):AddItem(prt, 10)
  981. table.insert(Effects, {
  982. prt,
  983. "Cylinder",
  984. delay,
  985. x3,
  986. y3,
  987. z3,
  988. msh
  989. })
  990. end
  991. },
  992. Break = {
  993. Create = function(brickcolor, cframe, x1, y1, z1)
  994. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  995. prt.Anchored = true
  996. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  997. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  998. local num = math.random(10, 50) / 1000
  999. game:GetService("Debris"):AddItem(prt, 10)
  1000. table.insert(Effects, {
  1001. prt,
  1002. "Shatter",
  1003. num,
  1004. prt.CFrame,
  1005. math.random() - math.random(),
  1006. 0,
  1007. math.random(50, 100) / 100
  1008. })
  1009. end
  1010. },
  1011. Spiral = {
  1012. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1013. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1014. prt.Anchored = true
  1015. prt.CFrame = cframe
  1016. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1017. game:GetService("Debris"):AddItem(prt, 10)
  1018. table.insert(Effects, {
  1019. prt,
  1020. "Cylinder",
  1021. delay,
  1022. x3,
  1023. y3,
  1024. z3,
  1025. msh
  1026. })
  1027. end
  1028. },
  1029. Push = {
  1030. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1031. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1032. prt.Anchored = true
  1033. prt.CFrame = cframe
  1034. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1035. game:GetService("Debris"):AddItem(prt, 10)
  1036. table.insert(Effects, {
  1037. prt,
  1038. "Cylinder",
  1039. delay,
  1040. x3,
  1041. y3,
  1042. z3,
  1043. msh
  1044. })
  1045. end
  1046. }
  1047. }
  1048. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  1049. local fp = IT("Part")
  1050. fp.formFactor = formfactor
  1051. fp.Parent = parent
  1052. fp.Reflectance = reflectance
  1053. fp.Transparency = transparency
  1054. fp.CanCollide = false
  1055. fp.Locked = true
  1056. fp.BrickColor = brickcolor
  1057. fp.Name = name
  1058. fp.Size = size
  1059. fp.Position = tors.Position
  1060. RemoveOutlines(fp)
  1061. fp.Material = "SmoothPlastic"
  1062. fp:BreakJoints()
  1063. return fp
  1064. end
  1065.  
  1066. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1067. local mesh = IT(Mesh)
  1068. mesh.Parent = part
  1069. if Mesh == "SpecialMesh" then
  1070. mesh.MeshType = meshtype
  1071. if meshid ~= "nil" then
  1072. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  1073. end
  1074. end
  1075. mesh.Offset = offset
  1076. mesh.Scale = scale
  1077. return mesh
  1078. end
  1079.  
  1080. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  1081. local type = type
  1082. local rng = Instance.new("Part", char)
  1083. rng.Anchored = true
  1084. rng.BrickColor = color
  1085. rng.CanCollide = false
  1086. rng.FormFactor = 3
  1087. rng.Name = "Ring"
  1088. rng.Material = "Neon"
  1089. rng.Size = Vector3.new(1, 1, 1)
  1090. rng.Transparency = 0
  1091. rng.TopSurface = 0
  1092. rng.BottomSurface = 0
  1093. rng.CFrame = pos
  1094. local rngm = Instance.new("SpecialMesh", rng)
  1095. rngm.MeshType = MType
  1096. rngm.Scale = scale
  1097. local scaler2 = 1
  1098. if type == "Add" then
  1099. scaler2 = 1 * value
  1100. elseif type == "Divide" then
  1101. scaler2 = 1 / value
  1102. end
  1103. coroutine.resume(coroutine.create(function()
  1104. for i = 0, 10 / bonuspeed, 0.1 do
  1105. swait()
  1106. if type == "Add" then
  1107. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1108. elseif type == "Divide" then
  1109. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1110. end
  1111. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1112. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  1113. end
  1114. rng:Destroy()
  1115. end))
  1116. end
  1117.  
  1118. function Eviscerate(dude)
  1119. if dude.Name ~= char then
  1120. local bgf = IT("BodyGyro", dude.Head)
  1121. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1122. local val = IT("BoolValue", dude)
  1123. val.Name = "IsHit"
  1124. local ds = coroutine.wrap(function()
  1125. dude:WaitForChild("Head"):BreakJoints()
  1126. wait(0.5)
  1127. target = nil
  1128. coroutine.resume(coroutine.create(function()
  1129. for i, v in pairs(dude:GetChildren()) do
  1130. if v:IsA("Accessory") then
  1131. v:Destroy()
  1132. end
  1133. if v:IsA("Humanoid") then
  1134. v:Destroy()
  1135. end
  1136. if v:IsA("CharacterMesh") then
  1137. v:Destroy()
  1138. end
  1139. if v:IsA("Model") then
  1140. v:Destroy()
  1141. end
  1142. if v:IsA("Part") or v:IsA("MeshPart") then
  1143. for x, o in pairs(v:GetChildren()) do
  1144. if o:IsA("Decal") then
  1145. o:Destroy()
  1146. end
  1147. end
  1148. coroutine.resume(coroutine.create(function()
  1149. v.Material = "Neon"
  1150. v.CanCollide = false
  1151. local PartEmmit1 = IT("ParticleEmitter", v)
  1152. PartEmmit1.LightEmission = 1
  1153. PartEmmit1.Texture = "rbxassetid://284205403"
  1154. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1155. PartEmmit1.Rate = 150
  1156. PartEmmit1.Lifetime = NumberRange.new(1)
  1157. PartEmmit1.Size = NumberSequence.new({
  1158. NumberSequenceKeypoint.new(0, 0.75, 0),
  1159. NumberSequenceKeypoint.new(1, 0, 0)
  1160. })
  1161. PartEmmit1.Transparency = NumberSequence.new({
  1162. NumberSequenceKeypoint.new(0, 0, 0),
  1163. NumberSequenceKeypoint.new(1, 1, 0)
  1164. })
  1165. PartEmmit1.Speed = NumberRange.new(0, 0)
  1166. PartEmmit1.VelocitySpread = 30000
  1167. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1168. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1169. local BodPoss = IT("BodyPosition", v)
  1170. BodPoss.P = 3000
  1171. BodPoss.D = 1000
  1172. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1173. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1174. v.Color = maincolor.Color
  1175. coroutine.resume(coroutine.create(function()
  1176. for i = 0, 49 do
  1177. swait(1)
  1178. v.Transparency = v.Transparency + 0.08
  1179. end
  1180. wait(0.5)
  1181. PartEmmit1.Enabled = false
  1182. wait(3)
  1183. v:Destroy()
  1184. dude:Destroy()
  1185. end))
  1186. end))
  1187. end
  1188. end
  1189. end))
  1190. end)
  1191. ds()
  1192. end
  1193. end
  1194.  
  1195. function FindNearestHead(Position, Distance, SinglePlayer)
  1196. if SinglePlayer then
  1197. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1198. end
  1199. local List = {}
  1200. for i, v in pairs(workspace:GetChildren()) do
  1201. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1202. table.insert(List, v)
  1203. end
  1204. end
  1205. return List
  1206. end
  1207.  
  1208. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1209. local type = type
  1210. local rng = Instance.new("Part", char)
  1211. rng.Anchored = true
  1212. rng.BrickColor = color
  1213. rng.CanCollide = false
  1214. rng.FormFactor = 3
  1215. rng.Name = "Ring"
  1216. rng.Material = "Neon"
  1217. rng.Size = Vector3.new(1, 1, 1)
  1218. rng.Transparency = 0
  1219. rng.TopSurface = 0
  1220. rng.BottomSurface = 0
  1221. rng.CFrame = pos
  1222. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1223. local rngm = Instance.new("SpecialMesh", rng)
  1224. rngm.MeshType = MType
  1225. rngm.Scale = Vector3.new(x1, y1, z1)
  1226. local scaler2 = 1
  1227. local speeder = FastSpeed
  1228. if type == "Add" then
  1229. scaler2 = 1 * value
  1230. elseif type == "Divide" then
  1231. scaler2 = 1 / value
  1232. end
  1233. coroutine.resume(coroutine.create(function()
  1234. for i = 0, 10 / bonuspeed, 0.1 do
  1235. swait()
  1236. if type == "Add" then
  1237. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1238. elseif type == "Divide" then
  1239. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1240. end
  1241. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1242. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1243. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1244. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1245. end
  1246. rng:Destroy()
  1247. end))
  1248. end
  1249.  
  1250. function SoulSteal(dude)
  1251. if dude.Name ~= char then
  1252. local bgf = IT("BodyGyro", dude.Head)
  1253. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1254. local val = IT("BoolValue", dude)
  1255. val.Name = "IsHit"
  1256. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1257. local soulst = coroutine.wrap(function()
  1258. local soul = Instance.new("Part",dude)
  1259. soul.Size = Vector3.new(1,1,1)
  1260. soul.CanCollide = false
  1261. soul.Anchored = false
  1262. soul.Position = torso.Position
  1263. soul.Transparency = 1
  1264. local PartEmmit1 = IT("ParticleEmitter", soul)
  1265. PartEmmit1.LightEmission = 1
  1266. PartEmmit1.Texture = "rbxassetid://569507414"
  1267. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1268. PartEmmit1.Rate = 250
  1269. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1270. PartEmmit1.Size = NumberSequence.new({
  1271. NumberSequenceKeypoint.new(0, 1, 0),
  1272. NumberSequenceKeypoint.new(1, 0, 0)
  1273. })
  1274. PartEmmit1.Transparency = NumberSequence.new({
  1275. NumberSequenceKeypoint.new(0, 0, 0),
  1276. NumberSequenceKeypoint.new(1, 1, 0)
  1277. })
  1278. PartEmmit1.Speed = NumberRange.new(0, 0)
  1279. PartEmmit1.VelocitySpread = 30000
  1280. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1281. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1282. local BodPoss = IT("BodyPosition", soul)
  1283. BodPoss.P = 3000
  1284. BodPoss.D = 1000
  1285. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1286. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1287. wait(1.6)
  1288. soul.Touched:connect(function(hit)
  1289. if hit.Parent == char then
  1290. soul:Destroy()
  1291. end
  1292. end)
  1293. wait(1.2)
  1294. while soul do
  1295. swait()
  1296. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1297. BodPoss.Position = tors.Position
  1298. end
  1299. end)
  1300. soulst()
  1301. end
  1302. end
  1303. function FaceMouse()
  1304. local Cam = workspace.CurrentCamera
  1305. return {
  1306. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1307. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1308. }
  1309. end
  1310. -------------------------------------------------------
  1311. --End Effect Function--
  1312. -------------------------------------------------------
  1313.  
  1314. -------------------------------------------------------
  1315. --End Important Functions--
  1316. -------------------------------------------------------
  1317.  
  1318. -------------------------------------------------------
  1319. --Start Customization--
  1320. -------------------------------------------------------
  1321. local Player_Size = 1
  1322. if Player_Size ~= 1 then
  1323. root.Size = root.Size * Player_Size
  1324. tors.Size = tors.Size * Player_Size
  1325. hed.Size = hed.Size * Player_Size
  1326. ra.Size = ra.Size * Player_Size
  1327. la.Size = la.Size * Player_Size
  1328. rl.Size = rl.Size * Player_Size
  1329. ll.Size = ll.Size * Player_Size
  1330. ----------------------------------------------------------------------------------
  1331. rootj.Parent = root
  1332. neck.Parent = tors
  1333. RW.Parent = tors
  1334. LW.Parent = tors
  1335. RH.Parent = tors
  1336. LH.Parent = tors
  1337. ----------------------------------------------------------------------------------
  1338. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1339. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1340. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1341. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1342. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1343. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1344. ----------------------------------------------------------------------------------
  1345. 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))
  1346. 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))
  1347. 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))
  1348. 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))
  1349. --hat.Parent = Character
  1350. end
  1351. ----------------------------------------------------------------------------------
  1352. local equipped = false
  1353. local idle = 0
  1354. local change = 1
  1355. local val = 0
  1356. local toim = 0
  1357. local idleanim = 0.4
  1358. local sine = 0
  1359. local Sit = 1
  1360. ----------------------------------------------------------------------------------
  1361. ----------------------------------------------------------------------------------
  1362. hum.WalkSpeed = 20
  1363. hum.JumpPower = 70
  1364. hum.MaxHealth = 999999999999999999999999999999999999999999999999999999999999999999
  1365. hum.Health = 999999999999999999999999999999999999999999999999999999999999999999
  1366. hum.Animator.Parent = nil
  1367. -------------------------------------------------------
  1368. --Start Attacks N Stuff--
  1369. -------------------------------------------------------
  1370. function attackone()
  1371. attack = true
  1372. hum.WalkSpeed = 3.01
  1373. for i = 0, 1.7, 0.1 do
  1374. swait()
  1375. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-60)), 0.2)
  1376. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-7.5 * Sin(sine / 30)), Rad(0), Rad(60)), 0.2)
  1377. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.2)
  1378. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(20)), 0.2)
  1379. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(160), Rad(-.6), Rad(13)), 0.2)
  1380. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.2)
  1381. end
  1382. Cso("28144268", tors, 10, 1)
  1383. for i = 0, 1.4, 0.1 do
  1384. swait()
  1385. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-60)), 0.2)
  1386. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-7.5 * Sin(sine / 30)), Rad(0), Rad(60)), 0.2)
  1387. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.2)
  1388. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(20)), 0.2)
  1389. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(160), Rad(-.6), Rad(13)), 0.2)
  1390. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.2)
  1391. end
  1392. for i = 0, 1.4, 0.1 do
  1393. swait()
  1394. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.3)
  1395. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 7.5 * Sin(sine / 30)), Rad(0), Rad(15)), 0.3)
  1396. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-20)), 0.3)
  1397. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.3)
  1398. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-25)), 0.3)
  1399. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.3)
  1400. for i, v in pairs(FindNearestHead(tors.CFrame.p, 4)) do
  1401. if v:FindFirstChild("Head") then
  1402. Eviscerate(v)
  1403. end
  1404. end
  1405. end
  1406. attack = false
  1407. hum.WalkSpeed = 20
  1408. end
  1409. function attacktwo()
  1410. attack = true
  1411. hum.WalkSpeed = 3.01
  1412. for i = 0, 1.7, 0.1 do
  1413. swait()
  1414. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3)
  1415. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  1416. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-7), Rad(0), Rad(-45)), 0.3)
  1417. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-25)), 0.3)
  1418. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(10), Rad(-7.5 * Sin(sine / 20)), Rad(8)), 0.3)
  1419. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(7.5 * Sin(sine / 20)), Rad(-8)), 0.3)
  1420. end
  1421. Cso("203426541", rl, 10, 1)
  1422. CameraEnshaking(2, 3)
  1423. for i = 0, 1.4, 0.1 do
  1424. swait()
  1425. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3)
  1426. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(5), Rad(0), Rad(0)), 0.3)
  1427. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-7), Rad(0), Rad(65)), 0.3)
  1428. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1.1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-10), Rad(0), Rad(35)), 0.3)
  1429. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-7.5 * Sin(sine / 20)), Rad(8)), 0.3)
  1430. 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(7.5 * Sin(sine / 20)), Rad(-8)), 0.3)
  1431. for i, v in pairs(FindNearestHead(tors.CFrame.p, 5)) do
  1432. if v:FindFirstChild("Head") then
  1433. Eviscerate(v)
  1434. end
  1435. end
  1436. end
  1437. attack = false
  1438. hum.WalkSpeed = 20
  1439. end
  1440. function attackthree()
  1441. attack = true
  1442. hum.WalkSpeed = 3.01
  1443. for i = 0, 1.4, 0.1 do
  1444. swait()
  1445. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3)
  1446. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1447. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(-30)), 0.3)
  1448. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(30)), 0.3)
  1449. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(35)), 0.3)
  1450. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(-35)), 0.3)
  1451. end
  1452. Cso("203426541", hed, 10, 1)
  1453. for i = 0, 1.7, 0.1 do
  1454. swait()
  1455. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3)
  1456. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1457. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-5), Rad(0), Rad(30)), 0.3)
  1458. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-30)), 0.3)
  1459. RW.C0 = clerp(RW.C0, CF(1.3* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(90), Rad(0), Rad(-35)), 0.3)
  1460. LW.C0 = clerp(LW.C0, CF(-1.3* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(90), Rad(0), Rad(35)), 0.3)
  1461. for i, v in pairs(FindNearestHead(tors.CFrame.p, 6)) do
  1462. if v:FindFirstChild("Head") then
  1463. Eviscerate(v)
  1464. end
  1465. end
  1466. end
  1467. attack = false
  1468. hum.WalkSpeed = 20
  1469. end
  1470. function Technobeam()
  1471. attack = true
  1472. for i = 0, 1.7, 0.1 do
  1473. swait()
  1474. Effects.Block.Create(BrickC("White"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1475. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1)
  1476. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1)
  1477. end
  1478. Cso("438666077", char, 10, 1)
  1479. Magic(15, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
  1480. Magic(15, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
  1481. Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere")
  1482. Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
  1483. CameraEnshaking(4, 5)
  1484. Cso("444667859", char, 10, 1)
  1485. for i, v in pairs(FindNearestHead(mouse.Hit.p, 15)) do
  1486. if v:FindFirstChild("Head") then
  1487. Eviscerate(v)
  1488. end
  1489. end
  1490. attack = false
  1491. end
  1492. function OP9999()
  1493. attack = true
  1494. hum.WalkSpeed = 3.01
  1495. M2.Scale = Vector3.new(0, 0, 0)
  1496. Cso("430315987", char, 10, 1)
  1497. for i = 0,9,0.1 do
  1498. swait()
  1499. Effects.Block.Create(BrickC("Lily white"), ll.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1500. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  1501. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1502. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  1503. LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
  1504. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1)
  1505. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1)
  1506. end
  1507. Cso("438666077", char, 10, 1)
  1508. for i = 0,3.7,0.1 do
  1509. swait()
  1510. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  1511. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1512. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(20)), 0.15)
  1513. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(-25)), 0.15)
  1514. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  1515. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  1516. CameraEnshaking(2, 8)
  1517. Effects.Sphere.Create(BrickColor.new("Really red"), root.CFrame * CF(0, -3, 0), 10, 4, 10, 9999999, -0.1, 9999999, 0.01)
  1518. for i, v in pairs(FindNearestHead(tors.CFrame.p, 9999999)) do
  1519. if v:FindFirstChild("Head") then
  1520. Eviscerate(v)
  1521. end
  1522. end
  1523. end
  1524. M2.Scale = Vector3.new(0.5, 0.5, 0.5)
  1525. attack = false
  1526. hum.WalkSpeed = 20
  1527. end
  1528. --modes
  1529. function fighter()
  1530. fight.Playing = true
  1531. Music.Playing = false
  1532. vaporwave.Playing = false
  1533. galatic.Playing = false
  1534. destruction.Playing = false
  1535. justice.Playing = false
  1536. nayeem2.Text = "Fighter"
  1537. end
  1538. function vaporwave()
  1539. fight.Playing = false
  1540. Music.Playing = false
  1541. vaporwave.Playing = true
  1542. russian.Playing = false
  1543. destruction.Playing = false
  1544. justice.Playing = false
  1545. nayeem2.Text = "Vaporwave"
  1546. function russian()
  1547. russian.Playing = true
  1548. fight.Playing = false
  1549. Music.Playing = false
  1550. vaporwave.Playing = false
  1551. destruction.Playing = false
  1552. justice.Playing = false
  1553. nayeem2.Text = "Russian"
  1554.  
  1555. -------------------------------------------------------
  1556. --End Attacks N Stuff--
  1557. -------------------------------------------------------
  1558. mouse.KeyDown:connect(function(key)
  1559. if key == 'q' then
  1560. Swing = 2
  1561. hum.WalkSpeed = 40
  1562. end
  1563. end)
  1564. mouse.KeyUp:connect(function(key)
  1565. if key == 'q' then
  1566. Swing = 1
  1567. hum.WalkSpeed = 16
  1568. end
  1569. end)
  1570.  
  1571. mouse.KeyDown:connect(function(key)
  1572. if attack == false then
  1573. if key == 'e' then
  1574. Technobeam()
  1575. elseif key == 'r' then
  1576. OP9999()
  1577. elseif key == 'z' then
  1578. fighter()
  1579. elseif key == 'x' then
  1580. vaporwave()
  1581. elseif key == 'c' then
  1582. russian()
  1583. -- ill do this in another time.
  1584. elseif key == 'v' then
  1585. destruction()
  1586. elseif key == 'b' then
  1587. justice()
  1588. elseif key == 'p' then
  1589. howdidyoufind()
  1590. -- music is called Music
  1591. end
  1592. end
  1593. end)
  1594. local Combo = 1
  1595. mouse.Button1Down:connect(function(key)
  1596. if attack == false then
  1597. if Combo == 1 then
  1598. Combo = 2
  1599. attackone()
  1600. elseif Combo == 2 then
  1601. Combo = 3
  1602. attacktwo()
  1603. elseif Combo == 3 then
  1604. Combo = 1
  1605. attackthree()
  1606. end
  1607. end
  1608. end)
  1609. -------------------------------------------------------
  1610. --Start Animations--
  1611. -------------------------------------------------------
  1612. while true do
  1613. swait()
  1614. sine = sine + change
  1615. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1616. local velderp = root.Velocity.y
  1617. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  1618. if equipped == true or equipped == false then
  1619. if attack == false then
  1620. idle = idle + 1
  1621. else
  1622. idle = 0
  1623. end
  1624. --Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Sphere")
  1625. if 1 < root.Velocity.y and hitfloor == nil then
  1626. Anim = "Jump"
  1627. if attack == false then
  1628. 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)
  1629. 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.3)
  1630. 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)
  1631. 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)
  1632. 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)
  1633. 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)
  1634. end
  1635. elseif -1 > root.Velocity.y and hitfloor == nil then
  1636. Anim = "Fall"
  1637. if attack == false then
  1638. 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)
  1639. 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.3)
  1640. 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)
  1641. 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)
  1642. 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)
  1643. 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)
  1644. end
  1645. elseif torvel < 1 and hitfloor ~= nil then
  1646. Anim = "Idle"
  1647. change = 1
  1648. if attack == false then
  1649. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.15)
  1650. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 7.5 * Sin(sine / 30)), Rad(0), Rad(-20)), 0.3)
  1651. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-12.5), Rad(0), Rad(0)), 0.15)
  1652. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-12.5), Rad(0), Rad(8)), 0.15)
  1653. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(10), Rad(-.6), Rad(15 + 6.5 * Sin(sine / 20))), 0.1)
  1654. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-10), Rad(-.6), Rad(-15 - 6.5 * Sin(sine / 20))), 0.1)
  1655. end
  1656. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  1657. Anim = "Walk"
  1658. change = 1
  1659. if attack == false then
  1660. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
  1661. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1662. RH.C0 = clerp(RH.C0, CF(1, -0.8 - 0.5 * Cos(sine / 7) / 2, 0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1663. LH.C0 = clerp(LH.C0, CF(-1, -0.8 + 0.5 * Cos(sine / 7) / 2, -0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1664. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0) * angles(Rad(37) * Cos(sine / 7) , Rad(0), Rad(-.6) - ra.RotVelocity.Y / 75), 0.1)
  1665. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0) * angles(Rad(-37) * Cos(sine / 7) , Rad(0) , Rad(.6) + la.RotVelocity.Y / 75), 0.1)
  1666. end
  1667. elseif torvel >= 25 and hitfloor ~= nil then
  1668. Anim = "Sprint"
  1669. change = 1.35
  1670. if attack == false then
  1671. 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)
  1672. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1673. 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)
  1674. 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)
  1675. 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(125) * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.15)
  1676. 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(-125) * Cos(sine / 7) , Rad(0) , Rad(-5) + la.RotVelocity.Y / 75), 0.15)
  1677. end
  1678. end
  1679. end
  1680. if 0 < #Effects then
  1681. for e = 1, #Effects do
  1682. if Effects[e] ~= nil then
  1683. local Thing = Effects[e]
  1684. if Thing ~= nil then
  1685. local Part = Thing[1]
  1686. local Mode = Thing[2]
  1687. local Delay = Thing[3]
  1688. local IncX = Thing[4]
  1689. local IncY = Thing[5]
  1690. local IncZ = Thing[6]
  1691. if 1 >= Thing[1].Transparency then
  1692. if Thing[2] == "Block1" then
  1693. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1694. local Mesh = Thing[1].Mesh
  1695. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1696. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1697. elseif Thing[2] == "Block2" then
  1698. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1699. local Mesh = Thing[7]
  1700. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1701. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1702. elseif Thing[2] == "Block3" then
  1703. 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)
  1704. local Mesh = Thing[7]
  1705. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1706. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1707. elseif Thing[2] == "Cylinder" then
  1708. local Mesh = Thing[1].Mesh
  1709. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1710. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1711. elseif Thing[2] == "Blood" then
  1712. local Mesh = Thing[7]
  1713. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1714. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1715. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1716. elseif Thing[2] == "Elec" then
  1717. local Mesh = Thing[1].Mesh
  1718. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1719. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1720. elseif Thing[2] == "Disappear" then
  1721. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1722. elseif Thing[2] == "Shatter" then
  1723. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1724. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1725. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1726. Thing[6] = Thing[6] + Thing[5]
  1727. end
  1728. else
  1729. Part.Parent = nil
  1730. table.remove(Effects, e)
  1731. end
  1732. end
  1733. end
  1734. end
  1735. end
  1736. end
  1737. -------------------------------------------------------
  1738. --End Animations And Script--
  1739. -------------------------------------------------------
Add Comment
Please, Sign In to add comment