Roblox Tool Scripting Help

Would it be possible to force someone’s character to be R6 for the duration of a tool be equipped and immediately return to someone’s original avatar after unequipping?

I’ve modified this Roblox BanHammer to kick you if someone hits you with it. It works completely fine but there is a minor issue. You must be R6 for the hammer to work correctly. I could solve this easily by overriding player choice, but I don’t want to do that.

Would it be possible to add a script into the hammer that makes you R6 for the duration that it’s equipped and return your avatar back to normal when unequipping?

1 Like

It is possible, but there are many factors that would need to be considers:

  • Refreshing the player character to force R6 / R15
  • Will the method glitch out with spammed equip / unequip
  • Will it interfere with other scripts e.t.c

The basic method would be changing the variable within player/character to make them R15/R6 and then refreshing the character, this can cause issues with GUI’s that reset and tool issues. So the best method would be creating an animation for both R6 and R15 and running it that way. Animation can be hard to start with but is simple once u get use to it.

Please do follow up if you have questions.

1 Like