Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- ArtificialHB:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- 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
- Create=function(obj)
- local inst = Instance.new(obj)
- return function(props)
- for prop,valu in next, props do
- inst[prop]=valu
- end
- return inst
- end
- end
- Echo = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
- local Sas = Create("Sound"){
- Volume = vol,
- Name = "EffectSoundo",
- Pitch = pit or 1,
- SoundId = id,
- TimePosition = timepos,
- Parent = par or workspace,
- }
- local E = Create("EchoSoundEffect"){
- Delay = echodelay,
- Name = "Echo",
- Feedback = fedb,
- DryLevel = dryl,
- Parent = Sas,
- }
- wait()
- Sas:play()
- game:GetService("Debris"):AddItem(Sas, delays)
- end
- script:WaitForChild'NewDialog'
- 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))
- v=game:service'Players'.localPlayer
- function newbosschatfunc(kan,ModeOfGlitch,modet,text,color,color2,watval)
- coroutine.resume(coroutine.create(function()
- if v.PlayerGui:FindFirstChild("NewDialog")~= nil then
- v.PlayerGui:FindFirstChild("NewDialog"):destroy()
- end
- local Bruh=script.NewDialog:Clone()
- Bruh.Parent=v.PlayerGui
- local Bruh2=Bruh.H
- local bruh3 = Bruh.H.H1
- local bruh4 = Bruh2.H1
- game:GetService("Debris"):AddItem(Bruh,120)
- --local scrg = Instance.new("ScreenGui",v.PlayerGui)
- Echo("rbxassetid://525200869", Bruh, 0.5, 1,0,10,0.1,0.25,1)
- --V bad code - salvo
- coroutine.resume(coroutine.create(function()
- while true do
- swait()
- Bruh2.BackgroundColor3=color
- bruh4.BackgroundColor3=color
- Bruh2.H12.BackgroundColor3=color
- Bruh2.H13.BackgroundColor3=color
- Bruh2.H14.BackgroundColor3=color
- bruh4.BorderColor3=Color3.new(r/255,g/255,b/255)
- Bruh2.H12.BorderColor3=Color3.new(r/255,g/255,b/255)
- Bruh2.H13.BorderColor3=Color3.new(r/255,g/255,b/255)
- Bruh2.H14.BorderColor3=Color3.new(r/255,g/255,b/255)
- Bruh2.H.TextColor3=color
- Bruh2.H.TextStrokeColor3=Color3.new(r/255,g/255,b/255)
- Bruh2.H.BackgroundColor3=Color3.new(r/255,g/255,b/255)
- bruh4.BackgroundColor3=Color3.new(r/255,g/255,b/255)
- Bruh2.H.H2.BackgroundColor3=Color3.new(r/255,g/255,b/255)
- Bruh2.H.H3.BackgroundColor3=Color3.new(r/255,g/255,b/255)
- Bruh2.US.TextColor3=Color3.new(r/255,g/255,b/255)
- Bruh2.US.TextStrokeColor3=color
- Bruh2.PULSE.BackgroundColor3=Color3.new(r/255,g/255,b/255)
- end
- end))
- Bruh2.H.Text=text
- Bruh2.US.Text=modet
- Bruh2:TweenPosition(UDim2.new(0,0,.8,0), "Out", "Quad", .2,true)
- local function pul()
- Bruh2.PULSE:TweenSize(UDim2.new(1.1,0,1.3,0), "Out", "Quint", 1,true)
- Bruh2.PULSE.BackgroundTransparency=0
- end
- local dah=false
- coroutine.resume(coroutine.create(function(aaaa)
- for i = 1,string.len(text),1 do
- swait()
- aaaa.Text = string.sub(text,1,i)
- end
- end),Bruh2.H)
- coroutine.resume(coroutine.create(function(t1,t2,t3,t4)
- local mo1=1
- local mo2=10
- local mo3=0
- repeat
- local hahahaaa={"Black","Crimson","Maroon","Bright red","Cocoa","Really red"}
- t1.Rotation=t1.Rotation+1
- t2.Rotation=t2.Rotation+1.6
- t3.Rotation=t3.Rotation+2.6
- t4.Rotation=t4.Rotation+3.8
- t1:TweenPosition(UDim2.new(.02+.01*math.sin((tick()*100) / 47),0,-.2+.01*math.cos((tick()*100) / 50),0), "Out", "Quint", .1,true)
- t2:TweenPosition(UDim2.new(.1-.01*math.cos((tick()*100) / 48),0,-.14-.01*math.sin((tick()*100) / 49),0), "Out", "Quint", .1,true)
- t3:TweenPosition(UDim2.new(.18-.01*math.sin((tick()*100) / 49),0,-.07-.01*math.cos((tick()*100) / 48),0), "Out", "Quint", .1,true)
- t4:TweenPosition(UDim2.new(.23+.01*math.cos((tick()*100) / 50),0,-.04+.01*math.sin((tick()*100) / 47),0), "Out", "Quint", .1,true)
- if ModeOfGlitch==5 then
- local MAINRUINCOLOR = hahahaaa[math.random(1,#hahahaaa)]
- local SECONDRUINCOLOR = hahahaaa[math.random(1,#hahahaaa)]
- Bruh2.BackgroundColor3=MAINRUINCOLOR.Color
- bruh4.BackgroundColor3=MAINRUINCOLOR.Color
- Bruh2.H12.BackgroundColor3=MAINRUINCOLOR.Color
- Bruh2.H13.BackgroundColor3=MAINRUINCOLOR.Color
- Bruh2.H14.BackgroundColor3=MAINRUINCOLOR.Color
- Bruh2.H1.BorderColor3=SECONDRUINCOLOR.Color
- Bruh2.H12.BorderColor3=SECONDRUINCOLOR.Color
- Bruh2.H13.BorderColor3=SECONDRUINCOLOR.Color
- Bruh2.H14.BorderColor3=SECONDRUINCOLOR.Color
- Bruh2.H.TextColor3=MAINRUINCOLOR.Color
- Bruh2.H.TextStrokeColor3=SECONDRUINCOLOR.Color
- Bruh2.H.BackgroundColor3=SECONDRUINCOLOR.Color
- Bruh2.H.H1.BackgroundColor3=SECONDRUINCOLOR.Color
- Bruh2.H.H2.BackgroundColor3=SECONDRUINCOLOR.Color
- Bruh2.H.H3.BackgroundColor3=SECONDRUINCOLOR.Color
- Bruh2.US.TextColor3=SECONDRUINCOLOR.Color
- Bruh2.US.TextStrokeColor3=MAINRUINCOLOR.Color
- Bruh2.PULSE.BackgroundColor3=SECONDRUINCOLOR.Color
- else
- Bruh2.BackgroundColor3=color
- bruh4.BackgroundColor3=color
- Bruh2.H12.BackgroundColor3=color
- Bruh2.H13.BackgroundColor3=color
- Bruh2.H14.BackgroundColor3=color
- bruh4.BorderColor3=Color3.new(r/255,g/255,b/255)
- Bruh2.H12.BorderColor3=Color3.new(r/255,g/255,b/255)
- Bruh2.H13.BorderColor3=Color3.new(r/255,g/255,b/255)
- Bruh2.H14.BorderColor3=Color3.new(r/255,g/255,b/255)
- Bruh2.H.TextColor3=color
- Bruh2.H.TextStrokeColor3=Color3.new(r/255,g/255,b/255)
- Bruh2.H.BackgroundColor3=Color3.new(r/255,g/255,b/255)
- bruh4.BackgroundColor3=Color3.new(r/255,g/255,b/255)
- Bruh2.H.H2.BackgroundColor3=Color3.new(r/255,g/255,b/255)
- Bruh2.H.H3.BackgroundColor3=Color3.new(r/255,g/255,b/255)
- Bruh2.US.TextColor3=Color3.new(r/255,g/255,b/255)
- Bruh2.US.TextStrokeColor3=color
- Bruh2.PULSE.BackgroundColor3=Color3.new(r/255,g/255,b/255)
- end
- Bruh2.PULSE.BackgroundTransparency=Bruh2.PULSE.BackgroundTransparency+.04
- mo1=mo1+2
- mo2=mo2-2
- mo3=mo3+1
- if mo1>=10 then
- mo1=1
- end
- if mo2<=1 then
- mo2=10
- end
- if mo3>=69 then
- mo3=0
- Bruh2.PULSE.Size=UDim2.new(1,0,1,0)
- pul()
- end
- for i,ss in pairs(Bruh2.H:GetChildren()) do
- if ss:IsA("Frame") then
- if ss.Name=="V"..mo1 then
- ss:TweenSize(UDim2.new(0+(kan.PlaybackLoudness/650),0,.1,0), "Out", "Quart", .2,true)
- elseif ss.Name=="V"..mo2 then
- ss:TweenSize(UDim2.new(0+(kan.PlaybackLoudness/650),0,.1,0), "Out", "Quart", .2,true)
- end
- end
- end
- if dah then
- Bruh2.Rotation=Bruh2.Rotation-.2
- end
- swait()
- until t1.Parent==nil or t2.Parent==nil or t3.Parent==nil or t4.Parent==nil
- end),bruh4,Bruh2.H12,Bruh2.H13,Bruh2.H14)
- pcall(function()
- for i=1,watval do
- swait()
- Bruh2:TweenPosition(UDim2.new(0,0,.8+.02*math.cos((tick()*100) / 61),0), "Out", "Quad", .2,true)
- if Bruh.Parent==nil then
- break
- end
- end
- if Bruh.Parent~=nil and Bruh2.Parent~=nil then
- Bruh2:TweenPosition(UDim2.new(-.1,0,2,0), "In", "Quart", 1.6,true)
- dah=true
- swait(180)
- game.Debris:AddItem(Bruh,0)
- end
- end)
- script:destroy()
- end))
- end
- --(kan,ModeOfGlitch,modet,text,color,color2,watval)
- newbosschatfunc(script.Music.Value,script.Mode.Value,script.ModeName.Value,script.Text.Value,script.Color1.Value,script.Color2.Value,script.Ghghghghgh.Value)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement