WalkSpeed = 16local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local humanoid = character:WaitForChild("Humanoid")
humanoid.WalkSpeed = 30
end)
end)humanoid.WalkSpeed = 8script.Parent.MouseButton1Click:Connect(function()
game.ReplicatedStorage.SpeedEvent:FireServer()
end)game.ReplicatedStorage.SpeedEvent.OnServerEvent:Connect(function(player)
local character = player.Character
if character then
local humanoid = character:FindFirstChild("Humanoid")
if humanoid then
humanoid.WalkSpeed = 50
end
end
end)WaitForChild("Humanoid")