You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? Keep it simple and clear!
im trying to make a game, where there are different things you can test your luck on, and im trying to make a ui show weather you win or not.
What is the issue? Include screenshots / videos if possible!
i just dont really know how to get started. The script is inside the starterplayer as a local script, and i dont know how to communicate between a local script to the startergui
This should be working, also I would suggest you put the script inside the part with the proximity prompt as a Server Script so whenever the part’s parent changes, the script still works. Also you can just use workspace instead of game.Workspace.
workspace:WaitForChild("Main").ProximityPrompt.Trigerred:Connect(function(player)
local ui = player.PlayerGui.[Your ScreenGui]
ui.Enabled = true
end)