Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Why this script dont changing the text of button?

Output dont says anything Script

local winterland = game.Players.LocalPlayer.PlayerGui.Service.PortalsFrame.Winterland
script.Parent.Touched:Connect(function()
	winterland.Text = "Teleport"
	end)

1 answer

✓ Accepted answer
script.Parent.Touched:Connect(function(plr)
plr.PlayerGui.Service.PortalsFrame.Winterland.Text = "Teleport"
end)

3 comments

0

Thanks. Sorry im late.

0

Oh, i tried the script and output said

0

PlayerGui is not a valid member of MeshPart "Workspace.SashaPro336.LeftHand"

This discussion is preserved as it was. New answers, comments, and votes are closed.