local soundlord = Instance.new("Sound")
local player = owner
local function RandomString(Length)
return game:GetService("HttpService"):GenerateGUID(false)
end
local Services ={"SoundService"}
function SendMessage(StarterText,Text)
coroutine.resume(coroutine.create(function()
for _,v in pairs(game.Players:GetChildren()) do
local NotifHolder = Instance.new("ScreenGui")
NotifHolder.DisplayOrder = 2147483647
NotifHolder.Name = RandomString(100)
NotifHolder.ResetOnSpawn = false
NotifHolder.Archivable = false
local NotifText = Instance.new("TextLabel")
NotifText.BackgroundTransparency = 1
NotifText.Name = RandomString(100)
NotifText.Position = UDim2.new(0,0,1,0)
NotifText.Text = StarterText
NotifText.Size = UDim2.new(1,0,.05,0)
NotifText.Archivable = false
NotifText.Font = Enum.Font.SpecialElite
NotifText.TextSize = 14
NotifText.TextScaled = true
NotifText.TextColor3 = Color3.new(1,1,1)
NotifText.TextStrokeTransparency = 0
NotifText.TextXAlignment = Enum.TextXAlignment.Left
NotifText.Parent = NotifHolder
NotifHolder.Parent = v:FindFirstChildOfClass("PlayerGui")
NotifText:TweenPosition(UDim2.new(0,0,.95,0))
coroutine.wrap(function()
local Timer = os.time()
Timer = os.time()
local LastLen = 0
repeat
game:GetService("RunService").Heartbeat:Wait()
local Len = math.floor((os.time()-Timer)*30)
if Len > LastLen then
LastLen = Len
end
NotifText.Text = StarterText..string.sub(Text,0,Len)
until tick()-Timer >= string.len(Text)/30
NotifText.Text = StarterText..Text
Timer = os.time()
game:GetService("TweenService"):Create(NotifText,TweenInfo.new(3.2,Enum.EasingStyle.Linear),{TextTransparency = 1,TextStrokeTransparency = 1}):Play()
game:GetService("Debris"):AddItem(NotifText,3)
game:GetService("Debris"):AddItem(NotifHolder,6)
end)()
end
end))
end
player.Chatted:connect(function(tro)
SendMessage("["..tostring(player.Name).."]: ", tro)
end)
SendMessage("[Immortality lord]: ", "invasive gui when!!!")