I've recently been working on a Z-style shooter game, and I've been having serious trouble with a pop up gui I've been trying to add. It should function if the player touches a brick, it will pop-up. As I've tried to get it to work, and searched lots of extra help online, and none of the things I've found have seemed to work. Here is my code: ~~~~~~~~~~~~~~~~~ `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.Gamepass.Frame.Visible = true end end)
As the GUI is in the Starter GUI names 'Gamepass'

2 comments
Thank you for your response! When the Player touches it, it doesn't show still. The character does have a humanoid inside it and it is touching the part, the script says 'running' but nothing shows!
Maybe check if the GUI is enabled or something thats causing it not to show up on ur screen