local tool = script.Parent
local player = script:FindFirstAncestorWhichIsA("Player") or game:GetService("Players"):GetPlayerFromCharacter(script.Parent.Parent)
local char = player.Character or player.CharacterAdded:Wait()
local human = char:WaitForChild("Humanoid")
tool.Equipped:connect(function()
human.WalkSpeed = 30
end)
tool.Unequipped:connect(function()
human.WalkSpeed = 16
end)