Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

how do i chance max activation distance with a script?

Asked by 6 years ago

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
0
Changing it when a player clicks it? Or changing it to always have a max distance of 10? XviperIink 428 — 6y
0
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 theking48989987 2147 — 6y
0
yea but i just need to know whats wrong with my script thedogegamer22 -44 — 6y
0
nothing is wrong with that selective code, it is something else inside of the script MusicalDisplay 173 — 6y

Answer this question