Jump to content

Making switchable weapon


Recommended Posts

First of all forgive my english it's not my main language and i'm not sure that i can explain correctly what i want.

I'm making a custom weapon which switchable with other forms it must have a main form and with hotkeys it must change another.(I hope that it's understandable) all of weapons have different textures and different abilites (sword, bow, speat, scythe) and i don't know how to make all of them in 1 .lua

i hope it is understandable 

 

Link to comment
Share on other sites

well you could just despawn the item you currently have, spawn the new one and give it to the player for instance.

It depends how much different the items are. If you try to put in one files stuffs which are very different, that might start to become very messy.

Link to comment
Share on other sites

23 hours ago, ZupaleX said:

well you could just despawn the item you currently have, spawn the new one and give it to the player for instance.

It depends how much different the items are. If you try to put in one files stuffs which are very different, that might start to become very messy.

Well i just have  18-20 items but i can try this.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...