Hello. I'm pretty new to scripting, and I would like to know what I did wrong in this script. Here's the script:
local Status = script.Parent
local User1 = "PumpyTooClouted"
local User2 = "PraddaYou"
game.Players.PlayerAdded:Connect(function(Player)
if Player.Name == User1 or Player.Name == User2 then
wait()
Status.Text = "Owner"
end
end)
Thanks for reading, lol.

4 comments
I don't know but maybe you have to type game.Players.LocalPlayer.Character == User1 instead of Player.Name == User1, but I don't know.
Do you think it's the type of script I'm using? Should I be using a LocalScript or a Script?
are you trying to make it so that the words show up like the username which appears in the workspace or like something on screen? U will need to use billboard gui for something that can be seen in the workspace (pretty sure u know that if not thats fine).
yes