How to show ui from script not parented to startergui

You can write your topic however you want, but you need to answer these questions:

  1. 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.
  2. 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

    any help would be appreciated greatly!!

Things in starterGui gets copied to plr.ScreenGui

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)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.