http://www.roblox.com/users/371369/profile
http://www.roblox.com/users/33880094/profile
http://www.roblox.com/users/47020527/profile
http://www.roblox.com/users/60961251/profile
http://www.roblox.com/users/371369/profile
http://www.roblox.com/users/33880094/profile
http://www.roblox.com/users/47020527/profile
http://www.roblox.com/users/60961251/profile
game.Players[âMaxPlayersâ]:Kick(âYouâre not THAT coolâ)
game.Players[âMaxPlayersâ]:Kick(âYouâre not THAT coolâ):1: attempt to index field âMaxPlayersâ (a number value)
for i,v in pairs(game.Players:GetChildren()) do
if v.Name == âMaxPlayersâ then
print(âInefficient but I donât careâ)
end
end
print(game.Players:FindFirstChild("MaxPlayers")and"You should be doing this"or'There isn\'t a player here named "MaxPlayers."')
I shouldnât be doing anything The code doesnât break if it doesnât find him and I have a way to know if it does lol.
Simply doing
local player = game.Players["PlayerName"]
Will error if âPlayerNameâ doesnât exist, you canât do any checks at that point.
not sure what the point of what you just said is. your code doesnât break and my code doesnât break, and the output still exists in any case.
Youâre code says I should be doing somethâŚ
nevermind
Well aware. To clarify, the point of that post was to say you should be getting the character from the player. I guess it wasnât that clear.
Did you accidentally quote me BadDeveloper? Referencing game.Players wasnât anywhere in my post. My post was about workspace:FindFirstChild(â!ship_modelâ) vs workspace:FindFirstChildâship_modelâ (the one without a symbol could be mistaken for a player if they named themselves ship_model)
I was pointing out that the most efficient way to get a players characters to get it from the player object directly.
Not this month. But⌠still categorically soon.
Much hype!
Totally not anticipating this update. No, not at allâŚ
waiting for this update like
Totally not going to buy as much original names as I can before they are sniped by bots.
Is this coming soon this year, or soon next year?
Itâs been pending some other changes behind the scenes. Iâll make an announcement in the public section with more info.