Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Created By TreyKing - JayCold - xKyriie
- local plr = game.Players.LocalPlayer
- local gui = plr.PlayerGui
- if gui:FindFirstChild('filtering') then
- gui.filtering:Destroy()
- end
- local sc = Instance.new('ScreenGui',gui)
- sc.Name = "filtering"
- local fr = Instance.new('Frame',sc)
- fr.Size = UDim2.new(2,0,0.17,0)
- fr.Position = UDim2.new(-0.5,0,-1,0)
- fr.Style = 'DropShadow'
- local tx = Instance.new('TextLabel',fr)
- tx.Text = ""
- tx.Size = UDim2.new(1,0,0.4,0)
- tx.Position = UDim2.new(0,0,0.6,0)
- tx.TextScaled = true
- tx.BackgroundTransparency = 1
- tx.TextColor3 = Color3.new(1,1,1)
- fr:TweenPosition(UDim2.new(-0.5, 0, -0.1, 0), "Out", Enum.EasingStyle.Bounce, 2)
- wait(2)
- if game.Workspace.FilteringEnabled then
- local String = "Filtering is enabled."
- local Length = string.len(String)
- for i=1,Length do
- tx.Text = string.sub(String,1,i)
- wait()
- end
- else
- local String = "Filtering is disabled."
- local Length = string.len(String)
- for i=1,Length do
- tx.Text = string.sub(String,1,i)
- wait()
- end
- end
- wait(4)
- sc:Destroy()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement