trying to make it so a gui becomes visible when you click on grass when you click on the grass it activates a gui in the player's model in workspace called "spiderchosen" the value is a boolvalue and the value does get set to true however the script does not work https://imgur.com/Iu3uYIZ https://imgur.com/iJNMIbm
local player = game.Players.LocalPlayer
local character = player.Character
wait(1)
local spiderchosen = character.spiderchosen.Value
while wait(.5) do
if spiderchosen == true then
script.Parent.Visible = true
wait(5)
script.Parent.Visible = false
end
end

1 comment
^ Yup. This is a working solution.