✓ Accepted answer
I think your problem here is that you're trying to edit the GUI from StarterGui rather than PlayerGui. Don't worry, it's a common mistake :)
Try this instead:
local part = script.Parent
part.Touched:Connect(function(yeet)
if (yeet.Parent and game.Players:FindFirstChild(yeet.Parent.Name)) then
local plr = game.Players.LocalPlayer
plr.PlayerGui.GUIQuest.Visible = true
plr.PlayerGui.GUIQuest.roundify.Visible = true
end
end)
If this still doesn't work, try doing this script but NOT in a localscript.
local part = script.Parent
part.Touched:Connect(function(yeet)
if (yeet.Parent and game.Players:FindFirstChild(yeet.Parent.Name)) then
local plr = game.Players:FindFirstChild(yeet.Parent.Name)
plr.PlayerGui.GUIQuest.Visible = true
plr.PlayerGui.GUIQuest.roundify.Visible = true
end
end)
Hope this helps!