Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(1)
- local Player = game:GetService("Players").jane12421
- local Mouse,mouse,UserInputService,ContextActionService
- do
- script.Parent = Player.Character
- local CAS = {Actions={}}
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- Event.Parent = Player.Character
- local fakeEvent = function()
- local t = {_fakeEvent=true}
- t.Connect = function(self,f)self.Function=f end
- t.connect = t.Connect
- return t
- end
- local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
- local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
- function CAS:BindAction(name,fun,touch,...)
- CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
- end
- function CAS:UnbindAction(name)
- CAS.Actions[name] = nil
- end
- local function te(self,ev,...)
- local t = m[ev]
- if t and t._fakeEvent and t.Function then
- t.Function(...)
- end
- end
- m.TrigEvent = te
- UIS.TrigEvent = te
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=Player then return end
- if io.isMouse then
- m.Target = io.Target
- m.Hit = io.Hit
- elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
- if io.UserInputState == Enum.UserInputState.Begin then
- m:TrigEvent("Button1Down")
- else
- m:TrigEvent("Button1Up")
- end
- else
- for n,t in pairs(CAS.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
- m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
- UIS:TrigEvent("InputBegan",io,false)
- else
- m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
- UIS:TrigEvent("InputEnded",io,false)
- end
- end
- end)
- Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
- end
- wait(0.5)
- warn([[Sythezizer Loaded.
- Created by NoobyGames12
- ]])
- --[[the characters because i can lol
- Deone, the person behind sad or edgy modes such as Nuclear_Eggsermine, Abnormality, Sad, error, and other depressed modes. Incredibly edgy, and actually alone.
- Ceeque, the person behind happy or joyful modes such as Radiocutter, Eggsermine, Relaxed, and other positive modes. Incredibly energetic, and has friends.
- Neteutrality, the person behind neutral and bored modes which is basically just Synthezizer and Time-Keeper. Incredibly bored, and likes to listen to boring music and tv shows without friends.
- --]]
- --[[
- SYNTH SWITCHER-B, or as i like to call synb lol
- version 4
- THE END UDPATE
- added the final mode, Impraefectium.
- --]]
- -------------
- warn([[--------------------------------------------
- BUILD 1.0.0
- --------------------------------------------]])
- ---- Sources and functions might be taken from others
- plr = game:GetService("Players").jane12421
- char = plr.Character
- hum = char.Humanoid
- 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 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
- --the modes
- local mode = 1
- local suicideavailable = false
- --[[local secondary = false
- local eggsermine = false
- local nuclear = false
- local relax = false
- local sad = false
- local cutter = false
- local depress = false]]
- --other stuff, and a memory of what once was.
- --[[
- secondary = false
- eggsermine = false
- nuclear = false
- relax = false
- end of mode stuff]]
- local kan = Instance.new("Sound",char)
- kan.Volume = 1.25
- kan.TimePosition = 0
- kan.PlaybackSpeed = 1.01
- kan.Pitch = 1.01
- kan.SoundId = "rbxassetid://923445685"
- kan.Name = "synthezitation"
- kan.Looped = true
- kan:Play()
- local currentThemePlaying = kan.SoundId
- local currentPitch = kan.Pitch
- local currentVol = kan.Volume
- function NT(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 = "synthezitation"
- kanz.Looped = true
- currentThemePlaying = kanz.SoundId
- currentVol = kanz.Volume
- currentPitch = kanz.Pitch
- --kanz:Play()
- --coroutine.resume(coroutine.create(function()
- --wait(0.05)
- --end))
- end
- function NTC(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()
- coroutine.resume(coroutine.create(function()
- wait(0.05)
- end))
- end
- local mutedtog = false
- function CameraEnshaking(Length,Intensity)
- coroutine.resume(coroutine.create(function()
- local intensity = 1*Intensity
- local rotM = 0.01*Intensity
- for i = 0, Length, 0.1 do
- swait()
- intensity = intensity - 0.05*Intensity/Length
- rotM = rotM - 0.0005*Intensity/Length
- hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
- cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM)
- end
- Humanoid.CameraOffset = Vec3(0, 0, 0)
- end))
- end
- CamShake=function(Part,Distan,Power,Times)
- local de=Part.Position
- for i,v in pairs(workspace:children()) do
- if v:IsA("Model") and v:findFirstChild("Humanoid") then
- for _,c in pairs(v:children()) do
- if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
- local Noob=v.Humanoid
- if Noob~=nil then
- coroutine.resume(coroutine.create(function()
- FV = Instance.new("BoolValue", Noob)
- FV.Name = "CameraShake"
- for ShakeNum=1,Times do
- swait()
- local ef=Power
- if ef>=1 then
- Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
- else
- ef=Power*10
- Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
- end
- end
- Humanoid.CameraOffset = Vector3.new(0,0,0)
- FV:Destroy()
- end))
- CameraShake(Times, Power, Noob)
- end
- end
- end
- end
- end
- end
- 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)
- for i = 0, 74*timeex do
- swait()
- 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
- 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
- tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
- tecks2.TextTransparency = tecks2.TextTransparency + .04
- tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
- tecks3.TextTransparency = tecks2.TextTransparency + .04
- end
- end
- naeeym2:Destroy()
- end)
- chat()
- end
- 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 = 1
- fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
- fullscreenz.Size = UDim2.new(1, 0, 1, 0)
- fullscreenz.Position = UDim2.new(0, 0, 0, 0)
- local imgl2 = Instance.new("ImageLabel",fullscreenz)
- imgl2.BackgroundTransparency = 1
- imgl2.BorderSizePixel = 0
- imgl2.ImageTransparency = 0.5
- imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
- imgl2.Position = UDim2.new(0.75,-100,0.55,-100)
- imgl2.Size = UDim2.new(0,800,0,800)
- imgl2.Image = "rbxassetid://2076458450"
- local techc = imgl2:Clone()
- techc.Parent = fullscreenz
- techc.ImageTransparency = 0
- techc.Size = UDim2.new(0,900,0,900)
- techc.Position = UDim2.new(0.75,-150,0.55,-150)
- techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
- techc.Image = "rbxassetid://2092248396"
- local circl = imgl2:Clone()
- circl.Parent = fullscreenz
- circl.ImageTransparency = 0
- circl.Size = UDim2.new(0,550,0,550)
- circl.Position = UDim2.new(0.75,25,0.55,25)
- circl.ImageColor3 = BrickColor.new("Alder").Color
- circl.Image = "rbxassetid://2109052855"
- local circl2 = imgl2:Clone()
- circl2.Parent = fullscreenz
- circl2.ImageTransparency = 0
- circl2.Size = UDim2.new(0,700,0,700)
- circl2.Position = UDim2.new(0.75,-50,0.55,-50)
- circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
- circl2.Image = "rbxassetid://2109045978"
- local imgl2b = imgl2:Clone()
- imgl2b.Parent = fullscreenz
- imgl2b.ImageTransparency = 0
- imgl2b.Size = UDim2.new(0,600,0,600)
- imgl2b.Position = UDim2.new(0.75,0,0.55,0)
- imgl2b.ImageColor3 = BrickColor.new("Alder").Color
- local ned = Instance.new("TextLabel",fullscreenz)
- ned.ZIndex = 2
- ned.Font = "SciFi"
- ned.BackgroundTransparency = 1
- ned.BorderSizePixel = 0.65
- ned.Size = UDim2.new(0.3,0,0.2,0)
- ned.Position = UDim2.new(0.7,0,0.8,0)
- ned.TextColor3 = BrickColor.new("Pastel light blue").Color
- ned.TextStrokeColor3 = BrickColor.new("Alder").Color
- ned.TextScaled = true
- ned.TextStrokeTransparency = 0
- ned.Text = "SYNTHEZIZER"
- ned.TextSize = 24
- ned.Rotation = 1
- ned.TextXAlignment = "Right"
- ned.TextYAlignment = "Bottom"
- function bosschatfunc(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 = "SciFi"
- 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 = ned.Text..":"
- txtlb2.Font = "Code"
- 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
- coroutine.resume(coroutine.create(function()
- while true do
- swait()
- if chaosmode == true then
- txtlb.Rotation = math.random(-1,1)
- txtlb2.Rotation = math.random(-1,1)
- txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
- txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
- txtlb.TextStrokeColor3 = BrickColor.random().Color
- txtlb2.TextStrokeColor3 = BrickColor.random().Color
- end
- end
- end))
- coroutine.resume(coroutine.create(function()
- while true do
- swait()
- if scrg.Parent ~= nil then
- fvalen = fvalen - 0.0001
- elseif scrg.Parent == nil then
- break
- end
- end
- end))
- local flol = 1.75
- local flil = 1.6
- coroutine.resume(coroutine.create(function()
- 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
- 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)
- coroutine.resume(coroutine.create(function()
- local S = Create("Sound"){
- Volume = vol,
- Name = "EffectSoundo",
- Pitch = pit or 1,
- SoundId = id,
- Parent = par or workspace,
- }
- wait()
- S:play()
- game:GetService("Debris"):AddItem(S, 10)
- end))
- end;
- };
- ["TimeSound"] = {
- Create = function(id, par, vol, pit, timepos,timedel)
- coroutine.resume(coroutine.create(function()
- 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, timedel)
- end))
- end;
- };
- ["EchoSound"] = {
- Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
- coroutine.resume(coroutine.create(function()
- 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))
- end;
- };
- ["LongSound"] = {
- Create = function(id, par, vol, pit)
- coroutine.resume(coroutine.create(function()
- 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))
- 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 maincolor = BrickColor.new("Really black")
- local m = Instance.new("Model",char)
- local colorizermod = Instance.new("Model",char)
- --HAHA BOOKMARK FOR GUI COLORING STUFF
- --LOOK UP GUI COLOR
- --[[TEMPLATE
- imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
- techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
- circl.ImageColor3 = BrickColor.new("Alder").Color
- circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
- imgl2b.ImageColor3 = BrickColor.new("Alder").Color
- ned.TextColor3 = BrickColor.new("Pastel light blue").Color
- ned.TextStrokeColor3 = BrickColor.new("Alder").Color
- ]]
- 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
- ----------------------------
- 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(m,1,1,"Neon",maincolor)
- CreateMesh(handlex,"Brick",0,0,0)
- local handlexweld = CreateWeld(handlex,tors,handlex,0,-2,-2.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- local rotzo = CreateParta(m,1,1,"Neon",maincolor)
- CreateMesh(rotzo,"Brick",0,0,0)
- local rotingweld = CreateWeld(rotzo,handlex,rotzo,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 rotzo2 = CreateParta(m,1,1,"Neon",maincolor)
- CreateMesh(rotzo2,"Brick",0,0,0)
- local rotingweld2 = CreateWeld(rotzo2,handlex,rotzo2,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 roterval = 0
- for i = 0, 7 do
- rn = CreateParta(colorizermod,0,0,"Neon",BrickColor.new("Alder"))
- CreateMesh(rn,"Wedge",0.15,1,0.15)
- CreateWeld(rn,rotzo,rn,0,-4.25,0.1,math.rad(0),math.rad(90),math.rad(roterval),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- rn = CreateParta(colorizermod,0,0,"Neon",BrickColor.new("Alder"))
- CreateMesh(rn,"Wedge",0.15,1,0.15)
- CreateWeld(rn,rotzo,rn,0,-4.25,0.1,math.rad(0),math.rad(-90),math.rad(roterval),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- rn = CreateParta(colorizermod,0,0,"Neon",BrickColor.new("Alder"))
- CreateMesh(rn,"Wedge",0.15,1,0.15)
- CreateWeld(rn,rotzo,rn,0,3.25,0.1,math.rad(0),math.rad(90),math.rad(roterval),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- rn = CreateParta(colorizermod,0,0,"Neon",BrickColor.new("Alder"))
- CreateMesh(rn,"Wedge",0.15,1,0.15)
- CreateWeld(rn,rotzo,rn,0,3.25,0.1,math.rad(0),math.rad(-90),math.rad(roterval),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- rn = CreateParta(colorizermod,0,0,"Neon",BrickColor.new("Alder"))
- CreateMesh(rn,"Wedge",0.15,1,0.25)
- CreateWeld(rn,rotzo2,rn,0,1.5,0.2,math.rad(0),math.rad(90),math.rad(roterval + 22.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- rn = CreateParta(colorizermod,0,0,"Neon",BrickColor.new("Alder"))
- CreateMesh(rn,"Wedge",0.15,1,0.25)
- CreateWeld(rn,rotzo2,rn,0,1.5,0.2,math.rad(0),math.rad(-90),math.rad(roterval + 22.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- roterval = roterval + 45
- end
- local refec = Instance.new("ParticleEmitter",handlex)
- refec.Texture = "rbxassetid://284205403"
- refec.LightEmission = 0.95
- refec.Color = ColorSequence.new(BrickColor.new("Alder").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 refec2 = refec:Clone()
- refec2.LightEmission = 0.75
- refec2.Texture = "rbxassetid://2109052855"--2108979939 254287058 2109052855
- refec2.Parent = handlex
- refec2.Rate = 15
- refec2.Lifetime = NumberRange.new(0.75)
- refec2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.15,0),NumberSequenceKeypoint.new(0.7,2.25,0),NumberSequenceKeypoint.new(0.8,2.15,0),NumberSequenceKeypoint.new(1,1.75,0)})
- refec2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.65,0),NumberSequenceKeypoint.new(1,1,0)})
- refec2.Speed = NumberRange.new(0)
- local refec3 = refec:Clone()
- refec3.LightEmission = 0.75
- refec3.Texture = "rbxassetid://2092248396"
- refec3.Parent = handlex
- refec3.Rate = 25
- refec3.Lifetime = NumberRange.new(1)
- refec3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,4,0),NumberSequenceKeypoint.new(1,15,0)})
- refec3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.65,0),NumberSequenceKeypoint.new(1,1,0)})
- refec3.Speed = NumberRange.new(0)
- refec3.RotSpeed = NumberRange.new(-50,50)
- local valuaring = 10
- for i = 0, 35 do
- valuaring = valuaring + 10
- rn = CreateParta(colorizermod,0,0,"Neon",BrickColor.new("Alder"))
- CreateMesh(rn,"Brick",0.25,0.1,0.1)
- CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- rn = CreateParta(colorizermod,0,0,"Neon",BrickColor.new("Alder"))
- CreateMesh(rn,"Brick",0.725,0.045,0.045)
- CreateWeld(rn,handlex,rn,0,3.8,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- rn = CreateParta(m,0,0,"Granite",maincolor)
- CreateMesh(rn,"Brick",0.35,0.05,0.2)
- CreateWeld(rn,handlex,rn,0,1.975,0,math.rad(0),math.rad(0),math.rad(valuaring + 5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- rn = CreateParta(m,0,0,"Granite",maincolor)
- CreateMesh(rn,"Torso",0.385,0.15,0.2)
- CreateWeld(rn,handlex,rn,0,2.1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- rn = CreateParta(colorizermod,0,0,"Neon",BrickColor.new("Alder"))
- CreateMesh(rn,"Wedge",0.5,0.5,0.15)
- CreateWeld(rn,handlex,rn,0,-2.25,0,math.rad(0),math.rad(0),math.rad(valuaring + 5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
- 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"]
- LW=Torso["Left Shoulder"]
- LH=Torso["Left Hip"]
- RW=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
- 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
- --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
- function NoOutline(Part)
- Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
- end
- 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 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 --------------
- 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
- -------- RAINBOW LEAVE IT TO ME
- local r = 255
- local g = 0
- local b = 0
- coroutine.resume(coroutine.create(function()
- while wait() do
- for i = 0, 254/5 do
- swait()
- g = g + 5
- end
- for i = 0, 254/5 do
- swait()
- r = r - 5
- end
- for i = 0, 254/5 do
- swait()
- b = b + 5
- end
- for i = 0, 254/5 do
- swait()
- g = g - 5
- end
- for i = 0, 254/5 do
- swait()
- r = r + 5
- end
- for i = 0, 254/5 do
- swait()
- b = b - 5
- end
- end
- end))
- so = function(id,par,vol,pit)
- coroutine.resume(coroutine.create(function()
- 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))
- 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 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 = BrickColor.new("Really red")
- 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 = BrickColor.new("Really red")
- 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
- function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
- 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").noahcarter100,
- 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
- 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, 1.5, 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, 1.5, 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 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 == "Spike" 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 == "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
- end
- function ShowDamage(Pos, Text, Time, Color)
- local Rate = 0.03333333333333333
- local Pos = Pos or Vector3.new(0, 0, 0)
- local Text = Text or ""
- local Time = Time or 2
- local Color = Color or Color3.new(1, 0, 1)
- local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
- EffectPart.Anchored = true
- local BillboardGui = Create("BillboardGui")({
- Size = UDim2.new(3, 0, 3, 0),
- Adornee = EffectPart,
- Parent = EffectPart
- })
- local TextLabel = Create("TextLabel")({
- BackgroundTransparency = 1,
- Size = UDim2.new(1, 0, 1, 0),
- Text = Text,
- TextColor3 = Color,
- TextScaled = true,
- Font = Enum.Font.ArialBold,
- Parent = BillboardGui
- })
- game.Debris:AddItem(EffectPart, Time + 0.1)
- EffectPart.Parent = game:GetService("Workspace")
- delay(0, function()
- 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)
- 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 ring(type,pos,scale,value)
- local type = type
- local rng = Instance.new("Part", char)
- 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", char)
- 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", char)
- 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", char)
- 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, math.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", char)
- 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", char)
- 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 sphere(bonuspeed,type,pos,scale,value,color)
- local type = type
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- if ModeOfGlitch ~= 9 then
- rng.BrickColor = color
- elseif ModeOfGlitch == 9 then
- rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,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
- 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
- if ModeOfGlitch == 9 then
- coroutine.resume(coroutine.create(function()
- while true do
- swait()
- if rng.Parent ~= nil then
- rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
- else
- break
- end
- end
- end))
- 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", char)
- rng.Anchored = true
- if ModeOfGlitch ~= 9 then
- rng.BrickColor = color
- elseif ModeOfGlitch == 9 then
- rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,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
- 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
- if ModeOfGlitch == 9 then
- coroutine.resume(coroutine.create(function()
- while true do
- swait()
- if rng.Parent ~= nil then
- rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
- else
- break
- end
- end
- end))
- 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
- function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
- local type = type
- local rotenable = rotatingop
- local rng = Instance.new("Part", char)
- 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 PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
- local type = type
- local rng = Instance.new("Part", char)
- 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", char)
- 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 PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
- local type = type
- local rng = Instance.new("Part", char)
- 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", char)
- 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 sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
- local type = type
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- if ModeOfGlitch ~= 9 then
- rng.BrickColor = color
- elseif ModeOfGlitch == 9 then
- rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,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 == 9 then
- coroutine.resume(coroutine.create(function()
- while true do
- swait()
- if rng.Parent ~= nil then
- rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,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 sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
- local type = type
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- if ModeOfGlitch ~= 9 then
- rng.BrickColor = color
- elseif ModeOfGlitch == 9 then
- rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,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 = 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
- if ModeOfGlitch == 9 then
- coroutine.resume(coroutine.create(function()
- while true do
- swait()
- if rng.Parent ~= nil then
- rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,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 dmg(dude)
- if dude.Name ~= Character then
- local keptcolor = BrickColor.new("Alder")
- 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("MeshPart") then
- v.Name = "DEMINISHED"
- end
- end
- wait(0.5)
- CFuncs["Sound"].Create("rbxassetid://62339698", char, 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("MeshPart") 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 FaceMouse()
- Cam = workspace.CurrentCamera
- return {
- CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.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
- local actualrotationvalue = 0
- function Laserbeamy()
- attack = true
- hum.WalkSpeed = 0
- bosschatfunc("Beams are nice.",maincolor.Color,2)
- CFuncs["Sound"].Create("rbxassetid://289315275", handlex, 7.5, 1)
- CFuncs["Sound"].Create("rbxassetid://1521621176", handlex, 5,1)
- CFuncs["Sound"].Create("rbxassetid://418302853", handlex, 6.5, 1)
- CFuncs["TimeSound"].Create("rbxassetid://184173042", handlex, 5, 1,0,2.75)
- CFuncs["Sound"].Create("rbxassetid://898407368", handlex, 1.75, 1.2)
- CFuncs["Sound"].Create("rbxassetid://1930016365", handlex, 1.75, 1.1)
- CFuncs["Sound"].Create("rbxassetid://1752639888", handlex, 1.5, 1)
- local efec = Instance.new("ParticleEmitter",handlex)
- efec.Texture = "rbxassetid://2109052855"
- efec.LightEmission = 1
- efec.Color = ColorSequence.new(BrickColor.new("Alder").Color)
- efec.Rate = 10
- efec.Lifetime = NumberRange.new(0.75)
- efec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.8,7.5,0),NumberSequenceKeypoint.new(1,0,0)})
- efec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.25,0),NumberSequenceKeypoint.new(0.6,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
- efec.Drag = 5
- efec.LockedToPart = true
- efec.Rotation = NumberRange.new(-500,500)
- efec.VelocitySpread = 9000
- efec.Speed = NumberRange.new(0)
- efec.RotSpeed = NumberRange.new(-500,500)
- local efec2 = efec:Clone()
- efec2.LightEmission = 1
- efec2.Texture = "rbxassetid://2092248396"
- efec2.Parent = handlex
- efec2.Rate = 10
- efec2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,17.5,0),NumberSequenceKeypoint.new(0.5,15,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,100,0)})
- efec2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
- efec2.RotSpeed = NumberRange.new(-100,100)
- for i = 0,10,0.1 do
- swait()
- hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
- actualrotationvalue = actualrotationvalue + 14
- handlexweld.C0=clerp(handlexweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- handlexweld.C1=clerp(handlexweld.C1,cf(0,-2,5)*angles(math.rad(-5),math.rad(60),math.rad(0)),.3)
- sphere2(5,"Add",handlex.CFrame,vt(4,4,0.1),0.005,0.005,0.005,BrickColor.new("Alder"))
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)* angles(math.rad(5),math.rad(0),math.rad(60)),0.5)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(-5),math.rad(-60)),.5)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(95), math.rad(0), math.rad(60)), 0.5)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-30)), 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(-1.5),math.rad(-30),math.rad(15)),.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(-4.5),math.rad(0),math.rad(10)),.5)
- end
- efec.Enabled = false
- efec2.Enabled = false
- game:GetService("Debris"):AddItem(efec, 5)
- game:GetService("Debris"):AddItem(efec2, 5)
- CFuncs["Sound"].Create("rbxassetid://919941001", handlex, 8, 1.1)
- sphere2(5,"Add",handlex.CFrame,vt(4,4,0.1),0.5,0.5,0.005,BrickColor.new("Alder"))
- sphere2(4,"Add",handlex.CFrame,vt(4,4,0.1),0.5,0.5,0.005,BrickColor.new("Alder"))
- sphere2(3,"Add",handlex.CFrame,vt(4,4,0.1),0.5,0.5,0.005,BrickColor.new("Alder"))
- for i = 0, 14 do
- slash(math.random(10,40)/10,5,true,"Round","Add","Out",handlex.CFrame*CFrame.Angles(math.rad(90 + math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(30,70)/250,BrickColor.new("White"))
- end
- for i = 0, 24 do
- for i = 0,1,0.6 do
- swait()
- hum.CameraOffset = vt(math.random(-10,10)/60,math.random(-10,10)/60,math.random(-10,10)/60)
- actualrotationvalue = actualrotationvalue + 14
- handlexweld.C0=clerp(handlexweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- handlexweld.C1=clerp(handlexweld.C1,cf(0,-2,5)*angles(math.rad(-5),math.rad(60),math.rad(0)),.3)
- sphere2(5,"Add",handlex.CFrame,vt(4,4,0.1),0.005,0.005,0.005,BrickColor.new("Alder"))
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)* angles(math.rad(5),math.rad(0),math.rad(60)),0.5)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(-5),math.rad(-60)),.5)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(95), math.rad(0), math.rad(60)), 0.5)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-30)), 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(-1.5),math.rad(-30),math.rad(15)),.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(-4.5),math.rad(0),math.rad(10)),.5)
- end
- local orb = Instance.new("Part", char)
- CFuncs["Sound"].Create("rbxassetid://1146690130", handlex, 2,1.25)
- orb.BrickColor = BrickColor.new("Alder")
- orb.CanCollide = false
- orb.FormFactor = 3
- orb.Name = "Ring"
- orb.Material = "Neon"
- orb.Size = Vector3.new(1, 1, 1)
- orb.Transparency = 1
- orb.TopSurface = 0
- orb.BottomSurface = 0
- orb.Anchored = true
- orb.CFrame = handlex.CFrame*CFrame.new(math.random(-2,2),math.random(-2,2),math.random(0,1))
- local a = Instance.new("Part",char)
- a.Name = "Direction"
- a.Anchored = true
- a.BrickColor = BrickColor.new("Alder")
- a.Material = "Neon"
- a.Transparency = 0.25
- a.Shape = "Cylinder"
- local ht = Instance.new("Part",char)
- ht.Name = "DirectionHit"
- ht.Anchored = true
- ht.BrickColor = BrickColor.new("Alder")
- ht.CanCollide = false
- ht.Transparency = 1
- ht.Size = vt(0.1,0.1,0.1)
- CFuncs["Sound"].Create("rbxassetid://206049428", ht, 3, 1)
- CFuncs["Sound"].Create("rbxassetid://824687369", ht, 6, 1)
- CFuncs["Sound"].Create("rbxassetid://698224146", ht, 4, 1)
- CFuncs["Sound"].Create("rbxassetid://183763487", ht, 4, 1.1)
- a.CanCollide = false
- local ray = Ray.new(
- orb.CFrame.p, -- origin
- (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
- )
- local ignore = char
- local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
- a.BottomSurface = 10
- a.TopSurface = 10
- local distance = (orb.CFrame.p - position).magnitude
- a.Size = Vector3.new(distance,1,1)
- a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
- ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
- sphere2(3,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.35,0.35,0.35,BrickColor.new("Alder"))
- sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.35,0.35,0.35,BrickColor.new("Alder"))
- MagniDamage(ht, 15, 70,95, 0, "Normal")
- for i = 0, 4 do
- slash(math.random(10,60)/10,5,true,"Round","Add","Out",ht.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,80)/250,BrickColor.new("White"))
- sphere2(4,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(3,1,3),-0.015,1.5,-0.015,BrickColor.new("Alder"))
- local rsiz = math.random(30,60)
- sphereMK(math.random(2,4),0.75,"Add",ht.CFrame*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,BrickColor.new("Alder"),0)
- end
- a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
- local msh = Instance.new("SpecialMesh",a)
- msh.MeshType = "Cylinder"
- msh.Scale = vt(1,2,2)
- coroutine.resume(coroutine.create(function()
- for i = 0, 49 do
- swait()
- msh.Scale = msh.Scale - vt(0,0.04,0.04)
- a.Transparency = a.Transparency + 0.02
- end
- a:Destroy()
- ht:Destroy()
- orb:Destroy()
- end))
- end
- hum.WalkSpeed = 16
- attack = false
- end
- function vaporwave()
- attack = true
- hum.WalkSpeed = 0
- bosschatfunc("Let's just relax, here, take some vaporwave.",maincolor.Color,2)
- for i = 0,2,0.1 do
- swait()
- RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-25),math.rad(30)),.8)
- 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(1),math.rad(20)),.8)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
- RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
- LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
- slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("White"))
- slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Ghost grey"))
- MagniDamage(root, 200, 30,125, 0, "Normal")
- CFuncs["Sound"].Create("rbxassetid://206049428", root, 10, 1)
- end
- wait(1)
- slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("White"))
- slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Ghost grey"))
- MagniDamage(root, 200, 30,125, 0, "Normal")
- CFuncs["Sound"].Create("rbxassetid://206049428", root, 10, 1)
- wait(1)
- slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("White"))
- slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Ghost grey"))
- MagniDamage(root, 200, 30,125, 0, "Normal")
- CFuncs["Sound"].Create("rbxassetid://206049428", root, 10, 1)
- wait(1)
- slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("White"))
- slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Ghost grey"))
- MagniDamage(root, 200, 30,125, 0, "Normal")
- CFuncs["Sound"].Create("rbxassetid://206049428", root, 10, 1)
- wait(1)
- slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("White"))
- slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Ghost grey"))
- MagniDamage(root, 200, 30,125, 0, "Normal")
- CFuncs["Sound"].Create("rbxassetid://206049428", root, 10, 1)
- attack = false
- hum.WalkSpeed = 16
- end
- function sadwave()
- attack = true
- hum.WalkSpeed = 0
- bosschatfunc("I hate this world, this world hates me.",maincolor.Color,2)
- for i = 0,2,0.1 do
- swait()
- RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-25),math.rad(30)),.8)
- 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(1),math.rad(20)),.8)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
- RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
- LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
- slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Dark blue"))
- slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Dark blue"))
- MagniDamage(root, 200, 10,15, 0, "Normal")
- CFuncs["Sound"].Create("rbxassetid://206049428", root, 10, 1)
- end
- wait(2)
- for i = 0,2,0.1 do
- swait()
- slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Dark blue"))
- slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Dark blue"))
- MagniDamage(root, 200, 10,15, 0, "Normal")
- CFuncs["Sound"].Create("rbxassetid://206049428", root, 10, 1)
- end
- wait(2)
- for i = 0,2,0.1 do
- swait()
- slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Dark blue"))
- slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Dark blue"))
- MagniDamage(root, 200, 10,15, 0, "Normal")
- CFuncs["Sound"].Create("rbxassetid://206049428", root, 10, 1)
- end
- wait(2)
- hum.WalkSpeed = 16
- bosschatfunc("This world is cruel.",maincolor.Color,2)
- attack = false
- end
- function slice()
- attack = true
- hum.WalkSpeed = 0
- bosschatfunc("Cut it out!",maincolor.Color,2)
- for i = 0,2,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)* angles(math.rad(5),math.rad(0),math.rad(60)),0.5)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(-5),math.rad(-60)),.5)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(95), math.rad(0), math.rad(60)), 0.5)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-30)), 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(-1.5),math.rad(-30),math.rad(15)),.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(-4.5),math.rad(0),math.rad(10)),.5)
- slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,1,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.025,0.01,0.025),math.random(1,10)/250,BrickColor.new("Ghost grey"))
- MagniDamage(RightArm, 7, 10,15, 0, "Normal")
- CFuncs["Sound"].Create("rbxassetid://206049428", RightArm, 10, 1)
- swait()
- slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,1,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.025,0.01,0.025),math.random(1,10)/250,BrickColor.new("Ghost grey"))
- MagniDamage(RightArm, 7, 10,15, 0, "Normal")
- CFuncs["Sound"].Create("rbxassetid://206049428", RightArm, 10, 1)
- swait()
- slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,1,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.025,0.01,0.025),math.random(1,10)/250,BrickColor.new("Ghost grey"))
- MagniDamage(RightArm, 7, 10,15, 0, "Normal")
- CFuncs["Sound"].Create("rbxassetid://206049428", RightArm, 10, 1)
- end
- attack = false
- hum.WalkSpeed = 20
- end
- function fallout()
- attack = true
- bosschatfunc("Radioactive slash.",maincolor.Color,2)
- for i = 0, 14 do
- slash(math.random(10,40)/10,5,true,"Round","Add","Out",Torso.CFrame*CFrame.Angles(math.rad(90 + math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(30,70)/250,BrickColor.new("Camo"))
- MagniDamage(root, 40, 100,125, 0, "Normal")
- CFuncs["Sound"].Create("rbxassetid://206049428", RightArm, 10, 1)
- attack = false
- end
- end
- function abpunch()
- attack = true
- hum.WalkSpeed = 0
- bosschatfunc("GeT DiSToRTed INtO tHE ABysS!1!1!!!!1!11!!1!111",maincolor.Color,2)
- for i = 0,24 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)* angles(math.rad(5),math.rad(0),math.rad(60)),0.5)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(-5),math.rad(-60)),.5)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(95), math.rad(0), math.rad(60)), 0.5)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-30)), 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(-1.5),math.rad(-30),math.rad(15)),.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(-4.5),math.rad(0),math.rad(10)),.5)
- MagniDamage(RightArm, 5, 70,95, 0, "Normal")
- hum.WalkSpeed = 16
- attack = false
- end
- end
- function leap()
- local vel = Instance.new("BodyPosition", root)
- vel.P = 30000
- vel.D = 1000
- vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
- vel.position = root.CFrame.p + vt(0,150,0)
- wait(2)
- vel:Destroy()
- end
- function steampressurerun()
- local vel = Instance.new("BodyPosition", root)
- vel.P = 30000
- vel.D = 1000
- attack = true
- vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
- vel.position = root.CFrame.p + vt(0,10,0)
- wait(0.2)
- local orb = Instance.new("Part", char)
- CFuncs["Sound"].Create("rbxassetid://1146690130", handlex, 2,1.25)
- orb.BrickColor = BrickColor.new("Alder")
- orb.CanCollide = false
- orb.FormFactor = 3
- orb.Name = "Ring"
- orb.Material = "Neon"
- orb.Size = Vector3.new(1, 1, 1)
- orb.Transparency = 1
- orb.TopSurface = 0
- orb.BottomSurface = 0
- orb.Anchored = true
- orb.CFrame = handlex.CFrame*CFrame.new(math.random(-2,2),math.random(-2,2),math.random(0,1))
- local a = Instance.new("Part",char)
- a.Name = "Direction"
- a.Anchored = true
- a.BrickColor = BrickColor.new("Maroon")
- a.Material = "Neon"
- a.Transparency = 0.25
- a.Shape = "Cylinder"
- local ht = Instance.new("Part",char)
- ht.Name = "DirectionHit"
- ht.Anchored = true
- ht.BrickColor = BrickColor.new("Maroon")
- ht.CanCollide = false
- ht.Transparency = 1
- ht.Size = vt(0.1,0.1,0.1)
- CFuncs["Sound"].Create("rbxassetid://206049428", ht, 3, 1)
- CFuncs["Sound"].Create("rbxassetid://824687369", ht, 6, 1)
- CFuncs["Sound"].Create("rbxassetid://698224146", ht, 4, 1)
- CFuncs["Sound"].Create("rbxassetid://183763487", ht, 4, 1.1)
- a.CanCollide = false
- local ray = Ray.new(
- orb.CFrame.p, -- origin
- (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
- )
- local ignore = char
- local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
- a.BottomSurface = 10
- a.TopSurface = 10
- local distance = (orb.CFrame.p - position).magnitude
- a.Size = Vector3.new(distance,1,1)
- a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
- ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
- sphere2(3,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.35,0.35,0.35,BrickColor.new("Maroon"))
- sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.35,0.35,0.35,BrickColor.new("Maroon"))
- MagniDamage(ht, 15, 10000,1000000, 0, "Normal")
- for i = 0, 4 do
- slash(math.random(10,60)/10,5,true,"Round","Add","Out",ht.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,80)/250,BrickColor.new("Really black"))
- sphere2(4,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(3,1,3),-0.015,1.5,-0.015,BrickColor.new("Maroon"))
- local rsiz = math.random(30,60)
- sphereMK(math.random(2,4),0.75,"Add",ht.CFrame*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,BrickColor.new("Maroon"),0)
- end
- a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
- local msh = Instance.new("SpecialMesh",a)
- msh.MeshType = "Cylinder"
- msh.Scale = vt(1,2,2)
- coroutine.resume(coroutine.create(function()
- for i = 0, 49 do
- swait()
- msh.Scale = msh.Scale - vt(0,0.04,0.04)
- a.Transparency = a.Transparency + 0.02
- end
- a:Destroy()
- ht:Destroy()
- orb:Destroy()
- wait(1)
- vel:Destroy()
- attack = false
- end))
- end
- function innovation()
- attack = true
- hum.WalkSpeed = 0
- bosschatfunc("Hm. I fear that this creation will not last for long.",maincolor.Color,2)
- for i = 0, 14, 0.1 do
- swait()
- 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 + 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(-10)),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.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 - 3 * math.cos(sine / 45))),.1)
- RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(120 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 3 * math.cos(sine / 45))),.1)
- end
- wait(2)
- bosschatfunc("I will have to end this quick before space takes this over.",maincolor.Color,2)
- for i = 0, 14, 0.1 do
- swait()
- 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 + 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(-10)),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.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 - 3 * math.cos(sine / 45))),.1)
- RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(120 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 3 * math.cos(sine / 45))),.1)
- end
- hum.WalkSpeed = 16
- attack = false
- end
- function Fireball()
- attack = true
- hum.WalkSpeed = 0
- local keptcolor = BrickColor.new("Institutional white")
- local MAINRUINCOLOR = BrickColor.new("Institutional white")
- chatfunc("Some move, but I'm using this anyways.",MAINRUINCOLOR.Color,"Inverted","SciFi",0.75)
- for i = 0,2,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-40)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(40), math.rad(-40)), 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(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(-1),math.rad(0),math.rad(0)),.3)
- end
- local orb = Instance.new("Part", char)
- orb.BrickColor = keptcolor
- orb.CanCollide = false
- orb.FormFactor = 3
- orb.Name = "Ring"
- orb.Material = "Neon"
- orb.Size = Vector3.new(1, 1, 1)
- orb.Transparency = 0
- orb.TopSurface = 0
- orb.BottomSurface = 0
- local orbm = Instance.new("SpecialMesh", orb)
- orbm.MeshType = "Sphere"
- orbm.Name = "SizeMesh"
- orbm.Scale = vt(4,4,4)
- orb.CFrame = root.CFrame + root.CFrame.lookVector*3
- local eff = Instance.new("ParticleEmitter",orb)
- eff.Texture = "rbxassetid://296874871"
- eff.LightEmission = 0.95
- eff.Color = ColorSequence.new(orb.BrickColor.Color)
- eff.Rate = 10000
- eff.Lifetime = NumberRange.new(1.5)
- eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,7,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,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(25)
- eff.Drag = 5
- eff.Rotation = NumberRange.new(-500,500)
- eff.VelocitySpread = 9000
- eff.RotSpeed = NumberRange.new(-500,500)
- local a = Instance.new("Part",workspace)
- a.Name = "Direction"
- a.Anchored = true
- a.BrickColor = bc("Toothpaste")
- a.Material = "Neon"
- a.Transparency = 1
- a.CanCollide = false
- local ray = Ray.new(
- orb.CFrame.p, -- origin
- (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
- )
- local ignore = orb
- local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
- a.BottomSurface = 10
- a.TopSurface = 10
- local distance = (orb.CFrame.p - position).magnitude
- a.Size = Vector3.new(0.1, 0.1, 0.1)
- a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
- orb.CFrame = a.CFrame
- a:Destroy()
- CFuncs["Sound"].Create("rbxassetid://304448425", orb, 1.5, 0.9)
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = orb.CFrame.lookVector*75
- bv.Parent = orb
- game:GetService("Debris"):AddItem(orb, 10)
- local hitted = false
- coroutine.resume(coroutine.create(function()
- while true do
- swait()
- if orb.Parent ~= nil and hitted == false then
- sphere2(4,"Add",orb.CFrame*CFrame.new(math.random(-1,1),math.random(-1,1),0) - orb.CFrame.lookVector*1.5,vt(3,3,3),-0.03,-0.03,-0.03,keptcolor)
- elseif orb.Parent == nil and hitted == true then
- break
- end
- end
- end))
- local hit =orb.Touched:connect(function(hit)
- if hitted == false and hit.Parent ~= char then
- hitted = true
- eff.Enabled = false
- CameraEnshaking(4,4)
- CFuncs["Sound"].Create("rbxassetid://1226980789", orb, 4.5, 0.7)
- CFuncs["Sound"].Create("rbxassetid://178452221", orb, 2.5, 0.4)
- MagniDamage(orb, 25, 20,30, 0, "Normal")
- sphere2(4,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
- sphere2(3,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
- sphere2(2,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
- for i = 0, 9 do
- sphere2(4,"Add",orb.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
- for i = 0, 49 do
- local rsiz = math.random(10,30)
- sphereMK(math.random(1,3),1,"Add",orb.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",orb)
- eff.Texture = "rbxassetid://296874871"
- eff.LightEmission = 0.95
- eff.Color = ColorSequence.new(orb.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)
- coroutine.resume(coroutine.create(function()
- wait(0.25)
- eff.Enabled = false
- end))
- local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
- orb.Anchored = true
- orb.Transparency = 1
- coroutine.resume(coroutine.create(function()
- if hfr ~= nil then
- orb.Size = vt(50,1,50)
- orb.Orientation = vt(0,0,0)
- orb.CFrame = orb.CFrame*CFrame.new(0,-5,0)
- orbm:Destroy()
- local firef = eff:Clone()
- firef.Parent = orb
- firef.VelocitySpread = 50
- firef.Rate = 500
- firef.Drag = 3
- firef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
- firef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,3,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
- firef.Speed = NumberRange.new(10,30)
- for i = 0, 24 do
- wait(0.25)
- MagniDamage(orb, 25, 3,6, 0, "Normal")
- end
- firef.Enabled = false
- end
- end))
- wait(10)
- orb:Destroy()
- end
- end)
- for i = 0,1,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.5)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.5)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.5)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.5)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
- end
- hum.WalkSpeed = storehumanoidWS
- attack = false
- end
- function suicide()
- hum.WalkSpeed = 0
- wait(2)
- attack = true
- bosschatfunc("Nobody here understands my pain.",maincolor.Color,2)
- wait(2)
- bosschatfunc("I wanted to fix this all, but I guess it won't happen.",maincolor.Color,2)
- wait(2)
- bosschatfunc("I'm done with life. I'm going to die now.",maincolor.Color,2)
- wait(2)
- bosschatfunc("Hope you're happy when I'm finally gone, void.",maincolor.Color,2)
- wait(2)
- bosschatfunc("BECAUSE IM GONNA TAKE YOU ALL DOWN WITH ME!",maincolor.Color,2)
- wait(2)
- bosschatfunc("SHATTER!",maincolor.Color,2)
- CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
- for i = 0,2,0.1 do
- swait()
- RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-25),math.rad(30)),.8)
- 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(1),math.rad(20)),.8)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
- RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
- LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
- end
- MagniDamage(RightArm, 1000000000, 100000000,200000000, 0, "Normal")
- hum.Health = 0
- attack = false
- end
- function chime()
- local vel = Instance.new("BodyPosition", root)
- vel.P = 30000
- vel.D = 1000
- vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
- vel.position = root.CFrame.p + vt(0,150,0)
- bosschatfunc("HERE GOES...",maincolor.Color,2)
- Fireball()
- Fireball()
- Fireball()
- Fireball()
- Fireball()
- Fireball()
- Fireball()
- Fireball()
- Fireball()
- Fireball()
- Fireball()
- Fireball()
- bosschatfunc("DROP!",maincolor.Color,2)
- wait(2)
- vel:Destroy()
- end
- function UNKNOWNDEATH()
- attack = true
- hum.WalkSpeed = 0
- bosschatfunc("yoUR lIFE is PoiNtLEss anD so aRe yoU!!11!!1!!1!11!1111!1111!1!1!111",maincolor.Color,2)
- for i = 0,24 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)* angles(math.rad(5),math.rad(0),math.rad(60)),0.5)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(-5),math.rad(-60)),.5)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(95), math.rad(0), math.rad(60)), 0.5)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-30)), 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(-1.5),math.rad(-30),math.rad(15)),.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(-4.5),math.rad(0),math.rad(10)),.5)
- end
- MagniDamage(RightArm, 2.5, 1000,2000, 0, "Normal")
- attack = false
- hum.WalkSpeed = 16
- end
- function uselessnuke()
- attack = true
- local vel = Instance.new("BodyPosition", root)
- vel.P = 25000
- vel.D = 1000
- vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
- vel.position = root.CFrame.p + vt(0,250,0)
- CFuncs["Sound"].Create("rbxassetid://1295446488", char, 1.5, 0.8)
- for i = 0, 49 do
- coroutine.resume(coroutine.create(function()
- 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(25,500)/250,BrickColor.new("White"))
- end))
- end
- for i = 0, 4, 0.1 do
- swait()
- RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-25)),.8)
- LH.C0=clerp(LH.C0,cf(-1,-0.45,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(25)),.8)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.8)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(35),math.rad(0),math.rad(0)),.8)
- RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-57)),.8)
- LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(83),math.rad(0),math.rad(58)),.8)
- end
- wait(2)
- local efec = Instance.new("ParticleEmitter",root)
- efec.Texture = "rbxassetid://2109052855"
- efec.LightEmission = 1
- efec.Color = ColorSequence.new(BrickColor.new("Pastel light blue").Color)
- efec.Rate = 15
- efec.Lifetime = NumberRange.new(1)
- efec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,100,0),NumberSequenceKeypoint.new(0.2,50,0),NumberSequenceKeypoint.new(0.6,125,0),NumberSequenceKeypoint.new(0.8,175,0),NumberSequenceKeypoint.new(1,20,0)})
- efec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.25,0),NumberSequenceKeypoint.new(0.6,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
- efec.Drag = 5
- efec.LockedToPart = true
- efec.Rotation = NumberRange.new(-500,500)
- efec.VelocitySpread = 9000
- efec.RotSpeed = NumberRange.new(-500,500)
- local efec2 = efec:Clone()
- efec2.LightEmission = 1
- efec2.Texture = "rbxassetid://2092248396"
- efec2.Parent = root
- efec2.Rate = 30
- efec2.Lifetime = NumberRange.new(1)
- efec2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,175,0),NumberSequenceKeypoint.new(0.5,150,0),NumberSequenceKeypoint.new(0.8,500,0),NumberSequenceKeypoint.new(1,1000,0)})
- efec2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
- efec2.Speed = NumberRange.new(0)
- efec2.RotSpeed = NumberRange.new(-100,100)
- sphere2(1,"Add",root.CFrame,vt(500,500,500),-10,-10,-10,BrickColor.new("Alder"))
- sphere2(1,"Add",root.CFrame,vt(750,750,750),-15,-15,-15,BrickColor.new("Pastel light blue"))
- CFuncs["LongSound"].Create("rbxassetid://1930483671", char, 10, 1)
- wait(2)
- CameraEnshaking(20,50)
- CFuncs["Sound"].Create("rbxassetid://1368605755", char, 10, 1)
- CFuncs["Sound"].Create("rbxassetid://763718160", char, 5, 0.5)
- CFuncs["Sound"].Create("rbxassetid://763718160", char, 5, 0.25)
- CFuncs["Sound"].Create("rbxassetid://782353443", char, 10, 1)
- CFuncs["Sound"].Create("rbxassetid://782353443", char, 10, 0.75)
- CFuncs["LongSound"].Create("rbxassetid://782353443", char, 10, 0.5)
- CFuncs["LongSound"].Create("rbxassetid://782353443", char, 10, 0.25)
- CFuncs["Sound"].Create("rbxassetid://1664711478", char, 10, 1)
- CFuncs["Sound"].Create("rbxassetid://239000203", char, 10, 1)
- coroutine.resume(coroutine.create(function()
- for i = 0, 74, 0.1 do
- swait()
- MagniDamage(root, 1500000, 999999,99999999, 0, "Normal")
- coroutine.resume(coroutine.create(function()
- for i = 0, 2 do
- slash(math.random(10,40)/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(250,2500)/250,BrickColor.new("White"))
- end
- slash(math.random(30,90)/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.1,0.01,0.1),math.random(2,5)/250,BrickColor.new("Alder"))
- sphere2(10,"Add",root.CFrame,vt(30,100000,30),2.5,100,2.5,BrickColor.new("Alder"))
- sphere2(10,"Add",root.CFrame,vt(50,100000,50),3,100,3,BrickColor.new("Pastel light blue"))
- sphere2(10,"Add",root.CFrame,vt(10,10,10),5,5,5,BrickColor.new("Alder"))
- sphere2(10,"Add",root.CFrame,vt(10,10,10),10,10,10,BrickColor.new("Pastel light blue"))
- end))
- end
- vel:Destroy()
- attack = false
- efec.Enabled = false
- efec2.Enabled = false
- game:GetService("Debris"):AddItem(efec, 5)
- game:GetService("Debris"):AddItem(efec2, 5)
- end))
- end
- ----------------------------------- Abilities
- -------------------------------------
- Humanoid.Animator.Parent = nil
- -------------------------------------
- local attacktype = 1
- mouse.Button1Down:connect(function()
- 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)
- --modes start
- mouse.KeyDown:connect(function(k)
- if k == "e" and attack == false and mode == 1 and mode ~= 3 then
- bosschatfunc("aBnOrMAlITy",maincolor.Color,2)
- ned.Text = "Abnormality"
- mode = 3
- imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
- techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
- circl.ImageColor3 = BrickColor.new("Pastel light blue").Color
- circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
- imgl2b.ImageColor3 = BrickColor.new("Pastel light blue").Color
- ned.TextColor3 = BrickColor.new("Pastel light blue").Color
- ned.TextStrokeColor3 = BrickColor.new("Pastel light blue").Color
- chatfunc("Current mode: Abnormality",maincolor.Color,"Inverted","Code",2)
- NT("rbxassetid://1470848774",0,1,2)
- --music thing
- kan.SoundId = "rbxassetid://1470848774"
- kan.PlaybackSpeed = 1.01
- kan.Pitch = 1
- kan.Looped = true
- kan.Parent = char
- kan:Resume()
- --end music thing
- for i,v in pairs(colorizermod:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Pastel light blue")
- end
- end
- refec.Color = ColorSequence.new(BrickColor.new("Pastel light blue").Color)
- refec2.Color = refec.Color
- refec3.Color = refec.Color
- elseif k == "e" and attack == false and mode ~= 1 and mode == 3 then
- bosschatfunc("Jeez, what a day.",maincolor.Color,2)
- ned.Text = "SYNTHEZIZER"
- mode = 1
- imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
- techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
- circl.ImageColor3 = BrickColor.new("Alder").Color
- circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
- imgl2b.ImageColor3 = BrickColor.new("Alder").Color
- ned.TextColor3 = BrickColor.new("Pastel light blue").Color
- ned.TextStrokeColor3 = BrickColor.new("Alder").Color
- chatfunc("Current mode: Synthezizer",maincolor.Color,"Inverted","Code",2)
- NT("rbxassetid://923445685",0,1,2)
- --music thing
- kan.SoundId = "rbxassetid://923445685"
- kan.PlaybackSpeed = 1.01
- kan.Pitch = 1
- kan.Looped = true
- kan.Parent = char
- kan:Resume()
- --end music thing
- for i,v in pairs(colorizermod:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Alder")
- end
- end
- refec.Color = ColorSequence.new(BrickColor.new("Alder").Color)
- refec2.Color = refec.Color
- refec3.Color = refec.Color
- end
- if k == "q" and attack == false and mode == 1 and mode ~= 2 then
- bosschatfunc("An infestation of the infected.",maincolor.Color,2)
- ned.Text = "Eggsermine"
- mode = 2
- imgl2.ImageColor3 = BrickColor.new("Bright green").Color
- techc.ImageColor3 = BrickColor.new("Bright green").Color
- circl.ImageColor3 = BrickColor.new("Bright green").Color
- circl2.ImageColor3 = BrickColor.new("Bright green").Color
- imgl2b.ImageColor3 = BrickColor.new("Bright green").Color
- ned.TextColor3 = BrickColor.new("Bright green").Color
- ned.TextStrokeColor3 = BrickColor.new("Bright green").Color
- chatfunc("Current mode: Eggsermine",maincolor.Color,"Inverted","Code",2)
- NT("rbxassetid://378518202",0,1,2)
- --music thing
- kan.SoundId = "rbxassetid://378518202"
- kan.PlaybackSpeed = 1.01
- kan.Pitch = 1
- kan.Looped = true
- kan.Parent = char
- kan:Resume()
- --end music thing
- for i,v in pairs(colorizermod:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Bright green")
- end
- end
- refec.Color = ColorSequence.new(BrickColor.new("Bright green").Color)
- refec2.Color = refec.Color
- refec3.Color = refec.Color
- elseif k == "q" and attack == false and mode ~= 1 and mode == 2 then
- bosschatfunc("I don't understand what's going on either.",maincolor.Color,2)
- ned.Text = "SYNTHEZIZER"
- mode = 1
- imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
- techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
- circl.ImageColor3 = BrickColor.new("Alder").Color
- circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
- imgl2b.ImageColor3 = BrickColor.new("Alder").Color
- ned.TextColor3 = BrickColor.new("Pastel light blue").Color
- ned.TextStrokeColor3 = BrickColor.new("Alder").Color
- chatfunc("Current mode: Synthezizer",maincolor.Color,"Inverted","Code",2)
- NT("rbxassetid://923445685",0,1,2)
- --music thing
- kan.SoundId = "rbxassetid://923445685"
- kan.PlaybackSpeed = 1.01
- kan.Pitch = 1
- kan.Looped = true
- kan.Parent = char
- kan:Resume()
- --end music thing
- for i,v in pairs(colorizermod:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Alder")
- end
- end
- refec.Color = ColorSequence.new(BrickColor.new("Alder").Color)
- refec2.Color = refec.Color
- refec3.Color = refec.Color
- end
- if k == "one" and attack == false and mode == 2 and mode ~= 4 then
- bosschatfunc("Another chernobyl explosion.",maincolor.Color,2)
- ned.Text = "Nuclear_Eggsermine"
- mode = 4
- imgl2.ImageColor3 = BrickColor.new("Really black").Color
- techc.ImageColor3 = BrickColor.new("Really black").Color
- circl.ImageColor3 = BrickColor.new("Bright green").Color
- circl2.ImageColor3 = BrickColor.new("Really black").Color
- imgl2b.ImageColor3 = BrickColor.new("Bright green").Color
- ned.TextColor3 = BrickColor.new("Really black").Color
- ned.TextStrokeColor3 = BrickColor.new("Bright green").Color
- chatfunc("Current mode: Nuclear_Eggsermine",maincolor.Color,"Inverted","Code",2)
- NT("rbxassetid://1812212957",0,1,2)
- --music thing
- kan.SoundId = "rbxassetid://1812212957"
- kan.PlaybackSpeed = 1.01
- kan.Pitch = 1
- kan.Looped = true
- kan.Parent = char
- kan:Resume()
- --end music thing
- for i,v in pairs(colorizermod:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Really black")
- end
- end
- refec.Color = ColorSequence.new(BrickColor.new("Bright green").Color)
- refec2.Color = refec.Color
- refec3.Color = refec.Color
- elseif k == "one" and attack == false and mode ~= 1 and mode == 4 then
- bosschatfunc("Smells like a nuclear fallout in here.",maincolor.Color,2)
- ned.Text = "SYNTHEZIZER"
- mode = 1
- imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
- techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
- circl.ImageColor3 = BrickColor.new("Alder").Color
- circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
- imgl2b.ImageColor3 = BrickColor.new("Alder").Color
- ned.TextColor3 = BrickColor.new("Pastel light blue").Color
- ned.TextStrokeColor3 = BrickColor.new("Alder").Color
- chatfunc("Current mode: Synthezizer",maincolor.Color,"Inverted","Code",2)
- NT("rbxassetid://923445685",0,1,2)
- --music thing
- kan.SoundId = "rbxassetid://923445685"
- kan.PlaybackSpeed = 1.01
- kan.Pitch = 1
- kan.Looped = true
- kan.Parent = char
- kan:Resume()
- --end music thing
- for i,v in pairs(colorizermod:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Alder")
- end
- end
- refec.Color = ColorSequence.new(BrickColor.new("Alder").Color)
- refec2.Color = refec.Color
- refec3.Color = refec.Color
- end
- if k == "r" and attack == false and mode == 1 and mode ~= 5 then
- bosschatfunc("I take the D train to go to BK, I can't defeat rain.",maincolor.Color,2)
- ned.Text = "+-_-Relaxed-_-+"
- mode = 5
- imgl2.ImageColor3 = BrickColor.new("White").Color
- techc.ImageColor3 = BrickColor.new("White").Color
- circl.ImageColor3 = BrickColor.new("White").Color
- circl2.ImageColor3 = BrickColor.new("White").Color
- imgl2b.ImageColor3 = BrickColor.new("Ghost grey").Color
- ned.TextColor3 = BrickColor.new("White").Color
- ned.TextStrokeColor3 = BrickColor.new("Ghost grey").Color
- chatfunc("Current mode: Relaxed",maincolor.Color,"Inverted","Code",2)
- NT("rbxassetid://452385370",0,1,2)
- --music thing
- kan.SoundId = "rbxassetid://452385370"
- kan.PlaybackSpeed = 1.01
- kan.Pitch = 1
- kan.Looped = true
- kan.Parent = char
- kan:Resume()
- --end music thing
- for i,v in pairs(colorizermod:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("White")
- end
- end
- refec.Color = ColorSequence.new(BrickColor.new("Ghost grey").Color)
- refec2.Color = refec.Color
- refec3.Color = refec.Color
- elseif k == "r" and attack == false and mode ~= 1 and mode == 5 then
- bosschatfunc("Aw, I was really into that, oh well.",maincolor.Color,2)
- ned.Text = "SYNTHEZIZER"
- mode = 1
- imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
- techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
- circl.ImageColor3 = BrickColor.new("Alder").Color
- circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
- imgl2b.ImageColor3 = BrickColor.new("Alder").Color
- ned.TextColor3 = BrickColor.new("Pastel light blue").Color
- ned.TextStrokeColor3 = BrickColor.new("Alder").Color
- chatfunc("Current mode: Synthezizer",maincolor.Color,"Inverted","Code",2)
- NT("rbxassetid://923445685",0,1,2)
- --music thing
- kan.SoundId = "rbxassetid://923445685"
- kan.PlaybackSpeed = 1.01
- kan.Pitch = 1
- kan.Looped = true
- kan.Parent = char
- kan:Resume()
- --end music thing
- for i,v in pairs(colorizermod:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Alder")
- end
- end
- refec.Color = ColorSequence.new(BrickColor.new("Alder").Color)
- refec2.Color = refec.Color
- refec3.Color = refec.Color
- end
- if k == "one" and attack == false and mode == 5 and mode ~= 6 then
- bosschatfunc("I don't fix, I'd rather weep.",maincolor.Color,2)
- ned.Text = "Sad."
- mode = 6
- imgl2.ImageColor3 = BrickColor.new("Dark blue").Color
- techc.ImageColor3 = BrickColor.new("Dark blue").Color
- circl.ImageColor3 = BrickColor.new("Dark blue").Color
- circl2.ImageColor3 = BrickColor.new("Dark blue").Color
- imgl2b.ImageColor3 = BrickColor.new("Dark blue").Color
- ned.TextColor3 = BrickColor.new("Dark blue").Color
- ned.TextStrokeColor3 = BrickColor.new("Dark blue").Color
- chatfunc("Current mode: Sad",maincolor.Color,"Inverted","Code",2)
- NT("rbxassetid://2490605666",0,1,2)
- --music thing
- kan.SoundId = "rbxassetid://2490605666"
- kan.PlaybackSpeed = 1.01
- kan.Pitch = 1
- kan.Looped = true
- kan.Parent = char
- kan:Resume()
- --end music thing
- for i,v in pairs(colorizermod:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Dark blue")
- end
- end
- refec.Color = ColorSequence.new(BrickColor.new("Dark blue").Color)
- refec2.Color = refec.Color
- refec3.Color = refec.Color
- elseif k == "one" and attack == false and mode == 6 and mode ~= 1 then
- bosschatfunc("Wow, recovery without therapy.",maincolor.Color,2)
- ned.Text = "SYNTHEZIZER"
- mode = 1
- imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
- techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
- circl.ImageColor3 = BrickColor.new("Alder").Color
- circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
- imgl2b.ImageColor3 = BrickColor.new("Alder").Color
- ned.TextColor3 = BrickColor.new("Pastel light blue").Color
- ned.TextStrokeColor3 = BrickColor.new("Alder").Color
- chatfunc("Current mode: Synthezizer",maincolor.Color,"Inverted","Code",2)
- NT("rbxassetid://923445685",0,1,2)
- --music thing
- kan.SoundId = "rbxassetid://923445685"
- kan.PlaybackSpeed = 1.01
- kan.Pitch = 1
- kan.Looped = true
- kan.Parent = char
- kan:Resume()
- --end music thing
- for i,v in pairs(colorizermod:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Alder")
- end
- end
- refec.Color = ColorSequence.new(BrickColor.new("Alder").Color)
- refec2.Color = refec.Color
- refec3.Color = refec.Color
- end
- if k == "t" and attack == false and mode == 1 and mode ~= 7 then
- bosschatfunc("Cut that radio, doc.",maincolor.Color,2)
- ned.Text = "Radiocutter!"
- mode = 7
- imgl2.ImageColor3 = BrickColor.new("Ghost grey").Color
- techc.ImageColor3 = BrickColor.new("Brown").Color
- circl.ImageColor3 = BrickColor.new("Ghost grey").Color
- circl2.ImageColor3 = BrickColor.new("Brown").Color
- imgl2b.ImageColor3 = BrickColor.new("Ghost grey").Color
- ned.TextColor3 = BrickColor.new("Brown").Color
- ned.TextStrokeColor3 = BrickColor.new("Ghost grey").Color
- chatfunc("Current mode: Radiocutter!",maincolor.Color,"Inverted","Code",2)
- NT("rbxassetid://253050461",0,1,2)
- --music thing
- kan.SoundId = "rbxassetid://253050461"
- kan.PlaybackSpeed = 1
- kan.Pitch = 1
- kan.Looped = true
- kan.Parent = char
- kan:Resume()
- --end music thing
- for i,v in pairs(colorizermod:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Brown")
- end
- end
- refec.Color = ColorSequence.new(BrickColor.new("Ghost grey").Color)
- refec2.Color = refec.Color
- refec3.Color = refec.Color
- elseif k == "t" and attack == false and mode == 7 and mode ~= 1 then
- bosschatfunc("Yikes, don't play with sharp objects.",maincolor.Color,2)
- ned.Text = "SYNTHEZIZER"
- mode = 1
- imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
- techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
- circl.ImageColor3 = BrickColor.new("Alder").Color
- circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
- imgl2b.ImageColor3 = BrickColor.new("Alder").Color
- ned.TextColor3 = BrickColor.new("Pastel light blue").Color
- ned.TextStrokeColor3 = BrickColor.new("Alder").Color
- chatfunc("Current mode: Synthezizer",maincolor.Color,"Inverted","Code",2)
- NT("rbxassetid://923445685",0,1,2)
- --music thing
- kan.SoundId = "rbxassetid://923445685"
- kan.PlaybackSpeed = 1.01
- kan.Pitch = 1
- kan.Looped = true
- kan.Parent = char
- kan:Resume()
- --end music thing
- for i,v in pairs(colorizermod:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Alder")
- end
- end
- refec.Color = ColorSequence.new(BrickColor.new("Alder").Color)
- refec2.Color = refec.Color
- refec3.Color = refec.Color
- end
- if k == "y" and attack == false and mode == 1 and mode ~= 8 then
- bosschatfunc("AN eRror hAs OccURED!11!!!!!!!!!!!1!11!1!!",maincolor.Color,2)
- mode = 8
- imgl2.ImageColor3 = BrickColor.new("Really black").Color
- techc.ImageColor3 = BrickColor.new("Really black").Color
- circl.ImageColor3 = BrickColor.new("Really black").Color
- circl2.ImageColor3 = BrickColor.new("Black").Color
- imgl2b.ImageColor3 = BrickColor.new("Really black").Color
- ned.TextColor3 = BrickColor.new("Black").Color
- ned.TextStrokeColor3 = BrickColor.new("Black").Color
- chatfunc("Current mode: UNKNOWN",maincolor.Color,"Inverted","Code",2)
- NT("rbxassetid://1138145518",0,1,2)
- --music thing
- kan.SoundId = "rbxassetid://1138145518"
- kan.PlaybackSpeed = 1.01
- kan.Pitch = 1
- kan.Looped = true
- kan.Parent = char
- kan:Resume()
- --end music thing
- for i,v in pairs(colorizermod:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Really black")
- end
- end
- refec.Color = ColorSequence.new(BrickColor.new("Black").Color)
- refec2.Color = refec.Color
- refec3.Color = refec.Color
- --random namer
- local radm = math.random(1,7)
- if radm == 1 then
- ned.Text = "DEPRESSED"
- elseif radm == 2 then
- ned.Text = "LONELY"
- elseif radm == 3 then
- ned.Text = "FAILURE"
- elseif radm == 4 then
- ned.Text = "STUPID"
- elseif radm == 5 then
- ned.Text = "WASTED"
- elseif radm == 6 then
- ned.Text = "NO FRIENDS"
- elseif radm == 7 then
- ned.Text = "MENTALLY UNSTABLE"
- end
- if radm == 7 then
- suicideavailable = true
- elseif radm ~= 7 then
- suicideavailable = false
- end
- --epic gamer moments
- elseif k == "y" and attack == false and mode == 8 and mode ~= 1 then
- bosschatfunc("I fixed the error!",maincolor.Color,2)
- ned.Text = "SYNTHEZIZER"
- suicideavailable = false
- mode = 1
- imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
- techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
- circl.ImageColor3 = BrickColor.new("Alder").Color
- circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
- imgl2b.ImageColor3 = BrickColor.new("Alder").Color
- ned.TextColor3 = BrickColor.new("Pastel light blue").Color
- ned.TextStrokeColor3 = BrickColor.new("Alder").Color
- chatfunc("Current mode: Synthezizer",maincolor.Color,"Inverted","Code",2)
- NT("rbxassetid://923445685",0,1,2)
- --music thing
- kan.SoundId = "rbxassetid://923445685"
- kan.PlaybackSpeed = 1.01
- kan.Pitch = 1
- kan.Looped = true
- kan.Parent = char
- kan.TimePosition = 0
- kan:Resume()
- --end music thing
- for i,v in pairs(colorizermod:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Alder")
- end
- end
- refec.Color = ColorSequence.new(BrickColor.new("Alder").Color)
- refec2.Color = refec.Color
- refec3.Color = refec.Color
- end
- if k == "u" and attack == false and mode == 1 and mode ~= 9 then
- bosschatfunc("Man, this elevator ride is taking forever.",maincolor.Color,2)
- ned.Text = "Time-Keeper"
- mode = 9
- hum.WalkSpeed = 0
- hum.JumpPower = 0
- imgl2.ImageColor3 = BrickColor.new("Dark stone grey").Color
- techc.ImageColor3 = BrickColor.new("Dark stone grey").Color
- circl.ImageColor3 = BrickColor.new("Dark stone grey").Color
- circl2.ImageColor3 = BrickColor.new("Dark stone grey").Color
- imgl2b.ImageColor3 = BrickColor.new("Dark stone grey").Color
- ned.TextColor3 = BrickColor.new("Dark stone grey").Color
- ned.TextStrokeColor3 = BrickColor.new("Dark stone grey").Color
- chatfunc("Current status: Idle/Waiting.",maincolor.Color,"Inverted","Code",2)
- NT("rbxassetid://130768299",0,1,2)
- --music thing
- kan.SoundId = "rbxassetid://130768299"
- kan.PlaybackSpeed = 1
- kan.Pitch = 1
- kan.Looped = true
- kan.Parent = char
- kan:Resume()
- --end music thing
- for i,v in pairs(colorizermod:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Dark stone grey")
- end
- end
- refec.Color = ColorSequence.new(BrickColor.new("Dark stone grey").Color)
- refec2.Color = refec.Color
- refec3.Color = refec.Color
- elseif k == "u" and attack == false and mode == 9 and mode ~= 1 then
- bosschatfunc("Finally, I'm not in that elevator anymore.",maincolor.Color,2)
- ned.Text = "SYNTHEZIZER"
- mode = 1
- hum.WalkSpeed = 16
- hum.JumpPower = 50
- imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
- techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
- circl.ImageColor3 = BrickColor.new("Alder").Color
- circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
- imgl2b.ImageColor3 = BrickColor.new("Alder").Color
- ned.TextColor3 = BrickColor.new("Pastel light blue").Color
- ned.TextStrokeColor3 = BrickColor.new("Alder").Color
- chatfunc("Current mode: Synthezizer",maincolor.Color,"Inverted","Code",2)
- NT("rbxassetid://923445685",0,1,2)
- --music thing
- kan.SoundId = "rbxassetid://923445685"
- kan.PlaybackSpeed = 1.01
- kan.Pitch = 1
- kan.Looped = true
- kan.Parent = char
- kan:Resume()
- --end music thing
- for i,v in pairs(colorizermod:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Alder")
- end
- end
- refec.Color = ColorSequence.new(BrickColor.new("Alder").Color)
- refec2.Color = refec.Color
- refec3.Color = refec.Color
- end
- if k == "p" and attack == false and mode == 1 and mode ~= 10 then
- bosschatfunc("It's cold, and this fire is too.",maincolor.Color,2)
- ned.Text = "Chiberia"
- mode = 10
- imgl2.ImageColor3 = BrickColor.new("Institutional white").Color
- techc.ImageColor3 = BrickColor.new("Institutional white").Color
- circl.ImageColor3 = BrickColor.new("Institutional white").Color
- circl2.ImageColor3 = BrickColor.new("Institutional white").Color
- imgl2b.ImageColor3 = BrickColor.new("Institutional white").Color
- ned.TextColor3 = BrickColor.new("Institutional white").Color
- ned.TextStrokeColor3 = BrickColor.new("Institutional white").Color
- chatfunc("Current mode: Chiberia",maincolor.Color,"Inverted","Code",2)
- NT("rbxassetid://897199984",0,1,2)
- --music thing
- kan.SoundId = "rbxassetid://897199984"
- kan.PlaybackSpeed = 1.01
- kan.Pitch = 1
- kan.Looped = true
- kan.Parent = char
- kan:Resume()
- --end music thing
- for i,v in pairs(colorizermod:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Institutional white")
- end
- end
- refec.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
- refec2.Color = refec.Color
- refec3.Color = refec.Color
- elseif k == "p" and attack == false and mode == 10 and mode ~= 1 then
- bosschatfunc("Thanks for turning that air conditioner off.",maincolor.Color,2)
- ned.Text = "SYNTHEZIZER"
- mode = 1
- imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
- techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
- circl.ImageColor3 = BrickColor.new("Alder").Color
- circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
- imgl2b.ImageColor3 = BrickColor.new("Alder").Color
- ned.TextColor3 = BrickColor.new("Pastel light blue").Color
- ned.TextStrokeColor3 = BrickColor.new("Alder").Color
- chatfunc("Current mode: Synthezizer",maincolor.Color,"Inverted","Code",2)
- NT("rbxassetid://923445685",0,1,2)
- --music thing
- kan.SoundId = "rbxassetid://923445685"
- kan.PlaybackSpeed = 1.01
- kan.Pitch = 1
- kan.Looped = true
- kan.Parent = char
- kan:Resume()
- --end music thing
- for i,v in pairs(colorizermod:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Alder")
- end
- end
- refec.Color = ColorSequence.new(BrickColor.new("Alder").Color)
- refec2.Color = refec.Color
- refec3.Color = refec.Color
- end
- if k == "f" and attack == false and mode == 1 and mode ~= 11 then
- bosschatfunc("TV's nice and all, but what am I gonna do when my friends are busy?",maincolor.Color,2)
- ned.Text = "Boredom."
- mode = 11
- hum.WalkSpeed = 0
- hum.JumpPower = 0
- imgl2.ImageColor3 = BrickColor.new("Ghost grey").Color
- techc.ImageColor3 = BrickColor.new("Ghost grey").Color
- circl.ImageColor3 = BrickColor.new("Ghost grey").Color
- circl2.ImageColor3 = BrickColor.new("Ghost grey").Color
- imgl2b.ImageColor3 = BrickColor.new("Ghost grey").Color
- ned.TextColor3 = BrickColor.new("Ghost grey").Color
- ned.TextStrokeColor3 = BrickColor.new("Ghost grey").Color
- chatfunc("Current status: I'm feeling bored.",maincolor.Color,"Inverted","Code",2)
- NT("rbxassetid://1690074464",0,1,2)
- --music thing
- kan.SoundId = "rbxassetid://1690074464"
- kan.PlaybackSpeed = 1.01
- kan.Pitch = 1
- kan.Looped = true
- kan.Parent = char
- kan:Resume()
- --end music thing
- for i,v in pairs(colorizermod:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Ghost grey")
- end
- end
- refec.Color = ColorSequence.new(BrickColor.new("Ghost grey").Color)
- refec2.Color = refec.Color
- refec3.Color = refec.Color
- elseif k == "f" and attack == false and mode == 11 and mode ~= 1 then
- bosschatfunc("Man, my favorite show just ended. Oh well, here I go, I guess.",maincolor.Color,2)
- ned.Text = "SYNTHEZIZER"
- mode = 1
- hum.WalkSpeed = 16
- hum.JumpPower = 50
- imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
- techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
- circl.ImageColor3 = BrickColor.new("Alder").Color
- circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
- imgl2b.ImageColor3 = BrickColor.new("Alder").Color
- ned.TextColor3 = BrickColor.new("Pastel light blue").Color
- ned.TextStrokeColor3 = BrickColor.new("Alder").Color
- chatfunc("Current mode: Synthezizer",maincolor.Color,"Inverted","Code",2)
- NT("rbxassetid://923445685",0,1,2)
- --music thing
- kan.SoundId = "rbxassetid://923445685"
- kan.PlaybackSpeed = 1.01
- kan.Pitch = 1
- kan.Looped = true
- kan.Parent = char
- kan:Resume()
- --end music thing
- for i,v in pairs(colorizermod:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Alder")
- end
- end
- refec.Color = ColorSequence.new(BrickColor.new("Alder").Color)
- refec2.Color = refec.Color
- refec3.Color = refec.Color
- end
- if k == "g" and attack == false and mode == 1 and mode ~= 12 then
- bosschatfunc("Great, I can't believe I'm being in this again.",maincolor.Color,2)
- ned.Text = "Preggsure"
- mode = 12
- hum.WalkSpeed = 100
- hum.JumpPower = 100
- imgl2.ImageColor3 = BrickColor.new("Maroon").Color
- techc.ImageColor3 = BrickColor.new("Really black").Color
- circl.ImageColor3 = BrickColor.new("Maroon").Color
- circl2.ImageColor3 = BrickColor.new("Maroon").Color
- imgl2b.ImageColor3 = BrickColor.new("Really black").Color
- ned.TextColor3 = BrickColor.new("Really black").Color
- ned.TextStrokeColor3 = BrickColor.new("Maroon").Color
- chatfunc("Current mode: Preggsure",maincolor.Color,"Inverted","Code",2)
- NT("rbxassetid://723652641",0,1,2)
- --music thing
- kan.SoundId = "rbxassetid://723652641"
- kan.PlaybackSpeed = 1.01
- kan.Pitch = 1
- kan.Looped = true
- kan.Parent = char
- kan:Resume()
- --end music thing
- for i,v in pairs(colorizermod:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Maroon")
- end
- end
- refec.Color = ColorSequence.new(BrickColor.new("Really black").Color)
- refec2.Color = refec.Color
- refec3.Color = refec.Color
- elseif k == "g" and attack == false and mode == 12 and mode ~= 1 then
- bosschatfunc("Oh my god, I don't understand what is with it with this stress and stuff, and what is Preggsure even about anyways?",maincolor.Color,2)
- ned.Text = "SYNTHEZIZER"
- mode = 1
- hum.WalkSpeed = 16
- hum.JumpPower = 50
- imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
- techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
- circl.ImageColor3 = BrickColor.new("Alder").Color
- circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
- imgl2b.ImageColor3 = BrickColor.new("Alder").Color
- ned.TextColor3 = BrickColor.new("Pastel light blue").Color
- ned.TextStrokeColor3 = BrickColor.new("Alder").Color
- chatfunc("Current mode: Synthezizer",maincolor.Color,"Inverted","Code",2)
- NT("rbxassetid://923445685",0,1,2)
- --music thing
- kan.SoundId = "rbxassetid://923445685"
- kan.PlaybackSpeed = 1.01
- kan.Pitch = 1
- kan.Looped = true
- kan.Parent = char
- kan:Resume()
- --end music thing
- for i,v in pairs(colorizermod:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Alder")
- end
- end
- refec.Color = ColorSequence.new(BrickColor.new("Alder").Color)
- refec2.Color = refec.Color
- refec3.Color = refec.Color
- end
- if k == "h" and attack == false and mode == 1 and mode ~= 13 then
- bosschatfunc("Colors weave into a spire of flames.",maincolor.Color,2)
- ned.Text = "LIFELIGHT"
- mode = 13
- hum.WalkSpeed = 200
- hum.JumpPower = 500
- imgl2.ImageColor3 = BrickColor.new("Really red").Color
- techc.ImageColor3 = BrickColor.new("Camo").Color
- circl.ImageColor3 = BrickColor.new("Royal purple").Color
- circl2.ImageColor3 = BrickColor.new("White").Color
- imgl2b.ImageColor3 = BrickColor.new("Dark blue").Color
- ned.TextColor3 = BrickColor.new("Really blue").Color
- ned.TextStrokeColor3 = BrickColor.new("Cool yellow").Color
- chatfunc("Current mode: LIFELIGHT",maincolor.Color,"Inverted","Code",2)
- NT("rbxassetid://2532792635",0,1,5)
- --music thing
- kan.SoundId = "rbxassetid://2532792635"
- kan.PlaybackSpeed = 1.01
- kan.Pitch = 1
- kan.Looped = true
- kan.Parent = char
- kan.Volume = 5
- kan:Resume()
- --end music thing
- for i,v in pairs(colorizermod:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Cool yellow")
- end
- end
- refec.Color = ColorSequence.new(BrickColor.new("White").Color)
- refec2.Color = refec.Color
- refec3.Color = refec.Color
- elseif k == "h" and attack == false and mode == 13 and mode ~= 1 then
- bosschatfunc("Aw, that was really cool.",maincolor.Color,2)
- ned.Text = "SYNTHEZIZER"
- mode = 1
- hum.WalkSpeed = 16
- hum.JumpPower = 50
- imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
- techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
- circl.ImageColor3 = BrickColor.new("Alder").Color
- circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
- imgl2b.ImageColor3 = BrickColor.new("Alder").Color
- ned.TextColor3 = BrickColor.new("Pastel light blue").Color
- ned.TextStrokeColor3 = BrickColor.new("Alder").Color
- chatfunc("Current mode: Synthezizer",maincolor.Color,"Inverted","Code",2)
- NT("rbxassetid://923445685",0,1,2)
- --music thing
- kan.SoundId = "rbxassetid://923445685"
- kan.PlaybackSpeed = 1.01
- kan.Pitch = 1
- kan.Volume = 1.25
- kan.Looped = true
- kan.Parent = char
- kan:Resume()
- --end music thing
- for i,v in pairs(colorizermod:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Alder")
- end
- end
- refec.Color = ColorSequence.new(BrickColor.new("Alder").Color)
- refec2.Color = refec.Color
- refec3.Color = refec.Color
- end
- if k == "j" and attack == false and mode == 1 and mode ~= 14 then
- bosschatfunc("We're nearing the end, and what better way to stall than rework?",maincolor.Color,2)
- ned.Text = "Accession"
- mode = 14
- hum.WalkSpeed = 50
- hum.JumpPower = 100
- imgl2.ImageColor3 = BrickColor.new("White").Color
- techc.ImageColor3 = BrickColor.new("Cool yellow").Color
- circl.ImageColor3 = BrickColor.new("White").Color
- circl2.ImageColor3 = BrickColor.new("Cool yellow").Color
- imgl2b.ImageColor3 = BrickColor.new("Cool yellow").Color
- ned.TextColor3 = BrickColor.new("White").Color
- ned.TextStrokeColor3 = BrickColor.new("Cool yellow").Color
- chatfunc("Current mode: Accession",maincolor.Color,"Inverted","Code",2)
- NT("rbxassetid://227551982",0,1,2)
- --music thing
- kan.SoundId = "rbxassetid://227551982"
- kan.PlaybackSpeed = 1.01
- kan.Pitch = 1
- kan.Looped = true
- kan.Parent = char
- kan:Resume()
- --end music thing
- for i,v in pairs(colorizermod:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("White")
- end
- end
- refec.Color = ColorSequence.new(BrickColor.new("Cool yellow").Color)
- refec2.Color = refec.Color
- refec3.Color = refec.Color
- elseif k == "j" and attack == false and mode == 14 and mode ~= 1 then
- bosschatfunc("Why is Winter Glitcher and a bit of Spectrum Glitcher v8 suddenly making it in here?",maincolor.Color,2)
- ned.Text = "SYNTHEZIZER"
- mode = 1
- hum.WalkSpeed = 16
- hum.JumpPower = 50
- imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
- techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
- circl.ImageColor3 = BrickColor.new("Alder").Color
- circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
- imgl2b.ImageColor3 = BrickColor.new("Alder").Color
- ned.TextColor3 = BrickColor.new("Pastel light blue").Color
- ned.TextStrokeColor3 = BrickColor.new("Alder").Color
- chatfunc("Current mode: Synthezizer",maincolor.Color,"Inverted","Code",2)
- NT("rbxassetid://923445685",0,1,2)
- --music thing
- kan.SoundId = "rbxassetid://923445685"
- kan.PlaybackSpeed = 1.01
- kan.Pitch = 1
- kan.Looped = true
- kan.Parent = char
- kan:Resume()
- --end music thing
- for i,v in pairs(colorizermod:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Alder")
- end
- end
- refec.Color = ColorSequence.new(BrickColor.new("Alder").Color)
- refec2.Color = refec.Color
- refec3.Color = refec.Color
- end
- if k == "k" and attack == false and mode == 1 and mode ~= 15 then
- bosschatfunc("Hm. Yes. I have plans to make now.",maincolor.Color,2)
- ned.Text = "INNOVATIVE"
- mode = 15
- imgl2.ImageColor3 = BrickColor.new("Black").Color
- techc.ImageColor3 = BrickColor.new("Black").Color
- circl.ImageColor3 = BrickColor.new("Black").Color
- circl2.ImageColor3 = BrickColor.new("Black").Color
- imgl2b.ImageColor3 = BrickColor.new("Black").Color
- ned.TextColor3 = BrickColor.new("Black").Color
- ned.TextStrokeColor3 = BrickColor.new("Black").Color
- chatfunc("THE CREATOR.",maincolor.Color,"Inverted","Code",2)
- NT("rbxassetid://892260150",0,1,2)
- --music thing
- kan.SoundId = "rbxassetid://892260150"
- kan.PlaybackSpeed = 1.01
- kan.Pitch = 1
- kan.Looped = true
- kan.Parent = char
- kan:Resume()
- --end music thing
- for i,v in pairs(colorizermod:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Black")
- end
- end
- refec.Color = ColorSequence.new(BrickColor.new("Black").Color)
- refec2.Color = refec.Color
- refec3.Color = refec.Color
- elseif k == "k" and attack == false and mode == 15 and mode ~= 1 then
- bosschatfunc("Who was that guy?",maincolor.Color,2)
- ned.Text = "SYNTHEZIZER"
- mode = 1
- imgl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
- techc.ImageColor3 = BrickColor.new("Pastel light blue").Color
- circl.ImageColor3 = BrickColor.new("Alder").Color
- circl2.ImageColor3 = BrickColor.new("Pastel light blue").Color
- imgl2b.ImageColor3 = BrickColor.new("Alder").Color
- ned.TextColor3 = BrickColor.new("Pastel light blue").Color
- ned.TextStrokeColor3 = BrickColor.new("Alder").Color
- chatfunc("Current mode: Synthezizer",maincolor.Color,"Inverted","Code",2)
- NT("rbxassetid://923445685",0,1,2)
- --music thing
- kan.SoundId = "rbxassetid://923445685"
- kan.PlaybackSpeed = 1.01
- kan.Pitch = 1
- kan.Looped = true
- kan.Parent = char
- kan:Resume()
- --end music thing
- for i,v in pairs(colorizermod:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Alder")
- end
- end
- refec.Color = ColorSequence.new(BrickColor.new("Alder").Color)
- refec2.Color = refec.Color
- refec3.Color = refec.Color
- end
- if k == "l" and attack == false and mode == 1 and mode ~= 16 then
- attack = true
- NT("rbxassetid://2372056506",0,1,2)
- kan.TimePosition = 0
- hum.WalkSpeed = 0
- hum.JumpPower = 0
- bosschatfunc("Let's wait a moment and give many thanks.",maincolor.Color,5)
- for i = 0, 14, 0.1 do
- swait()
- 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 + 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(-10)),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.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 - 3 * math.cos(sine / 45))),.1)
- RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(120 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 3 * math.cos(sine / 45))),.1)
- end
- bosschatfunc("For those who danced in the moonlight.",maincolor.Color,5)
- for i = 0, 14, 0.1 do
- swait()
- 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 + 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(-10)),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.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 - 3 * math.cos(sine / 45))),.1)
- RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(120 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 3 * math.cos(sine / 45))),.1)
- end
- bosschatfunc("For those who were unstable.",maincolor.Color,5)
- for i = 0, 14, 0.1 do
- swait()
- 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 + 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(-10)),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.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 - 3 * math.cos(sine / 45))),.1)
- RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(120 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 3 * math.cos(sine / 45))),.1)
- end
- bosschatfunc("For those who waited in time.",maincolor.Color,5)
- for i = 0, 14, 0.1 do
- swait()
- 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 + 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(-10)),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.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 - 3 * math.cos(sine / 45))),.1)
- RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(120 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 3 * math.cos(sine / 45))),.1)
- end
- bosschatfunc("And for those, who decided to have to create, and end it all.",maincolor.Color,5)
- for i = 0, 14, 0.1 do
- swait()
- 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 + 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(-10)),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.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 - 3 * math.cos(sine / 45))),.1)
- RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(120 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 3 * math.cos(sine / 45))),.1)
- end
- ned.Text = "Impraefectium"
- mode = 17
- hum.WalkSpeed = 30
- hum.JumpPower = 90
- imgl2.ImageColor3 = BrickColor.new("New Yeller").Color
- techc.ImageColor3 = BrickColor.new("Really black").Color
- circl.ImageColor3 = BrickColor.new("New Yeller").Color
- circl2.ImageColor3 = BrickColor.new("Really black").Color
- imgl2b.ImageColor3 = BrickColor.new("New Yeller").Color
- ned.TextColor3 = BrickColor.new("Really black").Color
- ned.TextStrokeColor3 = BrickColor.new("New Yeller").Color
- chatfunc("The. End.",maincolor.Color,"Inverted","Code",2)
- --music thing
- kan.SoundId = "rbxassetid://2372056506"
- kan.PlaybackSpeed = 1.01
- kan.Pitch = 1
- kan.Looped = true
- kan.Parent = char
- kan:Resume()
- --end music thing
- for i,v in pairs(colorizermod:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("New Yeller")
- end
- end
- refec.Color = ColorSequence.new(BrickColor.new("Really black").Color)
- refec2.Color = refec.Color
- refec3.Color = refec.Color
- attack = false
- elseif k == "l" and attack == false and mode == 17 and mode ~= 1 then
- bosschatfunc("Sorry, but I can't allow that. Not after I've worked so hard.",maincolor.Color,2)
- end
- --end modes
- --attacks
- if k == "z" and attack == false and mode == 1 then
- Laserbeamy()
- end
- if k == "m" and attack == false then
- uselessnuke()
- end
- if k == "z" and attack == false and mode == 3 then
- abpunch()
- end
- if k == "z" and attack == false and mode == 4 then
- fallout()
- elseif k == "z" and attack == false and mode == 5 then
- vaporwave()
- elseif k == "z" and attack == false and mode == 6 then
- sadwave()
- elseif k == "z" and attack == false and mode == 7 then
- slice()
- end
- if k == "z" and attack == false and mode == 8 then
- UNKNOWNDEATH()
- end
- if k == "one" and attack == false and suicideavailable == true then
- suicide()
- elseif k == "x" and attack == false and mode == 1 then
- leap() --leap will be the base move for aerial moves such as chime.
- end
- if k == "z" and attack == false and mode == 10 then
- chime()
- end
- --ultimate preggsure attack
- if k == "z" and attack == false and mode == 12 then
- bosschatfunc("GOD DANGIT! IM TIRED OF TRYING! IM DONE WITH WASTING TIME! I'LL KILL YOU ALL!",maincolor.Color,2)
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- bosschatfunc("JUST SHATTER ALREADY!",maincolor.Color,2)
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- bosschatfunc("JUST DIE!",maincolor.Color,2)
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- bosschatfunc("YOUR DEATH IS APPROACHING!",maincolor.Color,2)
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- bosschatfunc("YOU'RE DEAD!",maincolor.Color,2)
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- steampressurerun()
- bosschatfunc("that was it.",maincolor.Color,2)
- --machine gun rush reloading
- end
- if k == "z" and mode == 15 then
- innovation()
- end
- end)
- --things not attacks
- Humanoid.Name = "SYNTHEZ"
- Humanoid.MaxHealth = math.huge
- Humanoid.Health = math.huge
- Instance.new("ForceField",char).Visible = false
- idleanim=.4
- while true do
- if mutedtog == false then
- kan.Volume = 1.1
- elseif mutedtog == true then
- kan.Volume = 0
- end
- kan.PlaybackSpeed = 1.01
- kan.Pitch = 1.01
- kan.Looped = true
- kan.Parent = char
- kan:Resume()
- actualrotationvalue = actualrotationvalue + 1
- techc.Rotation = techc.Rotation + 1
- circl.Rotation = circl.Rotation - kan.PlaybackLoudness/75 - 1
- circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/50 + 1
- imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/50 + 1
- imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/25 - 1
- ned.Rotation = 0 - 2 * math.cos(sine / 24)
- ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
- CameraManager()
- swait()
- sine = sine + change
- rotingweld.C0=clerp(rotingweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(actualrotationvalue + 750 * math.cos(sine / 1000))),.3)
- rotingweld2.C0=clerp(rotingweld2.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-actualrotationvalue - 750 * math.cos(sine / 1000))),.3)
- if attack == false then
- hum.CameraOffset = vt(0 + 0.05 * math.cos(sine / 32),0 - 0.05 * math.cos(sine / 46),0 - 0.05 * math.cos(sine / 57))
- handlexweld.C1=clerp(handlexweld.C1,cf(0,-2,-2.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- handlexweld.C0=clerp(handlexweld.C0,cf(0 + 0.25 * math.cos(sine / 63),0 + 0.25 * math.cos(sine / 70),0 + 0.25 * math.cos(sine / 57))*angles(math.rad(0 + 5 * math.cos(sine / 55)),math.rad(0 + 5 * math.cos(sine / 46)),math.rad(0 + 5 * math.cos(sine / 32))),.3)
- 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)
- coroutine.resume(coroutine.create(function()
- --[[if hitfloor ~= nil then
- slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.025,0.01,0.025),math.random(1,10)/250,BrickColor.new("White"))
- end]]--
- end))
- 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 mode == 1 then --normal synth mode
- 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.005 * math.cos(sine / 45),-0.5)*angles(math.rad(84 + 6 * math.cos(sine / 74)),math.rad(8 - 5 * math.cos(sine / 53)),math.rad(-80 + 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(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
- elseif mode == 3 then --abnormality mode
- RH.C0=clerp(RH.C0,cf(1,-1 - 5 * 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 / 48)),math.rad(10 - .2 * math.cos(sine / 32))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1 - 0.5 * 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 / 48)),math.rad(-.1 + 20 * math.cos(sine / 32))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,10 + 2 * math.cos(sine / 32),0 + 1 * 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.005 * math.cos(sine / 45),-0.5)*angles(math.rad(84 + 6 * math.cos(sine / 74)),math.rad(8 - 5 * math.cos(sine / 28)),math.rad(-29 + 4 * 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(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 42)),math.rad(99 - 56 * math.cos(sine / 45))),.1)
- elseif mode == 2 then --eggsermine mode
- 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 + 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(-10)),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
- RW.C0=clerp(RW.C0,cf(1,0.5 + 0.005 * math.cos(sine / 45),-0.5)*angles(math.rad(84 + 6 * math.cos(sine / 74)),math.rad(8 - 5 * math.cos(sine / 53)),math.rad(-80 + 3 * 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(165 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(21 - 3 * math.cos(sine / 45))),.1)
- elseif mode == 4 then --nuclear eggsermine mode
- 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(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.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(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2.5 * math.cos(sine / 32)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(-20 - 5 * math.cos(sine / 0.465))),.1)
- RW.C0=clerp(RW.C0,cf(1,0.5 + 0.005 * math.cos(sine / 45),-0.5)*angles(math.rad(84 + 6 * math.cos(sine / 74)),math.rad(8 - 5 * math.cos(sine / 53)),math.rad(-80 + 3 * 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(165 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(21 - 3 * math.cos(sine / 45))),.1)
- elseif mode == 5 then --relaxed mode
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 12)) * angles(math.rad(-60 + 2.5 * math.sin(sine / 12)), math.rad(0), math.rad(5 + 1 * math.sin(sine / 12))), .1)
- Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0 + 4.5 * math.sin(sine / 12)), math.rad(0), math.rad(-5 - 2.5 * math.sin(sine / 12))), .1)
- RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(8 + 3 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(20),math.rad(-20)),.1)
- RH.C0 = clerp(RH.C0, cf(1, -1 - 0.15 * math.cos(sine / 12), -0.05) * angles(math.rad(35 - 7.5 * math.sin(sine / 12)), math.rad(75), math.rad(0)) * angles(math.rad(-8 - 2.5 * math.sin(sine / 12)), math.rad(0), math.rad(0)), .1)
- LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.15 * math.cos(sine / 12), -0.05) * angles(math.rad(35 - 7.5 * math.sin(sine / 12)), math.rad(-90), math.rad(0)) * angles(math.rad(-8 - 2.5 * math.sin(sine / 12)), math.rad(0), math.rad(0)), .1)
- elseif mode == 6 then --sad mode
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 12)) * angles(math.rad(-60 + 2.5 * math.sin(sine / 12)), math.rad(0), math.rad(5 + 1 * math.sin(sine / 12))), .1)
- Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0 + 4.5 * math.sin(sine / 12)), math.rad(0), math.rad(-5 - 2.5 * math.sin(sine / 12))), .1)
- RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(8 + 3 * math.cos(sine / 45))),.1)
- LW.C0 = clerp(LW.C0, cf(-1.15, 0.50 + 0.05 * math.cos(sine / 12), 0.4) * angles(math.rad(-160), math.rad(0 + 2.5 * math.sin(sine / 12)), math.rad(45 - 7.5 * math.sin(sine / 12))), .1)
- RH.C0 = clerp(RH.C0, cf(1, -1 - 0.15 * math.cos(sine / 12), -0.05) * angles(math.rad(35 - 7.5 * math.sin(sine / 12)), math.rad(75), math.rad(0)) * angles(math.rad(-8 - 2.5 * math.sin(sine / 12)), math.rad(0), math.rad(0)), .1)
- LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.15 * math.cos(sine / 12), -0.05) * angles(math.rad(35 - 7.5 * math.sin(sine / 12)), math.rad(-90), math.rad(0)) * angles(math.rad(-8 - 2.5 * math.sin(sine / 12)), math.rad(0), math.rad(0)), .1)
- elseif mode == 7 then --cutter idle
- 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(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.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(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.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.5,0.5,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))),.1)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 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(21 - 3 * math.cos(sine / 45))),.1)
- elseif mode == 8 then --UNKNOWN idle
- RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 12),0)*angles(math.rad(15),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 / 12),0)*angles(math.rad(15),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 / 12),0 + 0.05 * math.cos(sine / 12))*angles(math.rad(15 - 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(30 - 10 * math.random(0,2)),math.rad(30 - 30 * math.random(0,2)),math.rad(30 - 30 * math.random(0,2))),.1)
- RW.C0=clerp(RW.C0,cf(1.45,0.4 + 0.005 * math.cos(sine / 45),0)*angles(math.rad(190 - 27 * math.random(0,2)),math.rad(20 - 20 * math.random(0,2)),math.rad(-10 - 7 * math.random(0,2))),.1)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(20),math.rad(-20)),.1)
- elseif mode == 9 then --time-keeper status
- 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.005 * math.cos(sine / 45),-0.5)*angles(math.rad(84 + 6 * math.cos(sine / 74)),math.rad(8 - 5 * math.cos(sine / 28)),math.rad(-29 + 4 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(20),math.rad(-20)),.1)
- elseif mode == 10 then --chiberia mode
- 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,0.5 + 0.005 * math.cos(sine / 45),-0.5)*angles(math.rad(84 + 6 * math.cos(sine / 74)),math.rad(8 - 5 * math.cos(sine / 53)),math.rad(-80 + 3 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(46 + 3 * math.cos(sine / 49)),math.rad(10 + 2 * math.cos(sine / 52)),math.rad(80 - 3 * math.cos(sine / 39))),.1)
- elseif mode == 11 then --tv idle
- RW.C0=clerp(RW.C0,cf(1,0.5 + 0.005 * math.cos(sine / 45),-0.5)*angles(math.rad(84 + 6 * math.cos(sine / 74)),math.rad(8 - 5 * math.cos(sine / 53)),math.rad(-80 + 3 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(46 + 3 * math.cos(sine / 49)),math.rad(10 + 2 * math.cos(sine / 52)),math.rad(80 - 3 * math.cos(sine / 39))),.1)
- LH.C0 = clerp(LH.C0, cf(-0.3, -1.5, 0) * angles(math.rad(100), math.rad(0), math.rad(-10)), 0.1)
- RH.C0 = clerp(RH.C0, cf(0.3, -1.5, 0) * angles(math.rad(100), math.rad(0), math.rad(10)), 0.1)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10 - 1.8 * math.cos(sine / 32)), math.rad(0), math.rad(20)), 0.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)
- elseif mode == 12 then --preggsure idle
- local snap = math.random(1,5)
- if snap == 1 then
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 + math.random(-1,1)),math.rad(math.random(-1,1)),math.rad(math.random(-1,1))),0.6)
- end
- 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 - 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(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25 + 0.02 * math.cos(sine / 32),1 + 0.1 * math.cos(sine / 32))*angles(math.rad(25 - 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,0.5 + 0.005 * math.cos(sine / 45),-0.5)*angles(math.rad(84 + 6 * math.cos(sine / 74)),math.rad(8 - 5 * math.cos(sine / 53)),math.rad(-80 + 3 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
- elseif mode == 13 then --lifelight idle
- RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-16 + 4 * math.cos(sine / 34))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(10),math.rad(11 + 2 * math.cos(sine / 34))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(-6 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(-25 - 4 * math.cos(sine / 53))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(0 + 10 * math.cos(sine / 79)),math.rad(25 + 4 * math.cos(sine / 53))),.1)
- RW.C0=clerp(RW.C0,cf(1,0.5 + 0.005 * math.cos(sine / 45),-0.5)*angles(math.rad(84 + 6 * math.cos(sine / 74)),math.rad(8 - 5 * math.cos(sine / 53)),math.rad(-80 + 3 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(46 + 3 * math.cos(sine / 49)),math.rad(10 + 2 * math.cos(sine / 52)),math.rad(80 - 3 * math.cos(sine / 39))),.1)
- elseif mode == 14 then --accession's beautiful idle
- RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-16 + 4 * math.cos(sine / 34))),.1)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(10),math.rad(11 + 2 * math.cos(sine / 34))),.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.005 * math.cos(sine / 45),-0.5)*angles(math.rad(84 + 6 * math.cos(sine / 74)),math.rad(8 - 5 * math.cos(sine / 53)),math.rad(-80 + 3 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(46 + 3 * math.cos(sine / 49)),math.rad(10 + 2 * math.cos(sine / 52)),math.rad(80 - 3 * math.cos(sine / 39))),.1)
- elseif mode == 15 then --THE CREATOR.
- 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 + 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(-10)),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 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(-33 + 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(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
- elseif mode == 17 then --approach the 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(-5 - 2 * 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(-1.5),math.rad(20 - 2 * math.cos(sine / 72)),math.rad(0 + 2 * math.cos(sine / 34))),.1)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 72))),.1)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0 + 4 * math.cos(sine / 55)),math.rad(20 - 2 * math.cos(sine / 72))),.1)
- RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 + 3 * math.cos(sine / 48)),math.rad(-20 - 4 * math.cos(sine / 53)),math.rad(15 - 3 * math.cos(sine / 38))),.1)
- LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 5 * math.cos(sine / 28))),.1)
- end
- end
- elseif torvel>2 and torvel<22 and hitfloor~=nil then
- Anim="Walk"
- if attack==false then
- if mode ~= 3 and mode ~= 5 and mode ~= 6 and mode ~= 8 and mode ~= 15 then
- 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 / 4)),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(5 - 10 * 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(-5 + 10 * math.cos(sine / 4))),.1)
- elseif mode == 3 or mode == 6 then
- 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(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2)
- 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.1 * math.cos(sine / 28),0)*angles(math.rad(-8 - 3 * math.cos(sine / 55)),math.rad(20 + 8 * math.cos(sine / 67)),math.rad(-20 - 4 * math.cos(sine / 29))),.2)
- elseif mode == 5 then
- 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(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2)
- RW.C0 = clerp(RW.C0, cf(1.15, 0.50 + 0.05 * math.cos(sine / 12), 0.4) * angles(math.rad(-160), math.rad(0 - 2.5 * math.sin(sine / 12)), math.rad(-45 + 7.5 * math.sin(sine / 12))), .1)
- LW.C0 = clerp(LW.C0, cf(-1.15, 0.50 + 0.05 * math.cos(sine / 12), 0.4) * angles(math.rad(-160), math.rad(0 + 2.5 * math.sin(sine / 12)), math.rad(45 - 7.5 * math.sin(sine / 12))), .1)
- elseif mode == 8 then
- 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 / 4)),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(30 - 10 * math.random(0,2)),math.rad(30 - 30 * math.random(0,2)),math.rad(30 - 30 * math.random(0,2))),.1)
- RW.C0=clerp(RW.C0,cf(1.45,0.4 + 0.005 * math.cos(sine / 45),0)*angles(math.rad(190 - 27 * math.random(0,2)),math.rad(20 - 20 * math.random(0,2)),math.rad(-10 - 7 * math.random(0,2))),.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(-5 + 10 * math.cos(sine / 4))),.1)
- elseif mode == 15 then
- 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 / 4)),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,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 + 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(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
- end
- end
- elseif torvel>=22 and hitfloor~=nil then
- Anim="Run"
- if attack==false then
- if mode ~= 13 then
- 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(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2)
- 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.1 * math.cos(sine / 28),0)*angles(math.rad(-8 - 3 * math.cos(sine / 55)),math.rad(20 + 8 * math.cos(sine / 67)),math.rad(-20 - 4 * math.cos(sine / 29))),.2)
- elseif mode == 13 then
- 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(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2)
- RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2)
- RW.C0=clerp(RW.C0,cf(1,0.5 + 0.005 * math.cos(sine / 45),-0.5)*angles(math.rad(84 + 6 * math.cos(sine / 74)),math.rad(8 - 5 * math.cos(sine / 53)),math.rad(-80 + 3 * math.cos(sine / 45))),.1)
- LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(46 + 3 * math.cos(sine / 49)),math.rad(10 + 2 * math.cos(sine / 52)),math.rad(80 - 3 * math.cos(sine / 39))),.1)
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement