Welcome to the Forums!
Join thousands of other Roblox members with a free account.
Create Forum Account

The roblox output keeps saying "Unable to cast string to int64," any help?

  • This website was created by Roblox members to replace the official forums (because Roblox shut them down) Join us if you like Roblox!
Status
Not open for further replies.

bluechristmas20181

New Member
Reputation: 0 / 0 / 0
Jul 21, 2020
5
0
1
Roblox
bluechristmas20181
As of the title i do need help because roblox studio keeps saying "Unable to cast string to int64," here is the code:
PlrEventScript.lua:
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)
Help would be appreciated! :)
 
Status
Not open for further replies.