I’ve seen other problems like mine and tried using their solutions but it still isn’t working.
It’s in a LocalScript because Scripts were not working.
Here’s my code
local Name = game.Players.LocalPlayer.Name
local Player = game:GetService("Players").LocalPlayer
local Players = game:GetService("Players")
local HouseSign = game.Workspace.HouseSign
local surfaceGui = HouseSign.SurfaceGui
local textLabel = surfaceGui.TextLabel
textLabel.Text = Name.."house"
If I’m not mistaking it has to be in a script, however you won’t be able to use LocalPlayer on the server. Thats why your Regular scripts are not working
local PS = game:GetService("Players")
local Player = PS.LocalPlayer
local Char = Player.Character or Player.CharacterAdded:Wait()
local Name = Char.Name
local HouseSign = workspace.HouseSign
local surfaceGui = HouseSign:FindFirstChild("SurfaceGui")
local textLabel = surfaceGui:FindFirstChild("TextLabel")
if surfaceGui and textLabel then
textLabel.Text = Name.."house"
else
warn("SURFACE GUI AND TEXT LABEL ARE NIL")
end
if it was on a Server script, he shouldve put it in ServerScriptService, but in this case it is a LocalScript which means he should include it in StarterPlayerScripts located in StarterPlayer