This doesn't seem to work for me, and yes it's in a LocalScript
Player = game.Players.LocalPlayer
Name = Player.Name
if Name = "Builderman" then print ("Welcome Builderman")
Your question doesn't really sum up what you want, but I will fix your code.
Your syntax is incorrect meaning you used an = sign, this is only to set a value, if you want to compare a value in Lua, you use 2 equal signs like this==
Also, you forgot and end at well, the end... Fixed code bellow:
Player = game.Players.LocalPlayer Name = Player.Name if Name == "Builderman" then print ("Welcome Builderman") end --Keep in mind your name is not Builderman so this wont work for you, obviously
If this helped, accept this answer! Any questions/Problems? Comment them bellow