Tool.Equipped not firing on skinned rig

Hello! I’m having an issue where skinned rigs do not fire the Tool.Equipped event (or any other tool events), and i’m wondering if i’ve done something wrong or if this is intentional behaviour. Here’s the code:

local Tool = script.Parent.Parent
print(Tool)
Tool.Equipped:Connect(function()
	print("3s")
end)

I’ve tried this both on a regular script and a local script. The print does work correctly (the script is also in a folder in the tool, hence why there is another parent).

As you can see, nothing prints!

All help is appreciated! Thanks!

Is the Character property of Player set to the skinned model?

Could you please explain further? , i don’t quite understand

Ah, when you change the model of the player to be skinned, are you setting the Player’s Character property (Player.Character) to the new model, or just changing the Camera and Movement?

Also: Does it have a Humanoid?

Yep, it does have a humanoid, and they way it’s being set is just being named StarterCharacter in the StarterPlayer folder

Here’s how the the folders look

image

image

local players = game:GetService("Players")

players.PlayerAdded:Connect(function(player)
	player.CharacterAdded:Connect(function(character)
		character.ChildAdded:Connect(function(child)
			if child:IsA("Tool") then
				if child.Name == "Flamethrower" then
					--do code
				end
			end
		end)
	end)
end)

Server script inside the ServerScriptService folder.

1 Like

I actually thought of the same logic, while at school, however still thanks!