Soooo, i want a gui,whose visible property is set to false, to be set to true after my charcter touched a part. The part is in the workspace, the text label is parented to a frame which is parented in a screen gui, and the script i work in is a normal one
local part = script.Parent
part.Touched:Connect(function(hit)
local hum = hit.Parent:FindFirstChild("Humanoid")
if hum then
local frame = game.StarterGui.ScreenGui.Frame
if frame.Visible == false then
frame.Visible = true
end
end
end)
Thanks for the help in advance

2 comments
Is this script on the server or client?
sorry, but i have fixed the issue