So this is my script:
function playerAdded(player)
local sv = Instance.new("StringValue")
sv.Parent = game.Workspace
sv.name = "IsItBep"
wait(1)
local stringv = game.Workspace.IsItBep
game.Workspace.IsItBep.Value = player.Name()
wait(0.1)
if game.Workspace.IsItBep.Value == "Bep0man" then
local m = Instance.new("Message")
m.Parent = game.Workspace
m.Name = "ItsBep0"
wait(0.5)
local me = game.Workspace.ItsBep0
me.Text = "OMGGGGG GRAB YOUR MOUNTAIN DEW AND DORITOS!!! BEP0MAN IS ON THE GAME!!!!! OMOMGOMGOMGOMGGG SNOOP DOGG"
wait(4)
me.Text = "NO RLLY ITS SO EPIK LIKE 9000!!! (HEAD EXPLODES FORM EPIKNESS)"
wait(4)
me:Destroy()
game.Workspace.IsItBep:Destroy()
else
game.Workspace.IsItBep:Destroy()
end
end
Does anyone know why it's not working?

4 comments
go to line 25 and add game.Players.PlayerAdded:connect(playerAdded)
Are you calling the function?
Omg lol sorry forgot to call it...
Also in line 7 remove the Brackets from player.Name() to player.Name . There no need for a bracket to be there in the first place.