how would i change the max activation on a click Detector this would i have so far but it didnt work
game.workspace.ButtonBlastDoor.ClickDetector.MaxActivationDistance = 10
how would i change the max activation on a click Detector this would i have so far but it didnt work
game.workspace.ButtonBlastDoor.ClickDetector.MaxActivationDistance = 10
This discussion is preserved as it was. New answers, comments, and votes are closed.
4 comments
Changing it when a player clicks it? Or changing it to always have a max distance of 10?
for one, don't hard code it. second, use an int value outside the script and use the value of that int value to set the MaxActivationDistance
yea but i just need to know whats wrong with my script
nothing is wrong with that selective code, it is something else inside of the script