Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Dual Pistol Scripting?

If I was making a Dual Pistol how would I script them so that a Bullet would come out from the left if u left click or from right if u right click... thnx...

1 answer

✓ Accepted answer

Well, you would have to create 2 functions. MouseButton1Click() and MouseButton2Click() and have each function inside of it individually shoot a bullet upon click. To shoot bullets I would recommend raycasting, but it depends on your gun type so I can't be specific for you.

1 comment

0

I knew it... hmmm... not as hard as I though it would be... I'll make an attempt to make a realistic gun... and not Raycast... I'll make the Gun tommorow maybe... If only I was an Advanced scripter, I'd make a skill thing for my Game and if Pistol Skill has reached 100 then u could use 2 pistols but a not advanced :( but thnx anyway for saying :D cos lol I forgot about ButtonClick functions...

This discussion is preserved as it was. New answers, comments, and votes are closed.