Joined
·
5 Posts
As of the title i do need help because roblox studio keeps saying "Unable to cast string to int64," here is the code:
[CODE lang="lua" title="PlrEventScript.lua" highlight="5, 8"]local plr = {game.CreatorId, ""} --List of IDs
game.Players.PlayerAdded:connect(function(player)
for i, v in pairs (plr) do
if player.Name == game.Players:GetNameFromUserIdAsync(v) then
--[[Do somthing
e.g. player:Kick("Just an example")]]
end
end
end)[/CODE]
Help would be appreciated!
[CODE lang="lua" title="PlrEventScript.lua" highlight="5, 8"]local plr = {game.CreatorId, ""} --List of IDs
game.Players.PlayerAdded:connect(function(player)
for i, v in pairs (plr) do
if player.Name == game.Players:GetNameFromUserIdAsync(v) then
--[[Do somthing
e.g. player:Kick("Just an example")]]
end
end
end)[/CODE]
Help would be appreciated!