n4dar
(jerbawesomelife_yt)
June 1, 2022, 11:02pm
#1
I am trying to make a script to where I can equip a gun and just simply shoot like a prop gun. No damage or anything.
Unfortunately the problem is the script I attempted.
Whenever I take out the gun the animation fails and I am unable to fire
Error
Its MouseButton1Down
that’s the issue. You forgot to put Button in the name.
You don’t need to use UserInputService because the tool.Equipped function works when clicking without needing the UserInputService
Kaid3n22
(Kaiden)
June 1, 2022, 11:18pm
#5
It’s just Button1Down
not Mouse1Down
or MouseButton1Down
.
1 Like
Kaid3n22
(Kaiden)
June 1, 2022, 11:20pm
#8
Ohh, sorry. Thought you were using mouse
. If you’re using a tool, it’s just Activated
. When I say activated, I mean use tool.Activated
as a new function.
1 Like