This script was working fine two weeks ago but it doesn't work now and I don't know why. The script is supposed to make a GUI visible if you touch it, then make it disappear after 5 seconds. It worked fine two weeks ago but not anymore. I'm not on the computer I usually use, that one broke, maybe that's the problem? I know they just got rid of the legacy physics solver, but I doubt it's that - my game used and continues to use the PGS solver and it's a script so it shouldn't be affected by that, right?
local Part = game.Workspace.BelfastVoltisonGPSSignal
Part.Touched:Connect(function(hit)
if hit.Parent == game.Players.LocalPlayer.Character then
game.Players.LocalPlayer.PlayerGui.BelfastVoltisonGPSSignalScreenGui.Frame.Visible = true
wait(5)
game.Players.LocalPlayer.PlayerGui.BelfastVoltisonGPSSignalScreenGui.Frame.Visible = false
end
end)

8 comments
Computer apparently only copy-pasted the visible text. 'Frame.Visible' should be after 'Fr'
Check output for errors. If there are none it's either working or not running. Print something on line 1 to see if it is. If it's not running it's either disabled or misplaced. Check the wiki for script types to see where they can run.
Any error?
The error says
Sorry pressed enter instead of ". The error says "BelfastVoltisonGPSSignal is not a valid member of Workspace" even though it totally is.
maybe roblox got a new update and changed a lot of stuff. Lots of my scripts got broken from roblox forcing FE
I doubt filteringenabled would break something like this, though. are you sure nothing's removing BelfastVoltisonGPSSignal? Check it's there after the error comes.
BelfastVoltisonGPSSignal is still there. It got shortened to "Belfast..." when I started playing, but it still exists and it is still in the right spot.