xpcfl14
(EternalSheep)
#1
Why wont Gui Objects in SurfaceGui show when spawned via script?
local SurfaceGui = Instance.new("SurfaceGui", Target)
local Frame = Instance.new("Frame", SurfaceGui)
Frame.ClipsDescendants = true
SurfaceGui.ClipsDescendants = true
SurfaceGui.AlwaysOnTop = true
SurfaceGui.Adornee = Target
Target is a BasePart
When I run the game, the gui in the surfacegui just wont show
Make sure you give Frame a size ( I don’t think roblox gives a default size other then UDim2.new(0,0,0,0)
) & make sure Frame.Visible = true
?
xpcfl14
(EternalSheep)
#3
For some reason its only working in the front
Adjust the face where you want it show on which side you want?
xpcfl14
(EternalSheep)
#5
Depending on where the player is facing the Rig