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

wheni run this gui script that makes itself parented to the local player, why does it error?

local plr = game.Players.LocalPlayer
script.TestGui.Parent == plr.PlayerGui

1 answer

✓ Accepted answer

you used "==" when u should use "="

local plr = game.Players.LocalPlayer
script.TestGui.Parent = plr.PlayerGui

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