Help on making a force equip

  1. What do you want to achieve? Keep it simple and clear!
    I want my game to have a system where you cant unequip your weapons and you automatically equip them when you spawn in like arsenal
  2. What is the issue? Include screenshots / videos if possible!

I cant seem to find any tutorials and I am a beginner coder and don’t know how to code this myself

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?

I looked everywhere but I cant seem to find solutions because my game is a randomizer it uses the backpack not the starter pack

After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

My game is a mix between a randomizer and an fps game pls try to give me some code help as I am a beginner

There was a solution and my game got published(Keep Fighting - Roblox) thanks for the help guys

You can use humanoid:EquipTool()

4 Likes

This works for equipping the tools but I need something that can automatically sense what is in the players backpack and make them equip that tool because it is a randomizer you don’t get a starter pack

1 Like
--serverscript in serverscriptservice
game.Players.PlayerAdded:Connect(function(player)
   player.CharacterAdded:Connect(function(character)
      local tool = player.Backpack:FindFirstChildWhichIsA("Tool", true)
      character:WaitForChild("Humanoid"):EquipTool(tool)
   end)
end)
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.