Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Walkspeed script help?

player = game.Players.PreyStar.FindFirstChild("Humanoid")


if player then
Walkspeed = 2922
end

2 answers

player = game.Players.PreyStar
while player.Character ~= nil do wait() end
character = player.Character
humanoid = chracter:FindFirstChild("Humanoid")

if character then
humanoid.WalkSpeed = 2922
end

2 comments

0

I think you meant to say "if humanoid then", not "if character then". Further, you misspelled "character" on line 4.

0

Sorry, my internet was slow.

Try this

The walkspeed is not defined.

player = game.Players.PreyStar.FindFirstChild("Humanoid")
	if player then
	player.WalkSpeed = 2922
end

Hope it works

2 comments

0

You need a colon between PreyStar and FindFirstChild

0

eeeeeeeeeeeeeeeeeeeeeeeeeeeee

This discussion is preserved as it was. New answers, comments, and votes are closed.