I have a script where if you touch a block it will show a GUI, but the GUI stays on your screen and do not disappear, how can I fix this, or what script should I add and where?
Local script inside of a Gui
local ReplicatedStorage = game:GetService('ReplicatedStorage')
local ClientRemote = ReplicatedStorage:WaitForChild('RemoteEvent1')
local Gui = script.Parent:WaitForChild('Frame')
function OpenGui() -- Function to fire.
Gui.Visible = true
end
ClientRemote.OnClientEvent:Connect(OpenGui)

3 comments
You dont need "time" you can just do wait(5) and also this works but its timed, unless that's what you want
^ Really i think he knows... Lol He's doing that so the guy can edit it easier
Tysm! It work :D