Hello Im looking to make gun script but none work can someone help me
also I use 2019.4 editor
Just a bit of advice, since you’re new to the forums.
Use descriptive post titles
Instead of “Help please” or “Help PLEASE”, try “Trouble with jumping on character controller” and “Help finding a gun script.” You’ll get more people willing to click the link to your post if they know what they’re getting into ahead of time.
Be specific… And share your code
In my experience, people are more successful with receiving help here when they ask for help with specific issues. Instead of asking for vague help with making a gun script because the ones you found “don’t work,” show what you currently have. Indicate what isn’t working. Post the entire script, the exact error messages you’re getting, and if relevant, screenshots of things that aren’t functioning as expected. Remember that nearly everyone posting here is volunteering their time to help you, so try to respect that time by spending yours up front to give a clear idea of what your issue is.
Use Code Tags
It’s tucked under another subforum, but there’s a great post describing how to use script tags to format your code here. It makes it much more readable and easier for people to figure out where you’ve got issues.
Keep trying, and keep posting. Just don’t forget to help us help you!
In the world of programming, there are countless ways to create a solution to a problem, so specifics matter a lot.
“A gun script” is very vague, and there are many different ways to interpret how it could function. It all depends on how your game is structured.
Generally you’re not going to find someone who just writes you an entire script, especially if you’re not going to provide any context. “A gun script” can mean a lot of different things. For example, here is a gun script though not all that useful.
public static bool GunScript = true;