Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

attempt to index field '?' (a nil value)????????

Asked by 9 years ago

local allPlayers = {} for a,v in pairs(game.Players:GetPlayers(2)) do table.insert(allPlayers,v) end local plrAmount = game.Players.NumPlayers math.randomseed(tick()) local val1 = game.Players.NumPlayers, plrAmount local val2 repeat wait(5) val2 = game.Players.NumPlayers until val2 ~=val1

allPlayers[val1].Character.Torso.CFrame = CFrame.new (0,0,0) allplayers[val2].Character.Torso.CFrame = CFrame.new(665.995,7.1,-115.005)

0
put that in a code block through the lua button, it's in the row with all the text features. PreciseLogic 271 — 9y

Answer this question