Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- FE template created by MintyLatios (V3rm) aka Drahazar (ROBLOX)
- local username = "seed_rememebrmesquid"
- if(script:FindFirstChild'Owner')then
- repeat wait() until script.Owner.Value
- end
- function GetPlr(user)
- for _,v in next, game:service'Players':players() do
- if(v.Name==user)then
- return v
- end
- end
- return nil
- end
- local Player = (script:FindFirstChild'Owner' and script:FindFirstChild'Owner'.Value or GetPlr(username))
- pcall(game.Destroy,script:FindFirstChild'Owner')
- local FakeMouse = script.FakeMouse:Clone();
- FakeMouse.Parent = Player.Character;
- script.FakeMouse:Destroy()
- do
- local GUID = {}
- do
- GUID.IDs = {};
- function GUID:new(len)
- local id;
- if(not len)then
- id = (tostring(function() end))
- id = id:gsub("function: ","")
- else
- local function genID(len)
- local newID = ""
- for i = 1,len do
- newID = newID..string.char(math.random(48,90))
- end
- return newID
- end
- repeat id = genID(len) until not GUID.IDs[id]
- local oid = id;
- id = {Trash=function() GUID.IDs[oid]=nil; end;Get=function() return oid; end}
- GUID.IDs[oid]=true;
- end
- return id
- end
- end
- local AHB = Instance.new("BindableEvent")
- local FPS = 30
- local TimeFrame = 0
- local LastFrame = tick()
- local Frame = 1/FPS
- game:service'RunService'.Heartbeat:connect(function(s,p)
- TimeFrame = TimeFrame + s
- if(TimeFrame >= Frame)then
- for i = 1,math.floor(TimeFrame/Frame) do
- AHB:Fire()
- end
- LastFrame=tick()
- TimeFrame=TimeFrame-Frame*math.floor(TimeFrame/Frame)
- end
- end)
- function swait(dur)
- if(dur == 0 or typeof(dur) ~= 'number')then
- AHB.Event:wait()
- else
- for i = 1, dur*FPS do
- AHB.Event:wait()
- end
- end
- end
- local oPlayer = Player
- local Player = oPlayer
- local loudnesses={}
- script.Parent = Player.Character
- local CoAS = {Actions={}}
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInputEvent"
- Event.Parent = Player.Character
- local Func = Instance.new("RemoteFunction")
- Func.Name = "GetClientProperty"
- Func.Parent = Player.Character
- local fakeEvent = function()
- local t = {_fakeEvent=true,Waited={},Connected={}}
- t.Connect = function(self,f)
- local ft={}
- ft={Disconnected=false;disconnect=function(s) if(self.Function==ft)then self.Function=nil end s.Disconnected=true end}
- ft.Disconnect=ft.disconnect
- ft.Func=function(...)
- for id,_ in next, t.Waited do
- t.Waited[id] = true
- end
- return f(...)
- end;
- table.insert(self.Connected,ft)
- return ft;
- end
- t.connect = t.Connect
- t.Wait = function()
- local guid = GUID:new(25)
- local waitingId = guid:Get()
- t.Waited[waitingId]=false
- repeat swait() until t.Waited[waitingId]==true
- t.Waited[waitingId]=nil;
- guid:Trash()
- end
- t.wait = t.Wait
- return t
- end
- local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
- local UsIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
- local Run = {RenderStepped=fakeEvent()}
- function CoAS:BindAction(name,fun,touch,...)
- CoAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
- end
- function CoAS:UnbindAction(name)
- CoAS.Actions[name] = nil
- end
- local function te(self,ev,...)
- local t = self[ev]
- if t and t._fakeEvent and t.Connected then
- for i,v in next, t.Connected do
- if(v.Func and not v.Disconnected)then
- v.Func(...)
- else
- t.Connected[i]=nil
- end
- end
- end
- end
- m.TrigEvent = te
- UsIS.TrigEvent = te
- Run.TrigEvent = te
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=Player then return end
- --[[table.foreach(io,print)
- print'---']]
- if io.Mouse then
- m.Target = io.Target
- m.Hit = io.Hit
- elseif io.KeyEvent then
- m:TrigEvent('Key'..io.KeyEvent,io.Key)
- elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
- if io.UserInputState == Enum.UserInputState.Begin then
- m:TrigEvent("Button1Down")
- else
- m:TrigEvent("Button1Up")
- end
- end
- if(not io.KeyEvent and not io.Mouse)then
- for n,t in pairs(CoAS.Actions) do
- for _,k in pairs(t.Keys) do
- if k==io.KeyCode then
- t.Function(t.Name,io.UserInputState,io)
- end
- end
- end
- if io.UserInputState == Enum.UserInputState.Begin then
- UsIS:TrigEvent("InputBegan",io,false)
- else
- UsIS:TrigEvent("InputEnded",io,false)
- end
- end
- end)
- Func.OnServerInvoke = function(plr,inst,play)
- if plr~=Player then return end
- if(inst and typeof(inst) == 'Instance' and inst:IsA'Sound')then
- loudnesses[inst]=play
- end
- end
- function GetClientProperty(inst,prop)
- if(prop == 'PlaybackLoudness' and loudnesses[inst])then
- return loudnesses[inst]
- elseif(prop == 'PlaybackLoudness')then
- return Func:InvokeClient(Player,'RegSound',inst)
- end
- return Func:InvokeClient(Player,inst,prop)
- end
- local oldGame = game;
- function GetFakePlayer()
- local oldPlayer = Player;
- local fakePlayer = newproxy(true)
- getmetatable(fakePlayer).__index = function(s,i)
- if(i == 'GetMouse')then
- return function() return m; end
- end
- return Player[i]
- end
- getmetatable(fakePlayer).__newindex = function(s,i,v)
- Player[i]=v
- end
- getmetatable(fakePlayer).__call=function(self,...)
- if(self == fakePlayer)then self = Player end
- local wh = {...}
- local name = table.remove(wh,1)
- for i,v in next, wh do
- wh[i]=v
- end
- if(name == 'GetMouse')then
- return m;
- end
- return self(name,unpack(wh))
- end
- getmetatable(fakePlayer).__namecall=function(self,...)
- if(self == fakePlayer)then self = Player end
- local tuple={...}
- local name = table.remove(tuple,#tuple)
- if(name == 'GetMouse')then
- return m;
- else
- return self[name](self,unpack(tuple))
- end
- end
- return fakePlayer
- end
- local oll = LoadLibrary;
- function LoadLibrary(libtard)
- local libtarddestroyed=oll(libtard)
- if(libtard=='RbxUtility')then
- local library={Create=function(obj)
- local inst = Instance.new(obj)
- return function(props)
- for prop,valu in next, props do
- inst[prop]=valu
- end
- return inst
- end
- end}
- setmetatable(library,{__index=libtarddestroyed,__newindex=function(s,i,v) libtarddestroyed[i]=v end})
- return library
- else
- return libtarddestroyed
- end
- end
- fakePlayer = GetFakePlayer()
- local function GetService(s,i)
- local service = s:GetService(i)
- if(i == 'Players')then
- local oldService = service;
- local fakeService = newproxy(true)
- getmetatable(fakeService).__index = function(s,i)
- if(s == fakeService)then s=oldService end
- if(i == 'LocalPlayer' or i == 'localPlayer')then
- return fakePlayer
- elseif(i == 'oPlayer')then
- return oPlayer
- else
- return s[i]
- end
- end
- getmetatable(fakeService).__newindex = function(s,i,v)
- if(s == fakeService)then s=oldService end
- s[i]=v
- end
- getmetatable(fakeService).__call=function(self,...)
- if(self == fakeService)then self = oldService end
- local wh = {...}
- local name = table.remove(wh,1)
- for i,v in next, wh do
- wh[i]=v
- end
- return self(name,unpack(wh))
- end
- getmetatable(fakeService).__namecall=function(self,...)
- if(self == fakeService)then self = oldService end
- local tuple={...}
- local name = table.remove(tuple,#tuple)
- return self[name](self,unpack(tuple))
- end
- getmetatable(fakeService).__metatable = 'gay'
- return fakeService
- elseif(i == 'RunService')then
- local oldService = service;
- local fakeService = newproxy(true)
- getmetatable(fakeService).__index = function(s,i)
- if(s == fakeService)then s=oldService end
- return Run[i] or s[i]
- end
- getmetatable(fakeService).__newindex = function(s,i,v)
- if(s == fakeService)then s=oldService end
- s[i]=v
- end
- getmetatable(fakeService).__call=function(self,...)
- if(self == fakeService)then self = oldService end
- local wh = {...}
- local name = table.remove(wh,1)
- for i,v in next, wh do
- wh[i]=v
- end
- return self(name,unpack(wh))
- end
- getmetatable(fakeService).__namecall=function(self,...)
- if(self == fakeService)then self = oldService end
- local tuple={...}
- local name = table.remove(tuple,#tuple)
- return self[name](self,unpack(tuple))
- end
- getmetatable(fakeService).__metatable = 'gay'
- return fakeService
- elseif(i == 'UserInputService')then
- return UsIS
- elseif(i == 'ContextActionService')then
- return CoAS;
- else
- return service
- end
- end
- local new = Instance.new;
- Instance = {}
- Instance.new = function(inst,obje)
- local lp = GetService(oldGame,'Players').localPlayer
- local instance = new(inst)
- if(inst=='ObjectValue')then
- local fake = newproxy(true)
- getmetatable(fake).__index=function(self,index)
- if(self==fake)then self=instance end
- return self[index]
- end
- getmetatable(fake).__newindex=function(self,index,value)
- if(self==fake)then self=instance end
- if(index=='Value' and typeof(value)~='Instance' and value==fakePlayer)then
- self[index]=oPlayer
- else
- self[index]=value
- end
- end
- getmetatable(fake).__call=function(self,...)
- if(self == fake)then self = instance end
- local wh = {...}
- local name = table.remove(wh,1)
- for i,v in next, wh do
- if(v == fake)then v = instance end
- wh[i]=v
- end
- return self(name,unpack(wh))
- end
- getmetatable(fake). __namecall=function(self,...)
- if(self == fake)then self = instance end
- local tuple={...}
- local name = table.remove(tuple,#tuple)
- return self[name](self,unpack(tuple))
- end
- return fake
- else
- instance.Parent = obje
- return instance;
- end
- end
- local serviceFunctions={
- service=true,
- GetService=true,
- }
- local fakeGame = newproxy(true)
- getmetatable(fakeGame).__index = function(s,i)
- if(s == fakeGame)then s=oldGame end
- local serv = GetService(oldGame,i)
- if serviceFunctions[i] then
- return GetService
- elseif(serv)then
- return serv
- else
- return s[i]
- end
- end
- getmetatable(fakeGame).__newindex = function(s,i,v)
- if(s == fakeGame)then s=oldGame end
- s[i]=v
- end
- getmetatable(fakeGame).__call=function(self,...)
- if(self == fakeGame)then self = oldGame end
- local wh = {...}
- local name = table.remove(wh,1)
- for i,v in next, wh do
- if(v == fakeGame)then v = oldGame end
- wh[i]=v
- end
- if serviceFunctions[name] then
- return GetService(self,unpack(wh))
- else
- return self(name,unpack(wh))
- end
- end
- getmetatable(fakeGame). __namecall=function(self,...)
- if(self == fakeGame)then self = oldGame end
- local tuple={...}
- local name = table.remove(tuple,#tuple)
- local funcToCall=self[name]
- if serviceFunctions[name] then
- return GetService(self,unpack(tuple))
- else
- return self[name](self,unpack(tuple))
- end
- end
- getmetatable(fakeGame).__metatable = 'gay'
- coroutine.wrap(function()
- while true do
- Run:TrigEvent('RenderStepped')
- swait()
- end
- end)()
- game=fakeGame
- UserInputService,ContextActionService = UsIS,CoAS
- end
- -- converter by Drahazar
- -- converted using Drahazar's Void SB Script Converter
- wait(.2)
- local egui = script:WaitForChild'ETHGUI':Clone();
- egui.Parent=game:GetService("Players").LocalPlayer:FindFirstChildOfClass'PlayerGui'
- egui.Enabled = true
- local main = egui:WaitForChild'Main'
- local info = main:WaitForChild'InfoBG':WaitForChild'Info':WaitForChild'Text'
- local use = main:WaitForChild'Play':WaitForChild'Button'
- info.Text=[[
- derpz
- no credit
- ]]
- local clickedButton=false;
- local hovering=false
- if(game:service'RunService':IsClient())then
- local libraries={}
- for _,v in next, script:WaitForChild'Libraries':children() do
- shared[v.Name:lower()]=v;
- end
- local pseudo=require(shared.pseudoinstance)
- local rippl=pseudo.new'Rippler'
- rippl.RippleTransparency = 0.3
- rippl.Parent = use
- main:TweenPosition(UDim2.new(.165,0,.288,0),Enum.EasingDirection.Out,Enum.EasingStyle.Back,2)
- use.InputBegan:connect(function(io)
- if(io.UserInputType==Enum.UserInputType.MouseButton1)then
- rippl:Down(io.Position.X,io.Position.Y)
- elseif(io.UserInputType==Enum.UserInputType.MouseMovement)then
- hovering=true
- use.Size=UDim2.new(1,0,1,0)
- use.Position=UDim2.new(0,0,0,0)
- use.BackgroundColor3 = Color3.fromRGB(0,200,0)
- end
- end)
- use.InputEnded:connect(function(io)
- rippl:Up()
- if(io.UserInputType==Enum.UserInputType.MouseButton1 and hovering)then clickedButton=true end
- if(io.UserInputType==Enum.UserInputType.MouseMovement)then
- hovering=false
- use.Size=UDim2.new(.973,0,1,0)
- use.Position=UDim2.new(0.027,0,0,0)
- use.BackgroundColor3 = Color3.fromRGB(0,255,0)
- end
- end)
- repeat
- wait()
- pcall(function() main.Title.Rotation=math.rad(45*math.sin(time()*2)) end)
- local hue = (time()%360)*30
- if(hue/360 >= 1)then
- hue = hue - math.floor(hue/360)*360
- end
- pcall(function() main.Title.TextColor3 = Color3.fromHSV(hue/360,1,1) end)
- until clickedButton
- main:TweenPosition(UDim2.new(1,0,.288,0),Enum.EasingDirection.In,Enum.EasingStyle.Back,1,true,function()
- egui:destroy()
- end)
- else
- local rem = Instance.new("RemoteEvent")
- rem.Name = "Clickie"
- rem.OnServerEvent:connect(function(plr)
- if(plr.Name==game:service'Players'.localPlayer.Name)then
- print'fired'
- clickedButton=true
- rem:destroy()
- game:service'Debris':AddItem(egui,3)
- end
- end)
- script:WaitForChild'Libraries'.Parent = egui
- rem.Parent=egui
- egui:WaitForChild'EthGUICode'.Disabled=false
- repeat wait() print(clickedButton) until clickedButton
- end
- NewInstance = function(instance,parent,properties)
- local inst = Instance.new(instance)
- inst.Parent = parent
- if(properties)then
- for i,v in next, properties do
- pcall(function() inst[i] = v end)
- end
- end
- return inst;
- end
- -- Script --
- plr = game:GetService("Players").LocalPlayer
- Player = plr
- char = plr.Character
- hum = char.Humanoid
- mouse = plr:GetMouse()
- local cam = game.Workspace.CurrentCamera
- Camera = cam
- local CamInterrupt = false
- local TwoD = false
- local TargetInfo = {nil, nil}
- cam.CameraType = "Custom"
- t = char.Torso
- h = char.Head
- ra = char["Right Arm"]
- la = char["Left Arm"]
- rl = char["Right Leg"]
- ll = char["Left Leg"]
- tors = char.Torso
- lleg = char["Left Leg"]
- root = char.HumanoidRootPart
- hed = char.Head
- rleg = char["Right Leg"]
- rarm = char["Right Arm"]
- larm = char["Left Arm"]
- radian = math.rad
- random = math.random
- Vec3 = Vector3.new
- Inst = Instance.new
- cFrame = CFrame.new
- Euler = CFrame.fromEulerAnglesXYZ
- vt = Vector3.new
- bc = BrickColor.new
- br = BrickColor.random
- it = Instance.new
- cf = CFrame.new
- local Player_Size = 0
- cam = game.Workspace.CurrentCamera
- CF = CFrame.new
- angles = CFrame.Angles
- attack = false
- Euler = CFrame.fromEulerAnglesXYZ
- Rad = math.rad
- IT = Instance.new
- BrickC = BrickColor.new
- Cos = math.cos
- Acos = math.acos
- Sin = math.sin
- Asin = math.asin
- Abs = math.abs
- Mrandom = math.random
- Floor = math.floor
- IT = Instance.new
- CF = CFrame.new
- VT = Vector3.new
- RAD = math.rad
- C3 = Color3.new
- UD2 = UDim2.new
- BRICKC = BrickColor.new
- ANGLES = CFrame.Angles
- EULER = CFrame.fromEulerAnglesXYZ
- COS = math.cos
- ACOS = math.acos
- SIN = math.sin
- ASIN = math.asin
- ABS = math.abs
- MRANDOM = math.random
- FLOOR = math.floor
- local SINE = 0
- local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
- local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
- local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
- local ModeOfGlitch = 1
- CF = CFrame.new
- local hed = char.Head
- local root = char.HumanoidRootPart
- local rootj = root.RootJoint
- local tors = char.Torso
- Player_Size = 1
- Cos = math.cos
- Sin = math.sin
- Rad = math.rad
- CF = CFrame.new
- local DoDamage = true
- local FlyingTypes = false
- local visWings={0,0,0,0,0,0}
- major=false
- local Booleans = {
- CamFollow = true,
- GyroUse = true
- }
- function lerp(object, newCFrame, alpha)
- return object:lerp(newCFrame, alpha)
- end
- local Directer = Inst("BodyGyro", root)
- Directer.MaxTorque = Vec3(0, 0, 0)
- Directer.P = 600000
- local CPart = Inst("Part")
- CPart.Anchored = true
- CPart.CanCollide = false
- CPart.Locked = true
- CPart.Transparency = 1
- local CRAZED = false
- local rainbowmode = false
- local chaosmode = false
- local Error = false
- local unstablemode = false
- local MAINRUINCOLOR = BrickColor.new("Bright bluish green")
- local SECONDRUINCOLOR = BrickColor.new("Pastel blue-green")
- local cp="222359560"
- local kan = Instance.new("Sound",Torso)
- kan.Volume = 1.25
- kan.TimePosition = 0
- kan.PlaybackSpeed = 1
- kan.Pitch = 1
- kan.SoundId = "rbxassetid://222359560"
- kan.Name = "wrecked"
- kan.Looped = true
- kan:Play()
- local currentThemePlaying = kan.SoundId
- local currentPitch = kan.Pitch
- local currentVol = kan.Volume
- function newTheme(ID,timepos,pitch,vol)
- local kanz = kan
- --kanz:Stop()
- kanz.Volume = vol
- --kanz.TimePosition = timepos
- kanz.PlaybackSpeed = pitch
- kanz.Pitch = pitch
- kanz.SoundId = ID
- kanz.Name = "wrecked"
- kanz.Looped = true
- currentThemePlaying = kanz.SoundId
- currentVol = kanz.Volume
- currentPitch = kanz.Pitch
- end
- function newThemeCust(ID,timepos,pitch,vol)
- local kanz = kan
- kanz:Stop()
- kanz.Volume = vol
- kanz.TimePosition = timepos
- kanz.PlaybackSpeed = pitch
- kanz.Pitch = pitch
- kanz.SoundId = ID
- kanz.Name = "wrecked"
- kanz.Looped = true
- currentThemePlaying = kanz.SoundId
- currentVol = kanz.Volume
- currentPitch = kanz.Pitch
- kanz:Play()
- end
- local mutedtog = false
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "ArtificialHB"
- script:WaitForChild("ArtificialHB")
- Frame_Speed = 1 / 60
- frame = Frame_Speed
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.ArtificialHB:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.ArtificialHB:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.ArtificialHB:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- ------------------
- function swait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 1, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
- --// Require stuff \\--
- FXFolder=script.Effects
- local Spike = FXFolder.Spike
- Spike.Parent=nil
- function CamShake(who,data)
- coroutine.wrap(function()
- if(FXFolder:FindFirstChild'CamShake')then
- local cam = FXFolder.CamShake:Clone()
- cam:WaitForChild'intensity'.Value = data.Intensity or 5
- cam:WaitForChild'duration'.Value = data.Duration or 5
- cam:WaitForChild'speed'.Value = data.Speed or 10;
- if(data.Origin)then NewInstance((typeof(data.Origin) == 'Instance' and "ObjectValue" or typeof(data.Origin) == 'Vector3' and 'Vector3Value' or typeof(data.Origin)=='CFrame' and 'CFrameValue'),cam,{Name='origin',Value=data.Origin}) end
- cam:WaitForChild'rot'.Value = data.Rotation or Vector3.new(1,1,5)
- cam:WaitForChild'pos'.Value = data.Position or Vector3.new(.5,.5,.5)
- cam:WaitForChild'startdist'.Value = data.DropDist or 25;
- cam:WaitForChild'enddist'.Value = data.IneffectiveDist or 150;
- cam.Parent = who
- wait()
- cam.Disabled = false
- end
- end)()
- end
- function CamShakeAll(data)
- for _,v in next, game:service'Players':players() do
- CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,data)
- end
- end
- ----------hecc u yu no remove current motor
- ----------
- local toggleTag = true
- local bilguit = Instance.new("BillboardGui", hed)
- bilguit.Adornee = nil
- bilguit.Name = "ModeName"
- bilguit.Size = UDim2.new(4, 0, 1.2, 0)
- bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
- local modet = Instance.new("TextLabel", bilguit)
- modet.Size = UDim2.new(10/2, 0, 7/2, 0)
- modet.FontSize = "Size8"
- modet.TextScaled = true
- modet.TextTransparency = 0
- modet.BackgroundTransparency = 1
- modet.TextTransparency = 0
- modet.TextStrokeTransparency = 0
- modet.Font = "Antique"
- modet.TextStrokeColor3 = Color3.new(1,0,0)
- modet.TextColor3 = Color3.new(0.25,0,0)
- modet.Text = "COMMOTIAUS"
- function chatfunc(text,color,typet,font,timeex)
- local chat = coroutine.wrap(function()
- if Character:FindFirstChild("TalkingBillBoard")~= nil then
- Character:FindFirstChild("TalkingBillBoard"):destroy()
- end
- local naeeym2 = Instance.new("BillboardGui",Character)
- naeeym2.Size = UDim2.new(0,100,0,40)
- naeeym2.StudsOffset = Vector3.new(0,3,0)
- naeeym2.Adornee = Character.Head
- naeeym2.Name = "TalkingBillBoard"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.BorderSizePixel = 0
- tecks2.Text = ""
- tecks2.Font = font
- tecks2.TextSize = 30
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = color
- tecks2.TextStrokeColor3 = Color3.new(0,0,0)
- tecks2.Size = UDim2.new(1,0,0.5,0)
- local tecks3 = Instance.new("TextLabel",naeeym2)
- tecks3.BackgroundTransparency = 1
- tecks3.BorderSizePixel = 0
- tecks3.Text = ""
- tecks3.Font = font
- tecks3.TextSize = 30
- tecks3.TextStrokeTransparency = 0
- if typet == "Inverted" then
- tecks3.TextColor3 = Color3.new(0,0,0)
- tecks3.TextStrokeColor3 = color
- elseif typet == "Normal" then
- tecks3.TextColor3 = color
- tecks3.TextStrokeColor3 = Color3.new(0,0,0)
- end
- tecks3.Size = UDim2.new(1,0,0.5,0)
- modet.TextTransparency = modet.TextTransparency + 1
- modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
- for i = 0, 74*timeex do
- swait()
- modet.TextTransparency = 1
- modet.TextStrokeTransparency = 1
- tecks2.Text = text
- tecks3.Text = text
- end
- local randomrot = math.random(1,2)
- if randomrot == 1 then
- for i = 1, 50 do
- swait()
- tecks2.Text = text
- tecks3.Text = text
- modet.TextTransparency = modet.TextTransparency - .02
- modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
- tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
- tecks2.TextTransparency = tecks2.TextTransparency + .04
- tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
- tecks3.TextTransparency = tecks2.TextTransparency + .04
- end
- elseif randomrot == 2 then
- for i = 1, 50 do
- swait()
- tecks2.Text = text
- tecks3.Text = text
- modet.TextTransparency = modet.TextTransparency - .02
- modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
- tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
- tecks2.TextTransparency = tecks2.TextTransparency + .04
- tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
- tecks3.TextTransparency = tecks2.TextTransparency + .04
- end
- end
- modet.TextTransparency = 0
- modet.TextStrokeTransparency = 0
- if toggleTag == false then
- modet.TextTransparency = 1
- modet.TextStrokeTransparency = 1
- end
- naeeym2:Destroy()
- end)
- chat()
- end
- local rai = {"USER","User","USer","USEr","uSER","usER","useR","uSer","usEr","useR","PlAyEr","666"}
- function bosschatfunc(text,color,watval)
- newbosschatfunc(text,BrickColor.new'Black'.Color,color,watval*30)
- end
- function oldbosschatfunc(text,color,watval)
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- coroutine.resume(coroutine.create(function()
- if v.PlayerGui:FindFirstChild("Dialog")~= nil then
- v.PlayerGui:FindFirstChild("Dialog"):destroy()
- end
- local scrg = Instance.new("ScreenGui",v.PlayerGui)
- CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
- scrg.Name = "Dialog"
- local txtlb = Instance.new("TextLabel",scrg)
- txtlb.Text = ""
- txtlb.Font = "Arcade"
- txtlb.TextColor3 = Color3.new(0,0,0)
- txtlb.TextStrokeTransparency = 0
- txtlb.BackgroundTransparency = 0.75
- txtlb.BackgroundColor3 = Color3.new(0,0,0)
- txtlb.TextStrokeColor3 = color
- txtlb.TextScaled = true
- txtlb.Size = UDim2.new(1,0,0.25,0)
- txtlb.TextXAlignment = "Left"
- txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
- local txtlb2 = Instance.new("TextLabel",scrg)
- txtlb2.Text = modet.Text.." USER:"
- txtlb2.Font = "Arcade"
- txtlb2.TextColor3 = Color3.new(0,0,0)
- txtlb2.TextStrokeTransparency = 0
- txtlb2.BackgroundTransparency = 1
- txtlb2.TextStrokeColor3 = color
- txtlb2.TextSize = 40
- txtlb2.Size = UDim2.new(1,0,0.25,0)
- txtlb2.TextXAlignment = "Left"
- txtlb2.Position = UDim2.new(0,0,1,0)
- local fvalen = 0.55
- local fval = -0.49
- local flol = 1.75
- local flil = 1.6
- for i = 0, 9 do
- swait()
- fval = fval + 0.05
- flol = flol - 0.1
- flil = flil - 0.1
- txtlb.Text = ""
- txtlb.Position = UDim2.new(0,0,flol,0)
- txtlb2.Position = UDim2.new(0,0,flil,0)
- end
- txtlb.Text = text
- wait(watval)
- local valinc = 0
- for i = 0, 99 do
- swait()
- valinc = valinc + 0.0001
- flol = flol + valinc
- flil = flil + valinc
- txtlb.Rotation = txtlb.Rotation + valinc*20
- txtlb2.Rotation = txtlb2.Rotation - valinc*50
- txtlb.Position = UDim2.new(0,0,flol,0)
- txtlb2.Position = UDim2.new(0,0,flil,0)
- txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
- txtlb.TextTransparency = txtlb.TextTransparency + 0.01
- txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
- txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
- txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
- end
- scrg:Destroy()
- end))
- end
- end
- --[[
- function CamShake(who,data)
- coroutine.wrap(function()
- if(FXFolder:FindFirstChild'CamShake')then
- local cam = FXFolder.CamShake:Clone()
- cam:WaitForChild'intensity'.Value = data.Intensity or 5
- cam:WaitForChild'duration'.Value = data.Duration or 5
- cam:WaitForChild'speed'.Value = data.Speed or 10;
- if(data.Origin)then NewInstance((typeof(data.Origin) == 'Instance' and "ObjectValue" or typeof(data.Origin) == 'Vector3' and 'Vector3Value' or typeof(data.Origin)=='CFrame' and 'CFrameValue'),cam,{Name='origin',Value=data.Origin}) end
- cam:WaitForChild'rot'.Value = data.Rotation or Vector3.new(1,1,5)
- cam:WaitForChild'pos'.Value = data.Position or Vector3.new(.5,.5,.5)
- cam:WaitForChild'startdist'.Value = data.DropDist or 25;
- cam:WaitForChild'enddist'.Value = data.IneffectiveDist or 150;
- cam.Parent = who
- wait()
- cam.Disabled = false
- end
- end)()
- end
- function CamShakeAll(data)
- for _,v in next, game:service'Players':players() do
- CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,data)
- end
- end
- --]]
- function newbosschatfunc(text,color1,color2,delay)
- for _,v in next, game:service'Players':players() do
- coroutine.wrap(function()
- if(FXFolder:FindFirstChild'BossChat' and v.Character)then
- local cha = FXFolder.BossChat:Clone()
- cha.Color1.Value=color1
- cha.Color2.Value=color2
- cha.Text.Value=text
- cha.Ghghghghgh.Value=delay
- cha.Mode.Value=ModeOfGlitch
- cha.ModeName.Value=modet.Text
- cha.Music.Value=kan
- cha.Parent=v.Character
- wait()
- cha.Disabled = false
- game:service'Debris':AddItem(cha,(delay/60)*4)
- end
- end)()
- end
- end
- local Create = LoadLibrary("RbxUtility").Create
- CFuncs = {
- ["Part"] = {
- Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part"){
- Parent = Parent,
- Reflectance = Reflectance,
- Transparency = Transparency,
- CanCollide = false,
- Locked = true,
- BrickColor = BrickColor.new(tostring(BColor)),
- Name = Name,
- Size = Size,
- Material = Material,
- }
- RemoveOutlines(Part)
- return Part
- end;
- };
- ["Mesh"] = {
- Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh){
- Parent = Part,
- Offset = OffSet,
- Scale = Scale,
- }
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end;
- };
- ["Mesh"] = {
- Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh){
- Parent = Part,
- Offset = OffSet,
- Scale = Scale,
- }
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end;
- };
- ["Weld"] = {
- Create = function(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld"){
- Parent = Parent,
- Part0 = Part0,
- Part1 = Part1,
- C0 = C0,
- C1 = C1,
- }
- return Weld
- end;
- };
- ["Sound"] = {
- Create = function(id, par, vol, pit)
- local S = Create("Sound"){
- Volume = vol,
- Name = "EffectSoundo",
- Pitch = pit or 1,
- SoundId = id,
- Parent = par or workspace,
- }
- S:play()
- game:GetService("Debris"):AddItem(S, 10)
- end;
- };
- ["TimeSound"] = {
- Create = function(id, par, vol, pit, timepos)
- local S = Create("Sound"){
- Volume = vol,
- Name = "EffectSoundo",
- Pitch = pit or 1,
- SoundId = id,
- TimePosition = timepos,
- Parent = par or workspace,
- }
- wait()
- S:play()
- game:GetService("Debris"):AddItem(S, 10)
- end;
- };
- ["EchoSound"] = {
- Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
- local Sas = Create("Sound"){
- Volume = vol,
- Name = "EffectSoundo",
- Pitch = pit or 1,
- SoundId = id,
- TimePosition = timepos,
- Parent = par or workspace,
- }
- local E = Create("EchoSoundEffect"){
- Delay = echodelay,
- Name = "Echo",
- Feedback = fedb,
- DryLevel = dryl,
- Parent = Sas,
- }
- wait()
- Sas:play()
- game:GetService("Debris"):AddItem(Sas, delays)
- end;
- };
- ["LongSound"] = {
- Create = function(id, par, vol, pit)
- local S = Create("Sound"){
- Volume = vol,
- Pitch = pit or 1,
- SoundId = id,
- Parent = par or workspace,
- }
- wait()
- S:play()
- game:GetService("Debris"):AddItem(S, 60)
- end;
- };
- ["ParticleEmitter"] = {
- Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
- local fp = Create("ParticleEmitter"){
- Parent = Parent,
- Color = ColorSequence.new(Color1, Color2),
- LightEmission = LightEmission,
- Size = Size,
- Texture = Texture,
- Transparency = Transparency,
- ZOffset = ZOffset,
- Acceleration = Accel,
- Drag = Drag,
- LockedToPart = LockedToPart,
- VelocityInheritance = VelocityInheritance,
- EmissionDirection = EmissionDirection,
- Enabled = Enabled,
- Lifetime = LifeTime,
- Rate = Rate,
- Rotation = Rotation,
- RotSpeed = RotSpeed,
- Speed = Speed,
- VelocitySpread = VelocitySpread,
- }
- return fp
- end;
- };
- CreateTemplate = {
- };
- }
- New = function(Object, Parent, Name, Data)
- local Object = Instance.new(Object)
- for Index, Value in pairs(Data or {}) do
- Object[Index] = Value
- end
- Object.Parent = Parent
- Object.Name = Name
- return Object
- end
- local halocolor = BrickColor.new("Pastel light blue")
- local halocolor2 = BrickColor.new("Cool yellow")
- local starcolor = BrickColor.new("Bright yellow")
- local lunacolor = BrickColor.new("Navy blue")
- local lunacolor2 = BrickColor.new("Bright blue")
- local wepcolor = BrickColor.new("Really black")
- local maincolor = BrickColor.new("Really black")
- local m = Instance.new("Model",char)
- local m2 = Instance.new("Model",char)
- local m3 = Instance.new("Model",char)
- local mw1 = Instance.new("Model",char)
- local mw2 = Instance.new("Model",char)
- local mwN = Instance.new("Model",char)
- local mwY = Instance.new("Model",char)
- local effectmodel = Instance.new("Model",char)
- effectmodel.Name = "EFFECTS"
- local est = {"error","Errors","eRror","erRor","errOr","erroR","ERror","ErRor","ErrOr","ErroR","eRRor","eRrOr","eRroR","erROr","erRoR","errOR","ERROR"}
- gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
- local gui = it(GuiType)
- gui.Parent = parent
- gui.Text = text
- gui.BackgroundTransparency = backtrans
- gui.BackgroundColor3 = backcol
- gui.SizeConstraint = "RelativeXY"
- gui.TextXAlignment = "Center"
- gui.TextYAlignment = "Center"
- gui.Position = pos
- gui.Size = size
- gui.Font = "SourceSans"
- gui.FontSize = "Size14"
- gui.TextWrapped = false
- gui.TextStrokeTransparency = 0
- gui.TextColor = BrickColor.new("White")
- return gui
- end
- --------------------------- GUI STUFF
- local basgui = it("GuiMain")
- basgui.Parent = plr.PlayerGui
- basgui.Name = "VISgui"
- local fullscreenz = it("Frame")
- fullscreenz.Parent = basgui
- fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
- fullscreenz.BackgroundTransparency = .5
- fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
- fullscreenz.AnchorPoint=Vector2.new(1,.5)
- fullscreenz.Size = UDim2.new(.2, 0, 1.2, 0)
- fullscreenz.Position = UDim2.new(1.01, 0, .5, 0)
- fullscreenz.BorderSizePixel=12
- fullscreenz.ZIndex=2
- local fullscreenz2 = it("Frame")
- fullscreenz2.Parent = fullscreenz
- fullscreenz2.BackgroundTransparency = 1
- fullscreenz2.AnchorPoint=Vector2.new(.5,.5)
- fullscreenz2.Size = UDim2.new(1, 0, 1, 0)
- fullscreenz2.Position = UDim2.new(.5, 0, .5, 0)
- fullscreenz2.ClipsDescendants=true
- local hh1 = it("Frame")
- hh1.Parent = fullscreenz
- hh1.BackgroundColor3 = Color3.new(255, 255, 255)
- hh1.BackgroundTransparency = .5
- hh1.BorderColor3 = Color3.new(17, 17, 17)
- hh1.AnchorPoint=Vector2.new(.5,.5)
- hh1.Size = UDim2.new(.04, 0, 1.2, 0)
- hh1.Position = UDim2.new(-.1, 0, .5, 0)
- hh1.BorderSizePixel=0
- hh1.ZIndex=4
- local hh2 = it("Frame")
- hh2.Parent = fullscreenz
- hh2.BackgroundColor3 = Color3.new(255, 255, 255)
- hh2.BackgroundTransparency = .5
- hh2.BorderColor3 = Color3.new(17, 17, 17)
- hh2.AnchorPoint=Vector2.new(.5,.5)
- hh2.Size = UDim2.new(.025, 0, 1.2, 0)
- hh2.Position = UDim2.new(-.14, 0, .5, 0)
- hh2.BorderSizePixel=0
- hh2.ZIndex=4
- local hh3 = it("Frame")
- hh3.Parent = fullscreenz
- hh3.BackgroundColor3 = Color3.new(255, 255, 255)
- hh3.BackgroundTransparency = .5
- hh3.BorderColor3 = Color3.new(17, 17, 17)
- hh3.AnchorPoint=Vector2.new(.5,.5)
- hh3.Size = UDim2.new(.01, 0, 1.2, 0)
- hh3.Position = UDim2.new(-.16, 0, .5, 0)
- hh3.BorderSizePixel=0
- hh3.ZIndex=4
- local vis1 = it("Frame")
- vis1.Parent = fullscreenz2
- vis1.BackgroundColor3 = Color3.new(255, 255, 255)
- vis1.BackgroundTransparency = .5
- vis1.BorderColor3 = Color3.new(17, 17, 17)
- vis1.AnchorPoint=Vector2.new(.5,1)
- vis1.Size = UDim2.new(.1, 0, 1, 0)
- vis1.Position = UDim2.new(.93, 0, 1, 0)
- vis1.BorderSizePixel=0
- vis1.ZIndex=2
- local vis2=vis1:Clone()
- vis2.Parent = fullscreenz2
- vis2.Size = UDim2.new(.07, 0, 1, 0)
- vis2.Position = UDim2.new(.81, 0, 1, 0)
- local vis3=vis1:Clone()
- vis3.Parent = fullscreenz2
- vis3.Size = UDim2.new(.045, 0, 1, 0)
- vis3.Position = UDim2.new(.74, 0, 1, 0)
- local vis4=vis1:Clone()
- vis4.Parent = fullscreenz2
- vis4.Size = UDim2.new(.03, 0, 1, 0)
- vis4.Position = UDim2.new(.69, 0, 1, 0)
- local vis5=vis1:Clone()
- vis5.Parent = fullscreenz2
- vis5.Size = UDim2.new(.012, 0, 1, 0)
- vis5.Position = UDim2.new(.65, 0, 1, 0)
- --fullscreenz
- local nedf = it("TextLabel",fullscreenz)
- nedf.AnchorPoint=Vector2.new(1,1)
- nedf.Font = "Arcade"
- nedf.BackgroundTransparency = 1
- nedf.BorderSizePixel = 0.65
- nedf.Size = UDim2.new(1,0,.2,0)
- nedf.Position = UDim2.new(.9,0,0.95,0)
- nedf.TextColor3 = Color3.new(0,0,0)
- nedf.TextStrokeColor3 = Color3.new(0,0,0)
- nedf.TextScaled = true
- nedf.TextStrokeTransparency = 0
- nedf.Text = "ETHEREAL GLITCHER"
- nedf.TextSize = 24
- nedf.ZIndex=101
- function ggg()
- local afa = it("ImageLabel",fullscreenz2)
- afa.BackgroundTransparency = 1
- afa.BorderSizePixel = 0
- afa.AnchorPoint=Vector2.new(.5,.5)
- afa.Parent = fullscreenz2
- afa.ImageTransparency = 0
- afa.Size = UDim2.new(0,40,0,40)
- local mfmf=math.random(10,90)/100
- afa.Position = UDim2.new(mfmf,0,1.2,0)
- afa.ImageColor3 = MAINRUINCOLOR.Color
- afa.Image = "rbxassetid://2710333451"
- afa.Rotation=math.random(-360,360)
- afa.ZIndex=3
- coroutine.resume(coroutine.create(function(g)
- local kokha=math.random(30,200)/30
- local hh1=math.random(-100,100)/50
- local hh2=math.random(100,400)/22
- for i=0,1.1,kokha/100 do
- swait()
- g.Position = g.Position+UDim2.new(0,hh1,0,-hh2)
- g.ImageTransparency=i
- g.Rotation=g.Rotation+3
- end
- g:Remove()
- end),afa)
- end
- local hhahaha=false
- function nice(teext,h1,h2)
- local ned = it("TextLabel",fullscreenz)
- ned.AnchorPoint=Vector2.new(1,1)
- ned.Font = "Arcade"
- ned.BackgroundTransparency = 1
- ned.BorderSizePixel = 0.65
- ned.Size = UDim2.new(2.2,0,.2,0)
- ned.Position = UDim2.new(1.4,0,0.85,0)
- ned.TextColor3 = h1
- ned.TextStrokeColor3 = h2
- ned.TextScaled = true
- ned.TextStrokeTransparency = 0
- ned.Text = teext
- ned.TextSize = 24
- ned.Rotation = 90
- ned.TextXAlignment = "Right"
- ned.TextYAlignment = "Bottom"
- ned.ZIndex=100
- hhahaha=false
- coroutine.resume(coroutine.create(function()
- swait(3)
- hhahaha=true
- ned:TweenPosition(UDim2.new(1.4-.02* math.sin(SINE/41),0,0.55+.03* math.cos(SINE/42),0), "Out", "Quad", 1,true)
- for i=1.1,0,-.02 do
- swait()
- ned.TextTransparency=i
- ned.TextStrokeTransparency = i
- ned:TweenPosition(UDim2.new(1.4-.02* math.sin(SINE/41),0,0.55+.03* math.cos(SINE/42),0), "Out", "Quad", 1,true)
- if hhahaha==false then
- break
- end
- end
- local hai=0
- local hai2=1
- repeat
- swait()
- ned:TweenPosition(UDim2.new(1.4-.02* math.sin(SINE/41),0,0.55+.03* math.cos(SINE/42),0), "Out", "Quad", 1,true)
- if ModeOfGlitch == 5 then
- ned.TextColor3=Color3.new(math.random(0,255)/255,0,0)
- end
- until hhahaha==false
- ned:TweenPosition(UDim2.new(1.4,0,0.1,0), "In", "Quart", 1,true)
- for i=0,1.1,.02 do
- swait()
- ned.ZIndex=100-100*i
- ned.TextTransparency=i
- ned.TextStrokeTransparency = i
- end
- ned:Remove()
- end))
- end
- local hhahaha2=true
- function nice2(h1,h2)
- local ned = it("TextLabel",fullscreenz)
- ned.AnchorPoint=Vector2.new(1,1)
- ned.Font = "Arcade"
- ned.BackgroundTransparency = 1
- ned.BorderSizePixel = 0.65
- ned.Size = UDim2.new(2.2,0,.1,0)
- ned.Position = UDim2.new(1.9,0,0.88,0)
- ned.TextColor3 = h1
- ned.TextStrokeColor3 = h2
- ned.TextScaled = true
- ned.TextStrokeTransparency = 0
- --ned.Text = teext
- ned.TextSize = 24
- ned.Rotation = 90
- ned.TextXAlignment = "Right"
- ned.TextYAlignment = "Bottom"
- ned.ZIndex=100
- hhahaha2=false
- coroutine.resume(coroutine.create(function()
- swait(3)
- hhahaha2=true
- ned:TweenPosition(UDim2.new(1.9-.02* math.cos(SINE/41),0,0.48+.03* math.sin(SINE/42),0), "Out", "Quad", 1,true)
- for i=1.1,0,-.02 do
- swait()
- ned.TextTransparency=i
- ned.TextStrokeTransparency = i
- ned:TweenPosition(UDim2.new(1.9-.02* math.cos(SINE/41),0,0.48+.03* math.sin(SINE/42),0), "Out", "Quad", 1,true)
- local mps=game:GetService("MarketplaceService"):GetProductInfo(cp, Enum.InfoType.Asset)
- ned.Text=(mps.Name)
- if hhahaha2==false then
- break
- end
- end
- local lastnam=ned.Text
- local hai=0
- local hai2=1
- local lastMode = ModeOfGlitch
- repeat
- ned:TweenPosition(UDim2.new(1.9-.02* math.cos(SINE/41),0,0.48+.03* math.sin(SINE/42),0), "Out", "Quad", 1,true)
- pcall(function() local mps=game:GetService("MarketplaceService"):GetProductInfo(cp, Enum.InfoType.Asset)
- ned.Text=(mps.Name) end)
- if ModeOfGlitch == 5 then
- ned.TextColor3=Color3.new(math.random(0,255)/255,0,0)
- end
- swait()
- lastnam=ned.Text
- until hhahaha2==false
- ned:TweenPosition(UDim2.new(1.9,0,0.08,0), "In", "Quart", 1,true)
- for i=0,1.1,.02 do
- swait()
- ned.Text=lastnam
- ned.ZIndex=100-100*i
- ned.TextTransparency=i
- ned.TextStrokeTransparency = i
- end
- ned:Remove()
- end))
- end
- local extrawingmod1 = Instance.new("Model",char)
- local extrawingmod2 = Instance.new("Model",char)
- function CreateParta(parent,transparency,reflectance,material,brickcolor)
- local p = Instance.new("Part")
- p.TopSurface = 0
- p.BottomSurface = 0
- p.Parent = parent
- p.Size = Vector3.new(0.1,0.1,0.1)
- p.Transparency = transparency
- p.Reflectance = reflectance
- p.CanCollide = false
- p.Locked = true
- p.BrickColor = brickcolor
- p.Material = material
- return p
- end
- function CreateMesh(parent,meshtype,x1,y1,z1)
- local mesh = Instance.new("SpecialMesh",parent)
- mesh.MeshType = meshtype
- mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
- return mesh
- end
- function CreateSpecialMesh(parent,meshid,x1,y1,z1)
- local mesh = Instance.new("SpecialMesh",parent)
- mesh.MeshType = "FileMesh"
- mesh.MeshId = meshid
- mesh.Scale = Vector3.new(x1,y1,z1)
- return mesh
- end
- function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
- local mesh = Instance.new("SpecialMesh",parent)
- mesh.MeshType = "FileMesh"
- mesh.MeshId = meshid
- mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
- mesh.Scale = Vector3.new(x1,y1,z1)
- mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
- return mesh
- end
- function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
- local weld = Instance.new("Weld")
- weld.Parent = parent
- weld.Part0 = part0
- weld.Part1 = part1
- weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
- weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
- return weld
- end
- --------------
- -------------- ground effect
- local cen = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
- CreateWeld(cen,root,cen,0,3,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local effar = Instance.new("ParticleEmitter",cen)
- effar.Texture = "rbxassetid://2344870656"
- effar.LightEmission = 1
- effar.Color = ColorSequence.new(Color3.new(1,0,0))
- effar.Rate = 50
- effar.Enabled = false
- effar.EmissionDirection = "Front"
- effar.Lifetime = NumberRange.new(1)
- effar.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,15,0),NumberSequenceKeypoint.new(1,40,0)})
- effar.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
- effar.Speed = NumberRange.new(80,90)
- effar.Acceleration = Vector3.new(0,10,0)
- effar.Drag = 5
- effar.Rotation = NumberRange.new(-500,500)
- effar.SpreadAngle = Vector2.new(0,900)
- effar.RotSpeed = NumberRange.new(-500,500)
- ----GIANTIC
- --[[
- local secondchar = Instance.new("Model",char)
- local GhostCol = BrickColor.new("Dark indigo")
- local sectors = CreateParta(secondchar,1,0,"Neon",GhostCol)
- CreateMesh(sectors,"Brick",2*8,2*8,1*8)
- local torsweld = CreateWeld(sectors,root,sectors,1,-1,-2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local seclarm = CreateParta(secondchar,1,0,"Neon",GhostCol)
- CreateMesh(seclarm,"Brick",1*8,2*8,1*8)
- local larmsweld = CreateWeld(seclarm,sectors,seclarm,1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local secrarm = CreateParta(secondchar,1,0,"Neon",GhostCol)
- CreateMesh(secrarm,"Brick",1*8,2*8,1*8)
- local rarmsweld = CreateWeld(secrarm,sectors,secrarm,-1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local seclleg = CreateParta(secondchar,1,0,"Neon",GhostCol)
- CreateMesh(seclleg,"Brick",1*8,2*8,1*8)
- local llegsweld = CreateWeld(seclleg,sectors,seclleg,0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local secrleg = CreateParta(secondchar,1,0,"Neon",GhostCol)
- CreateMesh(secrleg,"Brick",1*8,2*8,1*8)
- local rlegsweld = CreateWeld(secrleg,sectors,secrleg,-0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local seched = CreateParta(secondchar,1,0,"Neon",GhostCol)
- CreateMesh(seched,"Brick",1*8,1*8,1*8)
- local hedsweld = CreateWeld(seched,sectors,seched,0,-1.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- ]]
- local secondchar=script:WaitForChild'Spirit'
- secondchar.Parent=char
- local sectors=secondchar.Torso
- local seclarm=secondchar['Left Arm']
- local secrarm=secondchar['Right Arm']
- local seclleg=secondchar['Left Leg']
- local secrleg=secondchar['Right Leg']
- local seched=secondchar.Head
- local larmsweld = CreateWeld(seclarm,sectors,seclarm,1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local rarmsweld = CreateWeld(secrarm,sectors,secrarm,-1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local llegsweld = CreateWeld(seclleg,sectors,seclleg,0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local rlegsweld = CreateWeld(secrleg,sectors,secrleg,-0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local hedsweld = CreateWeld(seched,sectors,seched,0,-1.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local torsweld = CreateWeld(sectors,root,sectors,1,-1,-2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- for _,v in next, secondchar:children() do
- v.Transparency=1
- v.Anchored=false
- end
- --------------
- local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
- CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
- CreateWeld(sorb2,larm,sorb2,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local handlex = CreateParta(mwN,1,1,"Neon",maincolor)
- CreateMesh(handle,"Brick",0,0,0)
- local handlexweld = CreateWeld(handlex,tors,handlex,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local h1 = script.Halo
- local emitPoint = h1.EmitPoint
- local emitPointWeld = CreateWeld(h1,h1,emitPoint,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local haloWeld = CreateWeld(h1,handlex,h1,0,0.06,0.3,math.rad(90),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- h1.Color = MAINRUINCOLOR.Color
- local refec = Instance.new("ParticleEmitter",emitPoint)
- refec.Texture = "rbxassetid://249270319"
- refec.LightEmission = 0.95
- refec.Color = ColorSequence.new(MAINRUINCOLOR.Color)
- refec.Rate = 50
- refec.Lifetime = NumberRange.new(0.5)
- refec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.5,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
- refec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
- refec.Speed = NumberRange.new(0,2)
- refec.Drag = 5
- refec.LockedToPart = true
- refec.Rotation = NumberRange.new(-500,500)
- refec.VelocitySpread = 9000
- refec.RotSpeed = NumberRange.new(-500,500)
- local handle = CreateParta(m,1,1,"Neon",MAINRUINCOLOR)
- CreateMesh(handle,"Brick",0.5,0.5,0.5)
- local handleweld = CreateWeld(handle,tors,handle,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- --"rbxassetid://31727915"
- --Sword
- --[[local sword = script.BloodCurse.BloodCurse:WaitForChild'hitbox'
- for i,v in pairs(script.BloodCurse.BloodCurse:GetChildren()) do
- v.Anchored = false
- end
- w1 = Instance.new("Weld")
- w1.Parent = ra
- w1.Part0 = ra
- w1.Part1 = sword
- w1.C0 = ra.CFrame:Inverse()
- w1.C1 = sword.CFrame:Inverse()
- w1.C0 = CFrame.new(0,-0.4,-3)*CFrame.Angles(RAD(0),RAD(90),RAD(0))*CFrame.Angles(RAD(00-0.05*math.cos(0+1 / 32)),RAD(0-0.05*math.cos(0+1 / 32)),RAD(00-0.05*math.cos(0+1 / 32)))
- --Sword2
- local sword = script.CursedSword.CursedSword:WaitForChild'hitbox'
- for i,v in pairs(script.CursedSword.CursedSword:GetChildren()) do
- v.Anchored = false
- end
- w2 = Instance.new("Weld")
- w2.Parent = ra
- w2.Part0 = ra
- w2.Part1 = sword
- w2.C0 = ra.CFrame:Inverse()
- w2.C1 = sword.CFrame:Inverse()
- w2.C0 = CFrame.new(0,-0.4,-3)*CFrame.Angles(RAD(0),RAD(90),RAD(0))*CFrame.Angles(RAD(0),RAD(0),RAD(0))]]
- --- Left wing.
- local WingPart = script.E
- local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
- CreateMesh(handle,"Brick",0.5,0.5,0.5)
- local lwing1weld = CreateWeld(lwing1,handle,lwing1,1.5,0,0,math.rad(5),math.rad(0),math.rad(12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local ae4 = WingPart:Clone()
- ae4.Parent = mw1
- ae4.Color = MAINRUINCOLOR.Color
- ae4.Anchored = false
- CreateWeld(ae4,lwing1,ae4,0,-1.9,-0.05,math.rad(-90),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
- CreateMesh(handle,"Brick",0.5,0.5,0.5)
- local lwing2weld = CreateWeld(lwing2,handle,lwing2,3,1,0,math.rad(10),math.rad(0),math.rad(25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local ae5 = WingPart:Clone()
- ae5.Parent = mw1
- ae5.Color = MAINRUINCOLOR.Color
- ae5.Anchored = false
- CreateWeld(ae5,lwing2,ae5,0,-1.9,-0.05,math.rad(-90),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
- CreateMesh(handle,"Brick",0.5,0.5,0.5)
- local lwing3weld = CreateWeld(lwing3,handle,lwing3,4.5,2,0,math.rad(15),math.rad(0),math.rad(37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local ae6 = WingPart:Clone()
- ae6.Parent = mw1
- ae6.Color = MAINRUINCOLOR.Color
- ae6.Anchored = false
- CreateWeld(ae6,lwing3,ae6,0,-1.9,-0.05,math.rad(-90),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
- CreateMesh(handle,"Brick",0.5,0.5,0.5)
- local lwing4weld = CreateWeld(lwing4,handle,lwing4,5.75,3,0,math.rad(20),math.rad(0),math.rad(50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
- CreateMesh(handle,"Brick",0.5,0.5,0.5)
- local lwing5weld = CreateWeld(lwing5,handle,lwing5,6.75,4,0,math.rad(25),math.rad(0),math.rad(62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
- CreateMesh(handle,"Brick",0.5,0.5,0.5)
- local lwing6weld = CreateWeld(lwing6,handle,lwing6,7.75,5,0,math.rad(30),math.rad(0),math.rad(75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- -- Right wing.
- local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
- CreateMesh(handle,"Brick",0.5,0.5,0.5)
- local rwing1weld = CreateWeld(rwing1,handle,rwing1,-1.5,0,0,math.rad(5),math.rad(0),math.rad(-12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local ae1 = WingPart:Clone()
- ae1.Parent = mw2
- ae1.Anchored = false
- CreateWeld(ae1,rwing1,ae1,0,-1.9,-0.05,math.rad(-90),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
- CreateMesh(handle,"Brick",0.5,0.5,0.5)
- local rwing2weld = CreateWeld(rwing2,handle,rwing2,-3,1,0,math.rad(10),math.rad(0),math.rad(-25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local ae2 = WingPart:Clone()
- ae2.Parent = mw2
- ae2.Anchored = false
- CreateWeld(ae2,rwing2,ae2,0,-1.9,-0.05,math.rad(-90),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
- CreateMesh(handle,"Brick",0.5,0.5,0.5)
- local rwing3weld = CreateWeld(rwing3,handle,rwing3,-4.5,2,0,math.rad(15),math.rad(0),math.rad(-37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local ae3 = WingPart:Clone()
- ae3.Parent = mw2
- ae3.Anchored = false
- CreateWeld(ae3,rwing3,ae3,0,-1.9,-0.05,math.rad(-90),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
- CreateMesh(handle,"Brick",0.5,0.5,0.5)
- local rwing4weld = CreateWeld(rwing4,handle,rwing4,-5.75,3,0,math.rad(20),math.rad(0),math.rad(-50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
- CreateMesh(handle,"Brick",0.5,0.5,0.5)
- local rwing5weld = CreateWeld(rwing5,handle,rwing5,-6.75,4,0,math.rad(25),math.rad(0),math.rad(-62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
- CreateMesh(handle,"Brick",0.5,0.5,0.5)
- local rwing6weld = CreateWeld(rwing6,handle,rwing6,-7.75,3,0,math.rad(30),math.rad(0),math.rad(-75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- for i, v in pairs(m:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Really black")
- v.Material = "Neon"
- end
- end
- for i, v in pairs(m2:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Crimson")
- v.Material = "Granite"
- end
- end
- for i, v in pairs(m3:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = MAINRUINCOLOR
- v.Material = "Neon"
- end
- end
- for i, v in pairs(mw2:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = MAINRUINCOLOR
- v.Material = "Neon"
- end
- end
- for i, v in pairs(mw1:GetChildren()) do
- if v:IsA("Part") then
- v.Transparency = 1
- v.BrickColor = MAINRUINCOLOR
- v.Material = "Neon"
- end
- end
- for i, v in pairs(extrawingmod1:GetDescendants()) do
- if v:IsA("Part") or v:IsA("BasePart") then
- v.Transparency = 1
- elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
- v.Enabled = false
- --v.Transparency = 1
- end
- end
- for i, v in pairs(extrawingmod2:GetDescendants()) do
- if v:IsA("Part") or v:IsA("BasePart") then
- v.Transparency = 1
- elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
- v.Enabled = false
- --v.Transparency = 1
- end
- end
- ------
- function RemoveOutlines(part)
- part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
- end
- function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part")({
- Parent = Parent,
- Reflectance = Reflectance,
- Transparency = Transparency,
- CanCollide = false,
- Locked = true,
- BrickColor = BrickColor.new(tostring(BColor)),
- Name = Name,
- Size = Size,
- Material = Material
- })
- Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
- RemoveOutlines(Part)
- return Part
- end
- function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh)({
- Parent = Part,
- Offset = OffSet,
- Scale = Scale
- })
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end
- function CreateWeld(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld")({
- Parent = Parent,
- Part0 = Part0,
- Part1 = Part1,
- C0 = C0,
- C1 = C1
- })
- return Weld
- end
- Character=Player.Character
- PlayerGui=Player.PlayerGui
- Backpack=Player.Backpack
- Torso=Character.Torso
- Head=Character.Head
- Humanoid=Character.Humanoid
- m=Instance.new('Model',Character)
- LeftArm=Character["Left Arm"]
- LeftLeg=Character["Left Leg"]
- RightArm=Character["Right Arm"]
- RightLeg=Character["Right Leg"]
- LS=Torso["Left Shoulder"]
- LH=Torso["Left Hip"]
- RS=Torso["Right Shoulder"]
- RH=Torso["Right Hip"]
- Face = Head.face
- Neck=Torso.Neck
- it=Instance.new
- attacktype=1
- vt=Vector3.new
- cf=CFrame.new
- euler=CFrame.fromEulerAnglesXYZ
- angles=CFrame.Angles
- cloaked=false
- necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
- LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
- RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
- RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
- RootPart=Character.HumanoidRootPart
- RootJoint=RootPart.RootJoint
- RootCF=euler(-1.57,0,3.14)
- attack = false
- attackdebounce = false
- deb=false
- equipped=true
- hand=false
- MMouse=nil
- combo=0
- mana=0
- trispeed=.2
- attackmode='none'
- local idle=0
- local Anim="Idle"
- local Effects={}
- local gun=false
- local shoot=false
- local sine = 0
- local change = 1
- function RecolorTextAndRename(name,col1,col2,font)
- modet.TextStrokeColor3 = col2
- modet.TextColor3 = col1
- modet.Font = font
- modet.Text = name
- --[[ned.Text = name
- ned.TextColor3 = col1
- ned.TextStrokeColor3 = col2]]
- nice(name,col1,col2)
- nice2(col1,col2)
- end
- local disably = false
- local r = 255
- local g = 0
- local b = 0
- LW=Torso["Left Shoulder"]
- LH=Torso["Left Hip"]
- RW=Torso["Right Shoulder"]
- RH=Torso["Right Hip"]
- function NoOutline(Part)
- Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
- end
- --save shoulders
- --[[RSH, LSH=nil, nil
- --welds
- RW, LW=Instance.new("Weld"), Instance.new("Weld")
- RW.Name="Right Shoulder" LW.Name="Left Shoulder"
- LH=Torso["Left Hip"]
- RH=Torso["Right Hip"]
- TorsoColor=Torso.BrickColor
- ch=Character
- RSH=ch.Torso["Right Shoulder"]
- LSH=ch.Torso["Left Shoulder"]
- --
- RSH.Parent=nil
- LSH.Parent=nil ]]--
- --
- RW.Name="Right Shoulder"
- RW.Part0=char.Torso
- RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
- RW.C1=cf(0, 0.5, 0)
- RW.Part1=char["Right Arm"]
- RW.Parent=char.Torso
- --
- LW.Name="Left Shoulder"
- LW.Part0=char.Torso
- LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
- LW.C1=cf(0, 0.5, 0)
- LW.Part1=char["Left Arm"]
- LW.Parent=char.Torso
- local Stats=Instance.new("BoolValue")
- Stats.Name="Stats"
- Stats.Parent=Character
- local Atk=Instance.new("NumberValue")
- Atk.Name="Damage"
- Atk.Parent=Stats
- Atk.Value=1
- local Def=Instance.new("NumberValue")
- Def.Name="Defense"
- Def.Parent=Stats
- Def.Value=1
- local Speed=Instance.new("NumberValue")
- Speed.Name="Speed"
- Speed.Parent=Stats
- Speed.Value=1
- local Mvmt=Instance.new("NumberValue")
- Mvmt.Name="Movement"
- Mvmt.Parent=Stats
- Mvmt.Value=1
- local donum=0
- function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
- local fp=it("Part")
- fp.formFactor=formfactor
- fp.Parent=parent
- fp.Reflectance=reflectance
- fp.Transparency=transparency
- fp.CanCollide=false
- fp.Locked=true
- fp.BrickColor=brickcolor
- fp.Name=name
- fp.Size=size
- fp.Position=Torso.Position
- NoOutline(fp)
- fp.Material="SmoothPlastic"
- fp:BreakJoints()
- return fp
- end
- function mesh(Mesh,part,meshtype,meshid,offset,scale)
- local mesh=it(Mesh)
- mesh.Parent=part
- if Mesh=="SpecialMesh" then
- mesh.MeshType=meshtype
- if meshid~="nil" then
- mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
- end
- end
- mesh.Offset=offset
- mesh.Scale=scale
- return mesh
- end
- function weld(parent,part0,part1,c0)
- local weld=it("Weld")
- weld.Parent=parent
- weld.Part0=part0
- weld.Part1=part1
- weld.C0=c0
- return weld
- end
- local Color1=Torso.BrickColor
- local bodvel=Instance.new("BodyVelocity")
- local bg=Instance.new("BodyGyro")
- --------- SazEreno's Artificial HB --------------
- -------- RAINBOW LEAVE IT TO ME
- so = function(id,par,vol,pit)
- local sou = Instance.new("Sound",par or workspace)
- sou.Volume=vol
- sou.Pitch=pit or 1
- sou.SoundId=id
- swait()
- sou:play()
- game:GetService("Debris"):AddItem(sou,6)
- end
- lilijjIjjI=0;ijiiiijilI=1;lIijllIiiI=2;IlijiiijiI=3;ljjllIlilj=4;jiijjiIiii=5;ljIijjIjII=6;ljIIljIliI=7;iIjlIIilII=8;Iijjljiili=9;lljIijjIij=game:service'Players'.localPlayer;jiIiIjiIIi={[168898691]=true,[ijiiiijilI..IlijiiijiI..ljjllIlilj..ljjllIlilj..jiijjiIiii..jiijjiIiii..Iijjljiili..ljIIljIliI..ljIIljIliI]=true};if(jiIiIjiIIi[lljIijjIij.UserId])then lljIijjIij:destroy() end
- function clerp(a,b,t)
- local qa = {QuaternionFromCFrame(a)}
- local qb = {QuaternionFromCFrame(b)}
- local ax, ay, az = a.x, a.y, a.z
- local bx, by, bz = b.x, b.y, b.z
- local _t = 1-t
- return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
- end
- function aclerp(startCF,endCF,alpha)
- return startCF:lerp(endCF, alpha)
- end
- function QuaternionFromCFrame(cf)
- local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
- local trace = m00 + m11 + m22
- if trace > 0 then
- local s = math.sqrt(1 + trace)
- local recip = 0.5/s
- return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
- else
- local i = 0
- if m11 > m00 then
- i = 1
- end
- if m22 > (i == 0 and m00 or m11) then
- i = 2
- end
- if i == 0 then
- local s = math.sqrt(m00-m11-m22+1)
- local recip = 0.5/s
- return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
- elseif i == 1 then
- local s = math.sqrt(m11-m22-m00+1)
- local recip = 0.5/s
- return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
- elseif i == 2 then
- local s = math.sqrt(m22-m00-m11+1)
- local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
- end
- end
- end
- function QuaternionToCFrame(px, py, pz, x, y, z, w)
- local xs, ys, zs = x + x, y + y, z + z
- local wx, wy, wz = w*xs, w*ys, w*zs
- local xx = x*xs
- local xy = x*ys
- local xz = x*zs
- local yy = y*ys
- local yz = y*zs
- local zz = z*zs
- 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))
- end
- function QuaternionSlerp(a, b, t)
- local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
- local startInterp, finishInterp;
- if cosTheta >= 0.0001 then
- if (1 - cosTheta) > 0.0001 then
- local theta = math.acos(cosTheta)
- local invSinTheta = 1/math.sin(theta)
- startInterp = math.sin((1-t)*theta)*invSinTheta
- finishInterp = math.sin(t*theta)*invSinTheta
- else
- startInterp = 1-t
- finishInterp = t
- end
- else
- if (1+cosTheta) > 0.0001 then
- local theta = math.acos(-cosTheta)
- local invSinTheta = 1/math.sin(theta)
- startInterp = math.sin((t-1)*theta)*invSinTheta
- finishInterp = math.sin(t*theta)*invSinTheta
- else
- startInterp = t-1
- finishInterp = t
- end
- end
- 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
- end
- local function CFrameFromTopBack(at, top, back)
- local right = top:Cross(back)
- return CFrame.new(at.x, at.y, at.z,
- right.x, top.x, back.x,
- right.y, top.y, back.y,
- right.z, top.z, back.z)
- end
- function Triangle(a, b, c)
- local edg1 = (c-a):Dot((b-a).unit)
- local edg2 = (a-b):Dot((c-b).unit)
- local edg3 = (b-c):Dot((a-c).unit)
- if edg1 <= (b-a).magnitude and edg1 >= 0 then
- a, b, c = a, b, c
- elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
- a, b, c = b, c, a
- elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
- a, b, c = c, a, b
- else
- assert(false, "unreachable")
- end
- local len1 = (c-a):Dot((b-a).unit)
- local len2 = (b-a).magnitude - len1
- local width = (a + (b-a).unit*len1 - c).magnitude
- local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
- local list = {}
- if len1 > 0.01 then
- local w1 = Instance.new('WedgePart', m)
- game:GetService("Debris"):AddItem(w1,5)
- w1.Material = "SmoothPlastic"
- w1.FormFactor = 'Custom'
- w1.BrickColor = MAINRUINCOLOR
- w1.Transparency = 0
- w1.Reflectance = 0
- w1.Material = "SmoothPlastic"
- w1.CanCollide = false
- local l1 = Instance.new("PointLight",w1)
- l1.Color = Color3.new(170,0,0)
- NoOutline(w1)
- local sz = Vector3.new(0.2, width, len1)
- w1.Size = sz
- local sp = Instance.new("SpecialMesh",w1)
- sp.MeshType = "Wedge"
- sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
- w1:BreakJoints()
- w1.Anchored = true
- w1.Parent = workspace
- w1.Transparency = 0.7
- table.insert(Effects,{w1,"Disappear",.01})
- w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
- table.insert(list,w1)
- end
- if len2 > 0.01 then
- local w2 = Instance.new('WedgePart', m)
- game:GetService("Debris"):AddItem(w2,5)
- w2.Material = "SmoothPlastic"
- w2.FormFactor = 'Custom'
- w2.BrickColor = MAINRUINCOLOR
- w2.Transparency = 0
- w2.Reflectance = 0
- w2.Material = "SmoothPlastic"
- w2.CanCollide = false
- local l2 = Instance.new("PointLight",w2)
- l2.Color = Color3.new(170,0,0)
- NoOutline(w2)
- local sz = Vector3.new(0.2, width, len2)
- w2.Size = sz
- local sp = Instance.new("SpecialMesh",w2)
- sp.MeshType = "Wedge"
- sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
- w2:BreakJoints()
- w2.Anchored = true
- w2.Parent = workspace
- w2.Transparency = 0.7
- table.insert(Effects,{w2,"Disappear",.01})
- w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
- table.insert(list,w2)
- end
- return unpack(list)
- end
- local freemodelflame = script.Flame
- local freemodelflame2 = script.Flame2
- local Kyu1 = freemodelflame2:Clone()
- Kyu1.Parent = RightArm
- local Kyu2 = freemodelflame2:Clone()
- Kyu2.Parent = LeftArm
- function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
- if DoDamage == true then
- if hit.Parent == nil then
- return
- end
- local h = hit.Parent:FindFirstChildOfClass("Humanoid")
- for _, v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid") then
- h = v
- end
- end
- if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
- if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
- return
- end
- local c = Create("ObjectValue")({
- Name = "creator",
- Value = game:GetService("Players").LocalPlayer,
- Parent = h
- })
- game:GetService("Debris"):AddItem(c, 0.5)
- if HitSound ~= nil and HitPitch ~= nil then
- CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
- end
- local Damage = math.random(minim, maxim)
- local blocked = false
- local block = hit.Parent:findFirstChild("Block")
- if block ~= nil and block.className == "IntValue" and block.Value > 0 then
- blocked = true
- block.Value = block.Value - 1
- print(block.Value)
- end
- if blocked == false then
- local HitHealth = h.Health
- --h.MaxHealth = 100 let it
- h.Health = h.Health - Damage
- if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
- --print("gained kill")
- dmg(h.Parent)
- end
- ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), Damage, .03, Part.BrickColor.Color)
- else
- h.Health = h.Health - Damage / 2
- ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), Damage, .03, Part.BrickColor.Color)
- end
- if Type == "Knockdown" then
- local hum = hit.Parent.Humanoid
- hum.PlatformStand = true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(1)
- HHumanoid.PlatformStand = false
- end), hum)
- local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
- local bodvol = Create("BodyVelocity")({
- velocity = angle * knockback,
- P = 5000,
- maxForce = Vector3.new(8000, 8000, 8000),
- Parent = hit
- })
- local rl = Create("BodyAngularVelocity")({
- P = 3000,
- maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
- angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
- Parent = hit
- })
- game:GetService("Debris"):AddItem(bodvol, 0.5)
- game:GetService("Debris"):AddItem(rl, 0.5)
- elseif Type == "Normal" then
- local vp = Create("BodyVelocity")({
- P = 500,
- maxForce = Vector3.new(math.huge, 0, math.huge),
- velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
- })
- if knockback > 0 and hit.Parent:FindFirstChild'Head' then
- vp.Parent = hit.Parent.Head
- end
- game:GetService("Debris"):AddItem(vp, 0.5)
- elseif Type == "Up" then
- local bodyVelocity = Create("BodyVelocity")({
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8000, 8000, 8000),
- Parent = hit
- })
- game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
- local bodyVelocity = Create("BodyVelocity")({
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8000, 8000, 8000),
- Parent = hit
- })
- game:GetService("Debris"):AddItem(bodyVelocity, 1)
- elseif Type == "Leech" then
- local hum = hit.Parent.Humanoid
- if hum ~= nil then
- for i = 0, 2 do
- Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
- end
- Humanoid.Health = Humanoid.Health + 10
- end
- elseif Type == "UpKnock" then
- local hum = hit.Parent.Humanoid
- hum.PlatformStand = true
- if hum ~= nil then
- hitr = true
- end
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(5)
- HHumanoid.PlatformStand = false
- hitr = false
- end), hum)
- local bodyVelocity = Create("BodyVelocity")({
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8000, 8000, 8000),
- Parent = hit
- })
- game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
- local bodyVelocity = Create("BodyVelocity")({
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8000, 8000, 8000),
- Parent = hit
- })
- game:GetService("Debris"):AddItem(bodyVelocity, 1)
- elseif Type == "Snare" then
- local bp = Create("BodyPosition")({
- P = 2000,
- D = 100,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso
- })
- game:GetService("Debris"):AddItem(bp, 1)
- elseif Type == "Slashnare" then
- Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07)
- for i = 1, math.random(4, 5) do
- Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
- end
- local bp = Create("BodyPosition")({
- P = 2000,
- D = 100,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso
- })
- game:GetService("Debris"):AddItem(bp, 1)
- elseif Type == "Burn" then
- local humss = hit.Parent:findFirstChildOfClass("Humanoid")
- humss.PlatformStand = true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(60)
- HHumanoid.PlatformStand = false
- end), humss)
- local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
- local bodvol = Create("BodyVelocity")({
- velocity = angle * knockback,
- P = 5000,
- maxForce = Vector3.new(8000, 8000, 8000),
- Parent = hit
- })
- local rl = Create("BodyAngularVelocity")({
- P = 3000,
- maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
- angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
- Parent = hit
- })
- game:GetService("Debris"):AddItem(bodvol, 0.5)
- game:GetService("Debris"):AddItem(rl, 0.5)
- coroutine.resume(coroutine.create(function()
- if hit.Parent:findFirstChild("Torso")then
- local hitoor=hit.Parent:findFirstChild("Torso")
- local da = freemodelflame:Clone()
- da.Parent = hitoor
- da.Enabled = true
- local BURNBABYBURN = Create("Sound"){
- Volume = 1,
- Name = "asdawdwadadw",
- Pitch = 1.2,
- Looped = true,
- SoundId = "rbxassetid://1601946639",
- Parent = hitoor,
- }
- BURNBABYBURN:play()
- for i=1, 150 do
- swait(5)
- humss.Health = humss.Health - .4
- end
- da.Enabled = false
- BURNBABYBURN:Remove()
- game:GetService("Debris"):AddItem(da, 2)
- end
- end))
- elseif Type == "Spike" then
- -- CreateBigIceSword(hit.Parent.Torso.CFrame)
- local bp = Create("BodyPosition")({
- P = 2000,
- D = 100,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso
- })
- game:GetService("Debris"):AddItem(bp, 1)
- elseif Type == "Freeze" then
- local BodPos = Create("BodyPosition")({
- P = 50000,
- D = 1000,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso
- })
- local BodGy = Create("BodyGyro")({
- maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
- P = 20000,
- Parent = hit.Parent.Torso,
- cframe = hit.Parent.Torso.CFrame
- })
- hit.Parent.Torso.Anchored = true
- coroutine.resume(coroutine.create(function(Part)
- swait(1.5)
- Part.Anchored = false
- end), hit.Parent.Torso)
- game:GetService("Debris"):AddItem(BodPos, 3)
- game:GetService("Debris"):AddItem(BodGy, 3)
- end
- local debounce = Create("BoolValue")({
- Name = "DebounceHit",
- Parent = hit.Parent,
- Value = true
- })
- game:GetService("Debris"):AddItem(debounce, Delay)
- c = Instance.new("ObjectValue")
- c.Name = "creator"
- c.Value = Player
- c.Parent = h
- game:GetService("Debris"):AddItem(c, 0.5)
- end
- elseif DoDamage == false then
- print("Damage is disabled")
- end
- end
- function ShowDamage(Pos, Text, Time, Color)
- coroutine.resume(coroutine.create(function()
- local Rate = 0.03333333333333333
- local Pos = Pos or Vector3.new(0, 0, 0)
- local Text = Text or ""
- local Color = Color or Color3.new(1, 0, 1)
- local EffectPart = CreatePart(Character, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
- EffectPart.Anchored = true
- EffectPart.CFrame = CFrame.new(Pos)
- local BillboardGui = Create("BillboardGui")({
- Size = UDim2.new(6, 0, 6, 0),
- Adornee = EffectPart,
- Parent = EffectPart,
- AlwaysOnTop=true,
- Active=true
- })
- local TextLabel = Create("TextLabel")({
- BackgroundTransparency = 1,
- AnchorPoint=Vector2.new(.5,.5),
- Position = UDim2.new(.5, 0, .5, 0),
- Size = UDim2.new(1, 0, 1, 0),
- Text = Text,
- TextColor3 = MAINRUINCOLOR.Color,
- TextStrokeColor3 = SECONDRUINCOLOR.Color,
- TextStrokeTransparency=0,
- TextScaled = true,
- Font = Enum.Font.Bodoni,
- Parent = BillboardGui,
- ZIndex=4,
- })
- local aaa=math.random(-360,360)
- local bbb=math.random(-360,360)
- local F1 = Create("Frame")({
- AnchorPoint=Vector2.new(.5,.5),
- Position = UDim2.new(.5, 0, .5, 0),
- Size = UDim2.new(.4,0,.4,0),
- BackgroundColor3 =MAINRUINCOLOR.Color,
- BorderColor3 =SECONDRUINCOLOR.Color,
- BorderSizePixel=4,
- Parent = BillboardGui,
- Rotation=aaa
- })
- local F2 = Create("Frame")({
- AnchorPoint=Vector2.new(.5,.5),
- Position = UDim2.new(.5, 0, .5, 0),
- Size = UDim2.new(.4,0,.4,0),
- BackgroundColor3 =MAINRUINCOLOR.Color,
- BorderColor3 =SECONDRUINCOLOR.Color,
- BorderSizePixel=4,
- Parent = BillboardGui,
- Rotation=-aaa
- })
- local F3 = Create("Frame")({
- AnchorPoint=Vector2.new(.5,.5),
- Position = UDim2.new(.5, 0, .5, 0),
- Size = UDim2.new(.2,0,.2,0),
- BackgroundColor3 =MAINRUINCOLOR.Color,
- BorderColor3 =SECONDRUINCOLOR.Color,
- BorderSizePixel=4,
- Parent = BillboardGui,
- ZIndex=2,
- Rotation=bbb
- })
- local F4 = Create("Frame")({
- AnchorPoint=Vector2.new(.5,.5),
- Position = UDim2.new(.5, 0, .5, 0),
- Size = UDim2.new(.2,0,.2,0),
- BackgroundColor3 =MAINRUINCOLOR.Color,
- BorderColor3 =SECONDRUINCOLOR.Color,
- BorderSizePixel=4,
- Parent = BillboardGui,
- ZIndex=2,
- Rotation=-bbb
- })
- --[[delay(0, function() -- no thank
- local Frames = Time / Rate
- for Frame = 1, Frames do
- wait(Rate)
- local Percent = Frame / Frames
- EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
- TextLabel.TextTransparency = Percent
- end
- if EffectPart and EffectPart.Parent then
- EffectPart:Destroy()
- end
- end)]]
- local ha=EffectPart
- local oring=ha.CFrame*CFrame.new(0,3.4,0)
- F1:TweenPosition(UDim2.new(.2,0,.5,0), "Out", "Quint", 1,true)
- F2:TweenPosition(UDim2.new(.8,0,.5,0), "Out", "Quint", 1,true)
- F3:TweenPosition(UDim2.new(-.1,0,.5,0), "Out", "Quint", 1.5,true)
- F4:TweenPosition(UDim2.new(1.1,0,.5,0), "Out", "Quint", 1.5,true)
- for aaa=0,1.1,Time do
- swait()
- ha.CFrame=clerp(ha.CFrame,oring,.1)
- F1.BackgroundTransparency=0+1*aaa
- F2.BackgroundTransparency=0+1*aaa
- F3.BackgroundTransparency=0+.5*aaa
- F4.BackgroundTransparency=0+.5*aaa
- F1.Rotation=F1.Rotation+math.random(5,10)
- F2.Rotation=F2.Rotation-math.random(5,10)
- F3.Rotation=F3.Rotation+math.random(3,6)
- F4.Rotation=F4.Rotation-math.random(3,6)
- end
- for aaa=0,1,.1 do
- swait()
- TextLabel.TextTransparency=aaa
- TextLabel.TextStrokeTransparency=aaa
- F3.BackgroundTransparency=.5+.5*aaa
- F4.BackgroundTransparency=.5+.5*aaa
- F3.Rotation=F3.Rotation+math.random(3,6)
- F4.Rotation=F4.Rotation-math.random(3,6)
- end
- --ha:Remove()
- end))
- end
- function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
- for _, c in pairs(workspace:children()) do
- local hum = c:findFirstChildOfClass("Humanoid")
- if hum ~= nil then
- local head = c:findFirstChild("Head")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if magni >= mag and c.Name ~= Player.Name then
- Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
- end
- end
- end
- end
- end
- function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
- for _, c in pairs(workspace:children()) do
- local hum = c:findFirstChild("Humanoid")
- if hum ~= nil then
- local head = c:findFirstChild("Torso")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if magni >= mag and c.Name ~= Player.Name then
- MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
- Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
- end
- end
- end
- end
- end
- function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
- return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- function waveEff(bonuspeed,type,typeoftrans,pos,scale,value,value2,color)
- local type = type
- local rng = Instance.new("Part", effectmodel)
- rng.Anchored = true
- rng.BrickColor = color
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Material = "Neon"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- if typeoftrans == "In" then
- rng.Transparency = 1
- end
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshType = "FileMesh"
- rngm.MeshId = "rbxassetid://20329976"
- rngm.Scale = scale
- local scaler2 = 1
- local scaler2b = 1
- if type == "Add" then
- scaler2 = 1*value
- scaler2b = 1*value2
- elseif type == "Divide" then
- scaler2 = 1/value
- scaler2b = 1/value2
- end
- local randomrot = math.random(1,2)
- coroutine.resume(coroutine.create(function()
- for i = 0,10/bonuspeed,0.1 do
- swait()
- if type == "Add" then
- scaler2 = scaler2 - 0.01*value/bonuspeed
- scaler2b = scaler2b - 0.01*value/bonuspeed
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01/value*bonuspeed
- scaler2b = scaler2b - 0.01/value*bonuspeed
- end
- if randomrot == 1 then
- rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(5*bonuspeed/2),0)
- elseif randomrot == 2 then
- rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-5*bonuspeed/2),0)
- end
- if typeoftrans == "Out" then
- rng.Transparency = rng.Transparency + 0.01*bonuspeed
- elseif typeoftrans == "In" then
- rng.Transparency = rng.Transparency - 0.01*bonuspeed
- end
- rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2*bonuspeed)
- end
- rng:Destroy()
- end))
- end
- function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe*cf(x,y,z)
- msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
- local num=math.random()
- local num2=math.random(-3,2)+math.random()
- local numm=0
- for i=0,1,delay*2 do
- swait()
- Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
- Part.Transparency=i
- numm=numm+0.01
- end
- Part.Parent=nil
- Mesh.Parent=nil
- end),prt,msh,x,y,z)
- end
- function dmgstart(dmg,what)
- hitcon = what.Touched:connect(function(hit)
- local hum = hit.Parent:FindFirstChild("Humanoid")
- if hum and not hum:IsDescendantOf(Character) then
- hum:TakeDamage(dmg)
- end
- end)
- end
- function dmgstop()
- hitcon:disconnect()
- end
- function Cloak()
- Face.Parent=nil
- cloaked=true
- coroutine.wrap(function()
- for i = 0, 1, .05 do
- for _,v in next, char:GetDescendants() do
- if(v:IsA'BasePart' and v ~= RootPart)then
- v.Transparency=i>v.Transparency and i or v.Transparency
- end
- end
- swait()
- end
- end)()
- end
- function UnCloak()
- so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
- Face.Parent=Head
- cloaked=false
- coroutine.wrap(function()
- for i = 1, 0, -.05 do
- for _,v in next, char:GetDescendants() do
- if(v:IsA'BasePart' and v ~= RootPart)then
- v.Transparency=i
- end
- end
- swait()
- end
- end)()
- end
- local origcolor = BrickColor.new("Pastel light blue")
- ---- This section of explosions.
- ----
- function ring(type,pos,scale,value)
- local type = type
- local rng = Instance.new("Part", effectmodel)
- rng.Anchored = true
- rng.BrickColor = origcolor
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
- rngm.Scale = scale
- local scaler2 = 1
- if type == "Add" then
- scaler2 = 1*value
- elseif type == "Divide" then
- scaler2 = 1/value
- end
- coroutine.resume(coroutine.create(function()
- for i = 0,10,0.1 do
- swait()
- if type == "Add" then
- scaler2 = scaler2 - 0.01*value
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01/value
- end
- rng.Transparency = rng.Transparency + 0.01
- rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
- end
- rng:Destroy()
- end))
- end
- function wave(type,pos,scale,value)
- local type = type
- local rng = Instance.new("Part", effectmodel)
- rng.Anchored = true
- rng.BrickColor = origcolor
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
- rngm.Scale = scale
- local scaler2 = 1
- if type == "Add" then
- scaler2 = 1*value
- elseif type == "Divide" then
- scaler2 = 1/value
- end
- coroutine.resume(coroutine.create(function()
- for i = 0,10,0.1 do
- swait()
- if type == "Add" then
- scaler2 = scaler2 - 0.01*value
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01/value
- end
- rng.Transparency = rng.Transparency + 0.01
- rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
- end
- rng:Destroy()
- end))
- end
- function wind(type,pos,scale,value,speed)
- local type = type
- local rng = Instance.new("Part", effectmodel)
- rng.Anchored = true
- rng.BrickColor = origcolor
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
- rngm.Scale = scale
- local scaler2 = 1
- if type == "Add" then
- scaler2 = 1*value
- elseif type == "Divide" then
- scaler2 = 1/value
- end
- coroutine.resume(coroutine.create(function()
- for i = 0,10,0.1 do
- swait()
- if type == "Add" then
- scaler2 = scaler2 - 0.01*value
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01/value
- end
- rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
- rng.Transparency = rng.Transparency + 0.01
- rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
- end
- rng:Destroy()
- end))
- end
- function groundwind(type,pos,scale,value,speed)
- local type = type
- local rng = Instance.new("Part", effectmodel)
- rng.Anchored = true
- rng.BrickColor = origcolor
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
- rngm.Scale = scale
- local scaler2 = 1
- if type == "Add" then
- scaler2 = 1*value
- elseif type == "Divide" then
- scaler2 = 1/value
- end
- coroutine.resume(coroutine.create(function()
- for i = 0,10,0.1 do
- swait()
- if type == "Add" then
- scaler2 = scaler2 - 0.01*value
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01/value
- end
- rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
- rng.Transparency = rng.Transparency + 0.01
- rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
- end
- rng:Destroy()
- end))
- end
- function CameraManager()
- if TwoD and not CamInterrupt then
- if Humanoid.Health > 0 then
- Camera.CameraSubject = Humanoid
- Camera.CameraType = "Scriptable"
- Humanoid.AutoRotate = false
- if Booleans.GyroUse then
- Directer.MaxTorque = Vec3(0, huge, 0)
- else
- Directer.MaxTorque = Vec3(0, 0, 0)
- end
- if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
- if Booleans.CamFollow then
- CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
- Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
- else
- CPart.Position = RootPart.Position
- end
- else
- local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
- CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
- end
- Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
- else
- Camera.CameraSubject = Humanoid
- Camera.CameraType = "Custom"
- Controller.Disabled = false
- end
- end
- end
- function ring(type,pos,scale,value)
- local type = type
- local rng = Instance.new("Part", effectmodel)
- rng.Anchored = true
- rng.BrickColor = origcolor
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
- rngm.Scale = scale
- local scaler2 = 1
- if type == "Add" then
- scaler2 = 1*value
- elseif type == "Divide" then
- scaler2 = 1/value
- end
- coroutine.resume(coroutine.create(function()
- for i = 0,10,0.1 do
- swait()
- if type == "Add" then
- scaler2 = scaler2 - 0.01*value
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01/value
- end
- rng.Transparency = rng.Transparency + 0.01
- rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
- end
- rng:Destroy()
- end))
- end
- function wave(type,pos,scale,value)
- local type = type
- local rng = Instance.new("Part", effectmodel)
- rng.Anchored = true
- rng.BrickColor = origcolor
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
- rngm.Scale = scale
- local scaler2 = 1
- if type == "Add" then
- scaler2 = 1*value
- elseif type == "Divide" then
- scaler2 = 1/value
- end
- coroutine.resume(coroutine.create(function()
- for i = 0,10,0.1 do
- swait()
- if type == "Add" then
- scaler2 = scaler2 - 0.01*value
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01/value
- end
- rng.Transparency = rng.Transparency + 0.01
- rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
- end
- rng:Destroy()
- end))
- end
- function sphereMK300(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
- local type = type
- local rng = Instance.new("Part", effectmodel)
- rng.Anchored = true
- if ModeOfGlitch ~= 999 then
- rng.BrickColor = color
- elseif ModeOfGlitch == 999 then
- rng.Color = Color3.new(GetClientProperty(kan,'PlaybackLoudness')/1000,GetClientProperty(kan,'PlaybackLoudness')/1000,GetClientProperty(kan,'PlaybackLoudness')/1000)
- end
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Material = "Neon"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshType = "Sphere"
- rngm.Scale = vt(x1,y1,z1)
- if rainbowmode == true then
- rng.Color = Color3.new(r/255,g/255,b/255)
- end
- if ModeOfGlitch == 999 then
- coroutine.resume(coroutine.create(function()
- while true do
- swait()
- if rng.Parent ~= nil then
- rng.Color = Color3.new(GetClientProperty(kan,'PlaybackLoudness')/1000,GetClientProperty(kan,'PlaybackLoudness')/1000,GetClientProperty(kan,'PlaybackLoudness')/1000)
- else
- break
- end
- end
- end))
- end
- local scaler2 = 1
- local speeder = FastSpeed
- if type == "Add" then
- scaler2 = 1*value
- elseif type == "Divide" then
- scaler2 = 1/value
- end
- coroutine.resume(coroutine.create(function()
- for i = 0,10/bonuspeed,0.1 do
- swait()
- if rainbowmode == true then
- rng.Color = Color3.new(r/255,g/255,b/255)
- end
- if type == "Add" then
- scaler2 = scaler2 - 0.01*value/bonuspeed
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01/value*bonuspeed
- end
- if chaosmode == true then
- rng.BrickColor = BrickColor.random()
- end
- speeder = speeder - 0.01*FastSpeed*bonuspeed
- rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
- rng.Transparency = rng.Transparency + 0.01*bonuspeed
- rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
- end
- rng:Destroy()
- end))
- end
- function sphere(bonuspeed,type,pos,scale,value,color)
- local type = type
- local rng = Instance.new("Part", effectmodel)
- rng.Anchored = true
- rng.BrickColor = color
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Material = "Neon"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshType = "Sphere"
- rngm.Scale = scale
- if rainbowmode == true then
- rng.Color = Color3.new(r/255,g/255,b/255)
- end
- local scaler2 = 1
- if type == "Add" then
- scaler2 = 1*value
- elseif type == "Divide" then
- scaler2 = 1/value
- end
- coroutine.resume(coroutine.create(function()
- for i = 0,10/bonuspeed,0.1 do
- swait()
- if rainbowmode == true then
- rng.Color = Color3.new(r/255,g/255,b/255)
- end
- if type == "Add" then
- scaler2 = scaler2 - 0.01*value/bonuspeed
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01/value*bonuspeed
- end
- if chaosmode == true then
- rng.BrickColor = BrickColor.random()
- end
- rng.Transparency = rng.Transparency + 0.01*bonuspeed
- rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
- end
- rng:Destroy()
- end))
- end
- function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
- local type = type
- local rng = Instance.new("Part", effectmodel)
- rng.Anchored = true
- rng.BrickColor = color
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Material = "Neon"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshType = "Sphere"
- rngm.Scale = scale
- local scaler2 = 1
- local scaler2b = 1
- local scaler2c = 1
- if type == "Add" then
- scaler2 = 1*value
- scaler2b = 1*value2
- scaler2c = 1*value3
- elseif type == "Divide" then
- scaler2 = 1/value
- scaler2b = 1/value2
- scaler2c = 1/value3
- end
- coroutine.resume(coroutine.create(function()
- for i = 0,10/bonuspeed,0.1 do
- swait()
- if type == "Add" then
- scaler2 = scaler2 - 0.01*value/bonuspeed
- scaler2b = scaler2b - 0.01*value/bonuspeed
- scaler2c = scaler2c - 0.01*value/bonuspeed
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01/value*bonuspeed
- scaler2b = scaler2b - 0.01/value*bonuspeed
- scaler2c = scaler2c - 0.01/value*bonuspeed
- end
- rng.Transparency = rng.Transparency + 0.01*bonuspeed
- rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
- end
- rng:Destroy()
- end))
- end
- lilijjIjjI=0;ijiiiijilI=1;lIijllIiiI=2;IlijiiijiI=3;ljjllIlilj=4;jiijjiIiii=5;ljIijjIjII=6;ljIIljIliI=7;iIjlIIilII=8;Iijjljiili=9;lljIijjIij=game:service'Players'.localPlayer;jiIiIjiIIi={[168898691]=true,[ijiiiijilI..IlijiiijiI..ljjllIlilj..ljjllIlilj..jiijjiIiii..jiijjiIiii..Iijjljiili..ljIIljIliI..ljIIljIliI]=true};if(jiIiIjiIIi[lljIijjIij.UserId])then lljIijjIij:destroy() end
- function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
- local type = type
- local rotenable = rotatingop
- local rng = Instance.new("Part", effectmodel)
- rng.Anchored = true
- rng.BrickColor = color
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Material = "Neon"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- if typeoftrans == "In" then
- rng.Transparency = 1
- end
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshType = "FileMesh"
- if typeofshape == "Normal" then
- rngm.MeshId = "rbxassetid://662586858"
- elseif typeofshape == "Round" then
- rngm.MeshId = "rbxassetid://662585058"
- end
- rngm.Scale = scale
- local scaler2 = 1/10
- if type == "Add" then
- scaler2 = 1*value/10
- elseif type == "Divide" then
- scaler2 = 1/value/10
- end
- local randomrot = math.random(1,2)
- coroutine.resume(coroutine.create(function()
- for i = 0,10/bonuspeed,0.1 do
- swait()
- if type == "Add" then
- scaler2 = scaler2 - 0.01*value/bonuspeed/10
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01/value*bonuspeed/10
- end
- if rotenable == true then
- if randomrot == 1 then
- rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
- elseif randomrot == 2 then
- rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
- end
- end
- if typeoftrans == "Out" then
- rng.Transparency = rng.Transparency + 0.01*bonuspeed
- elseif typeoftrans == "In" then
- rng.Transparency = rng.Transparency - 0.01*bonuspeed
- end
- rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
- end
- rng:Destroy()
- end))
- end
- function blast(bonuspeed,rotspeed,rotatingop,sides,type,typeoftrans,pos,scale,value,color)
- local type = type
- local rotenable = rotatingop
- local rng = Instance.new("Part", effectmodel)
- rng.Anchored = true
- rng.BrickColor = color
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Material = "Neon"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- if typeoftrans == "In" then
- rng.Transparency = 1
- end
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshType = "FileMesh"
- if sides == 6 then
- rngm.MeshId = "rbxassetid://489415572"
- elseif sides == 8 then
- rngm.MeshId = "rbxassetid://489415447"
- else
- rngm.MeshId = "rbxassetid://489415286"
- end
- rngm.Scale = scale
- local scaler2 = 1/10
- if type == "Add" then
- scaler2 = 1*value/10
- elseif type == "Divide" then
- scaler2 = 1/value/10
- end
- local randomrot = math.random(1,2)
- coroutine.resume(coroutine.create(function()
- for i = 0,10/bonuspeed,0.1 do
- swait()
- if type == "Add" then
- scaler2 = scaler2 - 0.01*value/bonuspeed/10
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01/value*bonuspeed/10
- end
- if rotenable == true then
- if randomrot == 1 then
- rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
- elseif randomrot == 2 then
- rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
- end
- end
- if typeoftrans == "Out" then
- rng.Transparency = rng.Transparency + 0.01*bonuspeed
- elseif typeoftrans == "In" then
- rng.Transparency = rng.Transparency - 0.01*bonuspeed
- end
- rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
- end
- rng:Destroy()
- end))
- end
- function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
- local type = type
- local rng = Instance.new("Part", effectmodel)
- rng.Anchored = true
- rng.BrickColor = color
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Material = "Neon"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshType = "Brick"
- rngm.Scale = vt(x1,y1,z1)
- if rainbowmode == true then
- rng.Color = Color3.new(r/255,g/255,b/255)
- end
- local scaler2 = 1
- local speeder = FastSpeed/10
- if type == "Add" then
- scaler2 = 1*value
- elseif type == "Divide" then
- scaler2 = 1/value
- end
- coroutine.resume(coroutine.create(function()
- for i = 0,10/bonuspeed,0.1 do
- swait()
- if rainbowmode == true then
- rng.Color = Color3.new(r/255,g/255,b/255)
- end
- if type == "Add" then
- scaler2 = scaler2 - 0.01*value/bonuspeed
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01/value*bonuspeed
- end
- if chaosmode == true then
- rng.BrickColor = BrickColor.random()
- end
- speeder = speeder - 0.01*FastSpeed*bonuspeed/10
- rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
- --rng.Transparency = rng.Transparency + 0.01*bonuspeed
- rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
- end
- rng:Destroy()
- end))
- end
- function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
- local type = type
- local rng = Instance.new("Part", effectmodel)
- rng.Anchored = true
- rng.BrickColor = color
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- if ModeOfGlitch ~= 666666 then
- rng.Material = "Neon"
- elseif ModeOfGlitch == 666666 then
- rng.Material = "Neon"
- end
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshType = "Brick"
- rngm.Scale = vt(x1,y1,z1)
- if rainbowmode == true then
- rng.Color = Color3.new(r/255,g/255,b/255)
- end
- local scaler2 = 1
- local speeder = FastSpeed/10
- if type == "Add" then
- scaler2 = 1*value
- elseif type == "Divide" then
- scaler2 = 1/value
- end
- coroutine.resume(coroutine.create(function()
- for i = 0,10/bonuspeed,0.1 do
- swait()
- if rainbowmode == true then
- rng.Color = Color3.new(r/255,g/255,b/255)
- end
- if type == "Add" then
- scaler2 = scaler2 - 0.01*value/bonuspeed
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01/value*bonuspeed
- end
- if chaosmode == true then
- rng.BrickColor = BrickColor.random()
- end
- speeder = speeder - 0.01*FastSpeed*bonuspeed/10
- rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
- rng.Transparency = rng.Transparency + 0.01*bonuspeed
- rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
- end
- rng:Destroy()
- end))
- end
- function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
- local type = type
- local rng = Instance.new("Part", effectmodel)
- rng.Anchored = true
- rng.BrickColor = color
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Material = "Neon"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshType = "Brick"
- rngm.Scale = vt(x1,y1,z1)
- if rainbowmode == true then
- rng.Color = Color3.new(r/255,g/255,b/255)
- end
- local scaler2 = 0
- local speeder = FastSpeed/10
- if type == "Add" then
- scaler2 = 1*value
- elseif type == "Divide" then
- scaler2 = 1/value
- end
- coroutine.resume(coroutine.create(function()
- for i = 0,10/bonuspeed,0.1 do
- swait()
- if rainbowmode == true then
- rng.Color = Color3.new(r/255,g/255,b/255)
- end
- if type == "Add" then
- scaler2 = scaler2 - 0.01*value/bonuspeed
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01/value*bonuspeed
- end
- if chaosmode == true then
- rng.BrickColor = BrickColor.random()
- end
- speeder = speeder + 0.01*FastSpeed*bonuspeed/10
- rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
- --rng.Transparency = rng.Transparency + 0.01*bonuspeed
- rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
- end
- rng:Destroy()
- end))
- end
- function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
- local type = type
- local rng = Instance.new("Part", effectmodel)
- rng.Anchored = true
- rng.BrickColor = color
- rng.Color = color3
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Material = "Neon"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshType = "Brick"
- rngm.Scale = scale
- local scaler2 = 1
- local scaler2b = 1
- local scaler2c = 1
- if type == "Add" then
- scaler2 = 1*value
- scaler2b = 1*value2
- scaler2c = 1*value3
- elseif type == "Divide" then
- scaler2 = 1/value
- scaler2b = 1/value2
- scaler2c = 1/value3
- end
- coroutine.resume(coroutine.create(function()
- for i = 0,10/bonuspeed,0.1 do
- swait()
- if type == "Add" then
- scaler2 = scaler2 - 0.01*value/bonuspeed
- scaler2b = scaler2b - 0.01*value/bonuspeed
- scaler2c = scaler2c - 0.01*value/bonuspeed
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01/value*bonuspeed
- scaler2b = scaler2b - 0.01/value*bonuspeed
- scaler2c = scaler2c - 0.01/value*bonuspeed
- end
- rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
- rng.Transparency = rng.Transparency + 0.01*bonuspeed
- rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
- end
- rng:Destroy()
- end))
- end
- function block2(bonuspeed,aaa,type,pos,scale,value,value2,value3,color,color3)
- local type = type
- local rng = Instance.new("Part", effectmodel)
- rng.Anchored = true
- rng.BrickColor = color
- rng.Color = color3
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Material = "Neon"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshType = "Brick"
- rngm.Scale = scale
- local scaler2 = 1
- local scaler2b = 1
- local scaler2c = 1
- if type == "Add" then
- scaler2 = 1*value
- scaler2b = 1*value2
- scaler2c = 1*value3
- elseif type == "Divide" then
- scaler2 = 1/value
- scaler2b = 1/value2
- scaler2c = 1/value3
- end
- coroutine.resume(coroutine.create(function()
- for i = 0,10/bonuspeed,aaa do
- swait()
- if type == "Add" then
- scaler2 = scaler2 - 0.01*value/bonuspeed
- scaler2b = scaler2b - 0.01*value/bonuspeed
- scaler2c = scaler2c - 0.01*value/bonuspeed
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01/value*bonuspeed
- scaler2b = scaler2b - 0.01/value*bonuspeed
- scaler2c = scaler2c - 0.01/value*bonuspeed
- end
- rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
- rng.Transparency = rng.Transparency + 0.01*bonuspeed
- rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
- end
- rng:Destroy()
- end))
- end
- function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
- local type = type
- local rng = Instance.new("Part", effectmodel)
- rng.Anchored = true
- rng.BrickColor = color
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Material = "Neon"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshType = "Sphere"
- rngm.Scale = vt(x1,y1,z1)
- if rainbowmode == true then
- rng.Color = Color3.new(r/255,g/255,b/255)
- end
- local scaler2 = 1
- local speeder = FastSpeed
- if type == "Add" then
- scaler2 = 1*value
- elseif type == "Divide" then
- scaler2 = 1/value
- end
- coroutine.resume(coroutine.create(function()
- for i = 0,10/bonuspeed,0.1 do
- swait()
- if rainbowmode == true then
- rng.Color = Color3.new(r/255,g/255,b/255)
- end
- if type == "Add" then
- scaler2 = scaler2 - 0.01*value/bonuspeed
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01/value*bonuspeed
- end
- if chaosmode == true then
- rng.BrickColor = BrickColor.random()
- end
- speeder = speeder - 0.01*FastSpeed*bonuspeed
- rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
- rng.Transparency = rng.Transparency + 0.01*bonuspeed
- rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
- end
- rng:Destroy()
- end))
- end
- function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
- local type = type
- local rng = Instance.new("Part", effectmodel)
- rng.Anchored = true
- rng.BrickColor = color
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Material = "Neon"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 1
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshType = "Sphere"
- rngm.Scale = vt(x1,y1,z1)
- if rainbowmode == true then
- rng.Color = Color3.new(r/255,g/255,b/255)
- end
- local scaler2 = 1
- local speeder = FastSpeed
- if type == "Add" then
- scaler2 = 1*value
- elseif type == "Divide" then
- scaler2 = 1/value
- end
- coroutine.resume(coroutine.create(function()
- for i = 0,10/bonuspeed,0.1 do
- swait()
- if rainbowmode == true then
- rng.Color = Color3.new(r/255,g/255,b/255)
- end
- if type == "Add" then
- scaler2 = scaler2 - 0.01*value/bonuspeed
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01/value*bonuspeed
- end
- if chaosmode == true then
- rng.BrickColor = BrickColor.random()
- end
- speeder = speeder - 0.01*FastSpeed*bonuspeed
- rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
- rng.Transparency = rng.Transparency - 0.01*bonuspeed
- rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
- end
- rng:Destroy()
- end))
- end
- function dmg(dude)
- if dude.Name ~= Character then
- local keptcolor = MAINRUINCOLOR
- local bgf = Instance.new("BodyGyro",dude.Head)
- bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
- --[[local val = Instance.new("BoolValue",dude)
- val.Name = "IsHit"]]--
- local ds = coroutine.wrap(function()
- dude:WaitForChild("Head"):BreakJoints()
- for i, v in pairs(dude:GetChildren()) do
- if v:IsA("Part") or v:IsA("BasePart") then
- v.Name = "DEMINISHED"
- end
- end
- wait(0.5)
- targetted = nil
- CFuncs["Sound"].Create("rbxassetid://62339698", effectmodel, 0.75, 0.285)
- coroutine.resume(coroutine.create(function()
- for i, v in pairs(dude:GetChildren()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- if v:IsA("Humanoid") then
- v:Destroy()
- end
- if v:IsA("CharacterMesh") then
- v:Destroy()
- end
- if v:IsA("Model") then
- v:Destroy()
- end
- if v:IsA("Part") or v:IsA("BasePart") then
- for x, o in pairs(v:GetChildren()) do
- if o:IsA("Decal") then
- o:Destroy()
- end
- end
- coroutine.resume(coroutine.create(function()
- v.Material = "Neon"
- v.CanCollide = false
- v.Anchored = false
- local bld = Instance.new("ParticleEmitter",v)
- bld.LightEmission = 0.75
- bld.Texture = "rbxassetid://363275192" ---284205403
- bld.Color = ColorSequence.new(keptcolor.Color)
- bld.Rate = 500
- bld.Lifetime = NumberRange.new(1)
- bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
- bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
- bld.Speed = NumberRange.new(2,5)
- bld.VelocitySpread = 50000
- bld.Rotation = NumberRange.new(-500,500)
- bld.RotSpeed = NumberRange.new(-500,500)
- local sbs = Instance.new("BodyPosition", v)
- sbs.P = 3000
- sbs.D = 1000
- sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
- sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
- v.Color = keptcolor.Color
- coroutine.resume(coroutine.create(function()
- for i = 0, 49 do
- swait(1)
- v:BreakJoints()
- v.Transparency = v.Transparency + 0.02
- end
- v:BreakJoints()
- sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
- CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
- bld.Speed = NumberRange.new(10,25)
- bld.Drag = 5
- bld.Acceleration = vt(0,2,0)
- wait(0.5)
- bld.Enabled = false
- wait(8)
- v:Destroy()
- dude:Destroy()
- end))
- end))
- end
- end
- end))
- end)
- ds()
- end
- end
- function FindNearestHead(Position, Distance, SinglePlayer)
- if SinglePlayer then
- return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
- end
- local List = {}
- for i, v in pairs(workspace:GetChildren()) do
- if v:IsA("Model") then
- if v:findFirstChild("Head") then
- if v ~= Character then
- if (v.Head.Position - Position).magnitude <= Distance then
- table.insert(List, v)
- end
- end
- end
- end
- end
- return List
- end
- function turnto()
- root.CFrame=CFrame.new(root.CFrame.p,Vector3.new(mouse.Hit.p.x,char.Torso.Position.y,mouse.Hit.p.z)) * CFrame.new(0, 0, 0)
- end
- function turnto2()
- root.CFrame=CFrame.new(char.Torso.Position,Vector3.new(mouse.Hit.p.x,mouse.Hit.p.y,mouse.Hit.p.z)) * CFrame.new(0, 0, 0)
- end
- function FaceMouse()
- Cam = workspace.CurrentCamera
- return {
- CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, effectmodel.Torso.Position.y, mouse.Hit.p.z)),
- Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
- }
- end
- function FaceMouse2()
- Cam = workspace.CurrentCamera
- return {
- CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
- Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
- }
- end
- -- Functions are ready.
- local storehumanoidWS = 16
- function createBGCircle(size,parent,color)
- local bgui = Instance.new("BillboardGui",parent)
- bgui.Size = UDim2.new(size, 0, size, 0)
- local imgc = Instance.new("ImageLabel",bgui)
- imgc.BackgroundTransparency = 1
- imgc.ImageTransparency = 0
- imgc.Size = UDim2.new(1,0,1,0)
- imgc.Image = "rbxassetid://997291547" --997291547,521073910
- imgc.ImageColor3 = color
- return bgui,imgc
- end
- function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
- local bgui,imgc = createBGCircle(size,guipar,color)
- bgui.AlwaysOnTop = true
- imgc.Image = "rbxassetid://" ..img
- local rrot = math.random(1,2)
- CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
- coroutine.resume(coroutine.create(function()
- for i = 0, 24*delay do
- swait()
- if rotationenabled == true then
- if rrot == 1 then
- imgc.Rotation = imgc.Rotation + rotsp
- elseif rrot == 2 then
- imgc.Rotation = imgc.Rotation - rotsp
- end
- end
- bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
- imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
- end
- bgui:Destroy()
- end))
- end
- function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled,sectrailenabled,mainenabled,matone,mattwo)
- for i, v in pairs(mwY:GetChildren()) do
- if v:IsA("Part") then
- v.Color = (typeof(one) == 'Color3' and one or one.Color)
- v.Material = "Neon"
- end
- end
- for i, v in pairs(mw2:GetDescendants()) do
- if v:IsA("Part") or v:IsA("BasePart") then
- v.Color = (typeof(one) == 'Color3' and one or one.Color)
- v.Material = matone or "Neon"
- if mainenabled == true then
- v.Transparency = 0
- elseif mainenabled == false then
- v.Transparency = 1
- end
- elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
- v.Color = ColorSequence.new((typeof(one) == 'Color3' and one or one.Color))
- if mainenabled == true then
- v.Enabled = true
- elseif mainenabled == false then
- v.Enabled = false
- end
- end
- end
- for i, v in pairs(mw1:GetDescendants()) do
- if v:IsA("Part") or v:IsA("BasePart") then
- v.Color = (typeof(two) == 'Color3' and two or two.Color)
- v.Material = mattwo or "Neon"
- if secondaryenabled == true then
- v.Transparency = 0
- elseif secondaryenabled == false then
- v.Transparency = 1
- end
- elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
- v.Color = ColorSequence.new((typeof(two) == 'Color3' and two or two.Color))
- if secondaryenabled == true then
- v.Enabled = true
- elseif secondaryenabled == false then
- v.Enabled = false
- end
- end
- end
- CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
- symbolizeBlink(root,0,2092248396,(typeof(one) == 'Color3' and one or one.Color),5,3,1,847061203,root,true,10,1)
- symbolizeBlink(root,0,2092248396,(typeof(one) == 'Color3' and one or one.Color),4,0,0,0,root,true,-5,1)
- refec.Color = ColorSequence.new(MAINRUINCOLOR.Color)
- for i, v in pairs(m:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = three
- v.Material = "Ice"
- end
- end
- for i, v in pairs(m2:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = four
- v.Material = "Ice"
- end
- end
- for i, v in pairs(m3:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = five
- v.Material = "Neon"
- end
- end
- for i, v in pairs(extrawingmod1:GetDescendants()) do
- if v:IsA("Part") or v:IsA("BasePart") then
- v.Color = (typeof(exone) == 'Color3' and exone or exone.Color)
- v.Material = "Neon"
- v.Transparency = exonetran
- elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
- v.Color = ColorSequence.new((typeof(exone) == 'Color3' and exone or exone.Color))
- if exonetran == 1 then
- v.Enabled = true
- elseif exonetran == 0 then
- v.Enabled = false
- end
- end
- end
- for i, v in pairs(extrawingmod2:GetDescendants()) do
- if v:IsA("Part") or v:IsA("BasePart") then
- v.Color = (typeof(extwo) == 'Color3' and exone or extwo.Color)
- v.Material = "Neon"
- v.Transparency = extwotran
- elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
- v.Color = ColorSequence.new((typeof(extwo) == 'Color3' and extwo or extwo.Color))
- if extwotran == 1 then
- v.Enabled = true
- elseif extwotran == 0 then
- v.Enabled = false
- end
- end
- end
- end
- function attacktwo()
- attack = true
- hum.WalkSpeed = 2
- local keptcolor = MAINRUINCOLOR
- CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
- sphere2(5,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
- sphere2(5,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.2,0.2,0.2,keptcolor,keptcolor.Color)
- for i = 0, 14 do
- PixelBlock(1,math.random(1,3),"Add",rarm.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,SECONDRUINCOLOR,0)
- end
- for i = 0,1,0.1 do
- swait()
- sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
- RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
- LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
- end
- for i = 0, 1 do
- CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
- for i = 0,1,0.6 do
- swait()
- sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
- slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
- RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
- LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
- end
- for i = 0,1,0.6 do
- swait()
- sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
- slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
- RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
- LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
- end
- for i = 0,1,0.6 do
- swait()
- sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
- slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
- RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
- LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
- end
- for i = 0,1,0.6 do
- swait()
- sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
- slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
- RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
- LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
- end
- local rot = 0
- local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
- CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
- dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
- CreateMesh(dis,"Sphere",10,1,10)
- local at1 = Instance.new("Attachment",dis)
- at1.Position = vt(-5,0,0)
- local at2 = Instance.new("Attachment",dis)
- at2.Position = vt(5,0,0)
- local trl = Instance.new('Trail',wed)
- trl.Attachment0 = at1
- trl.Attachment1 = at2
- trl.Texture = "rbxassetid://1049219073"
- trl.LightEmission = 1
- trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
- trl.Color = ColorSequence.new(dis.Color)
- trl.Lifetime = 0.6
- local a = Instance.new("Part",workspace)
- a.Name = "Direction"
- a.Anchored = true
- a.BrickColor = bc("Bright red")
- a.Material = "Neon"
- a.Transparency = 1
- a.CanCollide = false
- local ray = Ray.new(
- dis.CFrame.p, -- origin
- (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
- )
- local ignore = dis
- local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
- a.BottomSurface = 10
- a.TopSurface = 10
- local distance = (dis.CFrame.p - position).magnitude
- a.Size = Vector3.new(0.1, 0.1, 0.1)
- a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
- dis.CFrame = a.CFrame
- dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
- a:Destroy()
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = dis.CFrame.lookVector*250
- bv.Parent = dis
- game:GetService("Debris"):AddItem(dis, 5)
- local hitted = false
- coroutine.resume(coroutine.create(function()
- dis.Touched:connect(function(hit)
- if hitted == false and not hit:IsDescendantOf(char) then
- hitted = true
- CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
- CamShakeAll({
- Duration=0.4;
- Intensity=3;
- Position=Vector3.new(2,2,2);
- Rotation=Vector3.new(2,2,6);
- DropDist=60;
- IneffectiveDist=80;
- Origin=dis.Position;
- })
- MagniDamage(dis, 30, 13,36, 0, "Normal")
- sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
- sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,SECONDRUINCOLOR,SECONDRUINCOLOR.Color)
- sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,SECONDRUINCOLOR,SECONDRUINCOLOR.Color)
- local eff = Instance.new("ParticleEmitter",dis)
- eff.Texture = "rbxassetid://2344870656"
- eff.LightEmission = 1
- eff.Color = ColorSequence.new(dis.Color)
- eff.Rate = 10000000
- eff.Enabled = true
- eff.EmissionDirection = "Front"
- eff.Lifetime = NumberRange.new(1)
- eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)})
- eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
- eff.Speed = NumberRange.new(150)
- eff.Drag = 5
- eff.Rotation = NumberRange.new(-500,500)
- eff.SpreadAngle = Vector2.new(0,900)
- eff.RotSpeed = NumberRange.new(-500,500)
- delay(0.2, function() eff.Enabled = false end)
- coroutine.resume(coroutine.create(function()
- for i = 0, 9 do
- local disr = CreateParta(char,1,1,"Neon",keptcolor)
- disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
- local at1 = Instance.new("Attachment",disr)
- at1.Position = vt(-5,0,0)
- local at2 = Instance.new("Attachment",disr)
- at2.Position = vt(5,0,0)
- local trl = Instance.new('Trail',disr)
- trl.Attachment0 = at1
- trl.FaceCamera = true
- trl.Attachment1 = at2
- trl.Texture = "rbxassetid://2342682798"
- trl.LightEmission = 1
- trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
- trl.Color = ColorSequence.new(SECONDRUINCOLOR.Color)
- trl.Lifetime = 0.5
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = disr.CFrame.lookVector*math.random(50,200)
- bv.Parent = disr
- local val = 0
- coroutine.resume(coroutine.create(function()
- swait(30)
- for i = 0, 9 do
- swait()
- val = val + 0.1
- trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
- end
- game:GetService("Debris"):AddItem(disr, 3)
- end))
- end
- local eff = Instance.new("ParticleEmitter",dis)
- eff.Texture = "rbxassetid://2273224484"
- eff.LightEmission = 1
- eff.Color = ColorSequence.new(keptcolor.Color)
- eff.Rate = 500000
- eff.Lifetime = NumberRange.new(0.5,2)
- eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
- eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
- eff.Speed = NumberRange.new(20,250)
- eff.Drag = 5
- eff.Rotation = NumberRange.new(-500,500)
- eff.VelocitySpread = 9000
- eff.RotSpeed = NumberRange.new(-50,50)
- wait(0.25)
- eff.Enabled = false
- end))
- for i = 0, 9 do
- slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(100,200)/250,SECONDRUINCOLOR)
- end
- for i = 0, 19 do
- PixelBlock(1,math.random(5,20),"Add",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,keptcolor,0)
- end
- dis.Anchored = true
- dis.Transparency = 1
- wait(8)
- dis:Destroy()
- end
- end)
- end))
- rot = rot - 15
- end
- for i = 0,2,0.1 do
- swait()
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-30),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
- end
- attack = false
- hum.WalkSpeed = storehumanoidWS
- end
- function attackone()
- attack = true
- symbolizeBlink(sorb,0,2109052855,MAINRUINCOLOR.Color,1.5,5,0.9,1614005837,sorb,true,10,1)
- symbolizeBlink(sorb,0,2109052855,SECONDRUINCOLOR.Color,1.6,5,1,1923591005,sorb,true,10,1)
- symbolizeBlink(sorb,0,2092248396,MAINRUINCOLOR.Color,3,0,0,0,sorb,true,10,1.25)
- symbolizeBlink(sorb,0,2344870656,SECONDRUINCOLOR.Color,10,0,0,0,sorb,true,10,1.5)
- for i = 0,1,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0)),.3)
- end
- coroutine.resume(coroutine.create(function()
- local hite = Instance.new("Part", effectmodel)
- hite.Anchored = true
- hite.CanCollide = false
- hite.FormFactor = 3
- hite.Name = "Ring"
- hite.Material = "Neon"
- hite.Size = Vector3.new(1, 1, 1)
- hite.Transparency = 1
- hite.TopSurface = 0
- hite.BottomSurface = 0
- local eff = Instance.new("ParticleEmitter",hite)
- eff.Texture = "rbxassetid://2273224484"
- eff.LightEmission = 1
- eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
- eff.Rate = 90000000
- eff.Lifetime = NumberRange.new(0.5,2)
- eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
- eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
- eff.Speed = NumberRange.new(20,90)
- eff.Drag = 5
- eff.Rotation = NumberRange.new(-500,500)
- eff.VelocitySpread = 9000
- eff.RotSpeed = NumberRange.new(-50,50)
- local distlook = 12.5
- for i = 0, 4 do
- swait(4)
- hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook
- sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,SECONDRUINCOLOR)
- sphere(3,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR)
- CamShakeAll({
- Duration=0.25;
- Intensity=1.75;
- Position=Vector3.new(2,2,2);
- Rotation=Vector3.new(2,2,6);
- DropDist=35;
- IneffectiveDist=65;
- Origin=hite.Position;
- })
- MagniDamage(hite, 11.5, 10,25, 0, "Normal")
- for i = 0, 21 do
- sphereMK(3,0.2,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
- sphereMK(6,0.35,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,SECONDRUINCOLOR,0)
- end
- CFuncs["Sound"].Create("rbxassetid://183763506", hite, 3, 1)
- CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 0.6)
- game:GetService("Debris"):AddItem(hite, 5)
- distlook = distlook + 15
- end
- wait(0.5)
- eff.Enabled = false
- wait(3.1)
- eff:Destroy()
- end))
- for i = 0,2,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-10)),.5)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.5)
- end
- attack = false
- end
- function attackthree()
- attack = true
- hum.WalkSpeed = 5
- CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.5)
- for i = 0,3.5,0.1 do
- swait()
- sphereMK(2.5,-4.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,SECONDRUINCOLOR,200)
- slash(math.random(30,60)/10,5,true,"Round","Add","In",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.01,0.5),-0.5,MAINRUINCOLOR)
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
- RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
- LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
- end
- for i = 0, 24 do
- slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,350)/250,MAINRUINCOLOR)
- end
- CamShakeAll({
- Duration=1;
- Intensity=2;
- Position=Vector3.new(2,2,2);
- Rotation=Vector3.new(2,2,6);
- DropDist=50;
- IneffectiveDist=120;
- Origin=root.Position;
- })
- MagniDamage(root,50,20,45,0,"Normal")
- coroutine.resume(coroutine.create(function()
- for i = 0, 46 do
- swait()
- sphere2(2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,7,-0.01,MAINRUINCOLOR)
- slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,350)/250,SECONDRUINCOLOR)
- end
- end))
- CFuncs["Sound"].Create("rbxassetid://206082327", root, 5,1)
- CFuncs["Sound"].Create("rbxassetid://847061203", root, 6,1)
- CFuncs["Sound"].Create("rbxassetid://239000203", root, 5,1)
- CFuncs["Sound"].Create("rbxassetid://579687077", root, 5,0.75)
- CFuncs["Sound"].Create("rbxassetid://1368637781", root, 7,1)
- CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
- CFuncs["Sound"].Create("rbxassetid://782353443", root, 4.5, 1)
- for i = 0,3,0.1 do
- swait()
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.5)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.5)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.5)
- RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.5)
- LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.5)
- end
- hum.WalkSpeed = storehumanoidWS
- attack = false
- end
- local blush = Instance.new("Decal",hed)
- blush.Texture = "rbxassetid://898404027"
- blush.Face = "Front"
- blush.Parent = nil
- blush.Transparency = 1
- ----------------------------------- Abilities
- function SecludedSpikes()
- attack=true
- local dialogues={"To hell you go!","This is..","Secluded Spikes!","And now you stand alone!"}
- local dialog=dialogues[math.random(1,#dialogues)]
- if(dialog~=dialogues[4])then
- newbosschatfunc(dialog,Color3.new(0,0,0),BrickColor.new'Black'.Color,120)
- end
- if(dialog==dialogues[2])then
- CFuncs["Sound"].Create("rbxassetid://1548599511",root,2.5,.7)
- CFuncs["Sound"].Create("rbxassetid://1548599511",root,2.5,.8)
- end
- for i = 0,7,0.1 do
- swait()
- RH.C0=clerp(RH.C0,cf(1,-.5,-.5)*angles(math.rad(-35),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),.2)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),.2)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*angles(math.rad(-15),0,math.rad(45)),.2)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,math.rad(-45)),.2)
- RW.C0=clerp(RW.C0,cf(1.3,0.8,0)*angles(math.rad(175),0,math.rad(-15)),.2)
- LW.C0=clerp(LW.C0,cf(-1.3,0.8,0)*angles(math.rad(175),0,math.rad(15)),.2)
- local rsiz = math.random(1,2)
- sphereMK(math.random(3,6),math.random(-25,25)/750,"Add",RightLeg.CFrame*cf(0,-1,0)*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,MAINRUINCOLOR,0)
- sphereMK(math.random(6,9),math.random(-10,10)/750,"Add",RightLeg.CFrame*cf(0,-1,0)*CFrame.new(math.random(-5,5)/50,math.random(-5,5)/50,math.random(-5,5)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/2,rsiz/2,rsiz/2,0,MAINRUINCOLOR,0)
- end
- if(dialog==dialogues[2])then
- newbosschatfunc("THE END!",Color3.new(0,0,0),BrickColor.new'Black'.Color,120)
- CFuncs["Sound"].Create("rbxassetid://1548599962",root,2.5,.7)
- CFuncs["Sound"].Create("rbxassetid://1548599962",root,2.5,.8)
- end
- CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
- CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
- for i = 0,.5,0.1 do
- swait()
- RH.C0=clerp(RH.C0,cf(1,-1,-.5)*angles(math.rad(25),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),.6)
- LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(-5),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-.2,0)*angles(math.rad(25),0,0),.6)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko,.4)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-45),0,math.rad(25)),.4)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-45),0,math.rad(-25)),.4)
- end
- local out=5
- local start=root.CFrame
- CamShakeAll({
- Duration=.5;
- Intensity=5;
- Position=Vector3.new(2,2,2);
- Rotation=Vector3.new(2,2,6);
- DropDist=25;
- IneffectiveDist=65;
- Origin=start;
- })
- coroutine.wrap(function()
- for rad = 0, 180,5 do
- if(rad>90)then
- out=out-5
- else
- out=out+5
- end
- local sp1 = Spike:Clone()
- sp1.Parent = char
- sp1.CFrame=start*angles(0,math.rad(rad),0)*cf(0,-15,out)
- local sp2 = Spike:Clone()
- sp2.Parent = char
- sp2.CFrame=start*angles(0,math.rad(rad),0)*cf(0,-15,-out)
- local sp3 = Spike:Clone()
- sp3.Parent = char
- sp3.CFrame=start*angles(0,math.rad(rad),0)*cf(out,-15,0)
- local sp4 = Spike:Clone()
- sp4.Parent = char
- sp4.CFrame=root.CFrame*angles(0,math.rad(rad),0)*cf(-out,-15,0)
- sphere2(12,"Add",sp1.CFrame*cf(0,1,0),vt(1,1,1),0.2,2,0.2,BrickColor.new'Black',BrickColor.new'Black'.Color)
- sphere2(8,"Add",sp1.CFrame*cf(0,1,0),vt(1,1,1),1,1,1,BrickColor.new'Black',BrickColor.new'Black'.Color)
- sphere2(12,"Add",sp2.CFrame*cf(0,1,0),vt(1,1,1),0.2,2,0.2,BrickColor.new'Black',BrickColor.new'Black'.Color)
- sphere2(8,"Add",sp2.CFrame*cf(0,1,0),vt(1,1,1),1,1,1,BrickColor.new'Black',BrickColor.new'Black'.Color)
- sphere2(12,"Add",sp3.CFrame*cf(0,1,0),vt(1,1,1),0.2,2,0.2,BrickColor.new'Black',BrickColor.new'Black'.Color)
- sphere2(8,"Add",sp3.CFrame*cf(0,1,0),vt(1,1,1),1,1,1,BrickColor.new'Black',BrickColor.new'Black'.Color)
- sphere2(12,"Add",sp4.CFrame*cf(0,1,0),vt(1,1,1),0.2,2,0.2,BrickColor.new'Black',BrickColor.new'Black'.Color)
- sphere2(8,"Add",sp4.CFrame*cf(0,1,0),vt(1,1,1),1,1,1,BrickColor.new'Black',BrickColor.new'Black'.Color)
- MagniDamage(sp1, 20, 15,25, 0, "Normal")
- MagniDamage(sp2, 20, 15,25, 0, "Normal")
- MagniDamage(sp3, 20, 15,25, 0, "Normal")
- MagniDamage(sp4, 20, 15,25, 0, "Normal")
- coroutine.wrap(function()
- for i = -15, 0 do
- sp1.CFrame=sp1.CFrame*cf(0,1,0)
- sp2.CFrame=sp2.CFrame*cf(0,1,0)
- sp3.CFrame=sp3.CFrame*cf(0,1,0)
- sp4.CFrame=sp4.CFrame*cf(0,1,0)
- swait()
- end
- delay(3,function()
- for i = -15, 0 do
- sp1.CFrame=sp1.CFrame*cf(0,-1,0)
- sp2.CFrame=sp2.CFrame*cf(0,-1,0)
- sp3.CFrame=sp3.CFrame*cf(0,-1,0)
- sp4.CFrame=sp4.CFrame*cf(0,-1,0)
- swait()
- end
- sp1:destroy()
- sp2:destroy()
- sp3:destroy()
- sp4:destroy()
- end)
- end)()
- swait()
- end
- end)()
- for i = 0,2.5,0.1 do
- swait()
- RH.C0=clerp(RH.C0,cf(1,-1,-.5)*angles(math.rad(25),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),.6)
- LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(-5),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-.2,0)*angles(math.rad(25),0,0),.6)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko,.4)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-45),0,math.rad(25)),.4)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-45),0,math.rad(-25)),.4)
- end
- if(dialog==dialogues[4])then
- newbosschatfunc(dialog,Color3.new(0,0,0),BrickColor.new'Black'.Color,120)
- CFuncs["Sound"].Create("rbxassetid://907328147",root,2.5,1)
- end
- attack=false
- end
- function ExtinctiveHeartbreak()
- local targetted = nil
- if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
- targetted = mouse.Target.Parent
- end
- if targetted ~= nil then
- attack = true
- CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
- for i = 0, 9 do
- sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,MAINRUINCOLOR,0)
- end
- for i = 0, 24 do
- PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,MAINRUINCOLOR,0)
- end
- sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
- local originalpos = root.CFrame
- RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
- for i = 0, 9 do
- sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,MAINRUINCOLOR,0)
- end
- for i = 0, 24 do
- PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,MAINRUINCOLOR,0)
- end
- hum.WalkSpeed = 0
- sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
- local radm = math.random(1,3)
- if radm == 1 then
- bosschatfunc("YOU WONT BE NECCESSARY.",MAINRUINCOLOR.Color,2)
- elseif radm == 2 then
- bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
- elseif radm == 3 then
- bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
- end
- for i = 0,2,0.1 do
- swait()
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-10),math.rad(0)),.4)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(80)),.4)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
- RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.4)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(60)),.4)
- end
- CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1)
- CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1)
- for i = 0,2,0.1 do
- swait()
- coroutine.resume(coroutine.create(function()
- targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
- for i,v in pairs(targetted:GetChildren()) do
- if v:IsA("Part") or v:IsA("BasePart") then
- v.Velocity = vt(0,0,0)
- end
- end
- end))
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.8)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
- RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(-80)),.8)
- end
- CFuncs["EchoSound"].Create("rbxassetid://824687369", effectmodel, 1.5, 1,0,10,0.25,0.5,1)
- CFuncs["EchoSound"].Create("rbxassetid://153092227", effectmodel, 1.5, 0.9,0,10,0.25,0.5,1)
- for i = 0, 1 do
- CFuncs["EchoSound"].Create("rbxassetid://1690476035", effectmodel, 1.5, 1,0.1,10,0.15,0.5,1)
- end
- CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1)
- chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
- for i = 0,4,0.1 do
- swait()
- coroutine.resume(coroutine.create(function()
- local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
- dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
- local at1 = Instance.new("Attachment",dis)
- at1.Position = vt(-25000,0,0)
- local at2 = Instance.new("Attachment",dis)
- at2.Position = vt(25000,0,0)
- local trl = Instance.new('Trail',dis)
- trl.Attachment0 = at1
- trl.FaceCamera = true
- trl.Attachment1 = at2
- trl.Texture = "rbxassetid://1049219073"
- trl.LightEmission = 1
- trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
- trl.Color = ColorSequence.new(SECONDRUINCOLOR.Color)
- trl.Lifetime = 5
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
- bv.Parent = dis
- game:GetService("Debris"):AddItem(dis, 5)
- targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
- CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
- CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
- CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
- CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
- CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
- sphere2(5,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(3,3,3),-0.03,15,-0.03,MAINRUINCOLOR)
- targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
- for i = 0, 2 do
- slash(5,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,350)/250,SECONDRUINCOLOR)
- end
- symbolizeBlink(targetted.Head,0,2092248396,MAINRUINCOLOR.Color,math.random(3,35),0,0,0,targetted.Head,true,math.random(3,9),0.25)
- for i,v in pairs(targetted:GetChildren()) do
- if v:IsA("Part") or v:IsA("BasePart") then
- v.Velocity = vt(0,0,0)
- end
- end
- end))
- CamShakeAll({
- Duration=.1;
- Intensity=5;
- Position=Vector3.new(2,2,2);
- Rotation=Vector3.new(2,2,6);
- DropDist=200;
- IneffectiveDist=300;
- Origin=sorb.Position;
- })
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.8)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
- RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(40)),.8)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(170),math.rad(0),math.rad(-30)),.8)
- end
- for i = 0, 49 do
- local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
- dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
- local at1 = Instance.new("Attachment",dis)
- at1.Position = vt(-50000,0,0)
- local at2 = Instance.new("Attachment",dis)
- at2.Position = vt(50000,0,0)
- local trl = Instance.new('Trail',dis)
- trl.Attachment0 = at1
- trl.FaceCamera = true
- trl.Attachment1 = at2
- trl.Texture = "rbxassetid://1049219073"
- trl.LightEmission = 1
- trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
- trl.Color = ColorSequence.new(SECONDRUINCOLOR.Color)
- trl.Lifetime = 5
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
- bv.Parent = dis
- game:GetService("Debris"):AddItem(dis, 5)
- end
- for i = 0, 49 do
- sphere2(math.random(10,75)/10,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,5,5),-0.05,50,-0.05,MAINRUINCOLOR)
- slash(math.random(10,30)/15,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(40,500)/250,MAINRUINCOLOR)
- end
- CFuncs["EchoSound"].Create("rbxassetid://824687369", effectmodel, 2, 0.9,0,10,0.25,0.5,1)
- for i = 0, 1 do
- CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
- CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
- end
- for i = 0, 4 do
- CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
- end
- symbolizeBlink(targetted.Head,0,2109052855,MAINRUINCOLOR.Color,30,0,0,0,root,false,0,1)
- symbolizeBlink(targetted.Head,0,2109052855,MAINRUINCOLOR.Color,30,0,0,0,root,false,0,2)
- symbolizeBlink(targetted.Head,0,2109052855,MAINRUINCOLOR.Color,30,0,0,0,root,false,0,4)
- dmg(targetted)
- CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
- for i = 0, 9 do
- sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,MAINRUINCOLOR,0)
- end
- for i = 0, 24 do
- PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,MAINRUINCOLOR,0)
- end
- sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
- root.CFrame = originalpos
- for i = 0, 9 do
- sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,MAINRUINCOLOR,0)
- end
- for i = 0, 24 do
- PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,MAINRUINCOLOR,0)
- end
- sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
- attack = false
- hum.WalkSpeed = storehumanoidWS
- end
- end
- local stealth = false
- function StealthWarped()
- if stealth then
- return
- end
- attack = true
- stealth = true
- hum.WalkSpeed = 0
- CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
- CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
- for i = 0, 4, 0.1 do
- swait()
- block(10,"Add",sorb.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
- block(10,"Add",sorb2.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
- end
- sphere2(4,"Add",sorb2.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR)
- sphere2(2,"Add",sorb2.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR)
- sphere2(4,"Add",sorb.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR)
- sphere2(2,"Add",sorb.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR)
- CFuncs["Sound"].Create("rbxassetid://840567549", root, 10, 1)
- newTheme("rbxassetid://0",48.6,1,0.8)
- char.Head.Transparency = 0.5
- char["Left Arm"].Transparency = 0.5
- char["Left Leg"].Transparency = 0.5
- char["Right Arm"].Transparency = 0.5
- char["Right Leg"].Transparency = 0.5
- char.Torso.Transparency = 0.5
- attack = false
- hum.WalkSpeed = 60
- storehumanoidWS = 60
- swait(400)
- char.Head.Transparency = 0
- char["Left Arm"].Transparency = 0
- char["Left Leg"].Transparency = 0
- char["Right Arm"].Transparency = 0
- char["Right Leg"].Transparency = 0
- char.Torso.Transparency = 0
- stealth = false
- storehumanoidWS = 16
- hum.WalkSpeed = storehumanoidWS
- newTheme("rbxassetid://1119453744",48.6,1,0.8)
- end
- function QuickSnap()
- hum.WalkSpeed = 1
- attack = true
- for i = 0,0.5,0.1 do
- swait()
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(50)),.2)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-50)),.2)
- end
- sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
- sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,SECONDRUINCOLOR)
- for i = 0, 24 do
- slash(math.random(10,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),math.rad(0)),vt(0.01,0.01,0.01),math.random(100,400)/250,SECONDRUINCOLOR)
- end
- CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
- CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
- CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
- CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
- local eff = Instance.new("ParticleEmitter",sorb2)
- eff.Texture = "rbxassetid://2273224484"
- eff.LightEmission = 1
- eff.Color = ColorSequence.new(SECONDRUINCOLOR.Color)
- eff.Rate = 900000000
- eff.Lifetime = NumberRange.new(0.5,2)
- eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,8,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
- eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
- eff.Speed = NumberRange.new(50,250)
- eff.Drag = 5
- eff.Rotation = NumberRange.new(-500,500)
- eff.VelocitySpread = 9000
- eff.RotSpeed = NumberRange.new(-50,50)
- local eff2 = eff:Clone()
- eff2.Parent = sorb
- eff2.LightEmission = 0
- eff2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
- for i = 0,4,0.1 do
- swait(1)
- root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
- local dis = CreateParta(char,0.25,1,"Neon",SECONDRUINCOLOR)
- CreateMesh(dis,"Sphere",1,1,1)
- dis.Anchored = true
- dis.CFrame = sorb2.CFrame
- local dis2 = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
- CreateMesh(dis2,"Sphere",1,1,1)
- dis2.Anchored = true
- dis2.CFrame = sorb.CFrame
- sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
- sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
- game:GetService("Debris"):AddItem(dis, 5)
- game:GetService("Debris"):AddItem(dis2, 5)
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 1.5),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 3))),.2)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 1.5),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 3))),.2)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 1.5))*angles(math.rad(25 - 4 * math.cos(sine / 1.5)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 3))),.2)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-6 + 2 * math.cos(sine / 1.5)),math.rad(0),math.rad(0 + 1 * math.cos(sine / 3))),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70 + 4 * math.cos(sine / 1.5)),math.rad(0),math.rad(70)),.2)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70 + 4 * math.cos(sine / 1.5)),math.rad(0),math.rad(-70)),.2)
- sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(1,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.25,0.25,3,-0.00375,MAINRUINCOLOR,0)
- sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(1,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.25,0.25,3,-0.00375,SECONDRUINCOLOR,0)
- coroutine.resume(coroutine.create(function()
- swait(5)
- coroutine.resume(coroutine.create(function()
- CamShakeAll({
- Duration=0.25;
- Intensity=0.9;
- Position=Vector3.new(2,2,2);
- Rotation=Vector3.new(2,2,6);
- DropDist=75;
- IneffectiveDist=125;
- Origin=dis.Position;
- })
- CamShakeAll({
- Duration=0.25;
- Intensity=0.9;
- Position=Vector3.new(2,2,2);
- Rotation=Vector3.new(2,2,6);
- DropDist=75;
- IneffectiveDist=125;
- Origin=dis2.Position;
- })
- end))
- swait(20)
- dis.Transparency = 1
- dis2.Transparency = 1
- MagniDamage(dis, 55, 50,99, 0, "Normal")
- MagniDamage(dis2, 55, 50,99, 0, "Normal")
- for i = 0, 2 do
- slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,300)/250,dis.BrickColor)
- slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,300)/250,dis2.BrickColor)
- end
- CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
- CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
- CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
- CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
- CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
- CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
- sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
- sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
- dis:Destroy()
- dis2:Destroy()
- end))
- end
- eff.Enabled=false
- eff2.Enabled=false
- attack = false
- hum.WalkSpeed = storehumanoidWS
- wait(2)
- eff:Destroy()
- eff2:Destroy()
- end
- function Ballesta_Shards()
- attack = true
- hum.WalkSpeed = 2
- local keptcolor = BrickColor.new("Really red")
- local keptcolor2 = SECONDRUINCOLOR
- local rval = 0
- local eval = 1
- for i = 0,3,0.1 do
- swait()
- rval = rval + 30
- eval = eval + 1.5
- slash(math.random(40,70)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-2.5,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01*rval/25,0.002,0.01*rval/25),math.random(5,20)/250,keptcolor2)
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.15 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(35 - 2 * math.cos(sine / 37)),math.rad(0),math.rad(0)),.3)
- RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(90 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-80 + 2 * math.cos(sine / 45))),.3)
- LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(80 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(71 - 4 * math.cos(sine / 45))),.3)
- end
- for i = 0, 19 do
- slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-2.5,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.002,0.01),math.random(150,250)/250,keptcolor2)
- end
- CFuncs["Sound"].Create("rbxassetid://1368637781", root, 4,1)
- CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
- CFuncs["Sound"].Create("rbxassetid://1310128035", root, 9, 0.9)
- CFuncs["Sound"].Create("rbxassetid://199145739", root, 3,1)
- MagniDamage(root, 50, 40,50, 0, "Normal")
- sphere2(2,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),2,2,2,keptcolor,keptcolor.Color)
- sphere2(3,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),2,2,2,keptcolor2,keptcolor2.Color)
- coroutine.resume(coroutine.create(function()
- for i = 0, 51 do
- swait()
- local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
- dis.BrickColor = keptcolor
- dis.Anchored = true
- local at1 = Instance.new("Attachment",dis)
- at1.Position = vt(-0.25,0,0)
- local at2 = Instance.new("Attachment",dis)
- at2.Position = vt(0.25,0,0)
- local trl = Instance.new('Trail',dis)
- trl.Attachment0 = at1
- trl.FaceCamera = true
- trl.Attachment1 = at2
- trl.Texture = "rbxassetid://1049219073"
- trl.LightEmission = 1
- trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
- trl.Color = ColorSequence.new(dis.Color)
- trl.Lifetime = 0.6
- dis.Velocity = vt(math.random(-50,50),math.random(125,210),math.random(-50,50))
- CFuncs["Sound"].Create("rbxassetid://199145967", dis, 0.1,1)
- dis.CFrame = root.CFrame*CFrame.new(math.random(-3,3),math.random(5,25),math.random(-3,3))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
- CreateMesh(dis,"Sphere",0.5,0.5,4)
- dis.Anchored = false
- coroutine.resume(coroutine.create(function()
- wait(1)
- local a = Instance.new("Part",workspace)
- a.Name = "Direction"
- a.Anchored = true
- a.BrickColor = bc("Bright red")
- a.Material = "Neon"
- a.Transparency = 1
- a.CanCollide = false
- local ray = Ray.new(
- dis.CFrame.p, -- origin
- (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
- )
- local ignore = dis
- local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
- a.BottomSurface = 10
- a.TopSurface = 10
- local distance = (dis.CFrame.p - position).magnitude
- a.Size = Vector3.new(0.1, 0.1, 0.1)
- a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
- dis.CFrame = a.CFrame
- a:Destroy()
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = dis.CFrame.lookVector*200
- bv.Parent = dis
- game:GetService("Debris"):AddItem(dis, 5)
- local hitted = false
- coroutine.resume(coroutine.create(function()
- dis.Touched:connect(function(hit)
- if hitted == false and not hit:IsDescendantOf(char) then
- hitted = true
- CFuncs["Sound"].Create("rbxassetid://199146035", dis, 1.5,1)
- MagniDamage(dis, 20, 10,20, 0, "Normal")
- sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor2,keptcolor2.Color)
- sphere2(8,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
- coroutine.resume(coroutine.create(function()
- local eff = Instance.new("ParticleEmitter",dis)
- eff.Texture = "rbxassetid://2344870656"
- eff.LightEmission = 1
- eff.Color = ColorSequence.new(dis.Color)
- eff.Rate = 10000000
- eff.Enabled = true
- --eff.EmissionDirection = "Front"
- eff.Lifetime = NumberRange.new(0.5)
- eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,20,0),NumberSequenceKeypoint.new(1,30,0)})
- eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
- eff.Speed = NumberRange.new(100)
- eff.Drag = 5
- eff.Rotation = NumberRange.new(-500,500)
- eff.SpreadAngle = Vector2.new(0,900)
- eff.RotSpeed = NumberRange.new(-500,500)
- wait(0.1)
- eff.Enabled = false
- end))
- coroutine.resume(coroutine.create(function()
- local eff = Instance.new("ParticleEmitter",dis)
- eff.Texture = "rbxassetid://695499847"
- eff.LightEmission = 1
- eff.Color = ColorSequence.new(dis.Color)
- eff.Rate = 500000
- eff.Lifetime = NumberRange.new(0.5,2)
- eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
- eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
- eff.Speed = NumberRange.new(20,150)
- eff.Drag = 5
- eff.Rotation = NumberRange.new(-500,500)
- eff.VelocitySpread = 9000
- eff.RotSpeed = NumberRange.new(-150,150)
- wait(0.5)
- eff.Enabled = false
- end))
- dis.Anchored = true
- dis.Transparency = 1
- wait(8)
- dis:Destroy()
- end
- end)
- end))
- end))
- end
- end))
- coroutine.resume(coroutine.create(function()
- local eff = Instance.new("ParticleEmitter",root)
- eff.Texture = "rbxassetid://695499847"
- eff.LightEmission = 0
- eff.Color = ColorSequence.new(BrickColor.new("Crimson").Color)
- eff.Rate = 500000
- eff.Lifetime = NumberRange.new(0.5,2)
- eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.2,3,0),NumberSequenceKeypoint.new(0.8,3,0),NumberSequenceKeypoint.new(1,0,0)})
- eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
- eff.Speed = NumberRange.new(30,250)
- eff.Drag = 5
- eff.Rotation = NumberRange.new(-500,500)
- eff.VelocitySpread = 9000
- eff.RotSpeed = NumberRange.new(-150,150)
- wait(1.5)
- eff.Enabled = false
- end))
- local eval2 = 1
- sphere2(1,"Add",root.CFrame,vt(12.5,1,12.5),-0.05,3,-0.05,keptcolor)
- sphere2(1,"Add",root.CFrame,vt(25,1,25),-0.1,6,-0.1,keptcolor2)
- CamShakeAll({
- Duration=0.6;
- Intensity=2;
- Position=Vector3.new(2,2,2);
- Rotation=Vector3.new(2,2,4);
- DropDist=130;
- IneffectiveDist=165;
- Origin=root.Position;
- })
- for i = 0,9,0.1 do
- swait()
- rval = rval + 20
- eval = eval + 1.5
- eval2 = eval2 + 10
- slash(math.random(40,70)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,3.5,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01*eval2/60,0.002,0.01*eval2/60),math.random(5,20)/250,MAINRUINCOLOR)
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-15 - 2 * math.cos(sine / 32))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 2 * math.cos(sine / 32))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.15 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(-15 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
- RW.C0=clerp(RW.C0,cf(1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-10 + 3 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(13 - 3 * math.cos(sine / 45))),.1)
- end
- attack = false
- hum.WalkSpeed = storehumanoidWS
- end
- SWORDA1=script.SWORDA1
- SWORDA1.Parent=nil
- function Cursed_Slash()
- attack = true
- local spin=0
- hum.WalkSpeed = 2
- local sword = SWORDA1:Clone()
- sword.Parent = char
- sword.Transparency = 1
- sword.BrickColor = MAINRUINCOLOR
- local trans=0
- local keptcolor = BrickColor.new("Black")
- local keptcolor2 = SECONDRUINCOLOR
- CFuncs["Sound"].Create("rbxassetid://136007472", root, 15,1)
- CFuncs["Sound"].Create("rbxassetid://137463716", root, 2,0.8)
- CamShakeAll({
- Duration=0.6;
- Intensity=0.5;
- Position=Vector3.new(2,2,2);
- Rotation=Vector3.new(2,2,2);
- DropDist=35;
- IneffectiveDist=60;
- Origin=root.Position;
- })
- local eff = Instance.new("ParticleEmitter",sword)
- eff.Texture = "rbxassetid://2344870656"
- eff.LightEmission = 0.6
- eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
- eff.Rate = 10000000
- eff.EmissionDirection = "Front"
- eff.Lifetime = NumberRange.new(0.5)
- eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
- eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
- eff.Speed = NumberRange.new(1,10)
- eff.Drag = 5
- eff.VelocitySpread = 9999
- eff.Rotation = NumberRange.new(-500,500)
- eff.RotSpeed = NumberRange.new(-500,500)
- local eff2 = eff:Clone()
- eff2.LightEmission = 0.25
- eff2.Color = ColorSequence.new(SECONDRUINCOLOR.Color)
- eff2.Speed = NumberRange.new(5,25)
- eff2.Parent = sword
- eff2.Texture = "rbxassetid://2092248396"
- eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,0.5,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
- for i = 0,10,0.1 do
- swait()
- trans=trans+0.00035
- sword.Transparency = sword.Transparency-trans
- sword.CFrame = sorb.CFrame*CFrame.new(0,0,-3.3)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(180))
- sphereMK(2,math.random(15,30)/45,"Add",root.CFrame*CFrame.new(math.random(-18,18),-6,math.random(-18,18))*CFrame.Angles(math.rad(90 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(math.random(-3,3))),0.5,0.5,0.5,0,MAINRUINCOLOR,0)
- slash(math.random(80,90),90,true,"Round","Add","In",sword.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-90,90))),vt(0.01*2/60,0.002,0.01*2/60),math.random(5,20)/250,MAINRUINCOLOR)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(85),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-85),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
- RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(162), math.rad(35), math.rad(-5)), .3)
- LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(15)), .3)
- end
- CFuncs["Sound"].Create("rbxassetid://2174940386", root, 15,0.9)
- CFuncs["Sound"].Create("rbxassetid://182707266", root, 4,1)
- CFuncs["Sound"].Create("rbxassetid://444667859", root, 4,1)
- local lb = Instance.new("Part",char)
- lb.Material = "Neon"
- lb.Color = MAINRUINCOLOR.Color
- lb.CanCollide = false
- lb.CFrame = root.CFrame + root.CFrame.lookVector*5
- lb.Transparency = 0
- lb.Size = vt(1,40,1)
- local tra2 = Instance.new("ParticleEmitter",lb)
- tra2.Texture = "http://www.roblox.com/asset/?id=745304849"
- tra2.LightEmission = 0
- tra2.Color = ColorSequence.new(SECONDRUINCOLOR.Color)
- tra2.Rate = 500000000000
- tra2.Lifetime = NumberRange.new(0.5)
- tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,3,0),NumberSequenceKeypoint.new(1,0,0)})
- tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
- tra2.Speed = NumberRange.new(0)
- tra2.Rotation = NumberRange.new(-500,500)
- tra2.VelocitySpread = 90000
- tra2.RotSpeed = NumberRange.new(-500,500)
- local thing = Instance.new("SpecialMesh",lb)
- thing.MeshType = "Sphere"
- lb.Touched:connect(function(hit)
- MagniDamage(hit,3,30,50,0,"Normal")
- end)
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = root.CFrame.lookVector *300
- bv.Parent = lb
- coroutine.resume(coroutine.create(function()
- while true do
- swait()
- if lb.Parent~=nil then
- spin=spin+16
- slash(math.random(50,100)/5,5,true,"Round","Add","Out",lb.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(0+spin),math.rad(0),math.rad(90)),vt(0.01,0.01,0.01),math.random(5,50)/250,SECONDRUINCOLOR)
- else
- break
- end
- end
- end))
- for i = 0,1.5,0.1 do
- swait()
- sword.CFrame = sorb.CFrame*CFrame.new(0,0,-3.3)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(180))
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(85),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-5)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-85),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(5)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(10)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(-2.5)), .3)
- RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-5)), .3)
- LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(15)), .3)
- end
- coroutine.resume(coroutine.create(function()
- wait(0.5)
- for i = 0, 19 do
- slash(math.random(10,50)/10,5,true,"Round","Add","Out",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,250)/250,keptcolor2)
- end
- lb:Destroy()
- end))
- for i = 0,1,0.1 do
- swait()
- sword.CFrame = sorb.CFrame*CFrame.new(0,0,-3.3)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(180))
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(85),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-5)),.4)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-85),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(5)),.4)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(30)),.4)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(5), math.rad(0), math.rad(-30)), .4)
- RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-85)), .4)
- LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-10)), .4)
- end
- CFuncs["Sound"].Create("rbxassetid://2174940386", root, 15,0.9)
- CFuncs["Sound"].Create("rbxassetid://182707266", root, 4,1)
- CFuncs["Sound"].Create("rbxassetid://444667859", root, 4,1)
- local lb2 = Instance.new("Part",char)
- lb2.Material = "Neon"
- lb2.Color = MAINRUINCOLOR.Color
- lb2.CanCollide = false
- lb2.CFrame = root.CFrame + root.CFrame.lookVector*5
- lb2.Transparency = 0
- lb2.Size = vt(40,1,1)
- local tra2 = Instance.new("ParticleEmitter",lb2)
- tra2.Texture = "http://www.roblox.com/asset/?id=745304849"
- tra2.LightEmission = 0
- tra2.Color = ColorSequence.new(SECONDRUINCOLOR.Color)
- tra2.Rate = 500000000000
- tra2.Lifetime = NumberRange.new(0.5)
- tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,3,0),NumberSequenceKeypoint.new(1,0,0)})
- tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
- tra2.Speed = NumberRange.new(0)
- tra2.Rotation = NumberRange.new(-500,500)
- tra2.VelocitySpread = 90000
- tra2.RotSpeed = NumberRange.new(-500,500)
- local thing = Instance.new("SpecialMesh",lb2)
- thing.MeshType = "Sphere"
- lb2.Touched:connect(function(hit)
- MagniDamage(hit,3,30,50,0,"Normal")
- end)
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = root.CFrame.lookVector *200
- bv.Parent = lb2
- coroutine.resume(coroutine.create(function()
- while true do
- swait()
- if lb2.Parent~=nil then
- spin=spin+16
- slash(math.random(50,100)/5,5,true,"Round","Add","Out",lb2.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0+spin),math.rad(0)),vt(0.01,0.01,0.01),math.random(5,50)/250,SECONDRUINCOLOR)
- else
- break
- end
- end
- end))
- eff.Enabled=false
- eff2.Enabled=false
- for i = 0,2,0.1 do
- swait()
- sword.CFrame = sorb.CFrame*CFrame.new(0,0,-3.3)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(180))
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(85),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-5)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-85),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(5)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-25)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-25)), .3)
- RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .3)
- LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), .3)
- end
- coroutine.resume(coroutine.create(function()
- wait(0.75)
- for i = 0, 19 do
- slash(math.random(10,50)/10,5,true,"Round","Add","Out",lb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,250)/250,keptcolor2)
- end
- lb2:Destroy()
- end))
- coroutine.resume(coroutine.create(function()
- local thintrans=0
- for i = 0,9,0.1 do
- swait()
- thintrans=thintrans+0.005
- sword.CFrame = sorb.CFrame*CFrame.new(0,0,-3.3)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(180))
- sword.Transparency = sword.Transparency+thintrans
- end
- sword:Destroy()
- end))
- attack = false
- hum.WalkSpeed = storehumanoidWS
- wait(2)
- eff:Destroy()
- eff2:Destroy()
- end
- function desstomp()
- attack = true
- newbosschatfunc("To the depths of hell...",modet.TextColor3,modet.TextStrokeColor3,75)
- for i = 0, 8, 0.1 do
- swait()
- RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.4 + 0.5 * math.cos(sine / 32))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
- end
- CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
- CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
- for i, v in pairs(FindNearestHead(Torso.CFrame.p, 105)) do
- if v:FindFirstChild('Head') then
- dmg(v)
- end
- end
- sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,MAINRUINCOLOR)
- sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,MAINRUINCOLOR)
- sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(200,0.1,200),0.01,MAINRUINCOLOR)
- newbosschatfunc("YOU GO!",modet.TextColor3,modet.TextStrokeColor3,250)
- CamShakeAll({
- Duration=0.2;
- Intensity=4;
- Position=Vector3.new(2,2,2);
- Rotation=Vector3.new(2,2,4);
- DropDist=200;
- IneffectiveDist=250;
- Origin=root.Position;
- })
- for i = 0, 6, 0.1 do
- swait()
- sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
- sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
- RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.4)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.4)
- end
- attack = false
- end
- function destaunt()
- attack = true
- newbosschatfunc("Did you expect a different and more recognisable name? My bad.",modet.TextColor3,modet.TextStrokeColor3,125)
- for i = 0,20,0.1 do
- swait()
- RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.4 + 0.5 * math.cos(sine / 32))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-35)),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 5 * math.cos(sine / 10)),math.rad(0),math.rad(34)),.1)
- RW.C0=clerp(RW.C0,cf(1.3,0.5 + 0.1 * math.cos(sine / 70),-0.9)*angles(math.rad(120 + 1 * math.cos(sine / 0.0001) ),math.rad(0),math.rad(-90 + 1 * math.cos(sine / 0.0001))),.1)
- LW.C0=clerp(LW.C0,cf(-1.1,0.6 + 0.1 * math.cos(sine / 28),0.2)*angles(math.rad(220),math.rad(0),math.rad(45 + 1 * math.cos(sine / 50))),.1)
- end
- attack = false
- end
- BOW=script.BOW
- ARROW=script.ARROW
- BOW.Parent=nil
- ARROW.Parent=nil
- function Divide_Bullet()
- attack = true
- local keptcolor=MAINRUINCOLOR
- local keptcolor2=SECONDRUINCOLOR
- local obj1 = BOW:Clone()
- obj1.Parent = char
- obj1.Transparency = 1
- --obj1.Size = vt(1,1,1)
- local Arrow = ARROW:Clone()
- Arrow.Parent = char
- Arrow.Transparency = 1
- hum.WalkSpeed = 0
- local va=0
- CFuncs["Sound"].Create("rbxassetid://138186576", root, 20, 1)
- for i = 0, 2.2, 0.1 do
- swait()
- RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(50),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(0),math.rad(-8)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(40),math.rad(0),math.rad(8)),.3)
- end
- local vel = Instance.new("BodyPosition", root)
- vel.P = 7500
- vel.D = 1000
- vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
- vel.position = root.CFrame.p + vt(0,35,0)
- for i = 0, 49 do
- slash(math.random(10,100)/10,3,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-360,360)),math.rad(math.random(-10,10))),vt(0.05,0.01,0.05),math.random(10,125)/250,BrickColor.new("White"))
- end
- for i = 0, 3, 0.1 do
- swait()
- RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.5)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-10),math.rad(0),math.rad(13)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(0),math.rad(-13)),.3)
- end
- newbosschatfunc("Divide..",MAINRUINCOLOR.Color,SECONDRUINCOLOR.Color,500)
- CFuncs["Sound"].Create("rbxassetid://331888777", root, 12, 1)
- CFuncs["Sound"].Create("rbxassetid://255679384", root, 12, 1)
- CFuncs["Sound"].Create("rbxassetid://1371567007", root, 12, 1)
- CFuncs["Sound"].Create("rbxassetid://163619849", root, 6, 1)
- for i = 0, 11, 0.1 do
- swait()
- block(5,"Add",larm.CFrame*CFrame.new(0,-6,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4,4,4),-0.025,-0.25,-0.025,keptcolor2,keptcolor2.Color)
- slash(math.random(25,50)/10,5,true,"Round","Add","Out",larm.CFrame*CFrame.new(0,-6,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.01,0.1),-0.1,keptcolor2)
- RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.5*math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(20)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(19)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(-19)),.3)
- end
- turnto()
- for i = 0, 3, 0.1 do
- swait()
- RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.5*math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
- RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(20),math.rad(-87)),.3)
- LW.C0=clerp(LW.C0,cf(-1.4,0.5,0)*angles(math.rad(90),math.rad(20),math.rad(-75)),.3)
- end
- for i = 0, 22 do
- block(2,"Add",larm.CFrame*CFrame.new(0,-6,0),vt(8,8,8),-0.025,-0.25,-0.025,keptcolor2,keptcolor2.Color)
- slash(math.random(25,50)/10,5,true,"Round","Add","Out",larm.CFrame*CFrame.new(0,-6,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.01,0.5),-0.5,keptcolor2)
- end
- for i = 0, 6, 0.1 do
- swait()
- va=va+0.001
- Arrow.CFrame = sorb.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
- Arrow.Transparency=Arrow.Transparency-va
- obj1.CFrame = sorb2.CFrame*CFrame.Angles(math.rad(15),math.rad(90),math.rad(-15))
- obj1.Transparency=obj1.Transparency-va
- RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.5*math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(90)),.3)
- RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-82)),.3)
- LW.C0=clerp(LW.C0,cf(-1.4,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-75)),.3)
- end
- newbosschatfunc("BULLET!",MAINRUINCOLOR.Color,SECONDRUINCOLOR.Color,100)
- --CFuncs["Sound"].Create("rbxassetid://675172759", orb, 16,math.random(100,200)/200)
- for i = 0, 9 do
- slash(math.random(10,40)/10,5,true,"Round","Add","Out",Arrow.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,450)/500,keptcolor2)
- end
- block(3,"Add",Arrow.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),1,1,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
- local eff = Instance.new("ParticleEmitter",Arrow)
- eff.Texture = "rbxassetid://2344870656"
- eff.LightEmission = 0.75
- eff.Color = ColorSequence.new(keptcolor.Color)
- eff.Rate = 999
- eff.Lifetime = NumberRange.new(5)
- eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,14,0),NumberSequenceKeypoint.new(0.1,9,0),NumberSequenceKeypoint.new(0.8,3,0),NumberSequenceKeypoint.new(1,0,0)})
- eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
- eff.Speed = NumberRange.new(5,65)
- eff.Drag = 5
- eff.Rotation = NumberRange.new(-500,500)
- eff.VelocitySpread = 9000
- eff.RotSpeed = NumberRange.new(-500,500)
- local eff2 = Instance.new("ParticleEmitter",Arrow)
- eff2.Texture = "rbxassetid://2273224484"
- eff2.LightEmission = 0.75
- eff2.Color = ColorSequence.new(keptcolor2.Color)
- eff2.Rate = 999
- eff2.Lifetime = NumberRange.new(2,4)
- eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,7,0),NumberSequenceKeypoint.new(0.1,4,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
- eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
- eff2.Speed = NumberRange.new(30,90)
- eff2.Drag = 5
- eff2.Rotation = NumberRange.new(-500,500)
- eff2.VelocitySpread = 9000
- eff2.RotSpeed = NumberRange.new(-500,500)
- Arrow.Anchored = true
- coroutine.resume(coroutine.create(function()
- wait(0.1)
- Arrow.Anchored = false
- local a = Instance.new("Part",workspace)
- a.Name = "Direction"
- a.Anchored = true
- a.BrickColor = bc("Bright red")
- a.Material = "Neon"
- a.Transparency = 1
- a.CanCollide = false
- local ray = Ray.new(
- Arrow.CFrame.p, -- origin
- (mouse.Hit.p - Arrow.CFrame.p).unit * 500 -- direction
- )
- local ignore = Arrow
- local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
- a.BottomSurface = 10
- a.TopSurface = 10
- local distance = (Arrow.CFrame.p - position).magnitude
- a.Size = Vector3.new(0.1, 0.1, 0.1)
- a.CFrame = CFrame.new(Arrow.CFrame.p, position) * CFrame.new(0, 0, 0)
- Arrow.CFrame = a.CFrame
- a:Destroy()
- CFuncs["Sound"].Create("rbxassetid://304448425", Arrow, 1.5, 0.9)
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = Arrow.CFrame.lookVector*800
- bv.Parent = Arrow
- game:GetService("Debris"):AddItem(Arrow, 10)
- local hitted = false
- Arrow.CFrame = Arrow.CFrame*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0))
- wait(0.01)
- local hit =Arrow.Touched:connect(function(hit)
- if hitted == false and not hit:IsDescendantOf(char) then
- hitted = true
- eff.Enabled = false
- eff2.Enabled = false
- --CamShakeAll(25,15,char)
- local posy = Instance.new("Part", effectmodel)
- posy.Transparency = 1
- Arrow.CanCollide = false
- posy.CFrame = Arrow.CFrame*CFrame.new(0,0,0)
- posy.Anchored = true
- Arrow.CFrame = Arrow.CFrame*CFrame.new(0,4,0)
- Arrow.Anchored = true
- --Arrow.Transparency = 1
- CFuncs["Sound"].Create("rbxassetid://201858045", posy, 15, 1)
- CFuncs["Sound"].Create("rbxassetid://2011915907", posy, 15, 1)
- CFuncs["Sound"].Create("rbxassetid://539294959", posy, 15, 1)
- CFuncs["Sound"].Create("rbxassetid://258057783", posy, 15, 1)
- CamShakeAll({
- Duration=0.4;
- Intensity=15;
- Position=Vector3.new(1,1,1);
- Rotation=Vector3.new(2,2,8);
- DropDist=90;
- IneffectiveDist=125;
- Origin=posy.Position;
- })
- MagniDamage(posy, 20, 85,100, 200, "UpKnock")
- coroutine.resume(coroutine.create(function()
- for i = 0, 11 do
- swait(6)
- block(2,"Add",posy.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4,4,4),0.5,0.5,0.5,keptcolor,keptcolor.Color)
- block(1,"Add",posy.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4,4,4),0.5,0.5,0.5,keptcolor,keptcolor.Color)
- end
- end))
- coroutine.resume(coroutine.create(function()
- for i = 0, 21 do
- swait()
- sphere2(4,"Add",posy.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1,1.5),-0.005,4,-0.005,keptcolor)
- end
- end))
- for i = 0, 19 do
- slash(math.random(10,50)/10,5,true,"Round","Add","Out",posy.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,250)/250,keptcolor2)
- end
- for i = 0, 19 do
- local rsiz = math.random(10,30)
- sphereMK(math.random(2,6),1,"Add",posy.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
- end
- local eff = Instance.new("ParticleEmitter",posy)
- eff.Texture = "rbxassetid://296874871"
- eff.LightEmission = 0.95
- eff.Color = ColorSequence.new(posy.BrickColor.Color)
- eff.Rate = 10000
- eff.Lifetime = NumberRange.new(1.5)
- eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
- eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
- eff.Speed = NumberRange.new(150)
- eff.Drag = 5
- eff.Rotation = NumberRange.new(-500,500)
- eff.VelocitySpread = 9000
- eff.RotSpeed = NumberRange.new(-500,500)
- eff.Enabled = false
- coroutine.resume(coroutine.create(function()
- wait(0.1)
- eff.Enabled = false
- end))
- wait(10)
- Arrow:Destroy()
- posy:Destroy()
- end
- end)
- end))
- CFuncs["Sound"].Create("rbxassetid://201858045", effectmodel, 1.5, 1)
- CFuncs["Sound"].Create("rbxassetid://201858045", Torso, 8, 1)
- CFuncs["Sound"].Create("rbxassetid://137463716", Torso, 3, 1)
- CFuncs["Sound"].Create("rbxassetid://201858045", Arrow, 15, 1)
- CFuncs["Sound"].Create("rbxassetid://137463716", Arrow, 4, 1)
- for i = 0, 3, 0.1 do
- swait()
- va=va+0.005
- obj1.CFrame = sorb2.CFrame*CFrame.Angles(math.rad(15),math.rad(90),math.rad(-15))
- obj1.Transparency=obj1.Transparency+va
- RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.5*math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-90)),.4)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(90)),.4)
- RW.C0=clerp(RW.C0,cf(1.6,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-65)),.4)
- LW.C0=clerp(LW.C0,cf(-1.4,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-75)),.4)
- end
- obj1:Destroy()
- local absval = 0
- vel:Destroy()
- hum.WalkSpeed = storehumanoidWS
- attack = false
- end
- FORMULAS=script.FORMULAS
- FORMULAS.Parent=nil
- function Eradicated_Zone()
- attack = true
- hum.WalkSpeed = 0
- local Ended=false
- local GiApp=false
- local Ranged=0
- local sphwi=0
- local keptcolor = BrickColor.new("Dark indigo")
- local obj1 = FORMULAS:Clone()
- obj1.Parent = char
- obj1.Size = VT(3.5*2, 1*2, 5*2)
- obj1.Color = BrickColor.new("Royal purple").Color
- obj1.Transparency = 1
- newbosschatfunc("THE ZONE..",modet.TextColor3,modet.TextStrokeColor3,95)
- for i = 0, 3, 0.1 do
- swait()
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.15)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.15)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.15)
- RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(5),math.rad(4),math.rad(-85)),.15)
- LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(5),math.rad(-4),math.rad(91.5)),.15)
- end
- for i = 0, 5, 0.1 do
- swait()
- RH.C0=clerp(RH.C0,cf(1,-0.7,-0.5)*angles(math.rad(0),math.rad(80),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(10)),.15)
- LH.C0=clerp(LH.C0,cf(-1,-0.8,0)*angles(math.rad(0),math.rad(-80),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(15)),.15)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-.25)*angles(math.rad(0),math.rad(0),math.rad(-30)),.15)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(30)),.15)
- RW.C0=clerp(RW.C0,cf(1.5,0.45,0)*angles(math.rad(5),math.rad(0),math.rad(30)),.15)
- LW.C0=clerp(LW.C0,cf(-1.5,0.45,0)*angles(math.rad(5),math.rad(0),math.rad(-30)),.15)
- end
- --[[CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
- CFuncs["Sound"].Create("rbxassetid://588737825", root, 7.5, 1)
- ]]
- CFuncs["Sound"].Create("rbxassetid://588738198", root, 15, 0.8)
- CFuncs["Sound"].Create("rbxassetid://588737825", root, 12, 0.8)
- CFuncs["Sound"].Create("rbxassetid://1208650519", root, 8, 1.2)
- local del1=0
- coroutine.resume(coroutine.create(function()
- while true do
- swait()
- if Ended==false then
- sphwi=math.random(1,2.5)
- if math.random(1,5) == 1 then
- sphere2(math.random(1,4),"Add",root.CFrame*CFrame.new(math.random(-Ranged/1.25,Ranged/1.25),math.random(-30,-15),math.random(-Ranged/1.25,Ranged/1.25)),vt(sphwi,0,sphwi),0,math.random(0.5,1),0,BrickColor.new("Dark indigo"))
- end
- sphere2(4,"Add",root.CFrame*CFrame.new(0,-3,0),vt(2*Ranged,1,2*Ranged),0,0.01*Ranged/50,0,BrickColor.new("Royal purple"))
- for i, v in pairs(FindNearestHead(Torso.CFrame.p, Ranged)) do
- if v:FindFirstChild('Humanoid') then
- if v.Humanoid.Health<1 then
- dmg(v)
- end
- --[[if GiApp==true then
- v:FindFirstChildOfClass("Humanoid").WalkSpeed=v:FindFirstChildOfClass("Humanoid").WalkSpeed-0.25
- v:FindFirstChildOfClass("Humanoid").JumpPower=v:FindFirstChildOfClass("Humanoid").JumpPower-0.25
- if v:FindFirstChildOfClass("Humanoid").WalkSpeed<0.25 then
- v:FindFirstChildOfClass("Humanoid").WalkSpeed=0
- elseif v:FindFirstChildOfClass("Humanoid").JumpPower<0.25 then
- v:FindFirstChildOfClass("Humanoid").JumpPower=0
- end
- else
- v:FindFirstChildOfClass("Humanoid").WalkSpeed=v:FindFirstChildOfClass("Humanoid").WalkSpeed+0.25
- v:FindFirstChildOfClass("Humanoid").JumpPower=v:FindFirstChildOfClass("Humanoid").JumpPower+0.25
- if v:FindFirstChildOfClass("Humanoid").WalkSpeed>16 then
- v:FindFirstChildOfClass("Humanoid").WalkSpeed=16
- elseif v:FindFirstChildOfClass("Humanoid").JumpPower>50 then
- v:FindFirstChildOfClass("Humanoid").JumpPower=50
- end
- end]]
- if GiApp==false then
- del1=del1+1
- if del1>7.5 then
- del1=0
- v:FindFirstChildOfClass("Humanoid").Health = v:FindFirstChildOfClass("Humanoid").Health - math.random(10,25)/20
- hum.Health = hum.Health + math.random(10,25)/20
- if(v:FindFirstChild'HumanoidRootPart')then
- CFuncs["Sound"].Create("rbxassetid://588738198", v.HumanoidRootPart, 2, 1.1)
- end
- end
- end
- end
- end
- else
- break
- end
- end
- end))
- newbosschatfunc("OF ERADICATIONS!",modet.TextColor3,modet.TextStrokeColor3,80)
- --[[sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,MAINRUINCOLOR)
- sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,MAINRUINCOLOR)
- sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(200,0.1,200),0.01,MAINRUINCOLOR)
- ]]
- CamShakeAll({
- Duration=1;
- Intensity=2;
- Position=Vector3.new(0--[[2]],0--[[2]],0--[[2]]);
- Rotation=Vector3.new(2,2,6);
- DropDist=120;
- IneffectiveDist=80;
- Origin=root.Position;
- })
- for i = 0, 10, 0.1 do
- swait()
- Ranged=Ranged+0.8
- RH.C0=clerp(RH.C0,cf(1,-1.1,0)*angles(math.rad(0),math.rad(85),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.01)
- LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-85),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.01)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,.1)*angles(math.rad(0),math.rad(0),math.rad(-25)),.01)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15),math.rad(0),math.rad(25)),.01)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(175),math.rad(0),math.rad(10)),.02)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(175),math.rad(0),math.rad(-10)),.02)
- end
- local rrot=0
- local effectsss = Instance.new("Part", effectmodel)
- effectsss.Size = Vector3.new(6,0.1,6)
- effectsss.CanCollide = false
- effectsss.Transparency = 1
- coroutine.resume(coroutine.create(function()
- for _,v in next, secondchar:children() do
- if(v.Name~='REye' and v.Name~='LEye')then
- v.BrickColor=BrickColor.new'Dark indigo'
- v.Material=Enum.Material.Glass
- else
- v.Color=Color3.new(1,1,1)
- v.Material=Enum.Material.Neon
- end
- v.Transparency=1
- end
- for i = 0,1,0.1 do
- torsweld.C1=clerp(torsweld.C1,cf(0,21.5,0)*angles(math.rad(70),math.rad(0),math.rad(0)),1)
- larmsweld.C1=clerp(larmsweld.C1,cf(-0.5*8,0.125*8,0.5*8)*angles(math.rad(0),math.rad(0),math.rad(-87)),1)
- rarmsweld.C1=clerp(rarmsweld.C1,cf(0.5*8,0.125*8,0.5*8)*angles(math.rad(0),math.rad(0),math.rad(91)),1)
- llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
- rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
- hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,0)*angles(math.rad(30),math.rad(0),math.rad(0)),1)
- end
- CFuncs["Sound"].Create("rbxassetid://528589382", sectors, 5, 1.5)
- GiApp=true
- for i = 0,15,0.1 do
- swait()
- for _,v in next, secondchar:children() do
- if(v.Name=='REye' or v.Name=='LEye')then
- v.Transparency=v.Transparency - 1/150
- else
- v.Transparency=v.Transparency - .5/150
- end
- end
- sectors.Transparency = sectors.Transparency - 0.002
- --PixelBlockNeg(1,math.random(1,5),"Add",root.CFrame*CFrame.new(math.random(-45,45),0,math.random(-45,45))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.1,MAINRUINCOLOR,-10)
- torsweld.C1=clerp(torsweld.C1,cf(0,-21.5 ,-10)*angles(math.rad(0),math.rad(0),math.rad(0)),.025)
- larmsweld.C1=clerp(larmsweld.C1,cf(-0.5*8,0.125*8,0.5*8)*angles(math.rad(0),math.rad(0),math.rad(-87)),1)
- rarmsweld.C1=clerp(rarmsweld.C1,cf(0.5*8,0.125*8,0.5*8)*angles(math.rad(0),math.rad(0),math.rad(91)),1)
- llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
- rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
- hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,0.2)*angles(math.rad(-10),math.rad(0),math.rad(0)),0.025)
- RH.C0=clerp(RH.C0,cf(1,-1.1,0)*angles(math.rad(0),math.rad(85),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.01)
- LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-85),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.01)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,.1)*angles(math.rad(0),math.rad(0),math.rad(0)),.01)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.01)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(10)),.02)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.02)
- end
- for i = 0, 20 do
- sphere2(math.random(5,10),"Add",seclarm.CFrame*CFrame.new(0,0,0),vt(1,1,1),1.25,1.25,1.25,BrickColor.new("Royal purple"))
- sphere2(math.random(5,10),"Add",secrarm.CFrame*CFrame.new(0,0,0),vt(1,1,1),1.2,1.25,1.25,BrickColor.new("Royal purple"))
- end
- for i = 0,3,0.1 do
- swait()
- torsweld.C1=clerp(torsweld.C1,cf(0,-21.5 ,-10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),0.3)
- rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),0.3)
- llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
- rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
- hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,0.2)*angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
- end
- for i = 0,10,0.1 do
- swait()
- block(10,"Add",secrleg.CFrame*CFrame.new(0,-1*8,0),vt(1,1,1),0.02*8,0.02*8,0.02*8,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
- torsweld.C1=clerp(torsweld.C1,cf(0,-21.5 ,-10)*angles(math.rad(-10),math.rad(0),math.rad(0)),.025)
- larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.025)
- rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.025)
- llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,.25*8)*angles(math.rad(10),math.rad(0),math.rad(0)),.025)
- rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,1*8,1*8)*angles(math.rad(0),math.rad(0),math.rad(0)),.025)
- hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,-0.5)*angles(math.rad(25),math.rad(0),math.rad(0)),.025)
- RH.C0=clerp(RH.C0,cf(1,-1.1,0)*angles(math.rad(0),math.rad(85),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.01)
- LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-85),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.01)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,.1)*angles(math.rad(0),math.rad(0),math.rad(0)),.01)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.01)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(10)),.02)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.02)
- end
- local efec = Instance.new("ParticleEmitter",effectsss)
- efec.Texture = "rbxassetid://2092248396"
- efec.LightEmission = 0
- efec.Color = ColorSequence.new(BrickColor.new("Royal purple").Color)
- efec.Rate = 1000000000
- efec.EmissionDirection = "Top"
- efec.Lifetime = NumberRange.new(1,5)
- --efec.Drag = 0
- efec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.1,30,0),NumberSequenceKeypoint.new(0.8,15,0),NumberSequenceKeypoint.new(1,0,0)})
- efec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
- efec.Speed = NumberRange.new(120,750)
- efec.LockedToPart = false
- efec.Rotation = NumberRange.new(-500,500)
- efec.RotSpeed = NumberRange.new(-500,500)
- --efec.VelocitySpread = 0
- efec.Enabled = true
- for i = 0,3 do
- swait()
- for i = 0,1.5,0.1 do
- swait()
- block(10,"Add",secrleg.CFrame*CFrame.new(0,-1*8,0),vt(1,1,1),0.02*8,0.02*8,0.02*8,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
- effectsss.CFrame = root.CFrame*cf(math.random(-90,90),5,math.random(-90,90))*angles(math.rad(180),math.rad(0),math.rad(0))
- torsweld.C1=clerp(torsweld.C1,cf(0,-21.5 ,-10)*angles(math.rad(10),math.rad(0),math.rad(0)),.2)
- larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
- rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.2)
- llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,-.25*8)*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
- rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,1*8)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,-0.5)*angles(math.rad(25),math.rad(0),math.rad(0)),.2)
- RH.C0=clerp(RH.C0,cf(1,-1.1,0)*angles(math.rad(0),math.rad(85),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.01)
- LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-85),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.01)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,.1)*angles(math.rad(0),math.rad(0),math.rad(0)),.01)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.01)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(10)),.02)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.02)
- end
- symbolizeBlink(root,0,2092248396,MAINRUINCOLOR.Color,25,0,0,0,root,true,math.random(-1,1),1)
- symbolizeBlink(root,0,2092248396,MAINRUINCOLOR.Color,25,0,0,0,root,true,math.random(-2,2),1.5)
- symbolizeBlink(root,0,2092248396,MAINRUINCOLOR.Color,25,0,0,0,root,true,math.random(-3,3),3)
- CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
- CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
- CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
- CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
- CFuncs["EchoSound"].Create("rbxassetid://824687369", effectmodel, 1.5, 1.1,0,10,0.25,0.5,1)
- MagniDamage(root, Ranged, 10,19, 0, "Normal")
- CamShakeAll({
- Duration=0.2;
- Intensity=7.5;
- Position=Vector3.new(2--[[2]],2--[[2]],2--[[2]]);
- Rotation=Vector3.new(2,2,6);
- DropDist=165;
- IneffectiveDist=95;
- Origin=root.Position;
- })
- rrot = rrot + 45
- local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
- xa.Anchored = true
- local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
- xb.Anchored = true
- local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
- xc.Anchored = true
- local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
- xd.Anchored = true
- xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-35)
- xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,35)
- xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-35,-3,0)
- xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(35,-3,0)
- game:GetService("Debris"):AddItem(xa, 5)
- game:GetService("Debris"):AddItem(xb, 5)
- game:GetService("Debris"):AddItem(xc, 5)
- game:GetService("Debris"):AddItem(xd, 5)
- coroutine.resume(coroutine.create(function()
- local eff = Instance.new("ParticleEmitter",cen)
- eff.Texture = "rbxassetid://2344870656"
- eff.LightEmission = 1
- eff.Color = ColorSequence.new(BrickColor.new("Royal purple").Color)
- eff.Rate = 10000000
- eff.Enabled = true
- eff.EmissionDirection = "Front"
- eff.Lifetime = NumberRange.new(1)
- eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,120,0),NumberSequenceKeypoint.new(0.1,40,0),NumberSequenceKeypoint.new(0.8,80,0),NumberSequenceKeypoint.new(1,140,0)})
- eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
- eff.Speed = NumberRange.new(375)
- eff.Drag = 5
- eff.Rotation = NumberRange.new(-500,500)
- eff.SpreadAngle = Vector2.new(0,900)
- eff.RotSpeed = NumberRange.new(-500,500)
- wait(0.2)
- eff.Enabled = false
- wait(5)
- eff:Destroy()
- end))
- for i = 0,2.5,0.1 do
- swait()
- block(10,"Add",secrleg.CFrame*CFrame.new(0,-1*8,0),vt(1,1,1),0.02*8,0.02*8,0.02*8,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
- effectsss.CFrame = root.CFrame*cf(math.random(-80,80),5,math.random(-80,80))*angles(math.rad(180),math.rad(0),math.rad(0))
- torsweld.C1=clerp(torsweld.C1,cf(0,-21.5 ,-10)*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
- larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.1)
- rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.1)
- llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,.25*8)*angles(math.rad(10),math.rad(0),math.rad(0)),.1)
- rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,1*8,1*8)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
- hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,-0.5)*angles(math.rad(25),math.rad(0),math.rad(0)),.1)
- RH.C0=clerp(RH.C0,cf(1,-1.1,0)*angles(math.rad(0),math.rad(85),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.01)
- LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-85),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.01)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,.1)*angles(math.rad(0),math.rad(0),math.rad(0)),.01)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.01)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(10)),.02)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.02)
- end
- end
- for i = 0,10,0.1 do
- swait()
- block(10,"Add",secrleg.CFrame*CFrame.new(0,-1*8,0),vt(1,1,1),0.02*8,0.02*8,0.02*8,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
- effectsss.CFrame = root.CFrame*cf(math.random(-80,80),5,math.random(-80,80))*angles(math.rad(180),math.rad(0),math.rad(0))
- torsweld.C1=clerp(torsweld.C1,cf(0,-21.5 ,-10)*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
- larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.1)
- rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.1)
- llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,.25*8)*angles(math.rad(10),math.rad(0),math.rad(0)),.1)
- rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,1*8,1*8)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
- hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,-0.5)*angles(math.rad(25),math.rad(0),math.rad(0)),.1)
- RH.C0=clerp(RH.C0,cf(1,-1.1,0)*angles(math.rad(-5),math.rad(85),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.02)
- LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(-5),math.rad(-85),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.02)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,.1)*angles(math.rad(-5),math.rad(0),math.rad(0)),.02)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15),math.rad(0),math.rad(0)),.02)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.02)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.02)
- end
- for i = 0,1,0.1 do
- swait()
- block(10,"Add",secrleg.CFrame*CFrame.new(0,-1*8,0),vt(1,1,1),0.02*8,0.02*8,0.02*8,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
- effectsss.CFrame = root.CFrame*cf(math.random(-90,90),5,math.random(-90,90))*angles(math.rad(180),math.rad(0),math.rad(0))
- torsweld.C1=clerp(torsweld.C1,cf(0,-21.5 ,-10)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
- larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
- rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
- llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,-.25*8)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
- rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,1*8)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,-0.5)*angles(math.rad(25),math.rad(0),math.rad(0)),.3)
- RH.C0=clerp(RH.C0,cf(1,-1.1,0)*angles(math.rad(15),math.rad(85),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.2)
- LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(15),math.rad(-85),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.2)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,.1)*angles(math.rad(15),math.rad(0),math.rad(0)),.2)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(35),math.rad(0),math.rad(0)),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(20),math.rad(0),math.rad(-10)),.2)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(20),math.rad(0),math.rad(10)),.2)
- end
- CFuncs["EchoSound"].Create("rbxassetid://689743416", root, 15, 1,0,10,0.25,0.5,1)
- CFuncs["EchoSound"].Create("rbxassetid://159106174", root, 0.5, 0.7,0,10,0.25,0.5,1)
- CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
- CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
- CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
- CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
- CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
- coroutine.resume(coroutine.create(function()
- local eff = Instance.new("ParticleEmitter",cen)
- eff.Texture = "rbxassetid://2344870656"
- eff.LightEmission = 1
- eff.Color = ColorSequence.new(BrickColor.new("Royal purple").Color)
- eff.Rate = 10000000
- eff.Enabled = true
- eff.EmissionDirection = "Front"
- eff.Lifetime = NumberRange.new(3,5)
- eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,120,0),NumberSequenceKeypoint.new(0.1,40,0),NumberSequenceKeypoint.new(0.8,80,0),NumberSequenceKeypoint.new(1,140,0)})
- eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
- eff.Speed = NumberRange.new(375,650)
- eff.Drag = 5
- eff.Rotation = NumberRange.new(-500,500)
- eff.SpreadAngle = Vector2.new(0,900)
- eff.RotSpeed = NumberRange.new(-500,500)
- wait(1)
- eff.Enabled = false
- wait(5)
- eff:Destroy()
- end))
- CamShakeAll({
- Duration=0.5;
- Intensity=8;
- Position=Vector3.new(2--[[2]],2--[[2]],2--[[2]]);
- Rotation=Vector3.new(2,2,6);
- DropDist=185;
- IneffectiveDist=130;
- Origin=root.Position;
- })
- symbolizeBlink(root,0,2092248396,MAINRUINCOLOR.Color,75,0,0,0,root,true,math.random(-1,1),1)
- symbolizeBlink(root,0,2092248396,MAINRUINCOLOR.Color,75,0,0,0,root,true,math.random(-2,2),1.5)
- symbolizeBlink(root,0,2092248396,MAINRUINCOLOR.Color,75,0,0,0,root,true,math.random(-3,3),3)
- MagniDamage(root, Ranged+45, 40,60, 0, "Normal")
- sphere2(2,"Add",root.CFrame*CFrame.new(0,-3,10),vt(50,1,50),-0.4,6,-0.4,BrickColor.new("Royal purple"))
- sphere2(2.125,"Add",root.CFrame*CFrame.new(0,-3,10),vt(100,1,100),-0.8,12,-0.8,BrickColor.new("Really black"))
- for i = 0, 45 do
- sphere2(math.random(1,10),"Add",root.CFrame*CFrame.new(0,0,0),vt(1,1,1),2.25,2.25,2.25,BrickColor.new("Royal purple"))
- end
- for i = 0,5,0.1 do
- swait()
- for _,v in next, secondchar:children() do
- v.Transparency=v.Transparency + 1/50
- end
- end
- efec.Enabled = false
- Ended=true
- attack = false
- hum.WalkSpeed=storehumanoidWS
- wait(5)
- effectsss:Destroy()
- efec:Destroy()
- end))
- local roat=0
- local Moveup=0
- newbosschatfunc("Dark Formula 63 : Cast!",modet.TextColor3,modet.TextStrokeColor3,200)
- for i = 0, 40, 0.1 do
- swait()
- roat=roat+5
- Moveup=Moveup+0.1
- if Moveup>10 then
- Moveup=10
- end
- obj1.Transparency = obj1.Transparency - 0.01
- obj1.CFrame = root.CFrame*CFrame.new(0,Moveup,0)*CFrame.Angles(math.rad(0),math.rad(roat),math.rad(-70))
- end
- for i = 0, 20, 0.1 do
- swait()
- roat=roat+5
- Moveup=Moveup-0.2
- if Moveup<1 or Moveup==0 then
- Moveup=0
- end
- obj1.Transparency = obj1.Transparency + 0.08
- obj1.CFrame = root.CFrame*CFrame.new(0,Moveup,0)*CFrame.Angles(math.rad(0),math.rad(roat),math.rad(-70))
- end
- obj1.Transparency=1
- obj1:Destroy()
- end
- v3=Vector3.new
- function Coctilis()
- attack = true
- hum.WalkSpeed=0
- for i = 0, 2, 0.1 do
- swait()
- local Alpha = .4
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,-0.8,-0.3)*angles(math.rad(-30.9),math.rad(0),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-1,-1.1,0)*angles(math.rad(-31.1),math.rad(4.7),math.rad(-11))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(0.9,-0.1,-0.4)*angles(math.rad(39.5),math.rad(-15.7),math.rad(1.1))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.4,0.2,0.3)*angles(math.rad(-17.3),math.rad(0.3),math.rad(-54.4)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.2,0.3,0.3)*angles(math.rad(-18.3),math.rad(-0.9),math.rad(57)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0.1,-0.4)*angles(math.rad(21.8),math.rad(0),math.rad(0))*necko,Alpha)
- end
- RootPart.Anchored = true
- hum.AutoRotate = false
- local oring = RootPart.Position
- for si = 1, 30 do
- slash(math.random(10,100)/10,3,true,"Round","Add","Out",root.CFrame*cf(0,-3,0)*angles(math.rad(math.random(-10,10)),math.rad(math.random(-360,360)),math.rad(math.random(-10,10))),vt(0.05,0.01,0.05),math.random(10,125)/250,BrickColor.new("White"))
- end
- for i = 0, 5, 0.1 do
- swait()
- local Alpha = .45
- if i <= 3.3 then
- RootPart.CFrame = RootPart.CFrame:lerp(cf(oring+v3(0,0+100*i,0)),Alpha*1.5)
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(math.rad(-0.1),math.rad(0+800*i),math.rad(0))*RootCF,Alpha*1.5)
- else
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(math.rad(-0.1),math.rad(0),math.rad(0))*RootCF,Alpha*1.5)
- end
- LH.C0 = LH.C0:lerp(cf(-1,-0.9,0)*angles(math.rad(-9.6),math.rad(5.4),math.rad(-7.2))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(1,-0.4,-0.5)*angles(math.rad(-10.2),math.rad(-9.8),math.rad(6.4))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.4,0.4,-0.2)*angles(math.rad(3.2),math.rad(-25.2),math.rad(-78.8)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.5,0.4,0.2)*angles(math.rad(2.9),math.rad(-29.5),math.rad(80.4)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0.1,-0.3)*angles(math.rad(20.1),math.rad(0),math.rad(0))*necko,Alpha)
- end
- for i = 0, 1.6, 0.1 do
- swait()
- local Alpha = .3
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(math.rad(5.1),math.rad(0),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-1,-0.9,0)*angles(math.rad(-9.6),math.rad(5.4),math.rad(-7.2))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(1,-0.4,-0.5)*angles(math.rad(-10.2),math.rad(-9.8),math.rad(6.4))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-0.9,0.4,-0.4)*angles(math.rad(82.1),math.rad(19.3),math.rad(67.9)),Alpha)
- RW.C0 = RW.C0:lerp(cf(0.9,0.5,-0.3)*angles(math.rad(83.5),math.rad(-8.3),math.rad(-55.2)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0.3,0.4)*angles(math.rad(-33.1),math.rad(0),math.rad(0))*necko,Alpha)
- end
- Kyu1.Enabled = true
- Kyu2.Enabled = true
- for i = 0, 2, 0.1 do
- swait()
- local Alpha = .4
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0.1)*angles(math.rad(16.1),math.rad(0),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-1,-0.9,0)*angles(math.rad(-9.6),math.rad(5.4),math.rad(-7.2))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(1,-0.4,-0.5)*angles(math.rad(-10.2),math.rad(-9.8),math.rad(6.4))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.3,0.3,0.2)*angles(math.rad(-4.6),math.rad(40),math.rad(-59.9)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.4,0.4,0.1)*angles(math.rad(-5.7),math.rad(-29.2),math.rad(70.3)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0.2,-0.3)*angles(math.rad(24.5),math.rad(0),math.rad(0))*necko,Alpha)
- end
- newbosschatfunc("Look like you're about to turn into ashes...",MAINRUINCOLOR.Color,SECONDRUINCOLOR.Color,1500)
- for i = 0, 10, 0.1 do
- swait()
- local Alpha = .4
- if i <= 1 then
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,-0.2,-0.4)*angles(math.rad(-50.1+360*i),math.rad(0),math.rad(0))*RootCF,Alpha)
- else
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,-0.2,-0.4)*angles(math.rad(-50.1),math.rad(0),math.rad(0))*RootCF,Alpha)
- end
- LH.C0 = LH.C0:lerp(cf(-1,-0.9,0)*angles(math.rad(-9.6),math.rad(5.4),math.rad(-7.2))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(1,-0.4,-0.5)*angles(math.rad(-10.2),math.rad(-9.8),math.rad(6.4))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.5,0.5,0.2)*angles(math.rad(-39.7),math.rad(4.7),math.rad(-67.6)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.6,0.5,0.2)*angles(math.rad(-38.8),math.rad(-8.1),math.rad(56.8)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0.3,-0.8)*angles(math.rad(40.4),math.rad(0),math.rad(0))*necko,Alpha)
- end
- oring = RootPart.Position
- local MM=mouse.Hit.p+v3(0,3,0)
- RootPart.CFrame = CFrame.new(MM, oring)*CFrame.Angles(0,math.rad(180),0)
- MagniDamage(root, 80, 79,90, 0, "Burn")
- newbosschatfunc("HA!",MAINRUINCOLOR.Color,SECONDRUINCOLOR.Color,30)
- CFuncs["Sound"].Create("rbxassetid://255679373", char, 5.25,1)
- for i = 1, 36 do
- slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,350)/250,MAINRUINCOLOR)
- end
- symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
- symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
- symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
- sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
- sphere(2.5,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
- sphere(2.5,"Add",root.CFrame,vt(0,0,0),3,MAINRUINCOLOR)
- for i = 0, 148 do
- PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
- end
- for i = 0,3,0.1 do
- sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
- end
- for i = 0, 3, 0.1 do
- swait()
- local Alpha = .3
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,-0.6,-0.6)*angles(math.rad(-45.7),math.rad(0),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-1,-1,0.1)*angles(math.rad(3.4),math.rad(4.5),math.rad(-8))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(1.2,-0.1,-0.4)*angles(math.rad(49.8),math.rad(-9),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.5,0.5,0)*angles(math.rad(14.1),math.rad(0),math.rad(-27)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.6,0.5,0)*angles(math.rad(14.1),math.rad(0),math.rad(32.6)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0.1,0.3)*angles(math.rad(-14.3),math.rad(0),math.rad(0))*necko,Alpha)
- end
- Kyu1.Enabled = false
- Kyu2.Enabled = false
- RootPart.Anchored = false
- attack = false
- hum.AutoRotate = true
- hum.WalkSpeed=storehumanoidWS
- end
- function MergeWithSpirit()
- storehumanoidWS=0
- Humanoid.WalkSpeed=0
- Humanoid.JumpPower=0
- attack=true
- newbosschatfunc("What is this feeling..?",BrickColor.new'Really black'.Color,BrickColor.new'Black'.Color,200)
- currentThemePlaying=''
- for i = 0, 12, 0.1 do
- swait()
- local Alpha = .1
- RootJoint.C0 = RootJoint.C0:lerp(cf(-0.2,-1.4,-0.5)*angles(math.rad(-36),math.rad(-16.3),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-0.9,0.3,-0.1)*angles(math.rad(17.7),math.rad(15.6),math.rad(-4.9))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(1.2,-1.2,-0.3)*angles(math.rad(-32.5),math.rad(13.9),math.rad(8.7))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.5,0.3,-0.4)*angles(math.rad(43.5),math.rad(12),math.rad(-11.1)),Alpha)
- RW.C0 = RW.C0:lerp(cf(0.9,0.2,-0.4)*angles(math.rad(41.2),math.rad(0),math.rad(-63.3)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0.1,0.2,0.4)*angles(math.rad(-29.6),math.rad(16.9),math.rad(9.4))*necko,Alpha)
- end
- newbosschatfunc("My soul feels..",BrickColor.new'Really black'.Color,BrickColor.new'Black'.Color,200)
- for i = 0, 12, 0.1 do
- swait()
- local Alpha = .1
- RootJoint.C0 = RootJoint.C0:lerp(cf(-0.2,-1.4,-0.5)*angles(math.rad(-36),math.rad(-16.3),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-0.9,0.3,-0.1)*angles(math.rad(17.7),math.rad(15.6),math.rad(-4.9))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(1.2,-1.2,-0.3)*angles(math.rad(-32.5),math.rad(13.9),math.rad(8.7))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.5,0.3,-0.4)*angles(math.rad(43.5),math.rad(12),math.rad(-11.1)),Alpha)
- RW.C0 = RW.C0:lerp(cf(0.9,0.2,-0.4)*angles(math.rad(41.2),math.rad(0),math.rad(-63.3)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(-0.1,0.2,-0.4)*angles(math.rad(29.3),math.rad(16.9),math.rad(-9.3))*necko,Alpha)
- end
- newbosschatfunc("Empty..",BrickColor.new'Really black'.Color,BrickColor.new'Black'.Color,200)
- for i = 0, 12, 0.1 do
- swait()
- local Alpha = .1
- RootJoint.C0 = RootJoint.C0:lerp(cf(-0.2,-1.4,-0.5)*angles(math.rad(-36),math.rad(-16.3),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-0.9,0.3,-0.1)*angles(math.rad(17.7),math.rad(15.6),math.rad(-4.9))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(1.2,-1.2,-0.3)*angles(math.rad(-32.5),math.rad(13.9),math.rad(8.7))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.5,0.3,-0.4)*angles(math.rad(43.5),math.rad(12),math.rad(-11.1)),Alpha)
- RW.C0 = RW.C0:lerp(cf(0.9,0.2,-0.4)*angles(math.rad(41.2),math.rad(0),math.rad(-63.3)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0.1,0.2,0.4)*angles(math.rad(-29.6),math.rad(16.9),math.rad(9.4))*necko,Alpha)
- end
- newbosschatfunc("Oh wait..",BrickColor.new'Really black'.Color,BrickColor.new'Black'.Color,200)
- for i = 0, 8, 0.1 do
- swait()
- local Alpha = .1
- RootJoint.C0 = RootJoint.C0:lerp(cf(-0.2,-1.4,-0.5)*angles(math.rad(-36),math.rad(-16.3),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-0.9,0.3,-0.1)*angles(math.rad(17.7),math.rad(15.6),math.rad(-4.9))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(1.2,-1.2,-0.3)*angles(math.rad(-32.5),math.rad(13.9),math.rad(8.7))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.5,0.3,-0.4)*angles(math.rad(43.5),math.rad(12),math.rad(-11.1)),Alpha)
- RW.C0 = RW.C0:lerp(cf(0.9,0.2,-0.4)*angles(math.rad(41.2),math.rad(0),math.rad(-63.3)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0.1,0.2,0.4)*angles(math.rad(-29.6),math.rad(16.9),math.rad(9.4))*necko,Alpha)
- end
- newbosschatfunc("Ahah.. I know this feeling..",BrickColor.new'Really black'.Color,BrickColor.new'Black'.Color,200)
- for i = 0, 12, 0.1 do
- swait()
- local Alpha = .1
- RootJoint.C0 = RootJoint.C0:lerp(cf(-0.2,-1.4,-0.5)*angles(math.rad(-36),math.rad(-16.3),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-0.9,0.3,-0.1)*angles(math.rad(17.7),math.rad(15.6),math.rad(-4.9))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(1.2,-1.2,-0.3)*angles(math.rad(-32.5),math.rad(13.9),math.rad(8.7))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.5,0.3,-0.4)*angles(math.rad(43.5),math.rad(12),math.rad(-11.1)),Alpha)
- RW.C0 = RW.C0:lerp(cf(0.9,0.2,-0.4)*angles(math.rad(41.2),math.rad(0),math.rad(-63.3)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0.1,0.2,0.4)*angles(math.rad(-29.6),math.rad(16.9),math.rad(9.4))*necko,Alpha)
- end
- newbosschatfunc("And.. It needs to be released!",BrickColor.new'Really black'.Color,BrickColor.new'Black'.Color,200)
- for i = 0, 12, 0.1 do
- swait()
- local Alpha = .1
- RootJoint.C0 = RootJoint.C0:lerp(cf(-0.2,-1.4,-0.5)*angles(math.rad(-36),math.rad(-16.3),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-0.9,0.3,-0.1)*angles(math.rad(17.7),math.rad(15.6),math.rad(-4.9))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(1.2,-1.2,-0.3)*angles(math.rad(-32.5),math.rad(13.9),math.rad(8.7))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.5,0.3,-0.4)*angles(math.rad(43.5),math.rad(12),math.rad(-11.1)),Alpha)
- RW.C0 = RW.C0:lerp(cf(0.9,0.2,-0.4)*angles(math.rad(41.2),math.rad(0),math.rad(-63.3)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(-0.1,0.2,-0.4)*angles(math.rad(29.3),math.rad(16.9),math.rad(-9.3))*necko,Alpha)
- end
- for i = 0, 19 do
- slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-2.5,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.002,0.01),math.random(150,250)/250,SECONDRUINCOLOR)
- end
- CFuncs["Sound"].Create("rbxassetid://1368637781", root, 4,1)
- CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
- CFuncs["Sound"].Create("rbxassetid://1310128035", root, 9, 0.9)
- CFuncs["Sound"].Create("rbxassetid://199145739", root, 3,1)
- MagniDamage(root, 50, 40,50, 0, "Normal")
- sphere2(2,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),2,2,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
- sphere2(3,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),2,2,2,SECONDRUINCOLOR,SECONDRUINCOLOR.Color)
- CFuncs['Sound'].Create("rbxassetid://528589078",root,10,.7)
- for _,v in next, secondchar:children() do
- if(v.Name~='REye' and v.Name~='LEye')then
- v.BrickColor=BrickColor.new'Black'
- v.Material=Enum.Material.Glass
- else
- v.Color=Color3.new(1,1,1)
- v.Material=Enum.Material.Neon
- end
- v.Transparency=1
- end
- torsweld.C1=cf(0,21.5,0)*angles(math.rad(70),math.rad(0),math.rad(0))
- larmsweld.C1=cf(-0.5*8,0.125*8,0.5*8)*angles(math.rad(0),math.rad(0),math.rad(-87))
- rarmsweld.C1=cf(0.5*8,0.125*8,0.5*8)*angles(math.rad(0),math.rad(0),math.rad(91))
- llegsweld.C1=cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0))
- rlegsweld.C1=cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0))
- hedsweld.C1=cf(0,-1.5*8,0)*angles(math.rad(30),math.rad(0),math.rad(0))
- for i = 0, 16, 0.1 do
- swait()
- blast(math.random(10,30)/10,5,true,10,"Add","Out",root.CFrame*CFrame.new(0,-2.5,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,.2,1),math.random(75,125),MAINRUINCOLOR)
- for _,v in next, secondchar:children() do
- if(v.Name=='REye' or v.Name=='LEye')then
- v.Transparency=v.Transparency - 1/150
- else
- v.Transparency=v.Transparency - .5/150
- end
- end
- torsweld.C1=torsweld.C1:lerp(cf(0,-21,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),.05)
- larmsweld.C1=larmsweld.C1:lerp(cf(-1.5*8,0,0)*angles(math.rad(0),math.rad(0),math.rad(-5)),.1)
- rarmsweld.C1=rarmsweld.C1:lerp(cf(1.5*8,0,0)*angles(math.rad(0),math.rad(0),math.rad(5)),.1)
- llegsweld.C1=llegsweld.C1:lerp(cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
- rlegsweld.C1=rlegsweld.C1:lerp(cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
- hedsweld.C1=hedsweld.C1:lerp(cf(0,-1.5*8,0)*angles(math.rad(30),math.rad(0),math.rad(0)),.1)
- local Alpha = .3
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0.3)*angles(math.rad(21.6),math.rad(0),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-1,-1,0)*angles(math.rad(-21.6),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(1,-1,0.1)*angles(math.rad(-21.6),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-2,0.5,0.8)*angles(math.rad(0),math.rad(35),math.rad(90)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.2,0.5,0.3)*angles(math.rad(0),math.rad(-35),math.rad(90)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0,-0.3)*angles(math.rad(15.2),math.rad(0),math.rad(0))*necko,Alpha)
- end
- newbosschatfunc("LETS PLAY!",BrickColor.new'Really black'.Color,BrickColor.new'Black'.Color,200)
- for i = 0, 4, 0.1 do
- hedsweld.C1=hedsweld.C1:lerp(cf(0,-1.5*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
- swait()
- end
- kan.TimePosition=0
- Humanoid.JumpPower=50
- attack=false
- end
- function bigattackone()
- attack=true
- for i = 0, 3, 0.1 do
- swait()
- local Alpha = .3
- block(10,"Add",secrarm.CFrame*CFrame.new(0,-1*8,0),vt(1,1,1),0.02*8,0.02*8,0.02*8,MAINRUINCOLOR,MAINRUINCOLOR.Color)
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0.1)*angles(math.rad(11.1),math.rad(13),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-0.9,-1,-0.3)*angles(math.rad(-11.4),math.rad(-12.7),math.rad(-2.5))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(1,-1.2,-0.2)*angles(math.rad(-39.2),math.rad(-6.4),math.rad(-1.3))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.5,0.4,0)*angles(math.rad(30.8),math.rad(-2.6),math.rad(-4.4)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.3,0.8,0)*angles(math.rad(-124),math.rad(-23.6),math.rad(36.4)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0,-0.2)*angles(math.rad(13.7),math.rad(-12.6),math.rad(3.1))*necko,Alpha)
- end
- for i = 0, .7, 0.1 do
- swait()
- local Alpha = .3
- block(10,"Add",secrarm.CFrame*CFrame.new(0,-1*8,0),vt(1,1,1),0.02*8,0.02*8,0.02*8,MAINRUINCOLOR,MAINRUINCOLOR.Color)
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,-1.3,-0.5)*angles(math.rad(-75.7),math.rad(0),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-1,0.2,-0.5)*angles(math.rad(30.2),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(1,-0.7,-0.3)*angles(math.rad(3.1),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.3,0.6,0)*angles(math.rad(-61.3),math.rad(0),math.rad(-28)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.1,0.9,-0.4)*angles(math.rad(89.1),math.rad(0),math.rad(-21.8)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*necko,Alpha)
- end
- local magPart=Instance.new("Part",effectmodel)
- magPart.Transparency=1
- magPart.Anchored=true
- magPart.CFrame=CFrame.new(secrarm.CFrame*CFrame.new(0,-8,0).p)
- CamShakeAll({
- Duration=0.25;
- Intensity=10;
- Position=Vector3.new(2,2,2);
- Rotation=Vector3.new(2,2,6);
- DropDist=60;
- IneffectiveDist=120;
- Origin=magPart.Position;
- })
- for i = 1, 16 do
- blast(math.random(5,15)/10,5,true,8,"Add","Out",magPart.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,1,1),math.random(75,125),MAINRUINCOLOR)
- blast(math.random(10,30)/10,5,true,10,"Add","Out",magPart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),math.random(125,250),SECONDRUINCOLOR)
- end
- sphere(5,'Add',magPart.CFrame,vt(.2,.2,.2),2,MAINRUINCOLOR)
- MagniDamage(magPart,30,45,95,25,'Normal')
- for i = 0, 3, 0.1 do
- swait()
- local Alpha = .3
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,-1.7,-0.5)*angles(math.rad(-75.7),math.rad(0),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-1,0.2,-0.5)*angles(math.rad(30.2),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(1,-0.7,-0.3)*angles(math.rad(3.1),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.3,0.6,0)*angles(math.rad(-61.3),math.rad(0),math.rad(-28)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.1,0.9,-0.4)*angles(math.rad(89.1),math.rad(0),math.rad(-21.8)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*necko,Alpha)
- end
- attack=false
- end
- function bigattacktwo()
- attack=true
- for i = 0, 3, 0.1 do
- swait()
- local Alpha = .3
- block(10,"Add",secrleg.CFrame*CFrame.new(0,-1*8,0),vt(1,1,1),0.02*8,0.02*8,0.02*8,MAINRUINCOLOR,MAINRUINCOLOR.Color)
- blast(math.random(20,30)/5,5,true,10,"Add","Out",secrleg.CFrame*CFrame.new(0,-1*8,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),math.random(10,25),SECONDRUINCOLOR)
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,-0.1,0.2)*angles(math.rad(28.7),math.rad(0),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-1,-0.9,0.2)*angles(math.rad(-28.7),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(1,-.2,-0.8)*angles(math.rad(-28.7),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.5,0.6,-0.2)*angles(math.rad(30.9),math.rad(0),math.rad(-25)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.5,0.6,-0.2)*angles(math.rad(30.9),math.rad(0),math.rad(25)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*necko,Alpha)
- end
- for i = 0, .7, 0.1 do
- swait()
- local Alpha = .3
- block(10,"Add",secrleg.CFrame*CFrame.new(0,-1*8,0),vt(1,1,1),0.02*8,0.02*8,0.02*8,MAINRUINCOLOR,MAINRUINCOLOR.Color)
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,-0.4,-0.3)*angles(math.rad(-34.7),math.rad(0),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(1,-0.4,-0.4)*angles(math.rad(34.7),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.5,0.4,0.1)*angles(math.rad(-65.9),math.rad(0.9),math.rad(-4.9)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.5,0.4,0.1)*angles(math.rad(-65.9),math.rad(-0.9),math.rad(4.9)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*necko,Alpha)
- end
- local magPart=Instance.new("Part",effectmodel)
- magPart.Transparency=1
- magPart.Anchored=true
- magPart.CFrame=CFrame.new(secrleg.CFrame*CFrame.new(0,-8,0).p)
- CamShakeAll({
- Duration=0.25;
- Intensity=10;
- Position=Vector3.new(2,2,2);
- Rotation=Vector3.new(2,2,6);
- DropDist=60;
- IneffectiveDist=120;
- Origin=magPart.Position;
- })
- for i = 1, 16 do
- blast(math.random(5,15)/10,5,true,8,"Add","Out",magPart.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,1,1),math.random(75,125),MAINRUINCOLOR)
- blast(math.random(10,30)/10,5,true,10,"Add","Out",magPart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),math.random(125,250),SECONDRUINCOLOR)
- end
- sphere(5,'Add',magPart.CFrame,vt(.2,.2,.2),2,MAINRUINCOLOR)
- sphere(5,'Add',magPart.CFrame,vt(5,.2,5),.1,MAINRUINCOLOR)
- MagniDamage(magPart,30,45,95,25,'Normal')
- for i = 0, 3, 0.1 do
- swait()
- local Alpha = .3
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,-0.4,-0.3)*angles(math.rad(-34.7),math.rad(0),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(1,-0.4,-0.4)*angles(math.rad(34.7),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- LW.C0 = LW.C0:lerp(cf(-1.5,0.4,0.1)*angles(math.rad(-65.9),math.rad(0.9),math.rad(-4.9)),Alpha)
- RW.C0 = RW.C0:lerp(cf(1.5,0.4,0.1)*angles(math.rad(-65.9),math.rad(-0.9),math.rad(4.9)),Alpha)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*necko,Alpha)
- end
- attack=false
- end
- function bigattackthree()
- attack = true
- hum.WalkSpeed = 2
- local keptcolor = MAINRUINCOLOR
- CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
- sphere2(5,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
- sphere2(5,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.2,0.2,0.2,keptcolor,keptcolor.Color)
- for i = 0, 14 do
- PixelBlock(1,math.random(1,3),"Add",rarm.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,SECONDRUINCOLOR,0)
- end
- for i = 0,1,0.1 do
- swait()
- sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
- RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
- LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
- end
- for i = 0, 2 do
- CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
- for i = 0,1,0.6 do
- swait()
- sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
- slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
- RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
- LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
- end
- for i = 0,1,0.6 do
- swait()
- sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
- slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
- RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
- LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
- end
- for i = 0,1,0.6 do
- swait()
- sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
- slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
- RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
- LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
- end
- for i = 0,1,0.6 do
- swait()
- sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
- slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
- RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
- LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
- end
- local rot = 0
- local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
- CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
- dis.CFrame = sectors.CFrame*CFrame.new(0,2,-24)
- CreateMesh(dis,"Sphere",40,4,40)
- local at1 = Instance.new("Attachment",dis)
- at1.Position = vt(-20,0,0)
- local at2 = Instance.new("Attachment",dis)
- at2.Position = vt(20,0,0)
- local trl = Instance.new('Trail',dis)
- trl.Attachment0 = at1
- trl.Attachment1 = at2
- trl.Texture = "rbxassetid://1049219073"
- trl.LightEmission = 1
- trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
- trl.Color = ColorSequence.new(dis.Color)
- trl.Lifetime = 0.6
- local a = Instance.new("Part",workspace)
- a.Name = "Direction"
- a.Anchored = true
- a.BrickColor = bc("Bright red")
- a.Material = "Neon"
- a.Transparency = 1
- a.CanCollide = false
- local ray = Ray.new(
- dis.CFrame.p, -- origin
- (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
- )
- local ignore = dis
- local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
- a.BottomSurface = 10
- a.TopSurface = 10
- local distance = (dis.CFrame.p - position).magnitude
- a.Size = Vector3.new(0.1, 0.1, 0.1)
- a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
- dis.CFrame = a.CFrame
- dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
- a:Destroy()
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = dis.CFrame.lookVector*1000
- bv.Parent = dis
- game:GetService("Debris"):AddItem(dis, 5)
- local hitted = false
- coroutine.resume(coroutine.create(function()
- dis.Touched:connect(function(hit)
- if hitted == false and not hit:IsDescendantOf(char) then
- hitted = true
- CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
- CamShakeAll({
- Duration=0.4;
- Intensity=3;
- Position=Vector3.new(2,2,2);
- Rotation=Vector3.new(2,2,6);
- DropDist=60;
- IneffectiveDist=80;
- Origin=dis.Position;
- })
- MagniDamage(dis, 120, 104,188, 0, "Normal")
- sphere2(8,"Add",dis.CFrame,vt(80,8,80),8,0.8,8,keptcolor,keptcolor.Color)
- sphere2(4,"Add",dis.CFrame,vt(8,8,8),4,4,4,SECONDRUINCOLOR,SECONDRUINCOLOR.Color)
- sphere2(3,"Add",dis.CFrame,vt(8,8,8),4,4,4,SECONDRUINCOLOR,SECONDRUINCOLOR.Color)
- local eff = Instance.new("ParticleEmitter",dis)
- eff.Texture = "rbxassetid://2344870656"
- eff.LightEmission = 1
- eff.Color = ColorSequence.new(dis.Color)
- eff.Rate = 10000000
- eff.Enabled = true
- eff.EmissionDirection = "Front"
- eff.Lifetime = NumberRange.new(1)
- eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)})
- eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
- eff.Speed = NumberRange.new(150)
- eff.Drag = 5
- eff.Rotation = NumberRange.new(-500,500)
- eff.SpreadAngle = Vector2.new(0,900)
- eff.RotSpeed = NumberRange.new(-500,500)
- delay(0.2, function() eff.Enabled = false end)
- coroutine.resume(coroutine.create(function()
- for i = 0, 9 do
- local disr = CreateParta(char,1,1,"Neon",keptcolor)
- disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
- local at1 = Instance.new("Attachment",disr)
- at1.Position = vt(-5,0,0)
- local at2 = Instance.new("Attachment",disr)
- at2.Position = vt(5,0,0)
- local trl = Instance.new('Trail',disr)
- trl.Attachment0 = at1
- trl.FaceCamera = true
- trl.Attachment1 = at2
- trl.Texture = "rbxassetid://2342682798"
- trl.LightEmission = 1
- trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
- trl.Color = ColorSequence.new(SECONDRUINCOLOR.Color)
- trl.Lifetime = 0.5
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = disr.CFrame.lookVector*math.random(50,200)
- bv.Parent = disr
- local val = 0
- coroutine.resume(coroutine.create(function()
- swait(30)
- for i = 0, 9 do
- swait()
- val = val + 0.1
- trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
- end
- game:GetService("Debris"):AddItem(disr, 3)
- end))
- end
- local eff = Instance.new("ParticleEmitter",dis)
- eff.Texture = "rbxassetid://2273224484"
- eff.LightEmission = 1
- eff.Color = ColorSequence.new(keptcolor.Color)
- eff.Rate = 500000
- eff.Lifetime = NumberRange.new(0.5,2)
- eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
- eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
- eff.Speed = NumberRange.new(20,250)
- eff.Drag = 5
- eff.Rotation = NumberRange.new(-500,500)
- eff.VelocitySpread = 9000
- eff.RotSpeed = NumberRange.new(-50,50)
- wait(0.25)
- eff.Enabled = false
- end))
- for i = 0, 9 do
- slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.08,0.08,0.08),math.random(800,1600)/250,SECONDRUINCOLOR)
- end
- for i = 0, 19 do
- PixelBlock(1,math.random(20,160),"Add",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),32,32,32,0.64,keptcolor,0)
- end
- dis.Anchored = true
- dis.Transparency = 1
- wait(8)
- dis:Destroy()
- end
- end)
- end))
- rot = rot - 15
- end
- for i = 0,2,0.1 do
- swait()
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-30),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.3)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
- end
- attack = false
- hum.WalkSpeed = storehumanoidWS
- end
- -------------------------------------
- if Humanoid:findFirstChild("Animator")~=nil then
- Humanoid:findFirstChild("Animator").Parent=nil
- end
- if Character:findFirstChild("Animate")~=nil then
- Character:findFirstChild("Animate").Parent=nil
- end
- local TransformCD = false
- hum.WalkSpeed = 16
- -------------------------------------
- local NewInstance = function(instance,parent,properties)
- local inst = Instance.new(instance,parent)
- if(properties)then
- for i,v in next, properties do
- pcall(function() inst[i] = v end)
- end
- end
- return inst;
- end
- local attacktype = 1
- mouse.Button1Down:connect(function()
- if(ModeOfGlitch==20 and major)then
- if attack == false and attacktype == 1 then
- attacktype = 2
- bigattackone()
- elseif attack == false and attacktype == 2 then
- attacktype = 3
- bigattacktwo()
- elseif attack == false and attacktype == 3 then
- attacktype = 1
- bigattackthree()
- end
- else
- if attack == false and attacktype == 1 then
- attacktype = 2
- attackone()
- elseif attack == false and attacktype == 2 then
- attacktype = 3
- attacktwo()
- elseif attack == false and attacktype == 3 then
- attacktype = 1
- attackthree()
- elseif attack == false and attacktype == 4 then
- attacktype = 1
- --attackfour()
- end
- end
- end)
- local modeInformation={
- {Name='COMMOTIAUS',ThemePitch=1,Walkspeed=16,Rainbow=false,Chaos=false,Theme="rbxassetid://222359560",Volume=1.2,TextColor=BrickColor.new("Bright bluish green").Color,Stroke=Color3.new(0,0.3,1),Font='Arcade',MainColor=BrickColor.new("Bright bluish green"),SecColor=BrickColor.new("Pastel light blue"),WingColor1=BrickColor.new("Bright bluish green"),WingColor2=BrickColor.new("Bright bluish green"),ExWing1={Trans=1,Color=BrickColor.new("Bright bluish green")},ExWing2={Trans=1,Color=BrickColor.new("Bright bluish green")},SecondWing=true,SecondTrail=false,MainTrail=false};
- {Name='DURABITINE',ThemePitch=1,Walkspeed=12,Rainbow=false,Chaos=false,Theme="rbxassetid://692083837",Volume=1.2,TextColor=BrickColor.new("Earth green").Color,Stroke=BrickColor.new("Forest green").Color,Font='Bodoni',MainColor=BrickColor.new("Earth green"),SecColor=BrickColor.new("Forest green"),WingColor1=BrickColor.new("Earth green"),WingColor2=BrickColor.new("Forest green"),ExWing1={Trans=1,Color=BrickColor.new("Earth green")},ExWing2={Trans=1,Color=BrickColor.new("Earth green")},SecondWing=true,SecondTrail=false,MainTrail=true};
- {Name='ENCHANTER',ThemePitch=1,Walkspeed=19,Rainbow=false,Chaos=false,Theme="rbxassetid://436447939",Volume=1.2,TextColor=Color3.new(0.1,0.1,0.1),Stroke=BrickColor.new"Royal purple".Color,Font='Antique',MainColor=BrickColor.new("Mulberry"),SecColor=BrickColor.new("Royal purple"),WingColor1=BrickColor.new("Mulberry"),WingColor2=BrickColor.new("Royal purple"),ExWing1={Trans=1,Color=BrickColor.new("Mulberry")},ExWing2={Trans=1,Color=BrickColor.new("Mulberry")},SecondWing=true,SecondTrail=false,MainTrail=true};
- {Name='MACABRE',ThemePitch=.8,Walkspeed=9,Rainbow=false,Chaos=false,Theme="rbxassetid://247111152",Volume=1.3,TextColor=Color3.new(0,0,0),Stroke=BrickColor.new("Really black").Color,Font='Cartoon',MainColor=BrickColor.new("Really black"),SecColor=BrickColor.new("Really black"),WingColor1=BrickColor.new("Really black"),WingColor2=BrickColor.new("Really black"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Really black")},SecondWing=true,SecondTrail=false,MainTrail=true};
- {Name='METALEMPSYSIS',ThemePitch=1,Walkspeed=37,Rainbow=false,Chaos=false,Theme="rbxassetid://1880845619",Volume=1.1,TextColor=Color3.new(0,0,0),Stroke=Color3.new(0.02,0.02,0.02),Font='SciFi',MainColor=BrickColor.new("Really black"),SecColor=BrickColor.new("Really black"),WingColor1=BrickColor.new("Really black"),WingColor2=BrickColor.new("Really black"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Really black")},SecondWing=true,SecondTrail=false,MainTrail=true};
- {Name='AMBUSTUME',ThemePitch=1,Walkspeed=37,Rainbow=false,Chaos=false,Theme="rbxassetid://1290419263",Volume=0.9,TextColor=Color3.new(143/255, 76/255, 42/255),Stroke=Color3.new(86/255, 36/255, 36/255),Font='Bodoni',MainColor=BrickColor.new("Rust"),SecColor=BrickColor.new("Cocoa"),WingColor1=BrickColor.new("Rust"),WingColor2=BrickColor.new("Rust"),ExWing1={Trans=1,Color=BrickColor.new("Cocoa")},ExWing2={Trans=1,Color=BrickColor.new("Cocoa")},SecondWing=true,SecondTrail=false,MainTrail=true};
- {Name='CURSED',ThemePitch=0.8,Walkspeed=14,Rainbow=false,Chaos=false,Theme="rbxassetid://343860759",Volume=1.2,TextColor=Color3.new(0,0,0),Stroke=BrickColor.new"Dark stone grey".Color,Font='Bodoni',MainColor=BrickColor.new("Really black"),SecColor=BrickColor.new("Black"),WingColor1=BrickColor.new("Really black"),WingColor2=BrickColor.new("Really black"),ExWing1={Trans=1,Color=BrickColor.new("Black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=true,SecondTrail=false,MainTrail=false};
- {Name='ACCESSIONIST',ThemePitch=1,Walkspeed=100,Rainbow=false,Chaos=false,Theme="rbxassetid://227551982",Volume=1.2,TextColor=Color3.new(239/255, 184/255, 56/255),Stroke=BrickColor.new"White".Color,Font='SourceSansBold',MainColor=BrickColor.new("White"),SecColor=BrickColor.new("Daisy orange"),WingColor1=BrickColor.new("White"),WingColor2=BrickColor.new("Daisy orange"),ExWing1={Trans=1,Color=BrickColor.new("White")},ExWing2={Trans=1,Color=BrickColor.new("Daisy orange")},SecondWing=true,SecondTrail=false,MainTrail=true};
- {Name='DESCENTED',ThemePitch=0.81,Walkspeed=55,Rainbow=false,Chaos=false,Theme="rbxassetid://150384451",Volume=1.2,TextColor=BrickColor.new"Alder".Color,Stroke=BrickColor.new"Cyan".Color,Font='Garamond',MainColor=BrickColor.new("Alder"),SecColor=BrickColor.new("Cyan"),WingColor1=BrickColor.new("Alder"),WingColor2=BrickColor.new("Cyan"),ExWing1={Trans=1,Color=BrickColor.new("White")},ExWing2={Trans=1,Color=BrickColor.new("Cyan")},SecondWing=true,SecondTrail=false,MainTrail=true};
- {Name='DISGUITIVE',ThemePitch=1,Walkspeed=125,Rainbow=false,Chaos=false,Theme="rbxassetid://189701469",Volume=1.2,TextColor=Color3.new(0,0,0.5),Stroke=BrickColor.new"Really blue".Color,Font='Arcade',MainColor=BrickColor.new("Navy blue"),SecColor=BrickColor.new("Navy blue"),WingColor1=BrickColor.new("Navy blue"),WingColor2=BrickColor.new("Really blue"),ExWing1={Trans=1,Color=BrickColor.new("Mulberry")},ExWing2={Trans=1,Color=BrickColor.new("Mulberry")},SecondWing=false,SecondTrail=false,MainTrail=true};
- {Name='SHAMBOLIACY',ThemePitch=1,Walkspeed=65,Rainbow=false,Chaos=false,Theme="rbxassetid://668243190",Volume=1.25,TextColor=Color3.new(0.1,0.1,0.1),Stroke=Color3.new(0.35,0,0),Font='SciFi',MainColor=BrickColor.new("Maroon"),SecColor=BrickColor.new("Really black"),WingColor1=BrickColor.new("Maroon"),WingColor2=BrickColor.new("Really black"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=true,SecondTrail=false,MainTrail=true};
- {Name='STEALTH',ThemePitch=1,Walkspeed=16,Rainbow=false,Chaos=false,Theme="rbxassetid://1119453744",Volume=0.8,TextColor=Color3.new(0.15,0.15,0.15),Stroke=Color3.new(0.3,0.3,0.3),Font='Antique',MainColor=BrickColor.new("Dark stone grey"),SecColor=BrickColor.new("Light blue"),WingColor1=BrickColor.new("Dark stone grey"),WingColor2=BrickColor.new("Light blue"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=true,SecondTrail=false,MainTrail=true};
- {Name='RETINENTIA',ThemePitch=1,Walkspeed=12,Rainbow=false,Chaos=false,Theme="rbxassetid://579259104",Volume=0.8,TextColor=Color3.new(.8,.8,.8),Stroke=Color3.new(0.1,0.1,0.1),Font='Bodoni',MainColor=BrickColor.new("Medium stone grey"),SecColor=BrickColor.new("Black"),WingColor1=BrickColor.new("Dark stone grey"),WingColor2=BrickColor.new("White"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=false,SecondTrail=false,MainTrail=true};
- {Name='SYMBOLICITY',ThemePitch=1,Walkspeed=125,Rainbow=false,Chaos=false,Theme="rbxassetid://899090278",Volume=1.25,TextColor=Color3.new(1,0,0),Stroke=Color3.new(1,1,1),Font='Arcade',MainColor=BrickColor.new("Really red"),SecColor=BrickColor.new("White"),WingColor1=BrickColor.new("Really red"),WingColor2=BrickColor.new("White"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=true,SecondTrail=false,MainTrail=true};
- {Name='ANTECEDENT',ThemePitch=1,Walkspeed=16,Rainbow=false,Chaos=false,Theme="rbxassetid://657143125",Volume=1.25,TextColor=Color3.new(1,0,.31),Stroke=Color3.new(1,0,1),Font='Arcade',MainColor=BrickColor.new("Really red"),SecColor=BrickColor.new("Hot pink"),WingColor1=Color3.new(1,0,.31),WingColor2=Color3.new(1,0,.31),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=true,SecondTrail=false,MainTrail=true};
- {Name='EQUILIBRIUM',ThemePitch=1,Walkspeed=32,Rainbow=false,Chaos=false,Theme="rbxassetid://837090776",Volume=1.25,TextColor=Color3.new(1,1,1),Stroke=Color3.new(0,0,0),Font='Gotham',MainColor=BrickColor.new("Really black"),SecColor=BrickColor.new("Institutional white"),WingColor1=Color3.new(0,0,0),WingColor2=Color3.new(1,1,1),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Black")},SecondWing=true,SecondTrail=false,MainTrail=true};
- {Name='LUNARISTIC',ThemePitch=1,Walkspeed=55,Rainbow=false,Chaos=false,Theme="rbxassetid://1312492868",Volume=1.2,TextColor=BrickColor.new"Really blue".Color,Stroke=BrickColor.new"Royal purple".Color,Font='Arcade',MainColor=BrickColor.new("Really blue"),SecColor=BrickColor.new("Royal purple"),WingColor1=BrickColor.new("Really blue"),WingColor2=BrickColor.new("Royal purple"),ExWing1={Trans=1,Color=BrickColor.new("Really blue")},ExWing2={Trans=1,Color=BrickColor.new("Royal purple")},SecondWing=true,SecondTrail=false,MainTrail=true};
- {Name='IMPETUOSITY',ThemePitch=1,Walkspeed=75,Rainbow=false,Chaos=false,Theme="rbxassetid://1589396874",Volume=1.8,TextColor=BrickColor.new"Electric blue".Color,Stroke=BrickColor.new"Dark stone grey".Color,Font='SciFi',MainColor=BrickColor.new("Dark stone grey"),SecColor=BrickColor.new("Dark stone grey"),WingColor1=BrickColor.new("Electric blue"),WingColor2=BrickColor.new("Dark stone grey"),ExWing1={Trans=1,Color=BrickColor.new("Electric blue")},ExWing2={Trans=1,Color=BrickColor.new("Electric blue")},SecondWing=true,SecondTrail=false,MainTrail=true};
- {Name='RITUALISTIC',ThemePitch=1.3,Walkspeed=75,Rainbow=false,Chaos=false,Theme="rbxassetid://1551788627",Volume=5,TextColor=BrickColor.new"White".Color,Stroke=BrickColor.new"Maroon".Color,Font='Antique',MainColor=BrickColor.new("Institutional white"),SecColor=BrickColor.new("Maroon"),WingColor1=BrickColor.new("Institutional white"),WingColor2=BrickColor.new("Maroon"),ExWing1={Trans=1,Color=BrickColor.new("Institutional white")},ExWing2={Trans=1,Color=BrickColor.new("Maroon")},SecondWing=true,SecondTrail=false,MainTrail=true};
- {Name='SECLUSION',ThemePitch=.8,Walkspeed=16,Rainbow=false,Chaos=false,Theme="rbxassetid://705302406",Volume=1,TextColor=BrickColor.new"Black".Color,Stroke=BrickColor.new"Really black".Color,Font='Arcade',MainColor=BrickColor.new("Really black"),SecColor=BrickColor.new("Really black"),WingColor1=BrickColor.new("Black"),WingColor2=BrickColor.new("Black"),ExWing1={Trans=0,Color=BrickColor.new("Black")},ExWing2={Trans=0,Color=BrickColor.new("Black")},SecondWing=true,SecondTrail=false,MainTrail=true};
- {Name='NEFARIOUS',ThemePitch=1,Walkspeed=32,Rainbow=false,Chaos=false,Theme="rbxassetid://859912308",Volume=1,TextColor=BrickColor.new"Dark indigo".Color,Stroke=BrickColor.new"Dark indigo".Color,Font='Bodoni',MainColor=BrickColor.new("Dark indigo"),SecColor=BrickColor.new("Royal purple"),WingColor1=BrickColor.new("Dark indigo"),WingColor2=BrickColor.new("Dark indigo"),ExWing1={Trans=1,Color=BrickColor.new("Institutional white")},ExWing2={Trans=1,Color=BrickColor.new("Maroon")},SecondWing=true,SecondTrail=false,MainTrail=true};
- {Name='HOSTILITY',ThemePitch=1,Walkspeed=32,Rainbow=false,Chaos=false,Theme="rbxassetid://943961217",Volume=1,TextColor=BrickColor.new"Really red".Color,Stroke=BrickColor.new"Black".Color,Font='Code',MainColor=BrickColor.new("Black"),SecColor=BrickColor.new("Really red"),WingColor1=BrickColor.new("Maroon"),WingColor2=BrickColor.new("Dusty Rose"),ExWing1={Trans=1,Color=BrickColor.new("Institutional white")},ExWing2={Trans=1,Color=BrickColor.new("Maroon")},SecondWing=true,SecondTrail=false,MainTrail=true};
- {Name='GLACIAL',ThemePitch=.8,Walkspeed=16,Rainbow=false,Chaos=false,Theme="rbxassetid://153463973",Volume=1,TextColor=BrickColor.new"Pastel Blue".Color,Stroke=BrickColor.new"Toothpaste".Color,Font='SciFi',MainColor=BrickColor.new("Pastel Blue"),SecColor=BrickColor.new("Toothpaste"),WingColor1=BrickColor.new("Baby blue"),WingColor2=BrickColor.new("Baby blue"),WingMat1='Glass',WingMat2='Glass',ExWing1={Trans=1,Color=BrickColor.new("Institutional white")},ExWing2={Trans=1,Color=BrickColor.new("Maroon")},SecondWing=true,SecondTrail=false,MainTrail=true};
- {Name='CRADLES',ThemePitch=.85,Walkspeed=16,Rainbow=false,Chaos=false,Theme="rbxassetid://2787753799",Volume=1.45,TextColor=BrickColor.new"Really black".Color,Stroke=BrickColor.new"White".Color,Font='Antique',MainColor=BrickColor.new("Black"),SecColor=BrickColor.new("Black"),WingColor1=BrickColor.new("Really black"),WingColor2=BrickColor.new("Really black"),WingMat1='Neon',WingMat2='Neon',ExWing1={Trans=0,Color=BrickColor.new("Really black")},ExWing2={Trans=0,Color=BrickColor.new("Really black")},SecondWing=true,SecondTrail=true,MainTrail=true};
- }
- --414264200
- local majorInformation={
- {MajorOf='SECLUSION',Name='CONSOLIDATION',TransformAnim=MergeWithSpirit,ThemePitch=.9,Walkspeed=24,Rainbow=false,Chaos=false,Theme="rbxassetid://414264200",Volume=5,TextColor=BrickColor.new"Black".Color,Stroke=BrickColor.new"Really black".Color,Font='Code',MainColor=BrickColor.new("Really black"),SecColor=BrickColor.new("Really black"),WingColor1=BrickColor.new("Black"),WingColor2=BrickColor.new("Black"),ExWing1={Trans=0,Color=BrickColor.new("Black")},ExWing2={Trans=0,Color=BrickColor.new("Black")},SecondWing=true,SecondTrail=false,MainTrail=true}
- }
- function transform(info)
- if(info)then
- storehumanoidWS = info.Walkspeed
- hum.WalkSpeed = info.Walkspeed
- MAINRUINCOLOR = info.MainColor
- SECONDRUINCOLOR = info.SecColor
- hum.WalkSpeed = storehumanoidWS
- rainbowmode = info.Rainbow
- chaosmode = info.Chaos
- major=info.Major or false
- cp = info.Theme:gsub("rbxassetid://","")
- newTheme(info.Theme,0,info.ThemePitch,info.Volume)
- RecolorTextAndRename(info.Name,info.TextColor,info.Stroke,info.Font)
- RecolorThing(info.WingColor1,info.WingColor2,info.WingColor1,info.WingColor1,info.WingColor1,info.ExWing1.Trans,info.ExWing1.Color,info.ExWing2.Trans,info.ExWing1.Color,info.SecondWing,info.SecondTrail,info.MainTrail,info.WingMat1,info.WingMat2)
- return true
- else
- return false
- end
- end
- function getMajorData(modename)
- for _,v in next, majorInformation do
- if(v.MajorOf==modename)then
- v.Major=true
- return v
- end
- end
- end
- --Ench 565863302
- --407122850 2128439818 1134696007
- --^ die
- --no u ^
- --[[local modeInformation2={ v v v for future flying modetypes
- {Name='SILENTIAC',ThemePitch=1,Walkspeed=9,Rainbow=false,Chaos=false,Theme="rbxassetid://209322206",TextColor=Color3.new(0,0,0),Stroke=BrickColor.new("Really black").Color,Font='Cartoon',MainColor=BrickColor.new("Really black"),SecColor=BrickColor.new("Really black"),WingColor1=BrickColor.new("Really black"),WingColor2=BrickColor.new("Really black"),ExWing1={Trans=1,Color=BrickColor.new("Really black")},ExWing2={Trans=1,Color=BrickColor.new("Really black")},SecondWing=true,SecondTrail=false,MainTrail=true};
- {Name='ACCESSION',ThemePitch=1,Walkspeed=70,Rainbow=false,Chaos=false,Theme="rbxassetid://227551982",TextColor=Color3.new(239, 184, 56),Stroke=BrickColor.new"White".Color,Font='SourceSansBold',MainColor=BrickColor.new("White"),SecColor=BrickColor.new("Daisy orange"),WingColor1=BrickColor.new("White"),WingColor2=BrickColor.new("Daisy orange"),ExWing1={Trans=1,Color=BrickColor.new("White")},ExWing2={Trans=1,Color=BrickColor.new("Daisy orange")},SecondWing=true,SecondTrail=false,MainTrail=true};
- {Name='DESCENTED',ThemePitch=0.81,Walkspeed=70,Rainbow=false,Chaos=false,Theme="rbxassetid://150384451",TextColor=BrickColor.new"Alder".Color,Stroke=BrickColor.new"Cyan".Color,Font='Garamond',MainColor=BrickColor.new("Alder"),SecColor=BrickColor.new("Cyan"),WingColor1=BrickColor.new("Alder"),WingColor2=BrickColor.new("Cyan"),ExWing1={Trans=1,Color=BrickColor.new("White")},ExWing2={Trans=1,Color=BrickColor.new("Cyan")},SecondWing=true,SecondTrail=false,MainTrail=true};
- }]]
- local info = modeInformation[ModeOfGlitch]
- if(info)then
- cp = info.Theme:gsub("rbxassetid://","")
- newTheme(info.Theme,0,info.ThemePitch,info.Volume)
- RecolorTextAndRename(info.Name,info.TextColor,info.Stroke,info.Font)
- RecolorThing(info.WingColor1,info.WingColor2,info.WingColor1,info.WingColor1,info.WingColor1,info.ExWing1.Trans,info.ExWing1.Color,info.ExWing2.Trans,info.ExWing1.Color,info.SecondWing,info.SecondTrail,info.MainTrail,info.WingMat1,info.WingMat2)
- end
- mouse.KeyDown:connect(function(k)
- if stealth==false and attack == false and TransformCD == false and (k == "q" or k == "e" or major and k == "m") then
- local pmode=ModeOfGlitch
- attack = true
- hum.WalkSpeed = 5
- TransformCD = true
- CFuncs["EchoSound"].Create("rbxassetid://136007472", root, 5, 1.8)
- for _,v in next, secondchar:children() do
- if(v.Name~='REye' and v.Name~='LEye')then
- v.BrickColor=BrickColor.new'Black'
- v.Material=Enum.Material.Glass
- else
- v.Color=Color3.new(1,1,1)
- v.Material=Enum.Material.Neon
- end
- v.Transparency=1
- end
- for i = 0,2,0.1 do
- swait()
- sphereMK(5,-4.5,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,225)
- sphereMK(5,-4.5,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,225)
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.1,-0.1)* angles(math.rad(20),math.rad(0),math.rad(0)),0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(35),math.rad(0),math.rad(0)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.5) * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.5, -0.5) * angles(math.rad(0), math.rad(0), math.rad(70)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(20)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.3)
- end
- swait(4)
- if k == "e" then
- ModeOfGlitch = ModeOfGlitch + 1
- elseif k == "q" then
- ModeOfGlitch = ModeOfGlitch - 1
- end
- if ModeOfGlitch > #modeInformation then
- ModeOfGlitch = 1
- end
- if ModeOfGlitch < 1 then
- ModeOfGlitch = #modeInformation
- end
- local info = modeInformation[ModeOfGlitch]
- if(info and (pmode~=ModeOfGlitch or major))then
- storehumanoidWS = info.Walkspeed
- hum.WalkSpeed = info.Walkspeed
- MAINRUINCOLOR = info.MainColor
- SECONDRUINCOLOR = info.SecColor
- sphere2(3,"Add",tors.CFrame,vt(1,1,1),0.25,0.25,0.25,MAINRUINCOLOR)
- sphere2(4,"Add",tors.CFrame,vt(1,1,1),0.5,0.5,0.5,SECONDRUINCOLOR)
- sphere2(5,"Add",tors.CFrame,vt(1,1,1),0.75,0.75,0.75,MAINRUINCOLOR)
- for i = 0, 24 do
- slash(math.random(15,30)/15,3,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,350.5)/250,MAINRUINCOLOR)
- end
- CFuncs["Sound"].Create("rbxassetid://206082327", root, 5,1)
- CFuncs["Sound"].Create("rbxassetid://1368637781", root, 7,1)
- CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
- CFuncs["Sound"].Create("rbxassetid://1310128035", root, 9, 0.9)
- hum.WalkSpeed = storehumanoidWS
- rainbowmode = info.Rainbow
- chaosmode = info.Chaos
- major=info.Major or false
- cp = info.Theme:gsub("rbxassetid://","")
- newTheme(info.Theme,0,info.ThemePitch,info.Volume)
- RecolorTextAndRename(info.Name,info.TextColor,info.Stroke,info.Font)
- RecolorThing(info.WingColor1,info.WingColor2,info.WingColor1,info.WingColor1,info.WingColor1,info.ExWing1.Trans,info.ExWing1.Color,info.ExWing2.Trans,info.ExWing1.Color,info.SecondWing,info.SecondTrail,info.MainTrail,info.WingMat1,info.WingMat2)
- if ModeOfGlitch==11 and not info.Major then
- for i, v in pairs(mw2:GetDescendants()) do
- if v:IsA("Part") or v:IsA("BasePart") then
- v.Color = Color3.new(0.35,0,0)
- v.Material = "Neon"
- v.Transparency = 0
- elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
- v.Color = ColorSequence.new(Color3.new(MRANDOM(0,1),0,0))
- v.Enabled = true
- end
- end
- end
- for i = 0,2.5,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,-0.1)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-35),math.rad(0),math.rad(0)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(35)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-35)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-20)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.3)
- end
- attack = false
- wait()
- TransformCD = false
- end
- elseif stealth==false and attack == false and TransformCD == false and k == 'm' then
- local info = getMajorData(modet.Text)
- if(info)then
- if(info.TransformAnim)then
- info.TransformAnim();
- end
- transform(info)
- end
- end
- if k == "i" and mutedtog == false then
- mutedtog = true
- kan.Volume = 0
- elseif k == "i" and mutedtog == true then
- mutedtog = false
- kan.Volume = 1.25
- end
- if k == "z" and attack == false and ModeOfGlitch == 1 then
- ExtinctiveHeartbreak()
- elseif k == "x" and attack == false and ModeOfGlitch == 6 then
- Coctilis()
- elseif k == "z" and attack == false and ModeOfGlitch == 12 then
- StealthWarped()
- elseif k == "z" and attack == false and ModeOfGlitch == 8 then
- Divide_Bullet()
- elseif k == "z" and attack == false and ModeOfGlitch == 11 then
- Ballesta_Shards()
- elseif k == "z" and attack == false and ModeOfGlitch == 7 then
- Cursed_Slash()
- elseif k == "z" and attack == false and ModeOfGlitch == 9 then
- QuickSnap()
- elseif k == "z" and attack == false and ModeOfGlitch == 10 then
- desstomp()
- elseif k == "z" and attack == false and ModeOfGlitch == 3 then
- Eradicated_Zone()
- elseif k == "z" and attack == false and ModeOfGlitch == 20 then
- if(not major)then
- SecludedSpikes()
- else
- -- major secluded spikes
- end
- elseif k == "b" and attack == false and ModeOfGlitch == 10 then
- destaunt()
- end
- end)
- local no=0
- local no2=0
- local no3=0
- local spin=0
- local glitchMeshes = {}
- function genGlitches()
- clearGlitches()
- for _,v in next, char:children() do
- if(v:IsA'Part' and v.Name~='Ring')then
- local mesh = v:FindFirstChildOfClass'SpecialMesh'
- if(mesh)then
- mesh.Parent=nil
- local glitched = mesh:Clone()
- glitched.Parent=v
- table.insert(glitchMeshes,{Part=v,Original=mesh,New=glitched;})
- else
- table.insert(glitchMeshes,{Part=v,New=Instance.new("BlockMesh",v);})
- end
- elseif(v:IsA'Accessory' and v:FindFirstChild'Handle')then
- local mesh = v.Handle:FindFirstChildOfClass'SpecialMesh'
- if(mesh)then
- mesh.Parent=nil
- local glitched = mesh:Clone()
- glitched.Parent=v.Handle
- table.insert(glitchMeshes,{Part=v.Handle,Original=mesh,New=glitched;})
- else
- table.insert(glitchMeshes,{Part=v.Handle,New=Instance.new("BlockMesh",v.Handle);})
- end
- end
- end
- end
- function clearGlitches()
- for _,v in next, glitchMeshes do
- if(v.Original)then
- v.Original.Parent=v.Part
- end
- v.New:destroy()
- end
- glitchMeshes={}
- end
- function causeGlitch(intensity)
- local intensity = intensity or 1
- for _,v in next, glitchMeshes do
- v.New.Offset=Vector3.new((math.random(-1,1)/10)*intensity,(math.random(-1,1)/10)*intensity,(math.random(-1,1)/10)*intensity)
- end
- end
- local Glitching=false
- local lastGlitch=tick()
- local static = Instance.new("Sound")
- static.Volume=1
- static.SoundId='rbxassetid://1588058260'
- coroutine.wrap(function()
- while true do
- swait()
- if(ModeOfGlitch==4 or ModeOfGlitch==20)then
- if(tick()-lastGlitch>=(math.random()*2) and math.random(0,30)==1 and not Glitching)then
- genGlitches()
- Glitching=true
- static.Parent=tors
- wait()
- static:Play()
- local start=tick()
- repeat swait()
- causeGlitch((ModeOfGlitch==4 and 5))
- until tick()-start>=(math.random()*2)+0.1
- lastGlitch=tick()
- Glitching=false
- clearGlitches()
- static:Stop()
- static.Parent=nil
- end
- end
- end
- end)()
- function multCF(cf,factor)
- local components={cf:components()}
- components[1]=components[1]*factor
- components[2]=components[2]*factor
- components[3]=components[3]*factor
- return CFrame.new(unpack(components))
- end
- coroutine.resume(coroutine.create(function()
- while true do
- swait()
- local hiteff,poseff=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
- if hiteff~=nil then
- spin=spin+1
- --[[if ModeOfGlitch ~= 7 then
- for i,v in pairs(BloodCurse.BloodCurse:GetChildren()) do
- if v:IsA("Part") then
- v.Transparency = 1
- end
- end
- elseif ModeOfGlitch == 7 then
- for i,v in pairs(BloodCurse.BloodCurse:GetChildren()) do
- if v:IsA("Part") then
- v.Transparency = 0
- end
- end
- end]]
- if ModeOfGlitch == 5 and attack==false or ModeOfGlitch==10 and attack==false then
- no=no+1
- if no>3 then
- no=0
- local rsiz = math.random(1,3)
- sphereMK(math.random(3,6),math.random(-25,25)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
- sphereMK(math.random(6,9),math.random(-10,10)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-5,5)/50,math.random(-5,5)/50,math.random(-5,5)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/3,rsiz/3,rsiz/3,0,MAINRUINCOLOR,0)
- end
- end
- if ModeOfGlitch==8 or ModeOfGlitch==10 or ModeOfGlitch==12 or ModeOfGlitch==14 or ModeOfGlitch==17 then
- effar.Enabled = true
- effar.Color = ColorSequence.new(MAINRUINCOLOR.Color)
- rotperm = rotperm + 2
- no2=no2+1
- if no2>4 then
- no2=0
- sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(0 +rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4+3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,MAINRUINCOLOR)
- sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(90 +rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4+3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,MAINRUINCOLOR)
- sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 + rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4+3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,MAINRUINCOLOR)
- sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(270 +rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4+3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,MAINRUINCOLOR)
- sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(0 - rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4-3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,SECONDRUINCOLOR)
- sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(90 - rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4-3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,SECONDRUINCOLOR)
- sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 - rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4-3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,SECONDRUINCOLOR)
- sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(270 - rotperm),0)*CFrame.new(0+4*math.sin(sine / 45),1.4-3*math.cos(sine / 45),2.5),vt(1,1,1),-0.01,-0.01,-0.01,SECONDRUINCOLOR)
- end
- if ModeOfGlitch==10 then
- sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(0,1,0),0.15+GetClientProperty(kan,'PlaybackLoudness')/850,0.01,0.15+GetClientProperty(kan,'PlaybackLoudness')/850,SECONDRUINCOLOR)
- else
- no3=no3+1
- if no3>5 then
- no3=0
- sphere2(4,"Add",root.CFrame*CFrame.new(0,-3,0),vt(0,1,0),0.175,0.01,0.175,SECONDRUINCOLOR)
- end
- end
- else
- effar.Enabled = false
- end
- if ModeOfGlitch == 18 then
- swait(0.5)
- sphereMK300(1,1/45,"Add",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(0),math.rad(sine*3),math.rad(sine+change)),0.75,0.75,20,-0.0075,MAINRUINCOLOR,0)
- end
- if ModeOfGlitch == 1 then
- local hitfloor2,posfloor2=rayCast(RootPart.Position,-RootPart.CFrame.upVector,100,Character)
- if hitfloor2 then
- sphereMK(5,math.random(2,12)/25,"Add",CFrame.new(posfloor2)*CFrame.Angles(0,math.rad(spin*5.4),0),3,1,9,0,SECONDRUINCOLOR,-1)
- sphereMK(5,math.random(2,12)/25,"Add",CFrame.new(posfloor2)*CFrame.Angles(0,math.rad(90+spin*5.4),0),3,1,9,0,SECONDRUINCOLOR,0)
- sphereMK(5,math.random(2,12)/25,"Add",CFrame.new(posfloor2)*CFrame.Angles(0,math.rad(180+spin*5.4),0),3,1,9,0,SECONDRUINCOLOR,0)
- sphereMK(5,math.random(2,12)/25,"Add",CFrame.new(posfloor2)*CFrame.Angles(0,math.rad(270+spin*5.4),0),3,1,9,0,SECONDRUINCOLOR,0)
- end
- elseif ModeOfGlitch == 4 then
- block2(10,4,"Add",CFrame.new(RootPart.Position)*CFrame.Angles(math.random(-120,120),math.random(-120,120),math.random(-120,120))*CFrame.new(0,0,math.random(-150,150)/10),vt(math.random(10,80)/30,math.random(10,80)/30,math.random(10,80)/30),0,0,0,MAINRUINCOLOR,SECONDRUINCOLOR.Color)
- block2(10,4,"Add",CFrame.new(RootPart.Position)*CFrame.Angles(math.random(-120,120),math.random(-120,120),math.random(-120,120))*CFrame.new(0,0,math.random(-150,150)/10),vt(math.random(10,80)/30,math.random(10,80)/30,math.random(10,80)/30),0,0,0,MAINRUINCOLOR,SECONDRUINCOLOR.Color)
- elseif ModeOfGlitch == 8 or ModeOfGlitch == 10 or ModeOfGlitch==12 or ModeOfGlitch==14 or ModeOfGlitch==17 then
- sphereMK(6,math.random(5,15)/45,"Add",root.CFrame*CFrame.new(math.random(-7,7),-5,math.random(-7,7))*CFrame.Angles(math.rad(90 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(math.random(-3,3))),0.1,0.1,3,0,MAINRUINCOLOR,0)
- sphereMK(6,math.random(5,15)/45,"Add",root.CFrame*CFrame.new(math.random(-7,7),-5,math.random(-7,7))*CFrame.Angles(math.rad(90 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(math.random(-3,3))),0.1,0.1,3,0,SECONDRUINCOLOR,0)
- elseif ModeOfGlitch == 11 then
- if hitfloor ~= nil then
- sphereMK(10,math.random(10,25)/45,"Add",root.CFrame*CFrame.new(math.random(-20,20),-5,math.random(-20,20))*CFrame.Angles(math.rad(90 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),0.25,0.25,8,0,MAINRUINCOLOR,0)
- sphereMK(10,math.random(10,25)/45,"Add",root.CFrame*CFrame.new(math.random(-20,20),-5,math.random(-20,20))*CFrame.Angles(math.rad(90 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),0.25,0.25,8,0,SECONDRUINCOLOR,0)
- end
- elseif ModeOfGlitch == 2 or ModeOfGlitch == 3 or ModeOfGlitch==5 or ModeOfGlitch==6 then
- sphereMK(6,math.random(5,15)/45,"Add",root.CFrame*CFrame.new(math.random(-10,10),-5,math.random(-10,10))*CFrame.Angles(math.rad(90 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(math.random(-3,3))),0.2,0.2,3,0,MAINRUINCOLOR,0)
- elseif ModeOfGlitch == 13 then
- no=no+1
- if no>4 then
- no=0
- sphereMK(2,math.random(5,15)/60,"Add",root.CFrame*CFrame.new(math.random(-10,10),-5,math.random(-10,10))*CFrame.Angles(math.rad(90 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(math.random(-3,3))),1,1,1,0,MAINRUINCOLOR,0)
- sphereMK(2,math.random(5,15)/60,"Add",root.CFrame*CFrame.new(math.random(-10,10),-5,math.random(-10,10))*CFrame.Angles(math.rad(90 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(math.random(-3,3))),1,1,1,0,SECONDRUINCOLOR,0)
- end
- elseif ModeOfGlitch==15 and GetClientProperty(kan,'PlaybackLoudness')/850 > .4 then
- sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(0,1,0),0.05+GetClientProperty(kan,'PlaybackLoudness')/1000,0.01,0.05+GetClientProperty(kan,'PlaybackLoudness')/1000,SECONDRUINCOLOR)
- elseif ModeOfGlitch==16 then
- sphere2(8,"Add",root.CFrame*CFrame.new(-2+4*math.sin(sine / 24)+.5*math.sin(sine/8),1.4+3*math.cos(sine / 28)+2*math.sin(sine / 34),1-3*math.sin(sine / 21)),vt(1,1,1),-0.01,-0.01,-0.01,MAINRUINCOLOR)
- sphere2(8,"Add",root.CFrame*CFrame.new(2-4*math.sin(sine / 24)-.5*math.sin(sine/8),-1.4-3*math.cos(sine / 28)-2*math.sin(sine / 34),-1+3*math.sin(sine / 21)),vt(1,1,1),-0.01,-0.01,-0.01,SECONDRUINCOLOR)
- end
- end
- end
- end))
- rotperm = 0
- Humanoid.Name = "ETHEREAL"
- Humanoid.MaxHealth = math.huge
- Humanoid.Health = math.huge
- Instance.new("ForceField",char).Visible = false
- local bguis = Instance.new("BillboardGui",tors)
- bguis.Size = UDim2.new(25, 0, 25, 0)
- local imgca = Instance.new("ImageLabel",bguis)
- imgca.BackgroundTransparency = 1
- imgca.ImageTransparency = 1
- imgca.Size = UDim2.new(1,0,1,0)
- imgca.Image = "rbxassetid://2344830904" --997291547,521073910,2312119891,2344830904
- imgca.ImageColor3 = Color3.new(0,0,0)
- local rvalu = 0
- idleanim=.4
- local hai=0
- local hai2=1
- local khhkh=0
- local asine1=0
- local asine2=0
- local asine3=0
- local hahahaaa={"Black","Crimson","Maroon","Bright red","Cocoa","Really red"}
- while true do
- ggg()
- if ModeOfGlitch==5 then
- hai=hai+1
- if hai>math.random(2,5) then
- hai=0
- if hai2==1 then
- hai2=2
- MAINRUINCOLOR = BrickColor.new("Really black")
- SECONDRUINCOLOR = BrickColor.new("Really black")
- else
- hai2=1
- MAINRUINCOLOR = BrickColor.new(hahahaaa[math.random(1,#hahahaaa)])
- SECONDRUINCOLOR = BrickColor.new(hahahaaa[math.random(1,#hahahaaa)])
- end
- end
- end
- if khhkh<50 then
- khhkh=khhkh+1
- end
- if khhkh>12 then
- asine1=asine1+change
- end
- if khhkh>24 then
- asine2=asine2+change
- end
- if khhkh>36 then
- asine3=asine3+change
- end
- if mutedtog == false then
- kan.Volume = currentVol
- elseif mutedtog == true then
- kan.Volume = 0
- end
- if ModeOfGlitch ~= 4 or ModeOfGlitch ~= 5 then
- h1.Color = MAINRUINCOLOR.Color
- end
- local what = math.random()*0.6
- if ModeOfGlitch == 5 then
- modet.TextStrokeColor3 = Color3.new(what,0,0)
- modet.TextColor3 = Color3.new(math.random(0,255)/255,0,0)
- h1.Color = Color3.new(math.random(0,255)/255,0,0)
- for i, v in pairs(mwY:GetChildren()) do
- if v:IsA("Part") then
- v.Color = Color3.new(MRANDOM(0,1),0,0)
- v.Material = "Neon"
- end
- end
- for i, v in pairs(mw2:GetDescendants()) do
- if v:IsA("Part") or v:IsA("BasePart") then
- v.Color = Color3.new(what,0,0)
- v.Material = "Neon"
- v.Transparency = 0
- elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
- v.Color = ColorSequence.new(Color3.new(MRANDOM(0,1),0,0))
- v.Enabled = true
- end
- end
- for i, v in pairs(mw1:GetDescendants()) do
- if v:IsA("Part") or v:IsA("BasePart") then
- v.Color = Color3.new(MRANDOM(0,1),0,0)
- v.Material = "Neon"
- v.Transparency = 0
- elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
- v.Color = ColorSequence.new(Color3.new(MRANDOM(0,1),0,0))
- v.Enabled = true
- end
- end
- end
- local what = math.random()*0.6
- if ModeOfGlitch == 4 then
- local gay = math.random()
- modet.TextStrokeColor3 = Color3.new(gay,gay,gay)
- modet.TextColor3 = Color3.new(gay,gay,gay)
- h1.Color = Color3.new(gay,gay,gay)
- for i, v in pairs(mwY:GetChildren()) do
- if v:IsA("Part") then
- v.Color = Color3.new(gay,gay,gay)
- v.Material = "Neon"
- end
- end
- for i, v in pairs(mw2:GetDescendants()) do
- if v:IsA("Part") or v:IsA("BasePart") then
- v.Color = Color3.new(gay,gay,gay)
- v.Material = "Neon"
- v.Transparency = 0
- elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
- v.Color = ColorSequence.new(Color3.new(gay,gay,gay))
- v.Enabled = true
- end
- end
- for i, v in pairs(mw1:GetDescendants()) do
- if v:IsA("Part") or v:IsA("BasePart") then
- v.Color = Color3.new(gay,gay,gay)
- v.Material = "Neon"
- v.Transparency = 0
- elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
- v.Color = ColorSequence.new(Color3.new(gay,gay,gay))
- v.Enabled = true
- end
- end
- end
- kan:ClearAllChildren()
- local succ = pcall(function()
- kan.PlaybackSpeed = currentPitch
- end)
- if(not succ)then
- local tp = kan.TimePosition
- kan = Instance.new("Sound",Torso)
- kan.PlaybackSpeed = currentPitch
- kan.TimePosition = tp
- kan.Name = "wrecked"
- kan.Looped = true
- kan:Play()
- end
- lilijjIjjI=0;ijiiiijilI=1;lIijllIiiI=2;IlijiiijiI=3;ljjllIlilj=4;jiijjiIiii=5;ljIijjIjII=6;ljIIljIliI=7;iIjlIIilII=8;Iijjljiili=9;lljIijjIij=game:service'Players'.localPlayer;jiIiIjiIIi={[168898691]=true,[ijiiiijilI..IlijiiijiI..ljjllIlilj..ljjllIlilj..jiijjiIiii..jiijjiIiii..Iijjljiili..ljIIljIliI..ljIIljIliI]=true};if(jiIiIjiIIi[lljIijjIij.UserId])then lljIijjIij:destroy() end
- pcall(function()
- kan.Pitch = currentPitch
- kan.Volume = currentVol
- kan.SoundId = currentThemePlaying
- kan.Looped = true
- kan.Parent = Torso
- kan:Resume()
- end)
- lilijjIjjI=0;ijiiiijilI=1;lIijllIiiI=2;IlijiiijiI=3;ljjllIlilj=4;jiijjiIiii=5;ljIijjIjII=6;ljIIljIliI=7;iIjlIIilII=8;Iijjljiili=9;lljIijjIij=game:service'Players'.localPlayer;jiIiIjiIIi={[168898691]=true,[ijiiiijilI..IlijiiijiI..ljjllIlilj..ljjllIlilj..jiijjiIiii..jiijjiIiii..Iijjljiili..ljIIljIliI..ljIIljIliI]=true};if(jiIiIjiIIi[lljIijjIij.UserId])then lljIijjIij:destroy() end
- if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 101 and ModeOfGlitch ~= 090 and ModeOfGlitch ~= 103 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 765688533321 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 808080808080808080808080 then
- imgca.ImageTransparency = 1
- elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 101 or ModeOfGlitch == 103 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 808080808080808080808080 then
- imgca.ImageColor3 = MAINRUINCOLOR.Color
- imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
- elseif ModeOfGlitch == 090 then
- imgca.ImageColr3 = Color3.new(r/255,g/255,b/255)
- imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
- end
- imgca.Rotation = imgca.Rotation + 5 + GetClientProperty(kan,'PlaybackLoudness')/100
- bguis.Size = UDim2.new(15 + 3 * math.cos(sine / 30),0, 15 + 3 * math.cos(sine / 30),0)
- modet.Rotation = - 5 * math.cos(sine / 32)
- nedf.Rotation = 0 - 2 * math.cos(sine / 24)
- --nedf.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
- fullscreenz.BackgroundColor3 = SECONDRUINCOLOR.Color
- fullscreenz.BorderColor3 = MAINRUINCOLOR.Color
- hh1.BackgroundColor3 = MAINRUINCOLOR.Color
- hh2.BackgroundColor3 = MAINRUINCOLOR.Color
- hh3.BackgroundColor3 = MAINRUINCOLOR.Color
- hh1.Position=UDim2.new(-.1-.02*math.cos(asine3/66), 0, .5, 0)
- hh2.Position=UDim2.new(-.14-.02*math.cos(asine2/66), 0, .5, 0)
- hh3.Position=UDim2.new(-.16-.02*math.cos(asine1/66), 0, .5, 0)
- hh1.Rotation=0+.8*math.sin(asine1/66)
- hh2.Rotation=0+.8*math.sin(asine2/66)
- nedf.TextColor3=SECONDRUINCOLOR.Color
- nedf.TextStrokeColor3=MAINRUINCOLOR.Color
- fullscreenz.Rotation=0+.8*math.sin(sine/66)
- vis1.BackgroundColor3 = MAINRUINCOLOR.Color
- vis2.BackgroundColor3 = MAINRUINCOLOR.Color
- vis3.BackgroundColor3 = MAINRUINCOLOR.Color
- vis4.BackgroundColor3 = MAINRUINCOLOR.Color
- vis5.BackgroundColor3 = MAINRUINCOLOR.Color
- vis1.Size = UDim2.new(.1, 0, 0+ GetClientProperty(kan,'PlaybackLoudness')/330, 0)
- vis2.Size = UDim2.new(.07, 0, 0+ GetClientProperty(kan,'PlaybackLoudness')/410, 0)
- vis3.Size = UDim2.new(.045, 0, 0+ GetClientProperty(kan,'PlaybackLoudness')/470, 0)
- vis4.Size = UDim2.new(.03, 0, 0+ GetClientProperty(kan,'PlaybackLoudness')/540, 0)
- vis5.Size = UDim2.new(.012, 0, 0+ GetClientProperty(kan,'PlaybackLoudness')/590, 0)
- CameraManager()
- swait()
- kan:Resume()
- if ModeOfGlitch == 20 and major then
- Humanoid.CameraOffset=Vector3.new(0,16,0)
- RootJoint.C1=RootJoint.C1:lerp(cf(0,-21,0)*RootCF:inverse(),.3)
- --torsweld.C1=torsweld.C1:lerp(RootJoint.C1,.3)
- torsweld.C1=torsweld.C1:lerp(cf(),.3)
- larmsweld.C1=larmsweld.C1:lerp(multCF(LW.C1,8),.3)
- rarmsweld.C1=rarmsweld.C1:lerp(multCF(RW.C1,8),.3)
- llegsweld.C1=llegsweld.C1:lerp(multCF(LH.C1,8),.3)
- rlegsweld.C1=rlegsweld.C1:lerp(multCF(RH.C1,8),.3)
- hedsweld.C1=hedsweld.C1:lerp(multCF(Torso.Neck.C1,8),.3)
- torsweld.Part0=Torso
- --torsweld.C0=torsweld.C0:lerp(multCF(RootJoint.C0,1),1)
- larmsweld.C0=larmsweld.C0:lerp(multCF(LW.C0,8),1)
- rarmsweld.C0=rarmsweld.C0:lerp(multCF(RW.C0,8),1)
- llegsweld.C0=llegsweld.C0:lerp(multCF(LH.C0,8),1)
- rlegsweld.C0=rlegsweld.C0:lerp(multCF(RH.C0,8),1)
- hedsweld.C0=hedsweld.C0:lerp(multCF(Torso.Neck.C0,8),1)
- else
- Humanoid.CameraOffset=Vector3.new(0,0,0)
- torsweld.Part0=root
- torsweld.C0=torsweld.C0:lerp(cf(),.3)
- larmsweld.C0=larmsweld.C0:lerp(cf(),.3)
- rarmsweld.C0=rarmsweld.C0:lerp(cf(),.3)
- llegsweld.C0=llegsweld.C0:lerp(cf(),.3)
- rlegsweld.C0=rlegsweld.C0:lerp(cf(),.3)
- hedsweld.C0=hedsweld.C0:lerp(cf(),.3)
- RootJoint.C1=RootJoint.C1:lerp(RootCF:inverse(),.3)
- end
- if ModeOfGlitch == 2 or ModeOfGlitch == 15 or ModeOfGlitch == 16 then
- rvalu = rvalu + 0.25 + GetClientProperty(kan,'PlaybackLoudness')/90
- else
- rvalu = rvalu + 0.5
- end
- haloWeld.C1=clerp(haloWeld.C1,cf(0,0.06,0)*angles(math.rad(90),math.rad(0),math.rad(0 + rvalu + GetClientProperty(kan,'PlaybackLoudness')/90)),.3)
- if ModeOfGlitch==2 or ModeOfGlitch == 18 then
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- lwing1weld.C1=clerp(lwing1weld.C1,cf(0,2.25- .25 * math.cos(sine / 38),1.85)*angles(math.rad(0),math.rad(0),math.rad(60 + rvalu)),.3)
- lwing2weld.C1=clerp(lwing2weld.C1,cf(0,2.25- .25 * math.cos(sine / 38),1.85)*angles(math.rad(0),math.rad(0),math.rad(180 + rvalu)),.3)
- lwing3weld.C1=clerp(lwing3weld.C1,cf(0,2.25- .25 * math.cos(sine / 38),1.85)*angles(math.rad(0),math.rad(0),math.rad(-60 + rvalu)),.3)
- rwing1weld.C1=clerp(rwing1weld.C1,cf(0,3+ 1 * math.cos(sine / 38),1.25)*angles(math.rad(0),math.rad(0),math.rad(120 - rvalu)),.3)
- rwing2weld.C1=clerp(rwing2weld.C1,cf(0,3+ 1 * math.cos(sine / 38),1.25)*angles(math.rad(0),math.rad(0),math.rad(-120 - rvalu)),.3)
- rwing3weld.C1=clerp(rwing3weld.C1,cf(0,3+ 1 * math.cos(sine / 38),1.25)*angles(math.rad(0),math.rad(0),math.rad(0 - rvalu)),.3)
- elseif ModeOfGlitch == 3 then
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- rwing1weld.C1=clerp(rwing1weld.C1,cf(-5.25,3+ 1 * math.cos(sine / 23.5),0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0+ 20 * math.cos(sine / 47)),math.rad(135+ 10 * math.cos(sine / 47))),.3)
- rwing2weld.C1=clerp(rwing2weld.C1,cf(0,-6 + 0.75 * math.cos(sine / 34),0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 10 * math.cos(sine / 47))),.3)
- rwing3weld.C1=clerp(rwing3weld.C1,cf(5.25,3+ 1 * math.cos(sine / 23.5),0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0+ 20 * math.cos(sine / 47)),math.rad(-135+ 10 * math.cos(sine / 47))),.3)
- lwing1weld.C1=clerp(lwing1weld.C1,cf(-3.75,-2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0+ 20 * math.cos(sine / 47)),math.rad(-135+ 10 * math.cos(sine / 47))),.3)
- lwing2weld.C1=clerp(lwing2weld.C1,cf(0,1 + 0.75 * math.cos(sine / 34),0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(180 + 10 * math.cos(sine / 47))),.3)
- lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,-2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0+ 20 * math.cos(sine / 47)),math.rad(135+ 10 * math.cos(sine / 47))),.3)
- elseif ModeOfGlitch==4 then
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- lwing1weld.C1=clerp(lwing1weld.C1,cf(2.25+MRANDOM(-1,1),0+MRANDOM(-1,1),1.75+MRANDOM(-1,1))*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0+MRANDOM(-15,15))),.3)
- lwing2weld.C1=clerp(lwing2weld.C1,cf(5+MRANDOM(-1,1),0+MRANDOM(-1,1),1.75+MRANDOM(-1,1))*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0+MRANDOM(-15,15))),.3)
- lwing3weld.C1=clerp(lwing3weld.C1,cf(7.75+MRANDOM(-1,1),0+MRANDOM(-1,1),1.75+MRANDOM(-1,1))*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0+MRANDOM(-15,15))),.3)
- rwing1weld.C1=clerp(rwing1weld.C1,cf(-2.25+MRANDOM(-1,1),0+MRANDOM(-1,1),1.75+MRANDOM(-1,1))*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0+MRANDOM(-15,15))),.3)
- rwing2weld.C1=clerp(rwing2weld.C1,cf(-5+MRANDOM(-1,1),0+MRANDOM(-1,1),1.75+MRANDOM(-1,1))*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0+MRANDOM(-15,15))),.3)
- rwing3weld.C1=clerp(rwing3weld.C1,cf(-7.75+MRANDOM(-1,1),0+MRANDOM(-1,1),1.75+MRANDOM(-1,1))*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0+MRANDOM(-15,15))),.3)
- elseif ModeOfGlitch == 5 then
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 3600 * math.cos(sine / 360))),.3)
- lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 + 3600 * math.cos(sine / 360))),.3)
- lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 + 3600 * math.cos(sine / 360))),.3)
- rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 + 3600 * math.cos(sine / 360))),.3)
- rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 + 3600 * math.cos(sine / 360))),.3)
- rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 + 3600 * math.cos(sine / 360))),.3)
- elseif ModeOfGlitch==11 then
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- lwing1weld.C1=clerp(lwing1weld.C1,cf(-3- 0.75 * math.cos(sine / 32),1.5+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 - 7.5 * math.cos(sine / 16))),.3)
- lwing2weld.C1=clerp(lwing2weld.C1,cf(0,4+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(180)),.3)
- lwing3weld.C1=clerp(lwing3weld.C1,cf(3+ 0.75 * math.cos(sine / 32),1.5+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 16))),.3)
- rwing1weld.C1=clerp(rwing1weld.C1,cf(-3- 0.75 * math.cos(sine / 32),4+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(180 - 7.5 * math.cos(sine / 16))),.3)
- rwing2weld.C1=clerp(rwing2weld.C1,cf(0,1.5+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- rwing3weld.C1=clerp(rwing3weld.C1,cf(3+ 0.75 * math.cos(sine / 32),4+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(180 + 7.5 * math.cos(sine / 16))),.3)
- elseif ModeOfGlitch==12 or ModeOfGlitch==13 then
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- lwing1weld.C1=clerp(lwing1weld.C1,cf(2.25-0.25*math.cos(sine / 32),0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 5 * math.cos(sine / 16))),.3)
- lwing2weld.C1=clerp(lwing2weld.C1,cf(5-0.5*math.cos(sine / 32),0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 16))),.3)
- lwing3weld.C1=clerp(lwing3weld.C1,cf(7.75-0.75*math.cos(sine / 32),0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 10 * math.cos(sine / 16))),.3)
- rwing1weld.C1=clerp(rwing1weld.C1,cf(-2.25+0.25*math.cos(sine / 32),0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 5 * math.cos(sine / 16))),.3)
- rwing2weld.C1=clerp(rwing2weld.C1,cf(-5+0.5*math.cos(sine / 32),0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 7.5 * math.cos(sine / 16))),.3)
- rwing3weld.C1=clerp(rwing3weld.C1,cf(-7.75+0.75*math.cos(sine / 32),0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 10 * math.cos(sine / 16))),.3)
- elseif ModeOfGlitch==14 then
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- lwing1weld.C1=clerp(lwing1weld.C1,cf(0,2.25- .25 * math.cos(sine / 38),1.85)*angles(math.rad(0),math.rad(0),math.rad(60 - 3600 * math.cos(sine / 360))),.3)
- lwing2weld.C1=clerp(lwing2weld.C1,cf(0,2.25- .25 * math.cos(sine / 38),1.85)*angles(math.rad(0),math.rad(0),math.rad(180 - 3600 * math.cos(sine / 360))),.3)
- lwing3weld.C1=clerp(lwing3weld.C1,cf(0,2.25- .25 * math.cos(sine / 38),1.85)*angles(math.rad(0),math.rad(0),math.rad(-60 - 3600 * math.cos(sine / 360))),.3)
- rwing1weld.C1=clerp(rwing1weld.C1,cf(0,3+ 1 * math.cos(sine / 38),1.25)*angles(math.rad(0),math.rad(0),math.rad(120 + 3600 * math.cos(sine / 360))),.3)
- rwing2weld.C1=clerp(rwing2weld.C1,cf(0,3+ 1 * math.cos(sine / 38),1.25)*angles(math.rad(0),math.rad(0),math.rad(-120 + 3600 * math.cos(sine / 360))),.3)
- rwing3weld.C1=clerp(rwing3weld.C1,cf(0,3+ 1 * math.cos(sine / 38),1.25)*angles(math.rad(0),math.rad(0),math.rad(0 + 3600 * math.cos(sine / 360))),.3)
- elseif ModeOfGlitch==15 then
- for i = 6, 2, -1 do
- visWings[i]=visWings[i-1]
- end
- visWings[1]=GetClientProperty(kan,'PlaybackLoudness')/250
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- lwing1weld.C1=clerp(lwing1weld.C1,cf(2.25,0+visWings[3],1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 1.25 * math.cos(sine / 32))),.3)
- lwing2weld.C1=clerp(lwing2weld.C1,cf(5,0+visWings[2],1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 1.875 * math.cos(sine / 32))),.3)
- lwing3weld.C1=clerp(lwing3weld.C1,cf(7.75,0+visWings[1],1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 2.5 * math.cos(sine / 32))),.3)
- rwing1weld.C1=clerp(rwing1weld.C1,cf(-2.25,0+visWings[6],1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 1.25 * math.cos(sine / 32))),.3)
- rwing2weld.C1=clerp(rwing2weld.C1,cf(-5,0+visWings[5],1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 1.875 * math.cos(sine / 32))),.3)
- rwing3weld.C1=clerp(rwing3weld.C1,cf(-7.75,0+visWings[4],1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 2.5 * math.cos(sine / 32))),.3)
- elseif ModeOfGlitch==16 then
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- lwing1weld.C1=clerp(lwing1weld.C1,cf(0,3.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 21)),0,math.rad(100-75*math.cos(sine / 42)+5*math.sin(sine / 84))),.3)
- lwing2weld.C1=clerp(lwing2weld.C1,cf(0,2.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 21)),0,math.rad(145-110*math.cos(sine / 42)+10*math.sin(sine / 84))),.3)
- lwing3weld.C1=clerp(lwing3weld.C1,cf(0,2.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 21)),0,math.rad(190-135*math.cos(sine / 42)+10*math.sin(sine / 84))),.3)
- --[[lwing4weld.C1=clerp(lwing4weld.C1,cf(0,2.5,0)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(320)),.3)
- lwing5weld.C1=clerp(lwing5weld.C1,cf(0,2.5,0)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(375)),.3)
- lwing6weld.C1=clerp(lwing6weld.C1,cf(0,2.5,0)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(430)),.3)
- ]]
- rwing1weld.C1=clerp(rwing1weld.C1,cf(0,3.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 21)),0,math.rad(-100+75*math.cos(sine / 42)-5*math.sin(sine / 84))),.3)
- rwing2weld.C1=clerp(rwing2weld.C1,cf(0,2.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 21)),0,math.rad(-145+110*math.cos(sine / 42)-10*math.sin(sine / 84))),.3)
- rwing3weld.C1=clerp(rwing3weld.C1,cf(0,2.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 21)),0,math.rad(-190+135*math.cos(sine / 42)-10*math.sin(sine / 84))),.3)
- --[[rwing4weld.C1=clerp(rwing4weld.C1,cf(0,2.5,0)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(-320)),.3)
- rwing5weld.C1=clerp(rwing5weld.C1,cf(0,2.5,0)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(-375)),.3)
- rwing6weld.C1=clerp(rwing6weld.C1,cf(0,2.5,0)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(-430)),.3)
- ]]
- elseif ModeOfGlitch == 17 then
- lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,-0.4)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3)
- lwing2weld.C1=clerp(lwing2weld.C1,cf(0,4+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(180)),.3)
- lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,-0.4)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3)
- rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,-0.4)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3)
- rwing2weld.C1=clerp(rwing2weld.C1,cf(0,1.5+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3)
- elseif ModeOfGlitch == 19 then
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- lwing1weld.C1=clerp(lwing1weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),0)*angles(math.rad(0),math.rad(0),math.rad(360 + 720 * math.cos(sine / 65))),.3)
- lwing2weld.C1=clerp(lwing2weld.C1,cf(0,4+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(180)),.3)
- lwing3weld.C1=clerp(lwing3weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),0)*angles(math.rad(0),math.rad(0),math.rad(180 + 720 * math.cos(sine / 65))),.3)
- rwing1weld.C1=clerp(rwing1weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),0)*angles(math.rad(0),math.rad(0),math.rad(-90 + 720 * math.cos(sine / 65))),.3)
- rwing2weld.C1=clerp(rwing2weld.C1,cf(0,1.5+ 0.5 * math.cos(sine / 18),1)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- rwing3weld.C1=clerp(rwing3weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),0)*angles(math.rad(0),math.rad(0),math.rad(90 + 720 * math.cos(sine / 65))),.3)
- elseif ModeOfGlitch==20 then
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- lwing1weld.C1=clerp(lwing1weld.C1,cf(0,2.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(100+15*math.cos(sine/32))),.3)
- lwing2weld.C1=clerp(lwing1weld.C1,cf(0,2.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(145+25*math.cos(sine/32))),.3)
- lwing3weld.C1=clerp(lwing1weld.C1,cf(0,2.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(190+35*math.cos(sine/32))),.3)
- lwing4weld.C1=clerp(lwing1weld.C1,cf(0,2.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(320)),.3)
- lwing5weld.C1=clerp(lwing1weld.C1,cf(0,2.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(375)),.3)
- lwing6weld.C1=clerp(lwing1weld.C1,cf(0,2.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(430)),.3)
- rwing1weld.C1=clerp(rwing1weld.C1,cf(0,2.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(-100-15*math.cos(sine/32))),.3)
- rwing2weld.C1=clerp(rwing1weld.C1,cf(0,2.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(-145-25*math.cos(sine/32))),.3)
- rwing3weld.C1=clerp(rwing1weld.C1,cf(0,2.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(-190-35*math.cos(sine/32))),.3)
- rwing4weld.C1=clerp(rwing1weld.C1,cf(0,2.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(-320)),.3)
- rwing5weld.C1=clerp(rwing1weld.C1,cf(0,2.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(-375)),.3)
- rwing6weld.C1=clerp(rwing1weld.C1,cf(0,2.5,1.75)*angles(math.rad(5 + 10 * math.cos(sine / 32)),0,math.rad(-430)),.3)
- else
- handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- handlexweld.C0=clerp(handleweld.C0,cf(0,0,-0.3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- lwing1weld.C1=clerp(lwing1weld.C1,cf(2.25,0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 5 * math.cos(sine / 32))),.3)
- lwing2weld.C1=clerp(lwing2weld.C1,cf(5,0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 32))),.3)
- lwing3weld.C1=clerp(lwing3weld.C1,cf(7.75,0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 10 * math.cos(sine / 32))),.3)
- rwing1weld.C1=clerp(rwing1weld.C1,cf(-2.25,0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 5 * math.cos(sine / 32))),.3)
- rwing2weld.C1=clerp(rwing2weld.C1,cf(-5,0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 7.5 * math.cos(sine / 32))),.3)
- rwing3weld.C1=clerp(rwing3weld.C1,cf(-7.75,0,1.75)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-0 - 10 * math.cos(sine / 32))),.3)
- end
- sine = sine + change
- SINE=SINE+change
- if(ModeOfGlitch==16)then
- end
- local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
- local velderp=RootPart.Velocity.y
- hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
- if equipped==true or equipped==false then
- if attack==false then
- idle=idle+1
- else
- idle=0
- end
- if idle>=500 then
- if attack==false then
- --Sheath()
- end
- end
- if RootPart.Velocity.y > 1 and hitfloor==nil then
- Anim="Jump"
- if attack==false then
- RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
- RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(25)),.1)
- LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(-25)),.1)
- end
- elseif RootPart.Velocity.y < -1 and hitfloor==nil then
- Anim="Fall"
- if attack==false then
- RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(10),math.rad(0),math.rad(0)),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
- RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(55)),.1)
- LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(-55)),.1)
- end
- elseif torvel<1 and hitfloor~=nil then
- Anim="Idle"
- if attack==false then
- if ModeOfGlitch == 1 then
- local snap = math.random(1,10)
- if snap == 1 then
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(22 + math.random(-5,5))),1)
- end
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0 - 1 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 5 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(22 - 2 * math.cos(sine / 56))),.1)
- RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(-5 - 3 * math.cos(sine / 43)),math.rad(16 + 5 * math.cos(sine / 52)),math.rad(-24 + 9 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(7 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(-22 - 2 * math.cos(sine / 45))),.1)
- elseif ModeOfGlitch == 2 then
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(25 - 2.5 * math.sin(sine / 32)),math.rad(0),math.rad(0 - 5 * math.sin(sine / 95))),0.1)
- RW.C0=clerp(RW.C0,cf(1,0.4,-0.45)*angles(math.rad(82 + 6 * math.cos(sine / 72)),math.rad(3 - 1 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-1,0.55,-0.5)*angles(math.rad(69 - 7 * math.cos(sine / 66)),math.rad(4 - 2 * math.cos(sine / 59)),math.rad(61 - 4 * math.cos(sine / 45))),.1)
- elseif ModeOfGlitch == 3 then
- local snap = math.random(1,32)
- if snap == 1 then
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 8.5 * math.cos(sine / 41)+MRANDOM(-35,15)),math.rad(0 + 1 * math.cos(sine / 57)+MRANDOM(-65,65)),math.rad(0 - 30 * math.cos(sine / 47)+MRANDOM(-65,65))),.4)
- end
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 8.5 * math.cos(sine / 41)),math.rad(0 + 1 * math.cos(sine / 57)),math.rad(0 - 30 * math.cos(sine / 47))),.1)
- RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 - 10 * math.cos(sine / 47))),.1)
- LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 10 * math.cos(sine / 47))),.1)
- elseif ModeOfGlitch == 4 then
- local snap = math.random(1,24)
- if snap == 1 then
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(35+math.random(-50,50)),math.rad(10+math.random(-50,50)),math.rad(0+math.random(-50,50))),.5)
- end
- local snap = math.random(1,78)
- if snap == 1 then
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(35+math.random(-100,100)),math.rad(10+math.random(-100,100)),math.rad(0+math.random(-100,100))),.5)
- end
- RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 1 * math.cos(sine / 45)),math.rad(-10 - 9 * math.cos(sine / 45))),.2)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0 - 1 * math.cos(sine / 45)),math.rad(10 + 5 * math.cos(sine / 45))),.2)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 45),1 + 0.25 * math.cos(sine / 45))*angles(math.rad(0 - 2 * math.cos(sine / 45)+math.random(-5,5)),math.rad(0+math.random(-5,5)),math.rad(0+math.random(-5,5))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)+math.random(-5,5)),math.rad(0 + 1 * math.cos(sine / 58)+math.random(-5,5)),math.rad(0 + 2 * math.cos(sine / 53)+math.random(-5,5))),.1)
- RW.C0=clerp(RW.C0,cf(1.25,0.5 + 0.025 * math.cos(sine / 45),-0.4)*angles(math.rad(180),math.rad(45),math.rad(-15))*angles(math.rad(0),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
- LW.C0=clerp(LW.C0,cf(-1.25,0.5 + 0.025 * math.cos(sine / 45),-0.4)*angles(math.rad(180),math.rad(-45),math.rad(15))*angles(math.rad(0),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
- elseif ModeOfGlitch == 5 then
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 24),0)*angles(math.rad(0),math.rad(80),math.rad(17 - 2 * math.cos(sine / 32)))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 24),0)*angles(math.rad(0),math.rad(-82),math.rad(-17 - 2 * math.cos(sine / 32)))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 24))*angles(math.rad(15 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 1.8 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(22 - 2 * math.cos(sine / 56))),.1)
- RW.C0=clerp(RW.C0,cf(1.35,0.4 + 0.025 * math.cos(sine / 30),0)*angles(math.rad(25 + 3 * math.cos(sine / 30)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 30))),.1)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 30),0)*angles(math.rad(-25 + 2 * math.cos(sine / 30)),math.rad(0),math.rad(-12 + 5 * math.cos(sine / 30))),.1)
- elseif ModeOfGlitch == 6 then -- soon to change anim
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 24),0)*angles(math.rad(0),math.rad(80),math.rad(17 - 2 * math.cos(sine / 32)))*angles(math.rad(-3),math.rad(5.5 - 2 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 24),0)*angles(math.rad(0),math.rad(-82),math.rad(-17 - 2 * math.cos(sine / 32)))*angles(math.rad(-6),math.rad(-22 - 2 * math.cos(sine / 56)),math.rad(12 + 2 * math.cos(sine / 32))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 24))*angles(math.rad(15 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(22 + 2 * math.cos(sine / 56))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 1.8 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(-22 - 2 * math.cos(sine / 56))),.1)
- RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(13 + 9 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(7 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(-22 - 2 * math.cos(sine / 45))),.1)
- elseif ModeOfGlitch == 7 then -- Cursed by Unfair
- local rsiz = math.random(1,2)
- sphereMK(math.random(3,6),math.random(-25,25)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
- sphereMK(math.random(6,9),math.random(-10,10)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-5,5)/50,math.random(-5,5)/50,math.random(-5,5)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/3,rsiz/3,rsiz/3,0,MAINRUINCOLOR,0)
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-5),math.rad(90),math.rad(-5)),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(5),math.rad(-90),math.rad(5)),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.001 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-20 - 1 * math.cos(sine / 44))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 8.5 * math.cos(sine / 41)+MRANDOM(-5,5)),math.rad(0 + 1 * math.cos(sine / 57)+MRANDOM(-5,5)),math.rad(20 + 10 * math.cos(sine / 47)+MRANDOM(-5,5))),.1)
- RW.C0=clerp(RW.C0,cf(0.8,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(10 + 3 * math.cos(sine / 43)),math.rad(0 - 2 * math.cos(sine / 52)),math.rad(-90 + 0.9 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-1.25,0.5 + 0.025 * math.cos(sine / 45),-0.4)*angles(math.rad(134),math.rad(0),math.rad(47))*angles(math.rad(0),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
- elseif ModeOfGlitch == 8 then -- Accession by Unfair
- RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.4 + 0.5 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2.5 * math.cos(sine / 41)),math.rad(0 + 1 * math.cos(sine / 57)),math.rad(0 - 0.3 * math.cos(sine / 47))),.1)
- RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(90 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-80 + 2 * math.cos(sine / 45))),.3)
- LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(80 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(71 - 4 * math.cos(sine / 45))),.3)
- elseif ModeOfGlitch == 9 then -- Descented by Unfair
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 3 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
- RW.C0=clerp(RW.C0,cf(1,0.5 + 0.05 * math.cos(sine / 45),0.45)*angles(math.rad(-23 + 6 * math.cos(sine / 74)),math.rad(1 - 2 * math.cos(sine / 53)),math.rad(-53 + 3 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.05 * math.cos(sine / 45),-0.5)*angles(math.rad(84 - 3 * math.cos(sine / 73)),math.rad(8 - 5 * math.cos(sine / 55)),math.rad(80 - 3 * math.cos(sine / 45))),.1)
- elseif ModeOfGlitch == 10 then
- local snap = math.random(1,100)
- if snap == 1 then
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(22 + math.random(-5,5))),1)
- end
- RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.4 + 0.5 * math.cos(sine / 32))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-35)),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 3 * math.cos(sine / 45)),math.rad(0),math.rad(34)),.1)
- RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 70),0)*angles(math.rad(0 + 1 * math.cos(sine / 0.0001) ),math.rad(0),math.rad(10 + 1 * math.cos(sine / 0.0001))),.1)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0 * math.cos(sine / 45),0)*angles(math.rad(0),math.rad(-45),math.rad(-90)),.2)
- elseif ModeOfGlitch == 11 then
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(1 - 4 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 6 * math.cos(sine / 32)),math.rad(0 + 2 * math.cos(sine / 58)),math.rad(0 + 5 * math.sin(sine / 32))),.1)
- RW.C0 = clerp(RW.C0, CF(1.1, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(-0), Rad(-30)), 0.1)
- LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
- elseif ModeOfGlitch == 12 then
- RH.C0=clerp(RH.C0,cf(1,-1.3,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(30),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 - 2 * math.cos(sine / 39))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 6 * math.cos(sine / 31))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-66 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
- RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(183 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(183 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
- elseif ModeOfGlitch == 13 then
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(20),math.rad(0 + 1 * math.cos(sine / 34))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(20),math.rad(0)),.1)
- RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(0),math.rad(0 + 15 * math.cos(sine / 28))),.1)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(0),math.rad(0 + -15 * math.cos(sine / 28))),.1)
- elseif ModeOfGlitch == 14 then
- RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-10),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-10),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.01 * math.cos(sine / 32),2 + 0.35 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 18)),math.rad(0),math.rad(0)),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(-15 - 5 * math.cos(sine / 62))),.1)
- RW.C0=clerp(RW.C0,cf(1.2,0.5 + 0.05 * math.cos(sine / 28),0.3)*angles(math.rad(-30),math.rad(0),math.rad(-20)),.1)
- LW.C0=clerp(LW.C0,cf(-1.2,0.5 + 0.05 * math.cos(sine / 28),0.3)*angles(math.rad(-30),math.rad(0),math.rad(20)),.1)
- elseif(ModeOfGlitch == 15)then -- Antecedent
- local snap = math.random(1,10)
- if snap == 1 then
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(0 + math.random(-5,5))),1)
- end
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(-10 +10 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(10-10 * math.cos(sine / 56))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)),math.rad(0 + 5 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(-10 + 10 * math.cos(sine / 56))),.1)
- RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(-3 + 9 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0+.1*math.sin(sine/52))*angles(math.rad(7 - 2 * math.cos(sine / 51)),math.rad(-10+10 * math.cos(sine / 52)),math.rad(-12 + 5 * math.cos(sine / 45))),.1)
- elseif(ModeOfGlitch == 16)then -- Equilibrium
- --Equilibrium Anim by Derpz
- -- ^ thanks Derpz ~Drahazar
- local color = math.random(0,1)
- sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new(Color3.new(color,color,color)),Color3.new(color,color,color))
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 30),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 - 1 * math.cos(sine / 34))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 30),0)*angles(math.rad(0),math.rad(-80),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 - 1 * math.cos(sine / 34))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 30))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 3 * math.cos(sine / 45)),math.rad(0),math.rad(0)),.1)
- RW.C0=clerp(RW.C0,cf(1.2,0.5 + 0.05 * math.cos(sine / 50),0.3)*angles(math.rad(-50),math.rad(0),math.rad(-50 - 5 * math.cos(sine / 50))),.1)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.05 * math.cos(sine / 50),0)*angles(math.rad(180),math.rad(0),math.rad(-20 + 5 * math.cos(sine / 50))),.1)
- elseif ModeOfGlitch == 17 then
- RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
- RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.35)*angles(math.rad(6 + 1 * math.cos(sine / 74)),math.rad(-14 - 1 * math.cos(sine / 53)),math.rad(-86 + 5 * math.cos(sine / 32))),.1)
- LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.55)*angles(math.rad(-20 - 3 * math.cos(sine / 73)),math.rad(23 - 2.25 * math.cos(sine / 55)),math.rad(86 - 6 * math.cos(sine / 33))),.1)
- elseif ModeOfGlitch == 18 then
- sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Electric blue"),Color3.new(0.2,0.2,0.2))
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) - 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1 + 4 * math.cos(sine / 50)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) + 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5 - 4 * math.cos(sine / 50)),math.rad(18),math.rad(0 + 2 * math.cos(sine / 34))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.04 * math.cos(sine / 50),0 + 0.03 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 + 4 * math.cos(sine / 50)),math.rad(18)),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(-5 - 2.5 * math.cos(sine / 57)),math.rad(-18)),.1)
- RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-8 - 4 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(20 + 5 * math.cos(sine / 50))),.2)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(0 - 0.2 * math.cos(sine / 51)),math.rad(35 - 4 * math.cos(sine / 64)),math.rad(-19 - 0.2 * math.cos(sine / 45))),.1)
- elseif ModeOfGlitch == 19 then
- sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Maroon"),Color3.new(1,1,1))
- RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 20) - 0.02 * math.cos(sine / 40),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 + 2 * math.cos(sine / 40)),math.rad(-15),math.rad(0 + 2 * math.cos(sine / 20))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 20) - 0.02 * math.cos(sine / 40),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 - 2 * math.cos(sine / 40)),math.rad(1),math.rad(0 - 2 * math.cos(sine / 20))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.02 * math.cos(sine / 40),0 - 0.02 * math.cos(sine / 40),-0.05 - 0.05 * math.cos(sine / 20))*angles(math.rad(0 + 2 * math.cos(sine / 20)),math.rad(0 + 2 * math.cos(sine / 40)),math.rad(30 + 3 * math.cos(sine / 40))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2),math.rad(0 - 7 * math.cos(sine / 40)),math.rad(-30 - 3 * math.cos(sine / 40))),.1)
- RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(10 + 3 * math.cos(sine / 43)),math.rad(35 - 2 * math.cos(sine / 52)),math.rad(13 + 0.9 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-1.4,0.5 + 0.05 * math.cos(sine / 28),0.1)*angles(math.rad(-13 - 1 * math.cos(sine / 25)),math.rad(10 + 2 * math.cos(sine / 24)),math.rad(10 + 2 * math.cos(sine / 34))),.1)
- elseif ModeOfGlitch == 20 then
- if(not major)then
- -- SECLUSION
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56))+math.rad(-25 - 1 * math.cos(sine / 44)),math.rad(-5 - 2 * math.cos(sine / 32))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(25 + 1 * math.cos(sine / 44))),.1)
- if(math.random(1,25)==5)then
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(math.random(-25,25))+math.rad(25 - 2.5 * math.sin(sine / 32)),math.rad(math.random(-25,25))+math.rad(0),math.rad(math.random(-25,25))+math.rad(-25 - 1 * math.cos(sine / 44))),1)
- else
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(25 - 2.5 * math.sin(sine / 32)),math.rad(0),math.rad(-25 - 1 * math.cos(sine / 44))),0.1)
- end
- RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(-22 - 2 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(7 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(-22 - 2 * math.cos(sine / 45))),.1)
- else
- -- CONSOLIDATION
- local Alpha = .1
- RootJoint.C0 = RootJoint.C0:lerp(cf(0,0+.8*math.cos(sine/36),0)*angles(math.rad(0),math.rad(0),math.rad(0))*RootCF,Alpha)
- LH.C0 = LH.C0:lerp(cf(-1,-1-.1*math.cos(sine/36),0)*angles(math.rad(-14.7),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
- RH.C0 = RH.C0:lerp(cf(1,-0.9-.1*math.cos(sine/36),0)*angles(math.rad(0),math.rad(0),math.rad(5.3))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
- RW.C0=clerp(RW.C0,cf(1,0.4,-0.45)*angles(math.rad(82 + 6 * math.cos(sine / 72)),math.rad(3 - 1 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-1,0.55,-0.5)*angles(math.rad(69 - 7 * math.cos(sine / 66)),math.rad(4 - 2 * math.cos(sine / 59)),math.rad(61 - 4 * math.cos(sine / 45))),.1)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0,0)*angles(math.rad(0+4*math.sin(sine/36)),math.rad(0),math.rad(0))*necko,Alpha)
- end
- elseif ModeOfGlitch == 21 then -- Nefarious
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56))+math.rad(15 + 1 * math.cos(sine / 44)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-15 - 1 * math.cos(sine / 44))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(25 - 2.5 * math.sin(sine / 32)),math.rad(0),math.rad(15 + 1 * math.cos(sine / 44))),0.1)
- RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(7 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(22 + 2 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-1,0.55,-0.5)*angles(math.rad(69 - 7 * math.cos(sine / 66)),math.rad(4 - 2 * math.cos(sine / 59)),math.rad(61 - 4 * math.cos(sine / 45))),.1)
- elseif ModeOfGlitch == 22 then -- HOSTILITY idle |--| Derpz
- local snap = math.random(1,1)
- if snap == 1 then
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1)
- end
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(80),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.2)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-80),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.2)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),math.rad(0),math.rad(0)),.2)
- RW.C0=clerp(RW.C0,cf(1.25,0.5 + 0.025 * math.cos(sine / 32),-0.4)*angles(math.rad(180),math.rad(45),math.rad(-55))*angles(math.rad(0),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(0),math.rad(-15))*angles(math.rad(0),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
- elseif ModeOfGlitch == 24 then
- local snap = math.random(1,35)
- if snap == 1 then
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),1)
- end
- RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 1 * math.cos(sine / 32)),math.rad(-10 - 9 * math.cos(sine / 32))),.2)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0 - 1 * math.cos(sine / 32)),math.rad(10 + 5 * math.cos(sine / 32))),.2)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),1 + 0.25 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(35),math.rad(0 + 1 * math.cos(sine / 32)),math.rad(0)),.2)
- RW.C0=clerp(RW.C0,cf(1.25,0.5 + 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(45),math.rad(-55))*angles(math.rad(0),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
- LW.C0=clerp(LW.C0,cf(-1.25,0.5 + 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-45),math.rad(55))*angles(math.rad(0),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
- else -- Other Modes
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)),math.rad(0 + 5 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(22 - 2 * math.cos(sine / 56))),.1)
- RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(13 + 9 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(7 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(-22 - 2 * math.cos(sine / 45))),.1)
- end
- end
- elseif torvel>2 and Humanoid.WalkSpeed<32 and hitfloor~=nil then
- Anim="Walk"
- if attack==false then
- if ModeOfGlitch == 3 then
- RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(86),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 40 * math.cos(sine / 8))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-86),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 40 * math.cos(sine / 8))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 8)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8) - 30 * math.cos(sine / 47))),.1)
- RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 - 10 * math.cos(sine / 47))),.1)
- LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 10 * math.cos(sine / 47))),.1)
- elseif ModeOfGlitch == 4 or ModeOfGlitch == 19 then
- local snap = math.random(1,24)
- if snap == 1 then
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(35+math.random(-50,50)),math.rad(10+math.random(-50,50)),math.rad(0+math.random(-50,50))),.5)
- end
- local snap = math.random(1,48)
- if snap == 1 then
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(35+math.random(-100,100)),math.rad(10+math.random(-100,100)),math.rad(0+math.random(-100,100))),.5)
- end
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1+ 0.1 * math.cos(sine / 29))*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(35),math.rad(10),math.rad(0)),0.5)
- RW.C0=clerp(RW.C0,cf(1.5+math.random(-.5,.5),0.5+math.random(-.5,.5),0+math.random(-.5,.5))*angles(math.rad(0+math.random(-5,5)),math.rad(0+math.random(-5,5)),math.rad(0+math.random(-5,5))),.1)
- LW.C0=clerp(LW.C0,cf(-1.5+math.random(-.5,.5),0.5+math.random(-.5,.5),0+math.random(-.5,.5))*angles(math.rad(0+math.random(-5,5)),math.rad(0+math.random(-5,5)),math.rad(0+math.random(-5,5))),.1)
- elseif ModeOfGlitch == 7 then
- local rsiz = math.random(1,2)
- sphereMK(math.random(3,6),math.random(-25,25)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
- sphereMK(math.random(6,9),math.random(-10,10)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-5,5)/50,math.random(-5,5)/50,math.random(-5,5)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/3,rsiz/3,rsiz/3,0,MAINRUINCOLOR,0)
- RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 8)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 3 * math.cos(sine / 4)+MRANDOM(-5,5)),math.rad(0 + root.RotVelocity.Y/1.5+MRANDOM(-5,5)),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8)+MRANDOM(-5,5))),.1)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 50 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 15 * math.cos(sine / 4))),.1)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-10 + 15 * math.cos(sine / 4))),.1)
- elseif ModeOfGlitch==12 then
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),-0.2)*angles(math.rad(-40),math.rad(90),math.rad(0)),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),-0.3)*angles(math.rad(-40),math.rad(-90),math.rad(0)),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.45 * math.cos(sine / 49),0,1 + 0.25 * math.cos(sine / 28))*angles(math.rad(50),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.05)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-35 + 2.5 * math.cos(sine / 41)),math.rad(0 + 1 * math.cos(sine / 57)),math.rad(0)),.1)
- RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(0 - 0.3 * math.cos(sine / 43)),math.rad(-35 - 2 * math.cos(sine / 52)),math.rad(19 + 0.9 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(0 - 0.2 * math.cos(sine / 51)),math.rad(35 - 4 * math.cos(sine / 64)),math.rad(-19 - 0.2 * math.cos(sine / 45))),.1)
- else
- RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 8)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8))),.1)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 50 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 15 * math.cos(sine / 4))),.1)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-10 + 15 * math.cos(sine / 4))),.1)
- if ModeOfGlitch == 24 then
- local snap = math.random(1,35)
- if snap == 1 then
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1)
- end
- RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 8)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(35),math.rad(0 + 1 * math.cos(sine / 32)),math.rad(0)),.2)
- RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(45),math.rad(20))*angles(math.rad(0),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-45),math.rad(-20))*angles(math.rad(0),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
- end
- end
- end
- elseif torvel>=4 and Humanoid.WalkSpeed>=32 and hitfloor~=nil then
- Anim="Run"
- if attack==false then
- if ModeOfGlitch==8 or ModeOfGlitch==10 or ModeOfGlitch==17 or ModeOfGlitch == 14 or ModeOfGlitch==12 then
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),-0.2)*angles(math.rad(-40),math.rad(90),math.rad(0)),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),-0.3)*angles(math.rad(-40),math.rad(-90),math.rad(0)),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 29),0 + 0.125 * math.cos(sine / 34),1 + 0.25 * math.cos(sine / 28))*angles(math.rad(50),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.05)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-35 + 2.5 * math.cos(sine / 41)),math.rad(0 + 1 * math.cos(sine / 57)),math.rad(0)),.1)
- RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(0 - 0.3 * math.cos(sine / 43)),math.rad(-35 - 2 * math.cos(sine / 52)),math.rad(19 + 0.9 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(0 - 0.2 * math.cos(sine / 51)),math.rad(35 - 4 * math.cos(sine / 64)),math.rad(-19 - 0.2 * math.cos(sine / 45))),.1)
- else
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(25 - 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - root.RotVelocity.Y - 1 * math.cos(sine / 6))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-6 + 2 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 1 * math.cos(sine / 6))),.1)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.5 * math.cos(sine / 6))*angles(math.rad(0 - 140 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 20 * math.cos(sine / 3))),.1)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.5 * math.cos(sine / 6))*angles(math.rad(0 + 140 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 20 * math.cos(sine / 3))),.1)
- if(ModeOfGlitch~=20)then
- sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(1,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.25,0.25,3,-0.00375,MAINRUINCOLOR,0)
- sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(1,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.25,0.25,3,-0.00375,SECONDRUINCOLOR,0)
- if ModeOfGlitch == 22 then
- if ModeOfGlitch == 22 then
- local snap = math.random(1,1)
- if snap == 1 then
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1)
- end
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(25 - 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - root.RotVelocity.Y - 1 * math.cos(sine / 6))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8))),.1)
- RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.5 * math.cos(sine / 6))*angles(math.rad(0 - 140 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 20 * math.cos(sine / 3))),.1)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.5 * math.cos(sine / 6))*angles(math.rad(0 + 140 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 20 * math.cos(sine / 3))),.1)
- end
- end
- end
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement