So i have been scripting my game and i have come upon this small problem which i'm not to sure how to fix. In this script i want once you click a button the button turns green and a GUI pops up. I tried this way but it still wont work:
The problem is the gui wont pop up
Local Script in click detector:
local plr = game.Players.LocalPlayer game.ReplicatedStorage.PowerOnEvent.OnServerEvent:Connect(function() plr.PlayerGui.Tutorial.Enabled = true`` end)
Could someone please help me with this problem.