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

Why won't this work?

I'm trying to make it so if you're part of this group and above a certain rank you walk faster.

game.Players.PlayerAdded:connect(function(newPlayer)
	if newPlayer:IsInGroup(689624) and newPlayer:GetRankInGroup(689624) <= 250 then
		game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 150
	end
end

1 answer

✓ Accepted answer
game.Players.PlayerAdded:connect(function(newPlayer)
	newPlayer.CharacterAdded:connect(function(character)
		if newPlayer:IsInGroup(689624) and newPlayer:GetRankInGroup(689624) <= 250 then
			character.Humanoid.WalkSpeed = 150
		end			
	end)
end)

Try this, everytime a member spawns his walkspeed should be faster.

1 comment

0

Thanks!

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