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

How to fix Function Problem With 'if' 'then' Statement?

Asked by 5 years ago

!Code and explorer When I press the e key and touch the crate, the crate should disappear but it doesn't work. There is nothing in the output and there are no blue or red lines in the script (as you can see.) Please help me as I have tried everything to fix it and it is a major obstacle in my ability to program LUA. I'm sorry if this post was too vague but I have a feeling the problem might be a plugin.

0
i think when you move using wasd the thing breaks? This time touch the crate and press e Sapppower 17 — 5y
0
You should use User Input Service or Context Action Service to get user input Fad99 286 — 5y

Answer this question