of     1   

snydemand
#139290872Saturday, July 05, 2014 5:57 AM GMT

i have figured out that the player(in that case me)when playing, the model is in workspace. seems logical, but what isent logical is that i have a really hard time doing anything with that knowledge. i have tried since yesterday to make all players that join my game run faster. but i cant reach "Humanoid" in thair player. any help would be apriciated :)
wish_z
#139291163Saturday, July 05, 2014 6:01 AM GMT

game.Players.PlayerAdded:connect(function(p) p.CharacterAdded:connect(function(char) char.Humanoid.WalkSpeed = 16 end) end) if you have any questions feel free to post
AnonyAnonymous
#139291454Saturday, July 05, 2014 6:05 AM GMT

Yes, the "PlayerModel" is placed in workspace because the PlayerModel holds all of the limbs clothing data and the "Humanoid" and various other things, anyway, try something like this, game.Players.PlayerAdded:connect(function(Player) Player.CharacterAdded:connect(function(Character) Character.Humanoid.WalkSpeed = NumberHere end) end) More information on these can be found here: http://wiki.roblox.com/index.php?title=WalkSpeed_%28Property%29 http://wiki.roblox.com/index.php?title=PlayerAdded_%28Event%29 http://wiki.roblox.com/index.php/CharacterAdded_%28Event%29 And for looping through players already in the game, http://wiki.roblox.com/index.php?title=Loops There you go.
snydemand
#139294615Saturday, July 05, 2014 6:55 AM GMT

thanks for the help guys, really apriciated :) but um... can u tell me if there is a way to get Player.Name i have tried: local localp = p.Name if game.Players.localp.TeamColor == "Birght blue" then print("yes") elseif game.Players.localp.TeamColor == "Bright red" then print("no") else print("nil") end but this returns: localp is not a valid member of Players can i take the variable and maybe "toString" or something? Thanks again
AnonyAnonymous
#139294886Saturday, July 05, 2014 7:00 AM GMT

Place this inside of a LocalScript and place the LocalScript in the starterpack, Player = game.Players.LocalPlayer if Player.TeamColor == BrickColor.new("Bright blue") then print("Yes") elseif Player.TeamColor == BrickColor.new("Bright red") then print("No") else print("nil") end
AnonyAnonymous
#139295046Saturday, July 05, 2014 7:03 AM GMT

Also, when you're checking the TeamColor of a team you have to use something like, if Player.TeamColor == BrickColor.new("TeamColorHere") to check properly. Additionally, the game didn't understand who "localp" is, I would suggest you read the article on loops and use game.Players:GetChildren() to get the players.

    of     1