My script do a error

Hey developers,
here is a picture of the script:

whats the error?

The teft do not change, that is the issue.

next time could you copy the script and use 3 little backticks (the thing you find to the left of your one key)
like that and put your code in there?
``

``

where is this script located?

In screenGui. Sorry, misword, if that is even a word…

all i see is this


I don’t see title changer

try changing that to a local script

If you’re trying to change the Player’s GUI from the server side, you’d need to define it first cause Titles is actually referring to the ServerScriptService folder if that’s the case

Ill rewrite your code

Did not work at all, so I re-post.

i doubt this would work but try this in startergui local script

local title = script.Parent
local plrs = game:GetService("Players").LocalPlayer

plrs.PlayerAdded:Connect(function(plr)
	title.Text = "Welcome "..plr.Name
	wait(.2)
	print("Successfully changed text to "..title.Text)
end)
local Title
local plrs = game:GetService("Players")

plrs.PlayerAdded:Connect(function(plr)
	Title = plr:WaitForChild("PlayerGui").ScreenGui.TextLabel -- Choose like this example.
	Title.Text = "Welcome, "..plr.Name
	wait(.2)
	print("Successfully changed Text to "..Title.Text)
end)

Just find where the TextLabel is Located in the PlayerGui.

The error is your not going into the Player who joined’ gui. Your just changing the text when a player joins.

If your confused about the Title Variable then just show me the full location of where the Title TextLabel is located, and then I can fix it for you.

1 Like

Still not. Why tho? Help me please.

Did you change the title variable yet?

Check the output for any other errors.

No errors, but here is a screenshot:

Change to server script lol that should be error.

local Title
local plrs = game:GetService("Players")

plrs.PlayerAdded:Connect(function(plr)
	Title = plr:WaitForChild("PlayerGui"):WaitForChild("MithicGui").Background.Title
	Title.Text = "Welcome, "..plr.Name
	wait(.2)
	print("Successfully changed Text to "..Title.Text)
end)

local Title
local plrs = game:GetService(“Players”)

plrs.PlayerAdded:Connect(function(plr)
Title = plr:WaitForChild(“PlayerGui”):WaitForChild(“MithicGui”).Background.Title
Title.Text = "Welcome, "…plr.Name
wait(.2)
print("Successfully changed Text to "…Title.Text)
end)

Why are you making a title?
What’s the title for/

Admin panel, I am keeping to boss on it and will not stop.