Applying a Chosen Sword Effect

Hello, my name is Alex. I’m trying to make a sword effect system.
An issue I’ve come across is how to apply the chosen effect to the player’s sword when they use it.

The inventory system is a simple GUI. You click on the effect you would like to use.
The sword is also a regular tool that you spawn with when you’re in game.

An idea I’ve explored is using a prompt to ask what effect they would like every time they spawn, but this would be extremely inconvenient as it is for a sword fighting game where you jump right into action after respawning.

Does anyone have an idea on how I could achieve this? It would be greatly appreciated, thank you for your time!

If the effect is self-contained, and the sword spawns with them every time, you can simply place the sword with the effect in the player’s StarterGear folder. If this doesn’t meet your game’s style, I would recommend having an Inventory folder in the player, where the sword is cloned to. Then, after equipping the sword, it will use the sword in the Inventory folder (with the effect equipped) instead of the one you have in storage.

1 Like