AOM-GU-PRO

Lustris Sword Aom[WCR] = aomFetty

Jul 20th, 2018
503
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 59.81 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 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.  
  109. --Fake game object
  110. local g = {
  111. GetService = function(self,s)
  112. return self[s]
  113. end,
  114. Players = FakeService({
  115. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  116. },"Players"),
  117. UserInputService = FakeService(UIS,"UserInputService"),
  118. ContextActionService = FakeService(CAS,"ContextActionService"),
  119. }
  120. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  121. g.service = g.GetService
  122.  
  123. g.RunService = FakeService({
  124. RenderStepped = _rg:GetService("RunService").Heartbeat,
  125. BindToRenderStep = function(self,name,_,fun)
  126.  
  127. end,
  128. UnbindFromRenderStep = function(self,name)
  129. self._btrs[name]:Disconnect()
  130. end,
  131. },"RunService")
  132.  
  133. setmetatable(g,{
  134. __index=function(self,s)
  135. return _rg:GetService(s) or typeof(_rg[s])=="function"
  136. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  137. end,
  138. __newindex = fsmt.__newindex,
  139. __call = fsmt.__call
  140. })
  141. --Changing owner to fake player object to support owner:GetMouse()
  142. game,owner = g,g.Players.LocalPlayer
  143. end
  144.  
  145. Player = game:GetService("Players").LocalPlayer
  146. PlayerGui = Player.PlayerGui
  147. Cam = workspace.CurrentCamera
  148. Backpack = Player.Backpack
  149. Character = Player.Character
  150. Humanoid = Character.Humanoid
  151. Mouse = Player:GetMouse()
  152. RootPart = Character["HumanoidRootPart"]
  153. Torso = Character["Torso"]
  154. Head = Character["Head"]
  155. RightArm = Character["Right Arm"]
  156. LeftArm = Character["Left Arm"]
  157. RightLeg = Character["Right Leg"]
  158. LeftLeg = Character["Left Leg"]
  159. RootJoint = RootPart["RootJoint"]
  160. Neck = Torso["Neck"]
  161. RightShoulder = Torso["Right Shoulder"]
  162. LeftShoulder = Torso["Left Shoulder"]
  163. RightHip = Torso["Right Hip"]
  164. LeftHip = Torso["Left Hip"]
  165. local sick = Instance.new("Sound",Character)
  166. sick.SoundId = "rbxassetid://1358165517"
  167. sick.Looped = true
  168. sick.Playing = true
  169. sick.PlayOnRemove = true
  170. sick.Pitch = 1
  171. sick.Volume = 10
  172. Character.Archivable = true
  173. Humanoid.DisplayDistanceType = "None"
  174.  
  175. local naeeym2 = Instance.new("BillboardGui",Character)
  176. naeeym2.AlwaysOnTop = true
  177. naeeym2.Size = UDim2.new(5,35,2,35)
  178. naeeym2.StudsOffset = Vector3.new(0,3,0)
  179. naeeym2.Adornee = Character.Head
  180. naeeym2.Name = "Name"
  181. local tecks2 = Instance.new("TextLabel",naeeym2)
  182. tecks2.BackgroundTransparency = 1
  183. tecks2.TextScaled = true
  184. tecks2.BorderSizePixel = 0
  185. tecks2.Text = "aomFetty"
  186. tecks2.Font = "Code"
  187. tecks2.TextSize = 30
  188. tecks2.TextTransparency = 0
  189. tecks2.TextStrokeTransparency = 1
  190. tecks2.TextColor3 = Color3.new(255/255,0/255,0/255)
  191. tecks2.Size = UDim2.new(1,0,0.5,0)
  192. tecks2.Parent = naeeym2
  193.  
  194. IT = Instance.new
  195. CF = CFrame.new
  196. VT = Vector3.new
  197. RAD = math.rad
  198. C3 = Color3.new
  199. UD2 = UDim2.new
  200. BRICKC = BrickColor.new
  201. ANGLES = CFrame.Angles
  202. EULER = CFrame.fromEulerAnglesXYZ
  203. COS = math.cos
  204. ACOS = math.acos
  205. SIN = math.sin
  206. ASIN = math.asin
  207. ABS = math.abs
  208. MRANDOM = math.random
  209. FLOOR = math.floor
  210.  
  211. --//=================================\\
  212. --|| USEFUL VALUES
  213. --\\=================================//
  214.  
  215. Animation_Speed = 5
  216. local FORCERESET = false
  217. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  218. local Speed = 50
  219. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  220. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  221. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  222. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  223. local DAMAGEMULTIPLIER = 1
  224. local ANIM = "Idle"
  225. local ATTACK = false
  226. local EQUIPPED = false
  227. local HOLD = false
  228. local COMBO = 1
  229. local Rooted = false
  230. local SINE = 0
  231. local KEYHOLD = false
  232. local CHANGE = 2 / Animation_Speed
  233. local WALKINGANIM = false
  234. local VALUE1 = false
  235. local VALUE2 = false
  236. local ROBLOXIDLEANIMATION = IT("Animation")
  237. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  238. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  239. --ROBLOXIDLEANIMATION.Parent = Humanoid
  240. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  241. WEAPONGUI.Name = "BanishV3Gui"
  242. local Weapon = IT("Model")
  243. Weapon.Name = "Adds"
  244. local Effects = IT("Folder", Weapon)
  245. Effects.Name = "Effects"
  246. local ANIMATOR = Humanoid.Animator
  247. local ANIMATE = Character:FindFirstChild("Animate")
  248. local UNANCHOR = true
  249. local TOBANISH = {}
  250. local INTRO = false
  251. script.Parent = PlayerGui
  252.  
  253. --//=================================\\
  254. --\\=================================//
  255.  
  256.  
  257. --//=================================\\
  258. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  259. --\\=================================//
  260.  
  261. ArtificialHB = Instance.new("BindableEvent", script)
  262. ArtificialHB.Name = "ArtificialHB"
  263.  
  264. script:WaitForChild("ArtificialHB")
  265.  
  266. frame = Frame_Speed
  267. tf = 0
  268. allowframeloss = false
  269. tossremainder = false
  270. lastframe = tick()
  271. script.ArtificialHB:Fire()
  272.  
  273. game:GetService("RunService").Heartbeat:connect(function(s, p)
  274. tf = tf + s
  275. if tf >= frame then
  276. if allowframeloss then
  277. script.ArtificialHB:Fire()
  278. lastframe = tick()
  279. else
  280. for i = 1, math.floor(tf / frame) do
  281. script.ArtificialHB:Fire()
  282. end
  283. lastframe = tick()
  284. end
  285. if tossremainder then
  286. tf = 0
  287. else
  288. tf = tf - frame * math.floor(tf / frame)
  289. end
  290. end
  291. end)
  292.  
  293. --//=================================\\
  294. --\\=================================//
  295.  
  296. --//=================================\\
  297. --|| SOME FUNCTIONS
  298. --\\=================================//
  299.  
  300. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  301. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  302. end
  303.  
  304. function PositiveAngle(NUMBER)
  305. if NUMBER >= 0 then
  306. NUMBER = 0
  307. end
  308. return NUMBER
  309. end
  310.  
  311. function NegativeAngle(NUMBER)
  312. if NUMBER <= 0 then
  313. NUMBER = 0
  314. end
  315. return NUMBER
  316. end
  317.  
  318. function Swait(NUMBER)
  319. if NUMBER == 0 or NUMBER == nil then
  320. ArtificialHB.Event:wait()
  321. else
  322. for i = 1, NUMBER do
  323. ArtificialHB.Event:wait()
  324. end
  325. end
  326. end
  327.  
  328. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  329. local NEWMESH = IT(MESH)
  330. if MESH == "SpecialMesh" then
  331. NEWMESH.MeshType = MESHTYPE
  332. if MESHID ~= "nil" and MESHID ~= "" then
  333. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  334. end
  335. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  336. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  337. end
  338. end
  339. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  340. NEWMESH.Scale = SCALE
  341. NEWMESH.Parent = PARENT
  342. return NEWMESH
  343. end
  344.  
  345. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  346. local NEWPART = IT("Part")
  347. NEWPART.formFactor = FORMFACTOR
  348. NEWPART.Reflectance = REFLECTANCE
  349. NEWPART.Transparency = TRANSPARENCY
  350. NEWPART.CanCollide = false
  351. NEWPART.Locked = true
  352. NEWPART.Anchored = true
  353. if ANCHOR == false then
  354. NEWPART.Anchored = false
  355. end
  356. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  357. NEWPART.Name = NAME
  358. NEWPART.Size = SIZE
  359. NEWPART.Position = Torso.Position
  360. NEWPART.Material = MATERIAL
  361. NEWPART:BreakJoints()
  362. NEWPART.Parent = PARENT
  363. return NEWPART
  364. end
  365.  
  366. local function weldBetween(a, b)
  367. local weldd = Instance.new("ManualWeld")
  368. weldd.Part0 = a
  369. weldd.Part1 = b
  370. weldd.C0 = CFrame.new()
  371. weldd.C1 = b.CFrame:inverse() * a.CFrame
  372. weldd.Parent = a
  373. return weldd
  374. end
  375.  
  376.  
  377. function QuaternionFromCFrame(cf)
  378. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  379. local trace = m00 + m11 + m22
  380. if trace > 0 then
  381. local s = math.sqrt(1 + trace)
  382. local recip = 0.5 / s
  383. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  384. else
  385. local i = 0
  386. if m11 > m00 then
  387. i = 1
  388. end
  389. if m22 > (i == 0 and m00 or m11) then
  390. i = 2
  391. end
  392. if i == 0 then
  393. local s = math.sqrt(m00 - m11 - m22 + 1)
  394. local recip = 0.5 / s
  395. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  396. elseif i == 1 then
  397. local s = math.sqrt(m11 - m22 - m00 + 1)
  398. local recip = 0.5 / s
  399. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  400. elseif i == 2 then
  401. local s = math.sqrt(m22 - m00 - m11 + 1)
  402. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  403. end
  404. end
  405. end
  406.  
  407. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  408. local xs, ys, zs = x + x, y + y, z + z
  409. local wx, wy, wz = w * xs, w * ys, w * zs
  410. local xx = x * xs
  411. local xy = x * ys
  412. local xz = x * zs
  413. local yy = y * ys
  414. local yz = y * zs
  415. local zz = z * zs
  416. 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))
  417. end
  418.  
  419. function QuaternionSlerp(a, b, t)
  420. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  421. local startInterp, finishInterp;
  422. if cosTheta >= 0.0001 then
  423. if (1 - cosTheta) > 0.0001 then
  424. local theta = ACOS(cosTheta)
  425. local invSinTheta = 1 / SIN(theta)
  426. startInterp = SIN((1 - t) * theta) * invSinTheta
  427. finishInterp = SIN(t * theta) * invSinTheta
  428. else
  429. startInterp = 1 - t
  430. finishInterp = t
  431. end
  432. else
  433. if (1 + cosTheta) > 0.0001 then
  434. local theta = ACOS(-cosTheta)
  435. local invSinTheta = 1 / SIN(theta)
  436. startInterp = SIN((t - 1) * theta) * invSinTheta
  437. finishInterp = SIN(t * theta) * invSinTheta
  438. else
  439. startInterp = t - 1
  440. finishInterp = t
  441. end
  442. end
  443. 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
  444. end
  445.  
  446. function Clerp(a, b, t)
  447. local qa = {QuaternionFromCFrame(a)}
  448. local qb = {QuaternionFromCFrame(b)}
  449. local ax, ay, az = a.x, a.y, a.z
  450. local bx, by, bz = b.x, b.y, b.z
  451. local _t = 1 - t
  452. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  453. end
  454.  
  455. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  456. local frame = IT("Frame")
  457. frame.BackgroundTransparency = TRANSPARENCY
  458. frame.BorderSizePixel = BORDERSIZEPIXEL
  459. frame.Position = POSITION
  460. frame.Size = SIZE
  461. frame.BackgroundColor3 = COLOR
  462. frame.BorderColor3 = BORDERCOLOR
  463. frame.Name = NAME
  464. frame.Parent = PARENT
  465. return frame
  466. end
  467.  
  468. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  469. local label = IT("TextLabel")
  470. label.BackgroundTransparency = 1
  471. label.Size = UD2(1, 0, 1, 0)
  472. label.Position = UD2(0, 0, 0, 0)
  473. label.TextColor3 = TEXTCOLOR
  474. label.TextStrokeTransparency = STROKETRANSPARENCY
  475. label.TextTransparency = TRANSPARENCY
  476. label.FontSize = TEXTFONTSIZE
  477. label.Font = TEXTFONT
  478. label.BorderSizePixel = BORDERSIZEPIXEL
  479. label.TextScaled = false
  480. label.Text = TEXT
  481. label.Name = NAME
  482. label.Parent = PARENT
  483. return label
  484. end
  485.  
  486. function NoOutlines(PART)
  487. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  488. end
  489.  
  490. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  491. local NEWWELD = IT(TYPE)
  492. NEWWELD.Part0 = PART0
  493. NEWWELD.Part1 = PART1
  494. NEWWELD.C0 = C0
  495. NEWWELD.C1 = C1
  496. NEWWELD.Parent = PARENT
  497. return NEWWELD
  498. end
  499.  
  500. local S = IT("Sound")
  501. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  502. local NEWSOUND = nil
  503. coroutine.resume(coroutine.create(function()
  504. NEWSOUND = S:Clone()
  505. NEWSOUND.Parent = PARENT
  506. NEWSOUND.Volume = VOLUME
  507. NEWSOUND.Pitch = PITCH
  508. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  509. NEWSOUND:play()
  510. if DOESLOOP == true then
  511. NEWSOUND.Looped = true
  512. else
  513. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  514. NEWSOUND:remove()
  515. end
  516. end))
  517. return NEWSOUND
  518. end
  519.  
  520. function CFrameFromTopBack(at, top, back)
  521. local right = top:Cross(back)
  522. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  523. end
  524.  
  525. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  526. function WACKYEFFECT(Table)
  527. local TYPE = (Table.EffectType or "Sphere")
  528. local SIZE = (Table.Size or VT(1,1,1))
  529. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  530. local TRANSPARENCY = (Table.Transparency or 0)
  531. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  532. local CFRAME = (Table.CFrame or Torso.CFrame)
  533. local MOVEDIRECTION = (Table.MoveToPos or nil)
  534. local ROTATION1 = (Table.RotationX or 0)
  535. local ROTATION2 = (Table.RotationY or 0)
  536. local ROTATION3 = (Table.RotationZ or 0)
  537. local MATERIAL = (Table.Material or "Neon")
  538. local COLOR = (Table.Color or C3(1,1,1))
  539. local TIME = (Table.Time or 45)
  540. local SOUNDID = (Table.SoundID or nil)
  541. local SOUNDPITCH = (Table.SoundPitch or nil)
  542. local SOUNDVOLUME = (Table.SoundVolume or nil)
  543. coroutine.resume(coroutine.create(function()
  544. local PLAYSSOUND = false
  545. local SOUND = nil
  546. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  547. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  548. PLAYSSOUND = true
  549. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  550. end
  551. EFFECT.Color = COLOR
  552. local MSH = nil
  553. if TYPE == "Sphere" then
  554. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  555. elseif TYPE == "Block" then
  556. MSH = IT("BlockMesh",EFFECT)
  557. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  558. elseif TYPE == "Wave" then
  559. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  560. elseif TYPE == "Ring" then
  561. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  562. elseif TYPE == "Slash" then
  563. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  564. elseif TYPE == "Round Slash" then
  565. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  566. elseif TYPE == "Swirl" then
  567. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  568. elseif TYPE == "Skull" then
  569. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  570. elseif TYPE == "Crystal" then
  571. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  572. end
  573. if MSH ~= nil then
  574. local MOVESPEED = nil
  575. if MOVEDIRECTION ~= nil then
  576. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  577. end
  578. local GROWTH = SIZE - ENDSIZE
  579. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  580. if TYPE == "Block" then
  581. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  582. else
  583. EFFECT.CFrame = CFRAME
  584. end
  585. for LOOP = 1, TIME+1 do
  586. Swait()
  587. MSH.Scale = MSH.Scale - GROWTH/TIME
  588. if TYPE == "Wave" then
  589. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  590. end
  591. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  592. if TYPE == "Block" then
  593. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  594. else
  595. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  596. end
  597. if MOVEDIRECTION ~= nil then
  598. local ORI = EFFECT.Orientation
  599. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  600. EFFECT.Orientation = ORI
  601. end
  602. end
  603. if PLAYSSOUND == false then
  604. EFFECT:remove()
  605. else
  606. SOUND.Stopped:Connect(function()
  607. EFFECT:remove()
  608. end)
  609. end
  610. else
  611. if PLAYSSOUND == false then
  612. EFFECT:remove()
  613. else
  614. repeat Swait() until SOUND.Playing == false
  615. EFFECT:remove()
  616. end
  617. end
  618. end))
  619. end
  620.  
  621. function MakeForm(PART,TYPE)
  622. if TYPE == "Cyl" then
  623. local MSH = IT("CylinderMesh",PART)
  624. elseif TYPE == "Ball" then
  625. local MSH = IT("SpecialMesh",PART)
  626. MSH.MeshType = "Sphere"
  627. elseif TYPE == "Wedge" then
  628. local MSH = IT("SpecialMesh",PART)
  629. MSH.MeshType = "Wedge"
  630. end
  631. end
  632.  
  633. function SpawnTrail(FROM,TO,BIG)
  634. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  635. MakeForm(TRAIL,"Cyl")
  636. local DIST = (FROM - TO).Magnitude
  637. if BIG == true then
  638. TRAIL.Size = VT(0.5,DIST,0.5)
  639. else
  640. TRAIL.Size = VT(0.25,DIST,0.25)
  641. end
  642. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  643. coroutine.resume(coroutine.create(function()
  644. for i = 1, 5 do
  645. Swait()
  646. TRAIL.Transparency = TRAIL.Transparency + 0.1
  647. end
  648. TRAIL:remove()
  649. end))
  650. end
  651.  
  652. Debris = game:GetService("Debris")
  653.  
  654. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  655. local DIRECTION = CF(StartPos,EndPos).lookVector
  656. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  657. end
  658.  
  659. function turnto(position)
  660. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  661. end
  662.  
  663. function CreateSound(ID, PARENT, VOLUME, PITCH)
  664. local NEWSOUND = nil
  665. coroutine.resume(coroutine.create(function()
  666. NEWSOUND = IT("Sound", PARENT)
  667. NEWSOUND.Volume = VOLUME
  668. NEWSOUND.Pitch = PITCH
  669. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  670. Swait()
  671. NEWSOUND:play()
  672. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  673. end))
  674. return NEWSOUND
  675. end
  676.  
  677. --//=================================\\
  678. --|| WEAPON CREATION
  679. --\\=================================//
  680.  
  681. local Particle = IT("ParticleEmitter",nil)
  682. Particle.Enabled = false
  683. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  684. Particle.LightEmission = 0.5
  685. Particle.Rate = 150
  686. Particle.ZOffset = 0.2
  687. Particle.Rotation = NumberRange.new(-180, 180)
  688. Particle.RotSpeed = NumberRange.new(-180, 180)
  689. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  690. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  691.  
  692. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  693. function ParticleEmitter(Table)
  694. local PRTCL = Particle:Clone()
  695. local Speed = Table.Speed or 5
  696. local Drag = Table.Drag or 0
  697. local Size1 = Table.Size1 or 1
  698. local Size2 = Table.Size2 or 5
  699. local Lifetime1 = Table.Lifetime1 or 1
  700. local Lifetime2 = Table.Lifetime2 or 1.5
  701. local Parent = Table.Parent or Torso
  702. local Emit = Table.Emit or 100
  703. local Offset = Table.Offset or 360
  704. local Acel = Table.Acel or VT(0,0,0)
  705. local Enabled = Table.Enabled or false
  706. PRTCL.Parent = Parent
  707. PRTCL.Size = NumberSequence.new(Size1,Size2)
  708. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  709. PRTCL.Speed = NumberRange.new(Speed)
  710. PRTCL.VelocitySpread = Offset
  711. PRTCL.Drag = Drag
  712. PRTCL.Acceleration = Acel
  713. if Enabled == false then
  714. PRTCL:Emit(Emit)
  715. Debris:AddItem(PRTCL,Lifetime2)
  716. else
  717. PRTCL.Enabled = true
  718. end
  719. return PRTCL
  720. end
  721.  
  722. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  723. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  724. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  725. MakeForm(Part,"Wedge")
  726. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  727. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  728. MakeForm(Part,"Wedge")
  729. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  730. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  731. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  732. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  733. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  734. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  735. MakeForm(Part,"Cyl")
  736. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  737. for i = 1, 8 do
  738. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  739. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  740. end
  741. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  742. MakeForm(Part,"Cyl")
  743. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  744. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  745. MakeForm(Part,"Ball")
  746. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  747. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  748. MakeForm(Part,"Wedge")
  749. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  750. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  751. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  752. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  753. MakeForm(Part,"Cyl")
  754. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  755. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  756. MakeForm(Part,"Cyl")
  757. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  758. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  759. MakeForm(Part,"Cyl")
  760. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  761. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  762. MakeForm(Part,"Wedge")
  763. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  764. local LASTPART = Handle
  765. for i = 1, 10 do
  766. if LASTPART == Handle then
  767. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  768. LASTPART = Part
  769. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  770. else
  771. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  772. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  773. LASTPART = Part
  774. end
  775. end
  776.  
  777. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  778. MakeForm(Barrel,"Cyl")
  779. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  780. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  781. MakeForm(Part,"Cyl")
  782. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  783. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  784. MakeForm(Part,"Wedge")
  785. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  786. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  787. MakeForm(Hole,"Cyl")
  788. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  789. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  790. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  791. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  792. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  793. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  794. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  795. coroutine.resume(coroutine.create(function()
  796. while wait() do
  797. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  798. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  799. end
  800. end))
  801.  
  802. local EXE = Instance.new("Shirt")
  803. EXE.ShirtTemplate = "rbxassetid://236410507"
  804. EXE.Parent = Character
  805. EXE.Name = "Cloth"
  806. local LOL = Instance.new("Pants")
  807. LOL.PantsTemplate = "rbxassetid://236412261"
  808. LOL.Parent = Character
  809. LOL.Name = "Cloth"
  810.  
  811. local LASTPART = Head
  812. for i = 1, 20 do
  813. local MATH = (1-(i/25))
  814. if LASTPART == Head then
  815. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  816. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  817. LASTPART = Horn
  818. Horn.Color = C3((i*3-3)/0,0,0)
  819. else
  820. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  821. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  822. LASTPART = Horn
  823. Horn.Color = C3((i*3-3)/85,255,255)
  824. end
  825. end
  826. local LASTPART = Head
  827. for i = 1, 20 do
  828. local MATH = (1-(i/25))
  829. if LASTPART == Head then
  830. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  831. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  832. LASTPART = Horn
  833. Horn.Color = C3((i*3-3)/0,0,0)
  834. else
  835. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  836. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
  837. LASTPART = Horn
  838. Horn.Color = C3((i*3-3)/85,255,255)
  839. end
  840. end
  841.  
  842. local BODY = {}
  843. if Head:FindFirstChild("face") then
  844. Head.face.Texture = "rbxassetid://403870689"
  845. end
  846.  
  847. for _, c in pairs(Character:GetChildren()) do
  848. if c.ClassName == "Part" and c.Name ~= "Eye" then
  849. c.Material = "Neon"
  850. if c:FindFirstChildOfClass("ParticleEmitter") then
  851. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  852. end
  853. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  854. c:remove()
  855. end
  856. end
  857.  
  858. for e = 1, #BODY do
  859. if BODY[e] ~= nil then
  860. local STUFF = BODY[e]
  861. local PART = STUFF[1]
  862. local PARENT = STUFF[2]
  863. local MATERIAL = STUFF[3]
  864. local COLOR = STUFF[4]
  865. local TRANSPARENCY = STUFF[5]
  866. if PART.ClassName == "Part" and PART ~= RootPart then
  867. PART.Material = MATERIAL
  868. PART.Color = COLOR
  869. PART.Transparency = TRANSPARENCY
  870. end
  871. PART.AncestryChanged:Connect(function()
  872. PART.Parent = PARENT
  873. end)
  874. end
  875. end
  876.  
  877. function refit()
  878. Character.Parent = workspace
  879. for e = 1, #BODY do
  880. if BODY[e] ~= nil then
  881. local STUFF = BODY[e]
  882. local PART = STUFF[1]
  883. local PARENT = STUFF[2]
  884. local MATERIAL = STUFF[3]
  885. local COLOR = STUFF[4]
  886. local TRANSPARENCY = STUFF[5]
  887. if PART.ClassName == "Part" and PART ~= RootPart then
  888. PART.Material = MATERIAL
  889. PART.Color = COLOR
  890. PART.Transparency = TRANSPARENCY
  891. end
  892. if PART.Parent ~= PARENT then
  893. Humanoid:remove()
  894. PART.Parent = PARENT
  895. Humanoid = IT("Humanoid",Character)
  896. end
  897. end
  898. end
  899. end
  900.  
  901. for _, c in pairs(Weapon:GetDescendants()) do
  902. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  903. c.Material = "Glass"
  904. c.Color = C3(0,0,0)
  905. elseif c.ClassName == "Part" and c.Name == "Eye" then
  906. c.Color = C3(1,0,0)
  907. c.Material = "Neon"
  908. end
  909. end
  910.  
  911. Weapon.Parent = Character
  912. for _, c in pairs(Weapon:GetChildren()) do
  913. if c.ClassName == "Part" then
  914. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  915. end
  916. end
  917.  
  918. local SKILLTEXTCOLOR = C3(1,0,0)
  919. local SKILLFONT = "Antique"
  920. local SKILLTEXTSIZE = 7
  921.  
  922. Humanoid.Died:connect(function()
  923. ATTACK = true
  924. end)
  925.  
  926. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  927.  
  928. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z][X]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  929.  
  930. function printbye(Name)
  931. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  932. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  933. end
  934.  
  935. workspace.ChildAdded:connect(function(instance)
  936. for BANISH = 1, #TOBANISH do
  937. if TOBANISH[BANISH] ~= nil then
  938. if instance.Name == TOBANISH[BANISH] then
  939. coroutine.resume(coroutine.create(function()
  940. printbye(instance.Name)
  941. instance:ClearAllChildren()
  942. Debris:AddItem(instance,0.0005)
  943. end))
  944. end
  945. end
  946. end
  947. end)
  948.  
  949. --//=================================\\
  950. --|| DAMAGING
  951. --\\=================================//
  952. function Banish(Foe)
  953. if Foe then
  954. coroutine.resume(coroutine.create(function()
  955. --if game.Players:FindFirstChild(Foe.Name) then
  956. table.insert(TOBANISH,Foe.Name)
  957. printbye(Foe.Name)
  958. --end
  959. Foe.Archivable = true
  960. local CLONE = Foe:Clone()
  961. Foe:Destroy()
  962. CLONE.Parent = Effects
  963. CLONE:BreakJoints()
  964. local MATERIALS = {"Glass","Neon"}
  965. for _, c in pairs(CLONE:GetDescendants()) do
  966. if c:IsA("BasePart") then
  967. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  968. CreateSound(340722848, c, 10, 1, false)
  969. end
  970. c.Anchored = true
  971. c.Transparency = c.Transparency + 0.2
  972. c.Material = MATERIALS[MRANDOM(1,2)]
  973. c.Color = C3(1,0,0)
  974. if c.ClassName == "MeshPart" then
  975. c.TextureID = ""
  976. end
  977. if c:FindFirstChildOfClass("SpecialMesh") then
  978. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  979. end
  980. if c:FindFirstChildOfClass("Decal") then
  981. c:FindFirstChildOfClass("Decal"):remove()
  982. end
  983. c.Name = "Banished"
  984. c.CanCollide = false
  985. else
  986. c:remove()
  987. end
  988. end
  989. local A = false
  990. for i = 1, 35 do
  991. if A == false then
  992. A = true
  993. elseif A == true then
  994. A = false
  995. end
  996. for _, c in pairs(CLONE:GetDescendants()) do
  997. if c:IsA("BasePart") then
  998. c.Anchored = true
  999. c.Material = MATERIALS[MRANDOM(1,2)]
  1000. c.Transparency = c.Transparency + 0.8/35
  1001. if A == false then
  1002. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1003. elseif A == true then
  1004. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1005. end
  1006. end
  1007. end
  1008. Swait()
  1009. end
  1010. CLONE:remove()
  1011. end))
  1012. end
  1013. end
  1014.  
  1015. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1016. local CHILDREN = workspace:GetDescendants()
  1017. for index, CHILD in pairs(CHILDREN) do
  1018. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1019. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1020. if HUM then
  1021. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1022. if TORSO then
  1023. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1024. if ISBANISH == true then
  1025. Banish(CHILD)
  1026. else
  1027. if ISBANISH == "Gravity" then
  1028. HUM.PlatformStand = true
  1029. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1030. local grav = Instance.new("BodyPosition",TORSO)
  1031. grav.D = 15
  1032. grav.P = 20000
  1033. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1034. grav.position = TORSO.Position
  1035. grav.Name = "V3BanishForce"..Player.Name
  1036. else
  1037. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1038. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1039. end
  1040. else
  1041. HUM.PlatformStand = false
  1042. end
  1043. end
  1044. elseif ISBANISH == "Gravity" then
  1045. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1046. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1047. HUM.PlatformStand = false
  1048. end
  1049. end
  1050. end
  1051. end
  1052. end
  1053. end
  1054. end
  1055.  
  1056. function killnearest(position,range,maxstrength,direction)
  1057. for i,v in ipairs(workspace:GetChildren()) do
  1058. local body = v:GetChildren()
  1059. for part = 1, #body do
  1060. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1061. if(body[part].Position - position).Magnitude < range then
  1062. if v.ClassName == "Model" then
  1063. --v:BreakJoints()
  1064. end
  1065. local POS = position
  1066. coroutine.resume(coroutine.create(function()
  1067. body[part].Anchored = true
  1068. body[part].Parent = Effects
  1069. body[part].CanCollide = true
  1070. local SIZE = body[part].Size
  1071. body[part].Material = "Neon"
  1072. CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
  1073. for i = 1, 75 do
  1074. Swait()
  1075. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1076. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1077. end
  1078. coroutine.resume(coroutine.create(function()
  1079. while true do
  1080. Swait()
  1081. body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1082. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1083. end
  1084. end))
  1085. body[part].Anchored = false
  1086. body[part].Velocity = direction.lookVector*maxstrength
  1087. end))
  1088. end
  1089. end
  1090. end
  1091. if v.ClassName == "Part" then
  1092. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1093. local POS = position
  1094. coroutine.resume(coroutine.create(function()
  1095. v.Anchored = true
  1096. v.Parent = Effects
  1097. local SIZE = v.Size
  1098. v.Material = "Neon"
  1099. CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
  1100. for i = 1, 75 do
  1101. Swait()
  1102. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1103. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1104. end
  1105. coroutine.resume(coroutine.create(function()
  1106. while true do
  1107. Swait()
  1108. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1109. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1110. end
  1111. end))
  1112. v.Anchored = false
  1113. v.Velocity = direction.lookVector*maxstrength
  1114. end))
  1115. end
  1116. end
  1117. end
  1118. end
  1119.  
  1120. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  1121. local TORSO = Torso
  1122. local HUM = Humanoid
  1123. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  1124. coroutine.wrap(function()
  1125. VT = Vector3.new
  1126. MRANDOM = math.random
  1127. local A = TIME
  1128. local B = INTENSITY
  1129. local C = true
  1130. local HUMANOID = Humanoid
  1131. local TIMER = A or 35
  1132. local SHAKE = B or 5
  1133. local FADE = C or true
  1134. if HUMANOID then
  1135. local FADER = SHAKE / TIMER
  1136. for i = 1, TIMER do
  1137. wait()
  1138. HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
  1139. end
  1140. HUMANOID.CameraOffset = VT(0, 0, 0)
  1141. end
  1142.  
  1143. end)()
  1144. end
  1145. end
  1146.  
  1147. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,BESERK)
  1148. local dmg = math.random(10000,100000)
  1149. for i,v in ipairs(workspace:GetChildren()) do
  1150. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  1151. local body = v:GetChildren()
  1152. for part = 1, #body do
  1153. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1154. if(body[part].Position - position).Magnitude < radius then
  1155. if v.ClassName == "Model" then
  1156. if v:FindFirstChildOfClass("Humanoid") then
  1157. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier,BESERK)
  1158. local bv = Instance.new("BodyVelocity")
  1159. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1160. bv.velocity = CF(position,body[part].Position).lookVector*maxstrength
  1161. bv.Parent = body[part]
  1162. Debris:AddItem(bv,0.2)
  1163. end
  1164. end
  1165. end
  1166. end
  1167. end
  1168. end
  1169. if v:FindFirstChild("HitBy"..Player.Name) then
  1170. v:FindFirstChild("HitBy"..Player.Name):remove()
  1171. end
  1172. end
  1173. end
  1174.  
  1175. function CameraEnshaking(Length, Intensity)
  1176. coroutine.resume(coroutine.create(function()
  1177. local intensity = 1 * Intensity
  1178. local rotM = 0.01 * Intensity
  1179. for i = 0, Length, 0.1 do
  1180. Swait()
  1181. intensity = intensity - 0.05 * Intensity / Length
  1182. rotM = rotM - 5.0E-4 * Intensity / Length
  1183. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1184. 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)
  1185. end
  1186. hum.CameraOffset = Vector3.new(0, 0, 0)
  1187. end))
  1188. end
  1189.  
  1190. function ApplyDamage(Humanoid,Damage,TorsoPart)
  1191. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1192. defence.Name = ("HitBy"..Player.Name)
  1193. game:GetService("Debris"):AddItem(defence, 0.001)
  1194. Damage = Damage * DAMAGEMULTIPLIER
  1195. if Humanoid.Health ~= 0 then
  1196. local CritChance = MRANDOM(1,100)
  1197. if Damage > Humanoid.Health then
  1198. Damage = math.ceil(Humanoid.Health)
  1199. if Damage == 0 then
  1200. Damage = 0.1
  1201. end
  1202. end
  1203. Humanoid.Health = Humanoid.Health - Damage
  1204. end
  1205. end
  1206.  
  1207. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1208. local CHILDREN = workspace:GetDescendants()
  1209. for index, CHILD in pairs(CHILDREN) do
  1210. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1211. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1212. if HUM then
  1213. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1214. if TORSO then
  1215. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1216. if INSTAKILL == true then
  1217. CHILD:BreakJoints()
  1218. else
  1219. local DMG = MRANDOM(MINDMG,MAXDMG)
  1220. ApplyDamage(HUM,DMG,TORSO)
  1221. end
  1222. if FLING > 0 then
  1223. for _, c in pairs(CHILD:GetChildren()) do
  1224. if c:IsA("BasePart") then
  1225. local bv = Instance.new("BodyVelocity")
  1226. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1227. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1228. bv.Parent = c
  1229. Debris:AddItem(bv,0.05)
  1230. end
  1231. end
  1232. end
  1233. end
  1234. end
  1235. end
  1236. end
  1237. end
  1238. end
  1239.  
  1240. --//=================================\\
  1241. --|| ATTACK FUNCTIONS AND STUFF
  1242. --\\=================================//
  1243.  
  1244. function Shot()
  1245. ATTACK = true
  1246. Rooted = false
  1247. for i=0, 0.4, 0.1 / Animation_Speed do
  1248. Swait()
  1249. turnto(Mouse.Hit.p)
  1250. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  1251. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1252. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1253. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1254. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1255. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1256. end
  1257. repeat
  1258. for i=0, 0.2, 0.1 / Animation_Speed do
  1259. Swait()
  1260. turnto(Mouse.Hit.p)
  1261. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  1262. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1263. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1264. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1265. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1266. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1267. end
  1268. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1269. SpawnTrail(Hole.Position,POS)
  1270. if HIT ~= nil then
  1271. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1272. Banish(HIT.Parent)
  1273. end
  1274. end
  1275. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1276. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 165946702, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1277. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1278. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1279. for i=0, 0.3, 0.1 / Animation_Speed do
  1280. Swait()
  1281. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  1282. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1283. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1284. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1285. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1286. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1287. end
  1288. until KEYHOLD == false
  1289. ATTACK = false
  1290. Rooted = false
  1291. end
  1292.  
  1293. function Taunt()
  1294. ATTACK = true
  1295. Rooted = true
  1296. local TAUNT = CreateSound(159882303,Torso,10,1,false)
  1297. coroutine.resume(coroutine.create(function()
  1298. repeat
  1299. Swait()
  1300. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 0.1 / Animation_Speed)
  1301. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed)
  1302. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  1303. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
  1304. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  1305. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  1306. until ATTACK == false
  1307. end))
  1308. repeat wait() until TAUNT.Playing == false
  1309. ATTACK = false
  1310. Rooted = false
  1311. end
  1312.  
  1313. function BanishmentBeam()
  1314. ATTACK = true
  1315. Rooted = false
  1316. local GYRO = IT("BodyGyro",RootPart)
  1317. GYRO.D = 100
  1318. GYRO.P = 2000
  1319. GYRO.MaxTorque = VT(0,4000000,0)
  1320. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1321. CreateSound("0", RightArm, 5, 1, false)
  1322. for i=0, 0.4, 0.1 / Animation_Speed do
  1323. Swait()
  1324. WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  1325. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1326. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  1327. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed)
  1328. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1329. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1330. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1331. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1332. end
  1333. local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Lazer", VT(0,0,0))
  1334. local LOOP = CreateSound("165946702", RightArm, 5, 1, false)
  1335. local TOCH = BEAM.Touched:Connect(function(hit)
  1336. if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
  1337. Kill(hit)
  1338. end
  1339. end)
  1340. local I = 0
  1341. repeat
  1342. Swait()
  1343. I = I + 1
  1344. if I <= 0 then
  1345. BEAM.Transparency = BEAM.Transparency - 0.1
  1346. end
  1347. local STARTPOS = RightArm.CFrame*CF(0,-4,0).p
  1348. local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character)
  1349. local DISTANCE = (STARTPOS - ENDPOS).Magnitude
  1350. BEAM.CFrame = CF(STARTPOS,ENDPOS)*CF(0,0,-DISTANCE/2)*ANGLES(RAD(0),RAD(0),RAD(I*5))
  1351. BEAM.Size = VT(2,2,DISTANCE)
  1352. WACKYEFFECT({Time = 5, EffectType = "Box", Size = VT(0,0,0), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(ENDPOS), MoveToPos = CF(ENDPOS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,15,0).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1353. WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-3.8,-0.7), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  1354. WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.25, CFrame = CF(ENDPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  1355. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1356. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  1357. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  1358. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1359. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1360. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1361. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1362. if ENDHIT ~= nil then
  1363. if ENDHIT.Anchored == false and ENDHIT.Parent ~= Effects then
  1364. Banish(ENDHIT)
  1365. end
  1366. end
  1367. until LOOP.Playing == false
  1368. GYRO:remove()
  1369. BEAM:remove()
  1370. ATTACK = false
  1371. Rooted = false
  1372. end
  1373.  
  1374. --//=================================\\
  1375. --|| ASSIGN THINGS TO KEYS
  1376. --\\=================================//
  1377.  
  1378. function MouseDown(Mouse)
  1379. if ATTACK == false then
  1380. Extreme_Offset()
  1381. end
  1382. end
  1383.  
  1384. function MouseUp(Mouse)
  1385. HOLD = false
  1386. end
  1387.  
  1388. function KeyDown(Key)
  1389. KEYHOLD = true
  1390. if Key == "z" and ATTACK == false then
  1391. Shot()
  1392. end
  1393.  
  1394. if Key == "x" and ATTACK == false then
  1395. BanishmentBeam()
  1396. end
  1397.  
  1398. if Key == "c" and ATTACK == false then
  1399. MagicMissiles()
  1400. end
  1401.  
  1402. KEYHOLD = true
  1403. if Key == "t" and ATTACK == false then
  1404. Taunt()
  1405. end
  1406. end
  1407. function KeyUp(Key)
  1408. KEYHOLD = false
  1409. end
  1410.  
  1411. Mouse.Button1Down:connect(function(NEWKEY)
  1412. MouseDown(NEWKEY)
  1413. end)
  1414. Mouse.Button1Up:connect(function(NEWKEY)
  1415. MouseUp(NEWKEY)
  1416. end)
  1417. Mouse.KeyDown:connect(function(NEWKEY)
  1418. KeyDown(NEWKEY)
  1419. end)
  1420. Mouse.KeyUp:connect(function(NEWKEY)
  1421. KeyUp(NEWKEY)
  1422. end)
  1423.  
  1424. --//=================================\\
  1425. --\\=================================//
  1426.  
  1427.  
  1428. function unanchor()
  1429. if UNANCHOR == true then
  1430. g = Character:GetChildren()
  1431. for i = 1, #g do
  1432. if g[i].ClassName == "Part" then
  1433. g[i].Anchored = false
  1434. end
  1435. end
  1436. end
  1437. end
  1438.  
  1439.  
  1440. --//=================================\\
  1441. --|| WRAP THE WHOLE SCRIPT UP
  1442. --\\=================================//
  1443.  
  1444. Humanoid.Changed:connect(function(Jump)
  1445. if Jump == "Jump" and (Disable_Jump == true) then
  1446. Humanoid.Jump = false
  1447. end
  1448. end)
  1449.  
  1450. local CONNECT = nil
  1451.  
  1452. while true do
  1453. Swait()
  1454. Humanoid.HipHeight = 4
  1455. script.Parent = WEAPONGUI
  1456. ANIMATE.Parent = nil
  1457. if Humanoid then
  1458. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1459. IDLEANIMATION:Play()
  1460. end
  1461. SINE = SINE + CHANGE
  1462. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1463. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1464. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1465. if ATTACK == false then
  1466. if TORSOVELOCITY < 1 then
  1467. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  1468. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1469. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1470. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1471. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1472. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1473. elseif TORSOVELOCITY > 1 then
  1474. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  1475. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1476. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45), RAD(-25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1477. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1478. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1479. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1480. end
  1481. end
  1482. -------------------------
  1483. -------------------------
  1484. unanchor()
  1485. tecks2.TextColor3 = BrickColor.Random().Color
  1486. tecks2.TextStrokeColor3 = BrickColor.Random().Color
  1487. Humanoid.MaxHealth = "inf"
  1488. Humanoid.Health = "inf"
  1489. if Rooted == false then
  1490. Disable_Jump = false
  1491. Humanoid.WalkSpeed = Speed
  1492. elseif Rooted == true then
  1493. Disable_Jump = true
  1494. Humanoid.WalkSpeed = 0
  1495. end
  1496.  
  1497. end
  1498. --//=================================\\
  1499. --\\=================================//
Add Comment
Please, Sign In to add comment