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

How would I make light from a flashlight damage certain people?

Asked by 9 years ago

The light is a SpotLight with a script (the script has nothing in it yet) the script just needs to find if a player has touched the light and if they have check if their name is a variable called F1 or F2 then if their name is F1 or F2 it adds to another variable called FD.

1
By spotlight do you mean the actual object called "SpotLight" used with dynamic lighting or a Light that uses a mesh for the beam? bbissell 346 — 9y
0
The object called "SpotLight" But if it is easier with a mesh please tell me how to do that instead. Thanks space482 0 — 9y

Answer this question