I have already made the script, I turned FilteringEnabled off, but this script doesn't work. Please help.

local Part = script.Parent

Part.Touched:connect(function(HIT)
 local H = HIT.Parent:FindFirstChild("Humanoid")
 if H then
  local Player = game.Players:GetPlayerFromCharacter(HIT.Parent)
  Player.PlayerGui.ScreenGui.Frame.Visible = true
 end
end)?

3 comments

0

I also want it to only be visible to that player

0

whats up with that ? at the end of line 9

0

I already took it out