Hello Robloxians,
I’m having some problems with a BillboardGui.
I don’t have any errors but when I click, it doesn’t work…
And sometimes I turn the camera and I get a click when I’m about 50 studs from the BillboardGui adornee (which is, in this case, the head of Mark).
It works perfectly on a desktop.
Anatomy
Mark
BUI
Code
local function Click()
-- Do something
end
PlayerGui.BUI["Estate Agency Receptionist"].Dialog.InputEnded:Connect(function(Input)
if Input.UserInputType == Enum.UserInputType.MouseButton1 then
Click()
end
end)
PlayerGui.BUI["Estate Agency Receptionist"].Dialog.TouchTap:Connect(Click)
Don’t hesitate to ask me for more informations
Please help me