Nevermind - you can’t make a variable called game because that’s a default variable set by Roblox.
Wait, it still didn’t work, I’ll try to find a way to fix it
I noticed that if you define the game table before hand, and then put it in the table afterwards it works:
local SwordFight = {
Position = Vector3.new(0, 0, 0);
Tool = "Sword";
}
local games = {
SwordFight;
}
local game = games[math.random(1, #games)]
local pos = game.Position
local tool = game.Tool
May be a studio bug, I’m not sure - but this should work.