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)
