0

# I'm trying to make this walkspeed script function properly can anyone fix it?

Can anyone help me with what I'm doing wrong?

local speed = 50
if character:FindFirstChild("Humanoid") then
character.WalkSpeed = speed
else
end
end)
end)


0
Edited 16 days ago

WalkSpeed is a property of Humanoid, not Character. Try this:

local speed = 50
if character:FindFirstChild("Humanoid") then
character.Humanoid.WalkSpeed = speed
else
end
end)
end)


Edit: There was a typo in your original code, try it now.

0
not working :l JerkDerekThe14alt 11 — 16d
0
I'm trying to make a walkspeed function using the events PlayerAdded and CharacterAdded JerkDerekThe14alt 11 — 16d
0
I fixed a small typo, try it now. Scryptio 64 — 16d