Ello, I need help with a script that will run if someone touches a block, when someone touches that block a GUI will show up on their screen and only their screen, I am using a local script.
"gui" goes to the GUI that I want to display for that player.
local gui = game.StarterGui.GateGUI.Box
script.Parent.Touched:connect(function(hit)
local b = hit.Parent:FindFirstChild("Humanoid")
if b ~= nil then
gui.Visible = true
end
end)
