Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do you make a GUI that is an alternative to BillboardGui and doesn't go offscreen?

I wanted to make a GUI like in MadCity or Jailbreak for my vent system like in Among Us. https://ibb.co/Fm5VQHg

But, I have no idea where to state, I even attempted to make it myself and did not show in screen. I tried googling but there are no good results that I can find.

Attempt: https://youtu.be/gM0n-dvSv5A (you will notice the black thing which is the billboardgui button that leads to another vents)

What I wanted for my game: https://ibb.co/KDtknP2 (photoshopped but okay)

2 answers

Try using parts instead of gui this was the only way I managed to solve.

I think i know how to fix this, now I am not good with PlayerGui so I'm gonna use StarterGui for this. Anyways, put a ScreenGui in StarterGui and then put 3 text buttons. Then design them how you wanted then and put them in the position they are meant to be in. Then name 1: Vent1. Name the other: Vent2. Then name the last one: Vent3 Then insert a local script inside of the ScreenGui and name it whatever you want. Inside the local script put

local TpToVent1 = script.Parent["Vent1"]
local TpToVent2 = script.Parent["Vent2"]
local TpToVent3 = script.Parent["Vent3"]

while wait() do

	if workspace.CurrentCamera.CameraType == Enum.CameraType.Scriptable then --I'm assuming that the CameraType is scriptable when you have the vent cutscene but if not then change it.
		Vent1.Visible = true
		Vent2.Visible = true
		Vent3.Visible = true
	end
	break
end

Oh and make sure that the switch to another vent scripts are in the vent button. I hope this helps :D

1 comment

0

You can use remote events too if you want

This discussion is preserved as it was. New answers, comments, and votes are closed.