Here's a simple demonstration: SIMPLE DEMONSTRATION
So I already got the key pressing part of the script, and now I want to have a billboard GUI to pop up everytime the player gets near. Will I need to use loops?
Go to Properties
of BillboardGui
and find MaxDistance
. Now change it to whatever you wish
To detect if a player
is near, I suggest having an invisible, non-collision and unanchored sphere
. This sphere
would be in the center of where the billboard gui
will be. Have the size
of the sphere
where you will allow people to see the gui
if it is touched
. Then have:
if Sphere.Touched.Humanoid == true then --whatever happens here... end