roblox walkspeed code example

Example 1: How to make a walk slow script in roblox studio 2020

speed = 12 --Defualt Speed is "16"

function onPlayerRespawned(character)
	wait(1) --Lodaing Delay
	local player = game.Players:GetPlayerFromCharacter(character)
	local human = character:findFirstChild("Humanoid")
	if player ~= nil and human ~= nil then
		human.WalkSpeed = speed
	end
end

game.Workspace.ChildAdded:connect(onPlayerRespawned)

--A Script By Rigby#9052 on Discord

Example 2: standard walkspeed roblox

local player = game.Players.LocalPlayerlocal char = player.CharacterAdded:wait()local h = char.Humanoid h.WalkSpeed = 0

Tags:

Misc Example