Well, I’ve been trying to script working gun system with animations and working shooting and stuff like that, ofc I am new to scripting so I made 0 progress, except I got animation of reloading, idling, firing, equiping gun, but I just can’t put it together so it works… animations are made using Motor6D, my game is topview perspective, anybody who could please Help? I’ve been trying for 2 days now…
#Gun system script
24 messages · Page 1 of 1 (latest)
look up a tutorial if u r new to scripting theres no way you’ll be able to make it yourself
I did that, I watched like 20 tutorials, none of them helped because there was always something they didn’t say and I couldn’t move on
Well I chose to make a game with guns xd
** You are now Level 2! **
And I really wanna make it
🥲🥲
I figured it out somehow, but I would need one thing, how do I script that animation will play when I want to, reload or something?
You’d have to listen to keystroke presses or button presses
You can use UserInputService for that
It would be something like
if gameProcessesEvent then return end
if input = Enum.KeyCode.E then
… your code here for reloading etc
end
end) ```
GameProcessesEvent basically is when you type in chat
just do exactly what they say so you can get an understanding bro how are you gonna make it with no experience
I am doing my best to learn stuff😭
Well, I will try, Thanks