I'm completely new to scripting for add-ons, and could use a bit of help. I'm trying to figure out how to prevent a player from doing certain things, such as moving, jumping, or interacting wtth things, if they have a specific item in their inventory. For example, an item could be considered heavy enough it would give them slowness. I would just use commands to run everything, but it seems only the slowness part works, and I have looked around for everything else with no luck. Are there any components I could use to do this?
I'm completely new to scripting for add-ons, and could use a bit of help. I'm trying to figure out how to prevent a player from doing certain things, such as moving, jumping, or interacting wtth things, if they have a specific item in their inventory. For example, an item could be considered heavy enough it would give them slowness. I would just use commands to run everything, but it seems only the slowness part works, and I have looked around for everything else with no luck. Are there any components I could use to do this?