Advertisement
AOM-GU-PRO

RBS

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