Is there a way for the Server to see if a player activates a tool (so Serverscript and not localscript):
game:GetService("Players").PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local swordTool = ServerStorage.Models:WaitForChild("Sword"):Clone()
swordTool.Parent = player:WaitForChild("Backpack")
swordTool.Equipped:Connect(function()
print("SWORD EQUIPPED!") -- works
end)
swordTool.Activated:Connect(function()
print("SWORD USED!") -- does not work
end)
end)
end)
I want to let the Server listen for it because there’s a Sound attached to the Tool. I don’t want exploiters spamming that sound by spamming the remote event to the Server.
you could setup a serverside debounce so even if they soam the remote, it won’t spam whatever should trigger
and make sure Tool.ManualActivationOnly is set to false on the tool, and that “Handle” is spelled properly maybe you have trailing spaces, capitalization issues, or “H” is lowercased