Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --//Varibles\\
- local Colozs = {
- Color3.fromRGB(0, 0, 0),
- Color3.fromRGB(0, 0, 0),
- Color3.fromRGB(0, 0, 0),
- Color3.fromRGB(0, 0, 0),
- Color3.fromRGB(0, 0, 0),
- Color3.fromRGB(0, 0, 0),
- Color3.fromRGB(0, 0, 0)
- }
- local player = game.Players.LocalPlayer
- print(player.Name)
- local playerz = function()
- local num = math.random(1,#game.Players:GetChildren())
- return game.Players:GetChildren()[num]
- end
- local function generate()
- local head = game.Workspace:WaitForChild(player.Name).Head
- if head:FindFirstChild("Hi") then
- head:FindFirstChild("Hi"):Destroy()
- end
- local gui = Instance.new("BillboardGui", head)
- gui.Enabled = false
- local l = Instance.new("TextLabel", gui)
- l.Text = " "
- gui.Name = "Hi"
- gui.Size = UDim2.new(0,200,0,50)
- gui.Adornee = head
- gui.AlwaysOnTop = true
- l.BackgroundTransparency = 1
- l.Position = UDim2.new(0,0,-0.9,0)
- l.Size = UDim2.new(0,200,0,50)
- l.TextScaled = true
- l.TextStrokeColor3 = Color3.fromRGB(255,0,0)
- l.TextStrokeTransparency = 0
- l.Font = Enum.Font.Arcade
- wait(0.1)
- gui.Enabled = true
- return l
- end
- local Text = generate()
- local re = true
- local function color(Text)
- game:GetService("RunService").RenderStepped:connect(function()
- if re == true then
- re = false
- local num = math.random(1,#Colozs)
- Text.TextColor3 = Colozs[num]
- wait(0.1)
- re = true
- end
- end)
- end
- color(Text)
- --//Program\\
- player.Chatted:connect(function(msg)
- print(msg)
- Text.Text = msg
- wait(3)
- Text.Text = " "
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement