for some reason i cant click the billboard ui idk why
You can try to set your local script to a script where you set the RunContext to client and in your script put that :
local Players = game:GetService("Players")
local Player = Players.LocalPlayer
script.Parent.MouseButton1Click:Connect(function()
Player.PlayerGui.ScreenGui.Frame.Visible = true
end)
but the problem is the clicks arent getting detected by the ui so i think thats why the code doesnt work
im not sure why its not getting detected tho
Yes, because it is a local script !
ive been doing stuff so sorry for the late replies
but what im saying is that since your doing mousebutton1click and the ui cant even be clicked it wont work like its no the code that doesnt work you just cant even click the ui
You need to put the same code but in a script not a local script that all !
i did and it still didnt work
i dont think you understand its not becouse its a local script or a normal script
the thing is it doesnt even count the clicks i changed the click image property and it still didnt do anything since it cant detect the clicks
You know, you can look into BillboardGui Here
My Stupid:
"BillboardGuis are containers for GuiObjects` that appear in the 3D space."
Not sure if that means if it Holds Gui, or it Shows Gui
hmmm i put a image button and it should work but idk thanks tho
Try this: script.Parent.MouseButton1Click:Connect(function() game.Players.LocalPlayer.ScreenGui.Frame.Visible = true end)
most people arent understanding my problem so let me clarify
the problem isnt the code its that th ui isnt clickable so my problem why cant i click the uli
Can’t you just use ProximityPrompt as a fake Clicker?
hmmm i could but id rather it be a ui u click
i could maybe use a click detectotr but idk
Hello, you need to make a screengui into startergui and then put the billboard in there and adornee it to the part.
LocalScripts don’t work in workspace.
Put the billboard gui in StarterGui. Assuming the adornee is set, it should now be fixed.
sry i was sleeping but ill try this
TYSM it works i can click it now
i didnt know you had to put it into the startergui since i wasnt getting any errors lol
ill put in the code now thanks to everyone that helped
Strange i have tried this but i still wouldnt let me click it
Did u put a Button in billboard?