So I’m writing a script so when you click a part a GUI pops up. I am a beginner scripter ( like very beginner ) and I need help understand why it’s not working.
local Screen = game.Workspace.Screen
local Click = Instance.new(“ClickDetector,Screen”)
Click.MouseClick:connect(function() then
game.ReplicatedStorage.ShowGUI:FireClient()
end)
Here are the video of my code ( Sorry for the watermark i had to mute the video )
If you Can explain why it’s giving me an error and help me with this please let me know I really need help!