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

Make a click detector work on xbox?

I want to make my game work for xbox but I don't know how to make the click detector work for xbox

This is the code for pc:

local clickDetector = script.Parent

clickDetector.MouseClick:Connect(function(plr)
	print(plr.Name.." has pressed the button")
end)	

1 answer

✓ Accepted answer

Clickdetectors will work the same as any other ordinary Clickdetector, it may be complicated for Xbox users, and I understand how you would get confused on not knowing what to do with console players. Console players have a circle as their mouse cursor. They have to use the circle given to click. They use the right joystick to move their camera, which will be pointed to your Clickdetector.

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