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

Finding BoolValue with Player Mouse?

Asked by 9 years ago

I used these two statements:

GetMOV = Mouse.Target:FindFirstChild("Moveable"); GetTOU = Mouse.Target:FindFirstChild("Touchable");

To find the BoolValue object whoes name is Moveable and another BoolValue objects whos name is Touchable.

I then check with a conditionl statement (if statement) if they both exist inside the Mouse.Target

Why does it seems to not work.

1
Please put your code in a Lua code block NotsoPenguin 705 — 9y
0
The code you provided is correct, assuming your variables are defined. We need more information. Perci1 4988 — 9y

Answer this question