Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why this script dont changing the text of button?

Asked by 3 years ago

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

Log in to vote
-1
Answered by 3 years ago
script.Parent.Touched:Connect(function(plr)
plr.PlayerGui.Service.PortalsFrame.Winterland.Text = "Teleport"
end)
0
Thanks. Sorry im late. SashaPro336 47 — 3y
0
Oh, i tried the script and output said SashaPro336 47 — 3y
0
PlayerGui is not a valid member of MeshPart "Workspace.SashaPro336.LeftHand" SashaPro336 47 — 3y
Ad

Answer this question