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

Picking up Weapons?

Asked by 10 years ago

How would I make the system automatically equip the player with the first weapon that is given to him? and that he cant disequip it unless he's changing to a new weapon, and also how would you make it so that there's a limited amount of weapons aloud, and if you reach the limited then you wont be able to pick it up instead you'd have to replace with your current equipped weapon?

1 answer

Log in to vote
0
Answered by
1waffle1 2908 Trusted Badge of Merit Moderation Voter Community Moderator
10 years ago

Roblox's built-in backpack system doesn't support specific details like these, but it can be done if you write your own backpack and use player:GetMouse() instead of tools. After managing the welding for the weapon objects with the character, you can write the backpack engine to have it run however it's supposed to.

0
yup, thats what am trying to find out kapitanovaskapandr 0 — 10y
Ad

Answer this question