I’m trying to make a game where you click a player and then the player that got clicked gets a request. I don’t know how to make a clickable player. I haven’t tried it and I can’t see any posts about this.
Use this script:
PlayerChar = game:GetService("Players").LocalPlayer.Character local ClickDetec = Instance.new("ClickDetector",PlayerChar.Torso) ClickDetec.MaxActivationDistance = 12 --Put here the maximum activation range for clicking on the character.
Now all you gotta do is make a GUI and script it so it appears when the ClickDetector is activated.
As others have suggested, use clickdetector,
but instead of setting the clickdetector's parent to a torso
i suggest you weld a block that covers the whole player, with collision and anchored set to false and transparency to 1
then put the clickdetector there
this way it will be easier to click the player