SHARE
TWEET

banisher of the city

Basykung7845 Mar 1st, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- This script has been converted to FE by Basykung7845
  2.  
  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,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7.     print("FE Compatibility code by Basykung7845")
  8.     script.Parent = Player.Character
  9.  
  10.     --RemoteEvent for communicating
  11.     local Event = Instance.new("RemoteEvent")
  12.     Event.Name = "UserInput_Event"
  13.  
  14.     --Fake event to make stuff like Mouse.KeyDown work
  15.     local function fakeEvent()
  16.         local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17.         t.connect = t.Connect
  18.         return t
  19.     end
  20.  
  21.     --Creating fake input objects with fake variables
  22.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26.     end}
  27.     --Merged 2 functions into one by checking amount of arguments
  28.     CAS.UnbindAction = CAS.BindAction
  29.  
  30.     --This function will trigger the events that have been :Connect()'ed
  31.     local function te(self,ev,...)
  32.         local t = m[ev]
  33.         if t and t._fakeEvent and t.Function then
  34.             t.Function(...)
  35.         end
  36.     end
  37.     m.TrigEvent = te
  38.     UIS.TrigEvent = te
  39.  
  40.     Event.OnServerEvent:Connect(function(plr,io)
  41.         if plr~=Player then return end
  42.         if io.isMouse then
  43.             m.Target = io.Target
  44.             m.Hit = io.Hit
  45.         else
  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 = owner
  63.     local Event = script:WaitForChild("UserInput_Event")
  64.  
  65.     local UIS = game:GetService("UserInputService")
  66.     local input = function(io,a)
  67.         if a then return end
  68.         --Since InputObject is a client-side instance, we create and pass table instead
  69.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70.     end
  71.     UIS.InputBegan:Connect(input)
  72.     UIS.InputEnded:Connect(input)
  73.  
  74.     local h,t
  75.     --Give the server mouse data 30 times every second, but only if the values changed
  76.     --If player is not moving their mouse, client won't fire events
  77.     while wait(1/30) do
  78.         if h~=Mouse.Hit or t~=Mouse.Target then
  79.             h,t=Mouse.Hit,Mouse.Target
  80.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  81.         end
  82.     end]==],Player.Character)
  83.     Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  84. end
  85.  
  86.     --Creating fake input objects with fake variables
  87.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  88.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  89.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  90.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  91.     end}
  92.     --Merged 2 functions into one by checking amount of arguments
  93.     CAS.UnbindAction = CAS.BindAction
  94.  
  95.     --This function will trigger the events that have been :Connect()'ed
  96.     local function te(self,ev,...)
  97.         local t = m[ev]
  98.         if t and t._fakeEvent then
  99.             for _,f in pairs(t.Functions) do
  100.                 f(...)
  101.             end
  102.         end
  103.     end
  104.     m.TrigEvent = te
  105.     UIS.TrigEvent = te
  106.  
  107.     Event.OnServerEvent:Connect(function(plr,io)
  108.         if plr~=rp then return end
  109.         m.Target = io.Target
  110.         m.Hit = io.Hit
  111.         if not io.isMouse then
  112.             local b = io.UserInputState == Enum.UserInputState.Begin
  113.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  114.                 return m:TrigEvent(b and "Button1Down" or "Button1Up")
  115.             end
  116.             for _,t in pairs(CAS.Actions) do
  117.                 for _,k in pairs(t.Keys) do
  118.                     if k==io.KeyCode then
  119.                         t.Function(t.Name,io.UserInputState,io)
  120.                     end
  121.                 end
  122.             end
  123.             m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  124.             UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  125.         end
  126.     end)
  127.     Event.Parent = NLS([==[
  128.     local Player = owner
  129.     local Event = script:WaitForChild("UserInput_Event")
  130.  
  131.     local UIS = game:GetService("UserInputService")
  132.     local input = function(io,a)
  133.         if a then return end
  134.         --Since InputObject is a client-side instance, we create and pass table instead
  135.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  136.     end
  137.     UIS.InputBegan:Connect(input)
  138.     UIS.InputEnded:Connect(input)
  139.  
  140.     local h,t
  141.     --Give the server mouse data 30 times every second, but only if the values changed
  142.     --If player is not moving their mouse, client won't fire events
  143.     while wait(1/30) do
  144.         if h~=Mouse.Hit or t~=Mouse.Target then
  145.             h,t=Mouse.Hit,Mouse.Target
  146.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  147.         end
  148.     end]==],Player.Character)
  149.  
  150.     ----Sandboxed game object that allows the usage of client-side methods and services
  151.     --Real game object
  152.     local _rg = game
  153.  
  154.     --Metatable for fake service
  155.     local fsmt = {
  156.         __index = function(self,k)
  157.             local s = rawget(self,"_RealService")
  158.             if s then return s[k] end
  159.         end,
  160.         __newindex = function(self,k,v)
  161.             local s = rawget(self,"_RealService")
  162.             if s then s[k]=v end
  163.         end,
  164.         __call = function(self,...)
  165.             local s = rawget(self,"_RealService")
  166.             if s then return s(...) end
  167.         end
  168.     }
  169.     local function FakeService(t,RealService)
  170.         t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  171.         return setmetatable(t,fsmt)
  172.     end
  173.  
  174.     --Fake game object
  175.     local g = {
  176.         GetService = function(self,s)
  177.             return self[s]
  178.         end,
  179.         Players = FakeService({
  180.             LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  181.         },"Players"),
  182.         UserInputService = FakeService(UIS,"UserInputService"),
  183.         ContextActionService = FakeService(CAS,"ContextActionService"),
  184.     }
  185.     rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  186.     g.service = g.GetService
  187.    
  188.     g.RunService = FakeService({
  189.         RenderStepped = _rg:GetService("RunService").Heartbeat,
  190.         BindToRenderStep = function(self,name,_,fun)
  191.  
  192.         end,
  193.         UnbindFromRenderStep = function(self,name)
  194.             self._btrs[name]:Disconnect()
  195.         end,
  196.     },"RunService")
  197.  
  198.     setmetatable(g,{
  199.         __index=function(self,s)
  200.             return _rg:GetService(s) or typeof(_rg[s])=="function"
  201.             and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  202.         end,
  203.         __newindex = fsmt.__newindex,
  204.         __call = fsmt.__call
  205.     })
  206.     --Changing owner to fake player object to support owner:GetMouse()
  207.     game,owner = g,g.Players.LocalPlayer
  208. end
  209.  
  210. wait(0.2)
  211.  
  212. Player = owner
  213. PlayerGui = Player.PlayerGui
  214. Cam = workspace.CurrentCamera
  215. Backpack = Player.Backpack
  216. Character = Player.Character
  217. Humanoid = Character.Humanoid
  218. RootPart = Character["HumanoidRootPart"]
  219. Torso = Character["Torso"]
  220. Head = Character["Head"]
  221. RightArm = Character["Right Arm"]
  222. LeftArm = Character["Left Arm"]
  223. RightLeg = Character["Right Leg"]
  224. LeftLeg = Character["Left Leg"]
  225. RootJoint = RootPart["RootJoint"]
  226. Neck = Torso["Neck"]
  227. RightShoulder = Torso["Right Shoulder"]
  228. LeftShoulder = Torso["Left Shoulder"]
  229. RightHip = Torso["Right Hip"]
  230. LeftHip = Torso["Left Hip"]
  231. local sick = Instance.new("Sound",Character)
  232. sick.SoundId = "rbxassetid://142603362"
  233. sick.Looped = true
  234. sick.Pitch = 1
  235. sick.Volume = 1
  236. sick:Play()
  237.  
  238. IT = Instance.new
  239. CF = CFrame.new
  240. VT = Vector3.new
  241. RAD = math.rad
  242. C3 = Color3.new
  243. UD2 = UDim2.new
  244. BRICKC = BrickColor.new
  245. ANGLES = CFrame.Angles
  246. EULER = CFrame.fromEulerAnglesXYZ
  247. COS = math.cos
  248. ACOS = math.acos
  249. SIN = math.sin
  250. ASIN = math.asin
  251. ABS = math.abs
  252. MRANDOM = math.random
  253. FLOOR = math.floor
  254. Class_Name = "₩₳ⱤĐɆ₦.exe"
  255. Editor_Name = "JkBananaPill_H2O"
  256.  
  257.  
  258. --//=================================\\
  259. --||          USEFUL VALUES
  260. --\\=================================//
  261.  
  262. Animation_Speed = 3
  263. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  264. local Speed = 15
  265. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  266. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  267. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  268. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  269. local DAMAGEMULTIPLIER = 1
  270. local ANIM = "Idle"
  271. local ATTACK = false
  272. local EQUIPPED = false
  273. local HOLD = false
  274. local COMBO = 1
  275. local Rooted = false
  276. local SINE = 0
  277. local KEYHOLD = false
  278. local CHANGE = 2 / Animation_Speed
  279. local WALKINGANIM = false
  280. local VALUE1 = false
  281. local VALUE2 = false
  282. local ROBLOXIDLEANIMATION = IT("Animation")
  283. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  284. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  285. --ROBLOXIDLEANIMATION.Parent = Humanoid
  286. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  287. WEAPONGUI.Name = "Weapon GUI"
  288. local Effects = IT("Folder", Character)
  289. Effects.Name = "Effects"
  290. local ANIMATOR = Humanoid.Animator
  291. local ANIMATE = Character.Animate
  292. local UNANCHOR = true
  293. local PLAYMAINANIM = true
  294. local BOLTSOUNDS = {168586621,168586586,178452241}
  295.  
  296. --//=================================\\
  297. --\\=================================//
  298. local Player = owner
  299. function RemoveOutlines(part)
  300.     part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  301. end
  302. local Create = LoadLibrary("RbxUtility").Create
  303.  
  304. CFuncs = { 
  305.     ["Part"] = {
  306.         Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  307.             local Part = Create("Part"){
  308.                 Parent = Parent,
  309.                 Reflectance = Reflectance,
  310.                 Transparency = Transparency,
  311.                 CanCollide = false,
  312.                 Locked = true,
  313.                 BrickColor = BrickColor.new(tostring(BColor)),
  314.                 Name = Name,
  315.                 Size = Size,
  316.                 Material = Material,
  317.             }
  318.             RemoveOutlines(Part)
  319.             return Part
  320.         end;
  321.     };
  322.     ["Sound"] = {
  323.         Create = function(id, par, vol, pit)
  324.             coroutine.resume(coroutine.create(function()
  325.                 local S = Create("Sound"){
  326.                     Volume = vol,
  327.                     Pitch = pit or 1,
  328.                     SoundId = id,
  329.                     Parent = par or workspace,
  330.                 }
  331.                 wait()
  332.                 S:play()
  333.                 game:GetService("Debris"):AddItem(S, 6)
  334.             end))
  335.         end;
  336.     };
  337. }
  338.  
  339. local toggleTag = true
  340. local txt = Instance.new("BillboardGui", Head)
  341. txt.Adornee = nil
  342. txt.Name = "NameDetect"
  343. txt.Size = UDim2.new(4, 0, 1.2, 0)
  344. txt.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  345. local text = Instance.new("TextLabel", txt)
  346. text.Size = UDim2.new(10/2, 0, 7/2, 0)
  347. text.FontSize = "Size8"
  348. text.TextScaled = true
  349. text.TextTransparency = 0
  350. text.BackgroundTransparency = 1
  351. text.TextTransparency = 0
  352. text.TextStrokeTransparency = 0
  353. text.Font = "Garamond"
  354. text.TextStrokeColor3 = Color3.new(0,1,1)
  355. text.TextColor3 = Color3.new(0,0,0)
  356. text.Text = "The Warden Of The City"
  357.  
  358. local Char = Character
  359.  
  360. function RecolorTextAndRename(name,col1,col2)
  361. text.TextStrokeColor3 = col2
  362. text.TextColor3 = col1
  363. text.Text = name
  364. end
  365. RecolorTextAndRename("The Banisher Of The City",Color3.new(0,0,0),Color3.new(0,0,1))
  366.  
  367. function chatfunc(text)
  368. local chat = coroutine.wrap(function()
  369. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  370. Char:FindFirstChild("TalkingBillBoard"):destroy()
  371. end
  372. local naeeym2 = Instance.new("BillboardGui",Char)
  373. naeeym2.Size = UDim2.new(0,100,0,40)
  374. naeeym2.StudsOffset = Vector3.new(0,3,0)
  375. naeeym2.Adornee = Char.Head
  376. naeeym2.Name = "TalkingBillBoard"
  377. local tecks2 = Instance.new("TextLabel",naeeym2)
  378. tecks2.BackgroundTransparency = 1
  379. tecks2.BorderSizePixel = 0
  380. tecks2.Text = ""
  381. tecks2.Font = "Antique"
  382. tecks2.TextSize = 30
  383. tecks2.TextStrokeTransparency = 0
  384. tecks2.TextColor3 = Color3.new(.6,0,0)
  385. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  386. tecks2.Size = UDim2.new(1,0,0.5,0)
  387. local tecks3 = Instance.new("TextLabel",naeeym2)
  388. tecks3.BackgroundTransparency = 1
  389. tecks3.BorderSizePixel = 0
  390. tecks3.Text = ""
  391. tecks3.Font = "Antique"
  392. tecks3.TextSize = 30
  393. tecks3.TextStrokeTransparency = 0
  394. tecks3.TextColor3 = BrickColor.new("Hot white").Color
  395. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  396. tecks3.Size = UDim2.new(1,0,0.5,0)
  397. spawn(function()
  398.     while wait() do
  399.         tecks3.TextColor3 = BrickColor.random().Color
  400.         tecks2.TextColor3 = BrickColor.random().Color
  401.     end
  402. end)
  403. for i = 1,string.len(text),1 do
  404. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=418252437", Char, 1, 1)
  405. tecks2.Text = string.sub(text,1,i)
  406. tecks3.Text = string.sub(text,1,i)
  407. wait(0.01)
  408. end
  409. wait(2)
  410. for i = 1, 50 do
  411. Swait()
  412. tecks2.Position = tecks2.Position - UDim2.new(math.random(-1,1),math.random(-5,5),.05,math.random(-5,5))
  413. tecks2.Rotation = tecks2.Rotation - .8
  414. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  415. tecks2.TextTransparency = tecks2.TextTransparency + .04
  416. tecks3.Position = tecks2.Position - UDim2.new(math.random(-1,1),math.random(-5,5),.05,math.random(-5,5))
  417. tecks3.Rotation = tecks2.Rotation + .8
  418. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  419. tecks3.TextTransparency = tecks2.TextTransparency + .04
  420. end
  421. naeeym2:Destroy()
  422. end)
  423. chat()
  424. end
  425. function onChatted(msg)
  426. chatfunc(msg)
  427. end
  428. Player.Chatted:connect(onChatted)
  429.  
  430. --//=================================\\
  431. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  432. --\\=================================//
  433.  
  434. ArtificialHB = Instance.new("BindableEvent", script)
  435. ArtificialHB.Name = "ArtificialHB"
  436.  
  437. script:WaitForChild("ArtificialHB")
  438.  
  439. frame = Frame_Speed
  440. tf = 0
  441. allowframeloss = false
  442. tossremainder = false
  443. lastframe = tick()
  444. script.ArtificialHB:Fire()
  445.  
  446. game:GetService("RunService").Heartbeat:connect(function(s, p)
  447.     tf = tf + s
  448.     if tf >= frame then
  449.         if allowframeloss then
  450.             script.ArtificialHB:Fire()
  451.             lastframe = tick()
  452.         else
  453.             for i = 1, math.floor(tf / frame) do
  454.                 script.ArtificialHB:Fire()
  455.             end
  456.         lastframe = tick()
  457.         end
  458.         if tossremainder then
  459.             tf = 0
  460.         else
  461.             tf = tf - frame * math.floor(tf / frame)
  462.         end
  463.     end
  464. end)
  465.  
  466. --//=================================\\
  467. --\\=================================//
  468. print(Class_Name.." Loaded")
  469. print(Editor_Name.." Edited This")
  470. --//=================================\\
  471. --||          SOME FUNCTIONS
  472. --\\=================================//
  473.  
  474. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  475.     return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  476. end
  477.  
  478. function PositiveAngle(NUMBER)
  479.     if NUMBER >= 0 then
  480.         NUMBER = 0
  481.     end
  482.     return NUMBER
  483. end
  484.  
  485. function NegativeAngle(NUMBER)
  486.     if NUMBER <= 0 then
  487.         NUMBER = 0
  488.     end
  489.     return NUMBER
  490. end
  491.  
  492. function Swait(NUMBER)
  493.     if NUMBER == 0 or NUMBER == nil then
  494.         ArtificialHB.Event:wait()
  495.     else
  496.         for i = 1, NUMBER do
  497.             ArtificialHB.Event:wait()
  498.         end
  499.     end
  500. end
  501.  
  502. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  503.     local NEWMESH = IT(MESH)
  504.     if MESH == "SpecialMesh" then
  505.         NEWMESH.MeshType = MESHTYPE
  506.         if MESHID ~= "nil" and MESHID ~= "" then
  507.             NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  508.         end
  509.         if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  510.             NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  511.         end
  512.     end
  513.     NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  514.     NEWMESH.Scale = SCALE
  515.     NEWMESH.Parent = PARENT
  516.     return NEWMESH
  517. end
  518.  
  519. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  520.     local NEWPART = IT("Part")
  521.     NEWPART.formFactor = FORMFACTOR
  522.     NEWPART.Reflectance = REFLECTANCE
  523.     NEWPART.Transparency = TRANSPARENCY
  524.     NEWPART.CanCollide = false
  525.     NEWPART.Locked = true
  526.     NEWPART.Anchored = true
  527.     if ANCHOR == false then
  528.         NEWPART.Anchored = false
  529.     end
  530.     NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  531.     NEWPART.Name = NAME
  532.     NEWPART.Size = SIZE
  533.     NEWPART.Position = Torso.Position
  534.     NEWPART.Material = MATERIAL
  535.     NEWPART:BreakJoints()
  536.     NEWPART.Parent = PARENT
  537.     return NEWPART
  538. end
  539.  
  540.     local function weldBetween(a, b)
  541.         local weldd = Instance.new("ManualWeld")
  542.         weldd.Part0 = a
  543.         weldd.Part1 = b
  544.         weldd.C0 = CFrame.new()
  545.         weldd.C1 = b.CFrame:inverse() * a.CFrame
  546.         weldd.Parent = a
  547.         return weldd
  548.     end
  549.  
  550.  
  551. function QuaternionFromCFrame(cf)
  552.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  553.     local trace = m00 + m11 + m22
  554.     if trace > 0 then
  555.         local s = math.sqrt(1 + trace)
  556.         local recip = 0.5 / s
  557.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  558.     else
  559.         local i = 0
  560.         if m11 > m00 then
  561.             i = 1
  562.         end
  563.         if m22 > (i == 0 and m00 or m11) then
  564.             i = 2
  565.         end
  566.         if i == 0 then
  567.             local s = math.sqrt(m00 - m11 - m22 + 1)
  568.             local recip = 0.5 / s
  569.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  570.         elseif i == 1 then
  571.             local s = math.sqrt(m11 - m22 - m00 + 1)
  572.             local recip = 0.5 / s
  573.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  574.         elseif i == 2 then
  575.             local s = math.sqrt(m22 - m00 - m11 + 1)
  576.             local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  577.         end
  578.     end
  579. end
  580.  
  581. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  582.     local xs, ys, zs = x + x, y + y, z + z
  583.     local wx, wy, wz = w * xs, w * ys, w * zs
  584.     local xx = x * xs
  585.     local xy = x * ys
  586.     local xz = x * zs
  587.     local yy = y * ys
  588.     local yz = y * zs
  589.     local zz = z * zs
  590.     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))
  591. end
  592.  
  593. function QuaternionSlerp(a, b, t)
  594.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  595.     local startInterp, finishInterp;
  596.     if cosTheta >= 0.0001 then
  597.         if (1 - cosTheta) > 0.0001 then
  598.             local theta = ACOS(cosTheta)
  599.             local invSinTheta = 1 / SIN(theta)
  600.             startInterp = SIN((1 - t) * theta) * invSinTheta
  601.             finishInterp = SIN(t * theta) * invSinTheta
  602.         else
  603.             startInterp = 1 - t
  604.             finishInterp = t
  605.         end
  606.     else
  607.         if (1 + cosTheta) > 0.0001 then
  608.             local theta = ACOS(-cosTheta)
  609.             local invSinTheta = 1 / SIN(theta)
  610.             startInterp = SIN((t - 1) * theta) * invSinTheta
  611.             finishInterp = SIN(t * theta) * invSinTheta
  612.         else
  613.             startInterp = t - 1
  614.             finishInterp = t
  615.         end
  616.     end
  617.     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
  618. end
  619.  
  620. function Clerp(a, b, t)
  621.     local qa = {QuaternionFromCFrame(a)}
  622.     local qb = {QuaternionFromCFrame(b)}
  623.     local ax, ay, az = a.x, a.y, a.z
  624.     local bx, by, bz = b.x, b.y, b.z
  625.     local _t = 1 - t
  626.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  627. end
  628.  
  629. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  630.     local frame = IT("Frame")
  631.     frame.BackgroundTransparency = TRANSPARENCY
  632.     frame.BorderSizePixel = BORDERSIZEPIXEL
  633.     frame.Position = POSITION
  634.     frame.Size = SIZE
  635.     frame.BackgroundColor3 = COLOR
  636.     frame.BorderColor3 = BORDERCOLOR
  637.     frame.Name = NAME
  638.     frame.Parent = PARENT
  639.     return frame
  640. end
  641.  
  642. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  643.     local label = IT("TextLabel")
  644.     label.BackgroundTransparency = 1
  645.     label.Size = UD2(1, 0, 1, 0)
  646.     label.Position = UD2(0, 0, 0, 0)
  647.     label.TextColor3 = TEXTCOLOR
  648.     label.TextStrokeTransparency = STROKETRANSPARENCY
  649.     label.TextTransparency = TRANSPARENCY
  650.     label.FontSize = TEXTFONTSIZE
  651.     label.Font = TEXTFONT
  652.     label.BorderSizePixel = BORDERSIZEPIXEL
  653.     label.TextScaled = false
  654.     label.Text = TEXT
  655.     label.Name = NAME
  656.     label.Parent = PARENT
  657.     return label
  658. end
  659.  
  660. function NoOutlines(PART)
  661.     PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  662. end
  663.  
  664. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  665.     local NEWWELD = IT(TYPE)
  666.     NEWWELD.Part0 = PART0
  667.     NEWWELD.Part1 = PART1
  668.     NEWWELD.C0 = C0
  669.     NEWWELD.C1 = C1
  670.     NEWWELD.Parent = PARENT
  671.     return NEWWELD
  672. end
  673.  
  674. local S = IT("Sound")
  675. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  676.     local NEWSOUND = nil
  677.     coroutine.resume(coroutine.create(function()
  678.         NEWSOUND = S:Clone()
  679.         NEWSOUND.Parent = PARENT
  680.         NEWSOUND.Volume = VOLUME
  681.         NEWSOUND.Pitch = PITCH
  682.         NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  683.         NEWSOUND:play()
  684.         if DOESLOOP == true then
  685.             NEWSOUND.Looped = true
  686.         else
  687.             repeat wait(1) until NEWSOUND.Playing == false
  688.             NEWSOUND:remove()
  689.         end
  690.     end))
  691.     return NEWSOUND
  692. end
  693.  
  694.  
  695. local EyeSizes={
  696.     NumberSequenceKeypoint.new(0,2,0),
  697.     NumberSequenceKeypoint.new(1,0,0)
  698. }
  699. local EyeTrans={
  700.     NumberSequenceKeypoint.new(0,0.5,0),
  701.     NumberSequenceKeypoint.new(1,1,0)
  702. }
  703. local PE=Instance.new("ParticleEmitter",nil)
  704. PE.LightEmission=.8
  705. PE.Color = ColorSequence.new(BRICKC("Dark blue").Color,BRICKC("Cyan").Color)
  706. PE.Size=NumberSequence.new(EyeSizes)
  707. PE.Transparency=NumberSequence.new(EyeTrans)
  708. PE.Lifetime=NumberRange.new(0.35,1)
  709. PE.Rotation=NumberRange.new(0,360)
  710. PE.Rate=100
  711. PE.VelocitySpread = 10000
  712. PE.Acceleration = Vector3.new(0,85,0)
  713. PE.Drag = 5
  714. PE.Speed = NumberRange.new(0.1,5)
  715. PE.Texture="http://www.roblox.com/asset/?id=1460745664"
  716. PE.ZOffset = 0.5
  717. PE.Name = "PE"
  718. PE.Enabled = false
  719.  
  720. function Fire(art)
  721.     local PARTICLES = PE:Clone()
  722.     PARTICLES.Parent = art
  723.     PARTICLES.Enabled = true
  724.     return PARTICLES
  725. end
  726.  
  727. function CFrameFromTopBack(at, top, back)
  728.     local right = top:Cross(back)
  729.     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)
  730. end
  731.  
  732. --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})
  733. function WACKYEFFECT(Table)
  734.     local TYPE = (Table.EffectType or "Sphere")
  735.     local SIZE = (Table.Size or VT(1,1,1))
  736.     local ENDSIZE = (Table.Size2 or VT(0,0,0))
  737.     local TRANSPARENCY = (Table.Transparency or 0)
  738.     local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  739.     local CFRAME = (Table.CFrame or Torso.CFrame)
  740.     local MOVEDIRECTION = (Table.MoveToPos or nil)
  741.     local ROTATION1 = (Table.RotationX or 0)
  742.     local ROTATION2 = (Table.RotationY or 0)
  743.     local ROTATION3 = (Table.RotationZ or 0)
  744.     local MATERIAL = (Table.Material or "Neon")
  745.     local COLOR = (Table.Color or C3(1,1,1))
  746.     local TIME = (Table.Time or 45)
  747.     local SOUNDID = (Table.SoundID or nil)
  748.     local SOUNDPITCH = (Table.SoundPitch or nil)
  749.     local SOUNDVOLUME = (Table.SoundVolume or nil)
  750.     coroutine.resume(coroutine.create(function()
  751.         local PLAYSSOUND = false
  752.         local SOUND = nil
  753.         local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Dark blue"), "Effect", VT(1,1,1), true)
  754.         if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  755.             PLAYSSOUND = true
  756.             SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  757.         end
  758.         EFFECT.Color = COLOR
  759.         local MSH = nil
  760.         if TYPE == "Sphere" then
  761.             MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  762.         elseif TYPE == "Block" or TYPE == "Box" then
  763.             MSH = IT("BlockMesh",EFFECT)
  764.             MSH.Scale = SIZE
  765.         elseif TYPE == "Wave" then
  766.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  767.         elseif TYPE == "Ring" then
  768.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  769.         elseif TYPE == "Slash" then
  770.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  771.         elseif TYPE == "Round Slash" then
  772.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  773.         elseif TYPE == "Swirl" then
  774.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  775.         elseif TYPE == "Skull" then
  776.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  777.         elseif TYPE == "Crystal" then
  778.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  779.         end
  780.         if MSH ~= nil then
  781.             local MOVESPEED = nil
  782.             if MOVEDIRECTION ~= nil then
  783.                 MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  784.             end
  785.             local GROWTH = SIZE - ENDSIZE
  786.             local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  787.             if TYPE == "Block" then
  788.                 EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  789.             else
  790.                 EFFECT.CFrame = CFRAME
  791.             end
  792.             for LOOP = 1, TIME+1 do
  793.                 Swait()
  794.                 MSH.Scale = MSH.Scale - GROWTH/TIME
  795.                 if TYPE == "Wave" then
  796.                     MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  797.                 end
  798.                 EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  799.                 if TYPE == "Block" then
  800.                     EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  801.                 else
  802.                     EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  803.                 end
  804.                 if MOVEDIRECTION ~= nil then
  805.                     local ORI = EFFECT.Orientation
  806.                     EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  807.                     EFFECT.Orientation = ORI
  808.                 end
  809.             end
  810.             if PLAYSSOUND == false then
  811.                 EFFECT:remove()
  812.             else
  813.                 repeat wait(1) until SOUND.Playing == false
  814.                 EFFECT:remove()
  815.             end
  816.         else
  817.             if PLAYSSOUND == false then
  818.                 EFFECT:remove()
  819.             else
  820.                 repeat Swait() until SOUND.Playing == false
  821.                 EFFECT:remove()
  822.             end
  823.         end
  824.     end))
  825. end
  826.  
  827. function MakeForm(PART,TYPE)
  828.     if TYPE == "Cyl" then
  829.         local MSH = IT("CylinderMesh",PART)
  830.     elseif TYPE == "Ball" then
  831.         local MSH = IT("SpecialMesh",PART)
  832.         MSH.MeshType = "Sphere"
  833.     elseif TYPE == "Wedge" then
  834.         local MSH = IT("SpecialMesh",PART)
  835.         MSH.MeshType = "Wedge"
  836.     end
  837. end
  838.  
  839. Debris = game:GetService("Debris")
  840.  
  841. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  842.     local DIRECTION = CF(StartPos,EndPos).lookVector
  843.     return Raycast(StartPos, DIRECTION, Distance, Ignore)
  844. end
  845.  
  846. local HATWELD = nil
  847. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  848.     PLAYMAINANIM = false
  849.     if WhichPose == "Cast1" then
  850.         for i=0, Time, 0.1 / Animation_Speed do
  851.             Swait()
  852.             if Magic == true then
  853.                 WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Cyan".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  854.             end
  855.             if Gyro ~= nil and Gyro ~= false then
  856.                 Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  857.             end
  858.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
  859.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
  860.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  861.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  862.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  863.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  864.         end
  865.     elseif WhichPose == "Cast2" then
  866.         for i=0, Time, 0.1 / Animation_Speed do
  867.             Swait()
  868.             if Magic == true then
  869.                 WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Cyan".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  870.                 WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Cyan".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  871.             end
  872.             if Gyro ~= nil and Gyro ~= false then
  873.                 Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  874.             end
  875.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  876.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  877.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  878.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  879.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  880.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  881.         end
  882.     elseif WhichPose == "RightArmUp" then
  883.         for i=0, Time, 0.1 / Animation_Speed do
  884.             Swait()
  885.             if Magic == true then
  886.                 WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Cyan".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  887.             end
  888.             if Gyro ~= nil and Gyro ~= false then
  889.                 Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  890.             end
  891.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
  892.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
  893.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  894.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  895.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  896.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  897.         end
  898.     elseif WhichPose == "Taunt" then
  899.         for i=0, Time, 0.1 / Animation_Speed do
  900.             Swait()
  901.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  902.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  903.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  904.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  905.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  906.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  907.         end
  908.         HATWELD.Part0 = RightArm
  909.         HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  910.         CreateSound(137473066,Torso,10,1,false)
  911.         for i=0, Time*2, 0.1 / Animation_Speed do
  912.             Swait()
  913.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  914.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  915.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  916.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  917.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  918.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  919.         end
  920.         for i=0, Time, 0.1 / Animation_Speed do
  921.             Swait()
  922.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  923.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  924.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  925.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  926.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  927.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  928.             HATWELD.C0 = Clerp(HATWELD.C0, CF(-0.5,-1.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(35), RAD(0), RAD(35)), Speed / Animation_Speed)
  929.         end
  930.         HATWELD.Part0 = Head
  931.         HATWELD.C0 = CF(0,0.35,0)
  932.     elseif WhichPose == "Prepare key" then
  933.         for i=0, Time, 0.1 / Animation_Speed do
  934.             Swait()
  935.             if Gyro ~= nil and Gyro ~= false then
  936.                 Gyro.cframe = CF(RootPart.Position,Tors.Position)
  937.             end
  938.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
  939.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
  940.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  941.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  942.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  943.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  944.         end
  945.     elseif WhichPose == "Turn key" then
  946.         for i=0, Time, 0.1 / Animation_Speed do
  947.             Swait()
  948.             if Gyro ~= nil and Gyro ~= false then
  949.                 Gyro.cframe = CF(RootPart.Position,Tors.Position)
  950.             end
  951.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
  952.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
  953.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  954.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  955.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  956.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  957.         end
  958.     end
  959.     PLAYMAINANIM = true
  960. end
  961.  
  962. --Lightning({Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false})
  963. function Lightning(Table)
  964.     local Color = Table.Color or C3(1,1,1)
  965.     local StartPos = Table.Start or Torso.Position
  966.     local EndPos = Table.End or Mouse.Hit.p
  967.     local SegmentLength = Table.SegmentL or 2
  968.     local Thickness = Table.Thickness or 0.1
  969.     local Dissapear = Table.DoesFade or false
  970.     local Parent = Table.Ignore or Character
  971.     local MaxDist = Table.MaxDist or 400
  972.     local Branches = Table.Branches or false
  973.     local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  974.     local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength)
  975.     local LIGHTNINGMODEL = IT("Model",Effects)
  976.     LIGHTNINGMODEL.Name = "Lightning"
  977.     local LastBolt = nil
  978.     for E = 1, DISTANCE do
  979.         local ExtraSize = (DISTANCE-E)/15
  980.         local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Dark blue"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  981.         PART.Color = Color
  982.         MakeForm(PART,"Cyl")
  983.         if LastBolt == nil then
  984.             PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  985.         else
  986.             PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SegmentLength/3+(DISTANCE-E)).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  987.         end
  988.         LastBolt = PART
  989.         if Branches == true then
  990.             local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  991.             if CHOICE == 1 then
  992.                 local LASTBRANCH = nil
  993.                 for i = 1, MRANDOM(2,5) do
  994.                     local ExtraSize2 = ((DISTANCE-E)/25)/i
  995.                     local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Dark blue"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  996.                     PART.Color = Color
  997.                     MakeForm(PART,"Cyl")
  998.                     if LASTBRANCH == nil then
  999.                         PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  1000.                     else
  1001.                         PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  1002.                     end
  1003.                     LASTBRANCH = PART
  1004.                 end
  1005.             end
  1006.         end
  1007.     end
  1008.     if Dissapear == true then
  1009.         coroutine.resume(coroutine.create(function()
  1010.             for i = 1, 10 do
  1011.                 Swait()
  1012.                 for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  1013.                     if c.ClassName == "Part" then
  1014.                         c.Transparency = i/10
  1015.                     end
  1016.                 end
  1017.             end
  1018.             LIGHTNINGMODEL:remove()
  1019.         end))
  1020.     elseif Dissapear == false then
  1021.         Debris:AddItem(LIGHTNINGMODEL,0.1)
  1022.     end
  1023.     return {End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z/2).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  1024. end
  1025.  
  1026. --//=================================\\
  1027. --||         WEAPON CREATION
  1028. --\\=================================//
  1029.  
  1030. for i = 1, 15 do
  1031.     local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/15.2, "Dark stone grey", "FaceGradient", VT(1.01,0.58,1.01),false)
  1032.     FACE.Color = C3(0,0,0)
  1033.     Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1034.     CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/35,0), CF(0, 0, 0))
  1035. end
  1036. local HAT1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(2,0.2,2),false)
  1037. MakeForm(HAT1,"Cyl")
  1038. HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
  1039. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(2.01,0.15,2.01),false)
  1040. BELT.Color = C3(15/255,15/255,15/255)
  1041. MakeForm(BELT,"Cyl")
  1042. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0,0), CF(0, 0, 0))
  1043. local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(1.3,2.2,1.3),false)
  1044. MakeForm(HAT2,"Cyl")
  1045. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
  1046. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(1.31,0.2,1.31),false)
  1047. BELT.Color = C3(15/255,15/255,15/255)
  1048. MakeForm(BELT,"Cyl")
  1049. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0,0), CF(0, 0, 0))
  1050. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Cyan", "Gem", VT(0.25,0.25,0.1),false)
  1051. MakeForm(GEM,"Ball")
  1052. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,-BELT.Size.X/2), CF(0, 0, 0))
  1053. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Cyan", "Gem", VT(0.25,0.25,0.1),false)
  1054. MakeForm(GEM,"Ball")
  1055. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,BELT.Size.X/2), CF(0, 0, 0))
  1056. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Cyan", "Gem", VT(0.1,0.25,0.25),false)
  1057. MakeForm(GEM,"Ball")
  1058. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(-BELT.Size.X/2,0,0), CF(0, 0, 0))
  1059. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Cyan", "Gem", VT(0.1,0.25,0.25),false)
  1060. MakeForm(GEM,"Ball")
  1061. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(BELT.Size.X/2,0,0), CF(0, 0, 0))
  1062. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(1.31,0.1,1.31),false)
  1063. BELT.Color = C3(15/255,15/255,15/255)
  1064. MakeForm(BELT,"Cyl")
  1065. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.7,0), CF(0, 0, 0))
  1066. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(1.31,0.1,1.31),false)
  1067. BELT.Color = C3(15/255,15/255,15/255)
  1068. MakeForm(BELT,"Cyl")
  1069. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.7,0), CF(0, 0, 0))
  1070. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(1.31,0.1,1.31),false)
  1071. BELT.Color = C3(15/255,15/255,15/255)
  1072. MakeForm(BELT,"Cyl")
  1073. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.35,0), CF(0, 0, 0))
  1074. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(1.31,0.1,1.31),false)
  1075. BELT.Color = C3(15/255,15/255,15/255)
  1076. MakeForm(BELT,"Cyl")
  1077. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.35,0), CF(0, 0, 0))
  1078. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(1.3,0.5,1.3),false)
  1079. MakeForm(BELT,"Ball")
  1080. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,HAT2.Size.Y/2,0), CF(0, 0, 0))
  1081. Humanoid.DisplayDistanceType = "None"
  1082.  
  1083. local Particle = IT("ParticleEmitter",nil)
  1084. Particle.Enabled = false
  1085. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1086. Particle.LightEmission = 0.5
  1087. Particle.Rate = 150
  1088. Particle.ZOffset = 0.2
  1089. Particle.Rotation = NumberRange.new(-180, 180)
  1090. Particle.RotSpeed = NumberRange.new(-180, 180)
  1091. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1092. Particle.Color = ColorSequence.new(C3(0,0,255),C3(0,255,255))
  1093. local Particle2 = IT("ParticleEmitter",nil)
  1094. Particle2.Enabled = false
  1095. Particle2.Texture = "http://www.roblox.com/asset/?id=1369397597"
  1096. Particle2.Color = ColorSequence.new(C3(0,0,255),C3(0,0,255))
  1097. Particle2.LightEmission = 0
  1098. Particle2.RotSpeed = NumberRange.new(0, 180)
  1099. Particle2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1100. Particle2.LightEmission = 1
  1101. Particle2.Rate = 20
  1102. Particle2.RotSpeed = NumberRange.new(-20, 20)
  1103. local Particle3 = IT("ParticleEmitter",nil)
  1104. Particle3.Enabled = false
  1105. Particle3.Texture = "http://www.roblox.com/asset/?id=1546470121"
  1106. Particle3.Color = ColorSequence.new(C3(0,0,255),C3(0,0,255))
  1107. Particle3.LightEmission = 0
  1108. Particle3.RotSpeed = NumberRange.new(0, 180)
  1109. Particle3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.7),NumberSequenceKeypoint.new(0.3,.9),NumberSequenceKeypoint.new(1,1)})
  1110. Particle3.LightEmission = 1
  1111. Particle3.Rate = 20
  1112. Particle3.RotSpeed = NumberRange.new(-20, 20)
  1113. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1114. function ParticleEmitter(Table)
  1115.     local PRTCL = Particle:Clone()
  1116.     local Speed = Table.Speed or 5
  1117.     local Drag = Table.Drag or 0
  1118.     local Size1 = Table.Size1 or 1
  1119.     local Size2 = Table.Size2 or 5
  1120.     local Lifetime1 = Table.Lifetime1 or 1
  1121.     local Lifetime2 = Table.Lifetime2 or 1.5
  1122.     local Parent = Table.Parent or Torso
  1123.     local Emit = Table.Emit or 100
  1124.     local Offset = Table.Offset or 360
  1125.     local Acel = Table.Acel or VT(0,0,0)
  1126.     local Enabled = Table.Enabled or false
  1127.     PRTCL.Parent = Parent
  1128.     PRTCL.Size = NumberSequence.new(Size1,Size2)
  1129.     PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1130.     PRTCL.Speed = NumberRange.new(Speed)
  1131.     PRTCL.VelocitySpread = Offset
  1132.     PRTCL.Drag = Drag
  1133.     PRTCL.Acceleration = Acel
  1134.     if Enabled == false then
  1135.         PRTCL:Emit(Emit)
  1136.         Debris:AddItem(PRTCL,Lifetime2)
  1137.     else
  1138.         PRTCL.Enabled = true
  1139.     end
  1140.     return PRTCL
  1141. end
  1142. function ParticleEmitter2(Table)
  1143.     local PRTCL2 = Particle2:Clone()
  1144.     local LockedToPart = Table.LTP or true
  1145.     local Speed = Table.Speed or 0
  1146.     local Drag = Table.Drag or 0
  1147.     local Size1 = Table.Size1 or 1
  1148.     local Size2 = Table.Size2 or 2
  1149.     local Lifetime1 = Table.Lifetime1 or 1
  1150.     local Lifetime2 = Table.Lifetime2 or 1
  1151.     local Parent = Table.Parent or Torso
  1152.     local Emit = Table.Emit or 100
  1153.     local Offset = Table.Offset or 360
  1154.     local Acel = Table.Acel or VT(0,0,0)
  1155.     local Enabled = Table.Enabled or false
  1156.     PRTCL2.Parent = Parent
  1157.     PRTCL2.Size = NumberSequence.new(Size1,Size2)
  1158.     PRTCL2.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1159.     PRTCL2.Speed = NumberRange.new(Speed)
  1160.     PRTCL2.VelocitySpread = Offset
  1161.     PRTCL2.Drag = Drag
  1162.     PRTCL2.Acceleration = Acel
  1163.         PRTCL2.Parent = Parent
  1164.         PRTCL2.Size = NumberSequence.new(Size1,Size2)
  1165.         PRTCL2.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1166.         PRTCL2.Speed = NumberRange.new(Speed)
  1167.         PRTCL2.VelocitySpread = Offset
  1168.         PRTCL2.Drag = Drag
  1169.         PRTCL2.Acceleration = Acel
  1170.         PRTCL2.LockedToPart = true
  1171.     if Enabled == false then
  1172.         PRTCL2:Emit(Emit)
  1173.         Debris:AddItem(PRTCL2,Lifetime2)
  1174.     else
  1175.         PRTCL2.Enabled = true
  1176.     end
  1177.     return PRTCL2
  1178. end
  1179. function ParticleEmitter3(Table)
  1180.     local PRTCL3 = Particle2:Clone()
  1181.     local Speed = Table.Speed or 0
  1182.     local Drag = Table.Drag or 0
  1183.     local Size1 = Table.Size1 or 1
  1184.     local Size2 = Table.Size2 or 2
  1185.     local Lifetime1 = Table.Lifetime1 or 1
  1186.     local Lifetime2 = Table.Lifetime2 or 1
  1187.     local Parent = Table.Parent or Torso
  1188.     local Emit = Table.Emit or 100
  1189.     local Offset = Table.Offset or 0
  1190.     local Acel = Table.Acel or VT(0,0,0)
  1191.     local Enabled = Table.Enabled or false
  1192.     PRTCL3.Parent = Parent
  1193.     PRTCL3.Size = NumberSequence.new(Size1,Size2)
  1194.     PRTCL3.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1195.     PRTCL3.Speed = NumberRange.new(Speed)
  1196.     PRTCL3.VelocitySpread = Offset
  1197.     PRTCL3.Drag = Drag
  1198.     PRTCL3.Acceleration = Acel
  1199.         PRTCL3.Parent = Parent
  1200.         PRTCL3.Size = NumberSequence.new(Size1,Size2)
  1201.         PRTCL3.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1202.         PRTCL3.Speed = NumberRange.new(Speed)
  1203.         PRTCL3.VelocitySpread = Offset
  1204.         PRTCL3.Drag = Drag
  1205.         PRTCL3.Acceleration = Acel
  1206.     if Enabled == false then
  1207.         PRTCL3:Emit(Emit)
  1208.         Debris:AddItem(PRTCL3,Lifetime2)
  1209.     else
  1210.         PRTCL3.Enabled = true
  1211.     end
  1212.     return PRTCL3
  1213. end
  1214.  
  1215. local Weapon1 = IT("Model")
  1216. Weapon1.Name = "Pistol"
  1217.  
  1218. local Handle = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1219. local LeftArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1220. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1221. MakeForm(Part,"Wedge")
  1222. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1223. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1224. MakeForm(Part,"Wedge")
  1225. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1226. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1227. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1228. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1229. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1230. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1231. MakeForm(Part,"Cyl")
  1232. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1233. for i = 1, 8 do
  1234.     local Piece = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1235.     CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1236. end
  1237. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1238. MakeForm(Part,"Cyl")
  1239. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1240. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1241. MakeForm(Part,"Ball")
  1242. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1243. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1244. MakeForm(Part,"Wedge")
  1245. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1246. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1247. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1248. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1249. MakeForm(Part,"Cyl")
  1250. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1251. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1252. MakeForm(Part,"Cyl")
  1253. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1254. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1255. MakeForm(Part,"Cyl")
  1256. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1257. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1258. MakeForm(Part,"Wedge")
  1259. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1260. local LASTPART = Handle
  1261. for i = 1, 10 do
  1262.     if LASTPART == Handle then
  1263.         local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1264.         LASTPART = Part
  1265.         CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1266.     else
  1267.         local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1268.         CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1269.         LASTPART = Part
  1270.     end
  1271. end
  1272.  
  1273. local Barrel = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1274. MakeForm(Barrel,"Cyl")
  1275. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1276. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1277. MakeForm(Part,"Cyl")
  1278. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1279. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1280. MakeForm(Part,"Wedge")
  1281. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1282. local Hole = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1283. MakeForm(Hole,"Cyl")
  1284. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1285. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1286. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1287. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1288. local Part = CreatePart(3, Weapon1, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1289. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1290. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1291. coroutine.resume(coroutine.create(function()
  1292.     while wait() do
  1293.         GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1294.         GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1295.     end
  1296. end))
  1297. --PARTICLES REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
  1298. --[[
  1299.     YEAH BOIIIIIIIII
  1300.     PARTICLE TIME
  1301. --]]
  1302. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1303. --ParticleEmitter3({Speed = 0, Drag = 0, Size1 = 20, Size2 = 25, Lifetime1 = 0.3, Lifetime2 = 1, Parent = Barrel, Emit = 100, Offset = 0, Enabled = true, Acel = VT(0,0,0)})
  1304. ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1305. ParticleEmitter2({Speed = 0, Drag = 0, Size1 = .5, Size2 = 1, Lifetime1 = 1, Lifetime2 = 1, Parent = Hole, Emit = 20, Offset = 360, Enabled = true, Acel = VT(0,0,0)})
  1306. ParticleEmitter2({Speed = 0, Drag = 0, Size1 = 3, Size2 = 1, Lifetime1 = 1, Lifetime2 = 2, Parent = Handle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,0,0)})
  1307. --Trails
  1308. local A1 = Instance.new("Attachment",Barrel)
  1309. local A2 = Instance.new("Attachment",Barrel)
  1310. local Trail = Instance.new("Trail",Barrel)
  1311. A1.Position = Vector3.new(0,1,0)
  1312. A2.Position = Vector3.new(0,-0.8,0)
  1313. Trail.Attachment0 = A1
  1314. Trail.Attachment1 = A2
  1315. Trail.LightEmission = 1
  1316. Trail.Color = ColorSequence.new(Color3.new(0,0,255),Color3.new(0,255,255))
  1317. Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,.9),NumberSequenceKeypoint.new(1,1)})
  1318. for _, c in pairs(Weapon1:GetDescendants()) do
  1319.     if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1320.         c.Material = "Glass"
  1321.         c.Color = C3(0,0,0)
  1322.     elseif c.ClassName == "Part" and c.Name == "Eye" then
  1323.         c.Color = C3(0,0,1)
  1324.         c.Material = "Neon"
  1325.     end
  1326. end
  1327.  
  1328. local TOBANISH = {}
  1329.  
  1330. Weapon1.Parent = Character
  1331. for _, c in pairs(Weapon1:GetChildren()) do
  1332.     if c.ClassName == "Part" then
  1333.         c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1334.     end
  1335. end
  1336.  
  1337. local SKILLTEXTCOLOR = C3(0,0,1)
  1338. local SKILLFONT = "Antique"
  1339. local SKILLTEXTSIZE = 7
  1340.  
  1341. Humanoid.Died:connect(function()
  1342.     ATTACK = true
  1343. end)
  1344.  
  1345. 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")
  1346. --[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1347. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1348. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1349. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1350. --]]
  1351. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1352. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1353. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1354. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1355. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1356. --]]
  1357. function printbye(Name)
  1358.     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, "}
  1359.     warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1360.        
  1361. end
  1362.  
  1363. workspace.ChildAdded:connect(function(instance)
  1364.     for BANISH = 1, #TOBANISH do
  1365.         if TOBANISH[BANISH] ~= nil then
  1366.             if instance.Name == TOBANISH[BANISH] then
  1367.                 coroutine.resume(coroutine.create(function()
  1368.                     printbye(instance.Name)
  1369.                     instance:ClearAllChildren()
  1370.                     Debris:AddItem(instance,0.0005)
  1371.                 end))
  1372.             end
  1373.         end
  1374.     end
  1375. end)
  1376.  
  1377. local Char = Character
  1378. local Eye = CreatePart(3, Char, "Neon", 0, 0, "Really blue", "Eye", VT(0.6,0.1,1)/2,false)
  1379. MakeForm(Eye,"Ball")
  1380. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  1381. local Eye = CreatePart(3, Char, "Neon", 0, 0, "Really blue", "Eye", VT(0.6,0.1,1)/2,false)
  1382. MakeForm(Eye,"Ball")
  1383. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  1384. local Eye = CreatePart(3, Char, "Neon", 0, 0, "Really blue", "Eye", VT(0.1,1,1)/2,false)
  1385. MakeForm(Eye,"Ball")
  1386. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  1387. local Eye = CreatePart(3, Char, "Neon", 0, 0, "Really blue", "Eye", VT(0.1,1,1)/2,false)
  1388. MakeForm(Eye,"Ball")
  1389. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  1390.  
  1391. local top = Instance.new("Shirt")
  1392. top.ShirtTemplate = "rbxassetid://1533327933"
  1393. top.Parent = Character
  1394. top.Name = "Cloth"
  1395. local bottom = Instance.new("Pants")
  1396. bottom.PantsTemplate = "rbxassetid://1689251873"
  1397. bottom.Parent = Character
  1398. bottom.Name = "Cloth"
  1399. for _, c in pairs(Character:GetChildren()) do
  1400.     if c.ClassName == "Part" and c.Name ~= "FaceGradient" and c.Name ~= "Hat" and c.Name ~= "Gem" then
  1401.         c.Material = "Neon"
  1402.         if c:FindFirstChildOfClass("ParticleEmitter") then
  1403.             c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1404.         end
  1405.         c.Color = C3(1,1,1)
  1406.         if c == Head then
  1407.             if c:FindFirstChild("face") then
  1408.                 c.face:remove()
  1409.             end
  1410.         end
  1411.     elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" then
  1412.         c:remove()
  1413.     elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1414.         c:remove()
  1415.     end
  1416. end
  1417. local BODY = {}
  1418. for _, c in pairs(Character:GetDescendants()) do
  1419.     if c:IsA("BasePart") and c.Name ~= "Handle" then
  1420.         if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1421.             c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1422.         end
  1423.         table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  1424.     elseif c:IsA("JointInstance") then
  1425.         table.insert(BODY,{c,c.Parent,nil,nil,nil})
  1426.     end
  1427. end
  1428. for e = 1, #BODY do
  1429.     if BODY[e] ~= nil then
  1430.         local STUFF = BODY[e]
  1431.         local PART = STUFF[1]
  1432.         local PARENT = STUFF[2]
  1433.         local MATERIAL = STUFF[3]
  1434.         local COLOR = STUFF[4]
  1435.         local TRANSPARENCY = STUFF[5]
  1436.         if PART.ClassName == "Part" and PART ~= RootPart then
  1437.             PART.Material = MATERIAL
  1438.             PART.Color = COLOR
  1439.             PART.Transparency = TRANSPARENCY
  1440.         end
  1441.         PART.AncestryChanged:Connect(function()
  1442.             PART.Parent = PARENT
  1443.         end)
  1444.     end
  1445. end
  1446. function refit()
  1447.     Character.Parent = workspace
  1448.     for e = 1, #BODY do
  1449.         if BODY[e] ~= nil then
  1450.             local STUFF = BODY[e]
  1451.             local PART = STUFF[1]
  1452.             local PARENT = STUFF[2]
  1453.             local MATERIAL = STUFF[3]
  1454.             local COLOR = STUFF[4]
  1455.             local TRANSPARENCY = STUFF[5]
  1456.             if PART.ClassName == "Part" and PART ~= RootPart then
  1457.                 PART.Material = MATERIAL
  1458.                 PART.Color = COLOR
  1459.                 PART.Transparency = TRANSPARENCY
  1460.             end
  1461.             if PART.Parent ~= PARENT then
  1462.                 Humanoid:remove()
  1463.                 PART.Parent = PARENT
  1464.                 Humanoid = IT("Humanoid",Character)
  1465.             end
  1466.         end
  1467.     end
  1468. end
  1469. local SKILLTEXTCOLOR = BRICKC"".Color
  1470. local SKILLFONT = "Bodoni"
  1471. local SKILLTEXTSIZE = 7
  1472.  
  1473. Humanoid.Died:connect(function()
  1474.     refit()
  1475. end)
  1476.  
  1477.  
  1478. --//=================================\\
  1479. --||            DAMAGING
  1480. --\\=================================//
  1481.  
  1482. function ApplyAoE(POSITION,RANGE,FLING,BURN)
  1483.     local CHILDREN = workspace:GetDescendants()
  1484.     for index, CHILD in pairs(CHILDREN) do
  1485.         if CHILD.ClassName == "Model" and CHILD ~= Character then
  1486.             local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1487.             if HUM then
  1488.                 local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1489.                 if TORSO then
  1490.                     if HUM.Health > 0 and (TORSO.Position - POSITION).Magnitude <= RANGE then
  1491.                         CHILD:BreakJoints()
  1492.                         if FLING ~= 0 then
  1493.                             for _, c in pairs(CHILD:GetChildren()) do
  1494.                                 if c:IsA("BasePart") and c.Transparency == 0 then
  1495.                                     if BURN == true then
  1496.                                         Fire(c)
  1497.                                     end
  1498.                                     local bv = Instance.new("BodyVelocity")
  1499.                                     bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1500.                                     bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1501.                                     bv.Parent = c
  1502.                                     Debris:AddItem(bv,0.05)
  1503.                                 end
  1504.                             end
  1505.                         end
  1506.                     end
  1507.                 end
  1508.             end
  1509.         end
  1510.     end
  1511. end
  1512.  
  1513. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  1514.     local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  1515.     local mesh = IT("SpecialMesh", wave)
  1516.     mesh.MeshType = "Sphere"
  1517.     mesh.Scale = SIZE
  1518.     mesh.Offset = VT(0, 0, 0)
  1519.     wave.CFrame = CFRAME
  1520.     coroutine.resume(coroutine.create(function(PART)
  1521.         for i = 1, WAIT do
  1522.             Swait()
  1523.             mesh.Scale = mesh.Scale + GROW
  1524.             wave.Transparency = wave.Transparency + 1 / WAIT
  1525.             if wave.Transparency > 0.99 then
  1526.                 wave:remove()
  1527.             end
  1528.         end
  1529.     end))
  1530. end
  1531.  
  1532. function CastWarpOutlines(TARGET)
  1533.     coroutine.resume(coroutine.create(function()
  1534.         local T = TARGET:GetChildren()
  1535.         for i = 1, #T do
  1536.             local child = T[i]
  1537.             if child.ClassName == "Part" or child.ClassName == "MeshPart" then
  1538.                 do
  1539.                     local clone = child:Clone()
  1540.                     clone.Parent = Effects
  1541.                     clone.Anchored = true
  1542.                     clone.CanCollide = false
  1543.                     clone:ClearAllChildren()
  1544.                     clone.CFrame = child.CFrame
  1545.                     if clone.Name == "Head" then
  1546.                         clone.Size = VT(clone.Size.Y, clone.Size.Y, clone.Size.Y)
  1547.                     end
  1548.                     if clone.ClassName == "MeshPart" then
  1549.                         clone.TextureID = ""
  1550.                     end
  1551.                     clone.Color = C3(1, 0, 0)
  1552.                     clone.Material = "Neon"
  1553.                     coroutine.resume(coroutine.create(function()
  1554.                         for i = 1, 100 do
  1555.                             Swait()
  1556.                             clone.Transparency = clone.Transparency + 0.01
  1557.                             clone.Size = clone.Size + VT(0.001, 0.001, 0.001)
  1558.                         end
  1559.                         clone:remove()
  1560.                     end))
  1561.                 end
  1562.             end
  1563.         end
  1564.     end))
  1565. end
  1566.  
  1567. local Delete = IT("Model", Character)
  1568. Delete.Name = "Those who must be banished."
  1569.  
  1570. function killnearest(position, range, maxstrength)
  1571.     for i, v in ipairs(workspace:GetChildren()) do
  1572.         local body = v:GetChildren()
  1573.         for part = 1, #body do
  1574.             if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude and v.ClassName == "Model" then
  1575.                 CastWarpOutlines(v)
  1576.                 v:remove()
  1577.                 if game.Players:FindFirstChild(v.Name) then
  1578.                     local Value = IT("BoolValue", Delete)
  1579.                     Value.Name = v.Name
  1580.                 end
  1581.             end
  1582.         end
  1583.     end
  1584. end
  1585.  
  1586. function Kill(Char)
  1587.     local NewCharacter = IT("Model",Effects)
  1588.     NewCharacter.Name = "Ow im ded ;-;"
  1589.     for _, c in pairs(Char:GetDescendants()) do
  1590.         if c:IsA("BasePart") and c.Transparency == 0 then
  1591.             if c.Parent == Char then
  1592.                 getbloody(c,5)
  1593.             end
  1594.             c:BreakJoints()
  1595.             c.Material = "Glass"
  1596.             c.Color = C3(0.5,0,0)
  1597.             c.CanCollide = true
  1598.             c.Transparency = 0.3
  1599.             if c:FindFirstChildOfClass("SpecialMesh") then
  1600.                 c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1601.             end
  1602.             if c.Name == "Head" then
  1603.                 c:ClearAllChildren()
  1604.                 c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1605.             end
  1606.             if c.ClassName == "MeshPart" then
  1607.                 c.TextureID = ""
  1608.             end
  1609.             if c:FindFirstChildOfClass("BodyPosition") then
  1610.                 c:FindFirstChildOfClass("BodyPosition"):remove()
  1611.             end
  1612.             if c:FindFirstChildOfClass("ParticleEmitter") then
  1613.                 c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1614.             end
  1615.             c.Parent = NewCharacter
  1616.             c.Name = "DeadPart"
  1617.             c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1618.             c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1619.         end
  1620.     end
  1621.     Char:remove()
  1622.     Debris:AddItem(NewCharacter,5)
  1623. end
  1624.  
  1625. local asd = Instance.new("ParticleEmitter")
  1626. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  1627. asd.LightEmission = .1
  1628. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  1629. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  1630. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1631. asd.Transparency = bbb
  1632. asd.Size = aaa
  1633. asd.ZOffset = .9
  1634. asd.Acceleration = Vector3.new(0, -15, 0)
  1635. asd.LockedToPart = false
  1636. asd.EmissionDirection = "Back"
  1637. asd.Lifetime = NumberRange.new(1, 2)
  1638. asd.Rotation = NumberRange.new(-100, 100)
  1639. asd.RotSpeed = NumberRange.new(-100, 100)
  1640. asd.Speed = NumberRange.new(10)
  1641. asd.Enabled = false
  1642. asd.VelocitySpread = 999
  1643.  
  1644. function getbloody(victim,amount)
  1645.     local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  1646.     PART.CFrame = victim.CFrame
  1647.     local HITPLAYERSOUNDS = {"356551938","264486467"}
  1648.     Debris:AddItem(PART,5)
  1649.     CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1650.     CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1651.     CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1652.     local prtcl = asd:Clone()
  1653.     prtcl.Parent = PART
  1654.     prtcl:Emit(amount*10)
  1655. end
  1656. --//=================================\\
  1657. --||    ATTACK FUNCTIONS AND STUFF
  1658. --\\=================================//
  1659. local LAUGHS = {834001699,834001752,834001797,834001828}
  1660.  
  1661. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1662. MakeForm(RightHole,"Cyl")
  1663. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1664. MakeForm(LeftHole,"Cyl")
  1665.  
  1666. function Deathbound()
  1667.     CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  1668.     ATTACK = true
  1669.     Rooted = true
  1670.     for i=0, 1, 0.1 / Animation_Speed do
  1671.         Swait()
  1672.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1673.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1674.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1675.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1676.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1677.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1678.     end
  1679.     local DONE = false
  1680.     local GATE = nil
  1681.     local GATESPIN = true
  1682.     coroutine.resume(coroutine.create(function()
  1683.         repeat
  1684.             Swait()
  1685.             if GATE ~= nil then
  1686.                 GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  1687.             end
  1688.         until GATESPIN == false
  1689.     end))
  1690.     coroutine.resume(coroutine.create(function()
  1691.         repeat
  1692.             Swait()
  1693.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.2 - 0.25 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1694.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1695.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1696.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1697.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1698.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1699.         until DONE == true
  1700.         Swait(50)
  1701.         for i = 1, 35 do
  1702.             Swait(4)
  1703.             local FIRED = false
  1704.             local CHILDREN = workspace:GetDescendants()
  1705.             for index, CHILD in pairs(CHILDREN) do
  1706.                 if CHILD.ClassName == "Model" and CHILD ~= Character then
  1707.                     local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1708.                     if HUM then
  1709.                         local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1710.                         if TORSO then
  1711.                             if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1712.                                 local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1713.                                 local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1714.                                 WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
  1715.                                 WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1716.                                 SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)     
  1717.                                 Kill(CHILD)
  1718.                                 FIRED = true
  1719.                                 break
  1720.                             end
  1721.                         end
  1722.                     end
  1723.                 end
  1724.             end
  1725.             if FIRED == false then
  1726.                 local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1727.                 WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
  1728.                 WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1729.                 SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1730.                 local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1731.                 if HITBOD ~= nil then
  1732.                     if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1733.                         killnearest(HITBOD.Parent)
  1734.                     end
  1735.                 end
  1736.             end
  1737.         end
  1738.         for i = 1, 45 do
  1739.             Swait()
  1740.             GATE.Size = GATE.Size - VT(3,0,3)
  1741.         end
  1742.         GATESPIN = false
  1743.         GATE:remove()
  1744.     end))
  1745.     Swait(15)
  1746.     local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1747.     GATE = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Gate", VT(0,0,0))
  1748.     local DECAL = IT("Decal",GATE)
  1749.     DECAL.Texture = "http://www.roblox.com/asset/?id=647661410"
  1750.     DECAL.Face = "Top"
  1751.     GATE.CFrame = CF(HITPOS)
  1752.     CreateSound(160772554, GATE, 7, 1.3, false)
  1753.     for i = 1, 45 do
  1754.         Swait()
  1755.         GATE.Size = GATE.Size + VT(3,0,3)
  1756.     end
  1757.     CreateSound(213603013, RightHole, 7, 1, false)
  1758.     CreateSound(213603013, LeftHole, 7, 1, false)
  1759.     WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1760.     WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1761.     ATTACK = false
  1762.     Rooted = false
  1763.     DONE = true
  1764. end
  1765.  
  1766. function Morning_Star()
  1767.     ATTACK = true
  1768.     Rooted = true
  1769.     CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false)
  1770.     for i=0, 1, 0.1 / Animation_Speed do
  1771.         Swait()
  1772.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1773.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1774.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1775.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1776.         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)
  1777.         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)
  1778.     end
  1779.     coroutine.resume(coroutine.create(function()
  1780.         local POS = Mouse.Hit.p
  1781.         local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Teal", "Strike", VT(0,2000,0))
  1782.         MakeForm(RAY,"Cyl")
  1783.         local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Teal", "Strike", VT(0,0,0))
  1784.         MakeForm(SPHERE,"Ball")
  1785.         local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really blue", "Strike", VT(0,0,0))
  1786.         MakeForm(SHIELD,"Ball")
  1787.         SHIELD.CFrame = CF(POS)
  1788.         RAY.CFrame = CF(POS)
  1789.         SPHERE.CFrame = CF(POS)
  1790.         CreateSound(144699494, SPHERE, 10, 0.8, false)
  1791.         CreateSound(1146688617, SPHERE, 10, 0.8, false)
  1792.         for i = 1, 200 do
  1793.             Swait()
  1794.             WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1795.             RAY.Size = RAY.Size + VT(0.05,0,0.05)
  1796.             SPHERE.Size = SPHERE.Size + VT(2,2,2)
  1797.             SHIELD.Size = SPHERE.Size + VT(3,3,3)
  1798.             ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  1799.         end
  1800.         for i = 1, 45 do
  1801.             Swait()
  1802.             RAY.Transparency = RAY.Transparency + 1/45
  1803.             SPHERE.Transparency = RAY.Transparency
  1804.             SHIELD.Transparency = SPHERE.Transparency + 1/45
  1805.         end
  1806.         RAY:remove()
  1807.         SHIELD:remove()
  1808.         SPHERE:remove()
  1809.     end))
  1810.     for i=0, 1, 0.1 / Animation_Speed do
  1811.         Swait()
  1812.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0  + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1813.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1814.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1815.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1816.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1817.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1818.     end
  1819.     ATTACK = false
  1820.     Rooted = false
  1821. end
  1822.  
  1823. function Teleport()
  1824.     ATTACK = true
  1825.     Rooted = false
  1826.     for i=0, 0.5, 0.1 / Animation_Speed do
  1827.         Swait()
  1828.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1829.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1830.     end
  1831.     for e = 1, #BODY do
  1832.         if BODY[e] ~= nil then
  1833.             local STUFF = BODY[e]
  1834.             local PART = STUFF[1]
  1835.             if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  1836.                 local PRT = PART:Clone()
  1837.                 PRT.Anchored = true
  1838.                 PRT.CanCollide = false
  1839.                 PRT.Material = "Neon"
  1840.                 PRT.Color = C3(0,0,1)
  1841.                 PRT.Name = "WarpEffect"
  1842.                 PRT.Parent = Effects
  1843.                 PRT.CFrame = PART.CFrame
  1844.                 PRT:BreakJoints()
  1845.                 if PRT:FindFirstChildOfClass("Sound") then
  1846.                     PRT:FindFirstChildOfClass("Sound"):remove()
  1847.                 end
  1848.                 if PRT:FindFirstChildOfClass("Decal") then
  1849.                     PRT:FindFirstChildOfClass("Decal"):remove()
  1850.                 end
  1851.                 coroutine.resume(coroutine.create(function()
  1852.                     for i = 1, 100 do
  1853.                         Swait()
  1854.                         PRT.Transparency = PRT.Transparency + 1/100
  1855.                     end
  1856.                     PRT:remove()
  1857.                 end))
  1858.             end
  1859.         end
  1860.     end
  1861.     CreateSound(217767125, Torso, 10, 1)
  1862.     local POS = RootPart.Orientation
  1863.     RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  1864.     RootPart.Orientation = POS
  1865.     RootJoint.Parent = RootPart
  1866.     for i=0, 0.5, 0.1 / Animation_Speed do
  1867.         Swait()
  1868.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1869.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1870.     end
  1871.     for i=0, 0.1, 0.1 / Animation_Speed do
  1872.         Swait()
  1873.         RightShoulder.C0 = Clerp(RightShoulder.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)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1874.     end
  1875.     ATTACK = false
  1876.     Rooted = false
  1877. end
  1878.  
  1879. function turnto(position)
  1880.     RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1881. end
  1882.  
  1883. function Banish(Foe)
  1884.     if Foe then
  1885.         coroutine.resume(coroutine.create(function()
  1886.             --if game.Players:FindFirstChild(Foe.Name) then
  1887.                 table.insert(TOBANISH,Foe.Name)
  1888.                 printbye(Foe.Name)
  1889.             --end
  1890.             Foe.Archivable = true
  1891.             local CLONE = Foe:Clone()
  1892.             Foe:Destroy()
  1893.             CLONE.Parent = Effects
  1894.             CLONE:BreakJoints()
  1895.             local MATERIALS = {"Glass","Neon"}
  1896.             for _, c in pairs(CLONE:GetDescendants()) do
  1897.                 if c:IsA("BasePart") then
  1898.                     if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1899.                         CreateSound(340722848, c, 10, 1, false)
  1900.                     end
  1901.                     c.Anchored = true
  1902.                     c.Transparency = c.Transparency + 0.2
  1903.                     c.Material = MATERIALS[MRANDOM(1,2)]
  1904.                     c.Color = C3(0,0,255)
  1905.                     if c.ClassName == "MeshPart" then
  1906.                         c.TextureID = ""
  1907.                     end
  1908.                     if c:FindFirstChildOfClass("SpecialMesh") then
  1909.                         c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1910.                     end
  1911.                     if c:FindFirstChildOfClass("Decal") then
  1912.                         c:FindFirstChildOfClass("Decal"):remove()
  1913.                     end
  1914.                     c.Name = "Banished"
  1915.                     c.CanCollide = false
  1916.                 else
  1917.                     c:remove()
  1918.                 end
  1919.             end
  1920.             local A = false
  1921.             for i = 1, 35 do
  1922.                 if A == false then
  1923.                     A = true
  1924.                 elseif A == true then
  1925.                     A = false
  1926.                 end
  1927.                 for _, c in pairs(CLONE:GetDescendants()) do
  1928.                     if c:IsA("BasePart") then
  1929.                         c.Anchored = true
  1930.                         c.Material = MATERIALS[MRANDOM(1,2)]
  1931.                         c.Transparency = c.Transparency + 0.8/35
  1932.                         if A == false then
  1933.                             c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1934.                         elseif A == true then
  1935.                             c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)                       
  1936.                         end
  1937.                     end
  1938.                 end
  1939.                 Swait()
  1940.             end
  1941.             CLONE:remove()
  1942.         end))
  1943.     end
  1944. end
  1945.  
  1946. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1947.     local CHILDREN = workspace:GetDescendants()
  1948.     for index, CHILD in pairs(CHILDREN) do
  1949.         if CHILD.ClassName == "Model" and CHILD ~= Character then
  1950.             local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1951.             if HUM then
  1952.                 local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1953.                 if TORSO then
  1954.                     if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1955.                         if ISBANISH == true then
  1956.                             Banish(CHILD)
  1957.                         else
  1958.                             if ISBANISH == "Gravity" then
  1959.                                 HUM.PlatformStand = true
  1960.                                 if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1961.                                     local grav = Instance.new("BodyPosition",TORSO)
  1962.                                     grav.D = 15
  1963.                                     grav.P = 20000
  1964.                                     grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1965.                                     grav.position = TORSO.Position
  1966.                                     grav.Name = "V3BanishForce"..Player.Name
  1967.                                 else
  1968.                                     TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1969.                                     TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1970.                                 end
  1971.                             else
  1972.                                 HUM.PlatformStand = false
  1973.                             end
  1974.                         end
  1975.                     elseif ISBANISH == "Gravity" then
  1976.                         if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1977.                             TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1978.                             HUM.PlatformStand = false
  1979.                         end
  1980.                     end
  1981.                 end
  1982.             end
  1983.         end
  1984.     end
  1985. end
  1986.  
  1987. function SpawnTrail(FROM,TO,BIG)
  1988.     local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Cyan", "Trail", VT(0,0,0))
  1989.     MakeForm(TRAIL,"Cyl")
  1990.     local DIST = (FROM - TO).Magnitude
  1991.     if BIG == true then
  1992.         TRAIL.Size = VT(0.5,DIST,0.5)
  1993.     else
  1994.         TRAIL.Size = VT(0.25,DIST,0.25)
  1995.     end
  1996.     TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1997.     coroutine.resume(coroutine.create(function()
  1998.         for i = 1, 5 do
  1999.             Swait()
  2000.             TRAIL.Transparency = TRAIL.Transparency + 0.1
  2001.         end
  2002.         TRAIL:remove()
  2003.     end))
  2004. end
  2005.  
  2006. function Banisher_Bullet()
  2007.     ATTACK = true
  2008.     Rooted = false
  2009.     for i=0, 0.4, 0.1 / Animation_Speed do
  2010.         Swait()
  2011.         turnto(Mouse.Hit.p)
  2012.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2013.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2014.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2015.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2016.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2017.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2018.     end
  2019.     repeat
  2020.         for i=0, 0.2, 0.1 / Animation_Speed do
  2021.             Swait()
  2022.             turnto(Mouse.Hit.p)
  2023.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2024.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2025.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2026.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2027.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2028.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2029.         end
  2030.         local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2031.         SpawnTrail(Hole.Position,POS)
  2032.         if HIT ~= nil then
  2033.             if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2034.                 Banish(HIT.Parent)
  2035.             end
  2036.         end
  2037.         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(0,0,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2038.         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(0,0,1), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2039.         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(0,0,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2040.         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(0,0,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2041.         for i=0, 0.3, 0.1 / Animation_Speed do
  2042.             Swait()
  2043.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2044.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2045.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2046.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2047.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2048.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2049.         end
  2050.     until KEYHOLD == false
  2051.     ATTACK = false
  2052.     Rooted = false
  2053. end
  2054.  
  2055. function Hat()
  2056.     ATTACK = true
  2057.     Rooted = false
  2058.     Pose("Taunt",0.4,1.2,false)
  2059.     ATTACK = false
  2060.     Rooted = false
  2061. end
  2062.  
  2063. --//=================================\\
  2064. --||      ASSIGN THINGS TO KEYS
  2065. --\\=================================//
  2066.  
  2067. function MouseDown(Mouse)
  2068.     HOLD = true
  2069.     if ATTACK == false then
  2070.     end
  2071. end
  2072.  
  2073. function MouseUp(Mouse)
  2074. HOLD = false
  2075. end
  2076.  
  2077. function KeyDown(Key)
  2078.     KEYHOLD = true
  2079.     if Key == "z" and ATTACK == false then
  2080.         Banisher_Bullet()
  2081.     end
  2082.     if Key == "q" and ATTACK == false then
  2083.         Teleport()
  2084.     end
  2085.     if Key == "x" and ATTACK == false then
  2086.         Morning_Star()
  2087.     end
  2088.     if Key == "c" and ATTACK == false then
  2089.         Deathbound()
  2090.     end
  2091.     if Key == "t" and ATTACK == false then
  2092.         Hat()
  2093.     end
  2094. end
  2095.  
  2096. function KeyUp(Key)
  2097.     KEYHOLD = false
  2098. end
  2099.  
  2100.     Mouse.Button1Down:connect(function(NEWKEY)
  2101.         MouseDown(NEWKEY)
  2102.     end)
  2103.     Mouse.Button1Up:connect(function(NEWKEY)
  2104.         MouseUp(NEWKEY)
  2105.     end)
  2106.     Mouse.KeyDown:connect(function(NEWKEY)
  2107.         KeyDown(NEWKEY)
  2108.     end)
  2109.     Mouse.KeyUp:connect(function(NEWKEY)
  2110.         KeyUp(NEWKEY)
  2111.     end)
  2112.  
  2113. --//=================================\\
  2114. --\\=================================//
  2115.  
  2116.  
  2117.  
  2118. function unanchor()
  2119.     if UNANCHOR == true then
  2120.         g = Character:GetChildren()
  2121.         for i = 1, #g do
  2122.             if g[i].ClassName == "Part" then
  2123.                 g[i].Anchored = false
  2124.             end
  2125.         end
  2126.     end
  2127. end
  2128.  
  2129.  
  2130. --//=================================\\
  2131. --||    WRAP THE WHOLE SCRIPT UP
  2132. --\\=================================//
  2133.  
  2134. Humanoid.Changed:connect(function(Jump)
  2135.     if Jump == "Jump" and (Disable_Jump == true) then
  2136.         Humanoid.Jump = false
  2137.     end
  2138. end)
  2139.  
  2140. while true do
  2141.     Swait()
  2142.     script.Parent = WEAPONGUI
  2143.     Humanoid.Parent = Character
  2144.     if Humanoid then
  2145.         local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2146.         IDLEANIMATION:Play()
  2147.     end
  2148.     if ANIMATE.Parent == Character then
  2149.         ANIMATE:Destroy()
  2150.     end
  2151.     SINE = SINE + CHANGE
  2152.     local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2153.     local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2154.     Humanoid.HipHeight = 1
  2155.     Humanoid.Name = "Warden"
  2156.     Humanoid.PlatformStand = false
  2157.     if PLAYMAINANIM == true then
  2158.         if TORSOVELOCITY < 1 then
  2159.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2160.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2161.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2162.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2163.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  2164.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2165.         elseif TORSOVELOCITY > 1 then
  2166.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2167.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2168.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-35), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2169.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-35), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2170.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-20)), 0.15 / Animation_Speed)
  2171.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(10)), 0.15 / Animation_Speed)
  2172.         end
  2173.     end
  2174.     unanchor()
  2175.     Humanoid.MaxHealth = "inf"
  2176.     Humanoid.Health = "inf"
  2177.     if Rooted == false then
  2178.         Disable_Jump = false
  2179.         Humanoid.WalkSpeed = Speed
  2180.     elseif Rooted == true then
  2181.         Disable_Jump = true
  2182.         Humanoid.WalkSpeed = 0
  2183.     end
  2184.     for _, c in pairs(Character:GetChildren()) do
  2185.         if c.ClassName == "Part" and c.Name ~= "Eye" then
  2186.             c.Material = "Neon"
  2187.             if c:FindFirstChildOfClass("ParticleEmitter") then
  2188.                 c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2189.             end
  2190.             c.Color = C3(1,1,1)
  2191.             if c == Head then
  2192.                 if c:FindFirstChild("face") then
  2193.                     c.face:remove()
  2194.                 end
  2195.             end
  2196.         elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" then
  2197.             c:remove()
  2198.         elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  2199.             c:remove()
  2200.         end
  2201.     end
  2202.     sick.SoundId = "rbxassetid://1567323605"
  2203.     sick.Looped = true
  2204.     sick.Pitch = 1
  2205.     sick.Volume = 3
  2206.     sick:Resume()
  2207.     sick.Parent = Torso
  2208.     refit()
  2209.     if Head:FindFirstChildOfClass("Sound") then
  2210.         Head:FindFirstChildOfClass("Sound"):remove()
  2211.     end
  2212. end
  2213. game.Lighting.TimeOfDay = "00:00:00"
  2214. game.Lighting.FogEnd = 50
  2215. game.Lighting.FogColor = Color3.fromRGB(0,0,0)
  2216.  
  2217. --//=================================\\
  2218.  
  2219. --\\=================================//
  2220.  
  2221.  
  2222.  
  2223.  
  2224.  
  2225. --//====================================================\\--
  2226. --||                     END OF SCRIPT
  2227. --\\====================================================//--
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top