this is the error i get on my script "Workspace is not a valid member of Script" this is my script
local players = game.Players:GetChildren() local maps = game.Lighting:GetChildren() local currentmap = game.Workspace:WaitForChild("CurrentMap") local chosenmap = script.Workspace:WaitForChild("ChosenMap") local spawner = game.Workspace:WaitForChild("Spawn") -- Change "Spawn" to your spawn name local choices = {}
why do i get this error can you fix it please this will save me
It is most probably the fact that you did script.Workspace either do game.Workspace or workspace Your script should probably look like this
local players = game.Players:GetChildren() local maps = game.Lighting:GetChildren() local currentmap = game.Workspace:WaitForChild("CurrentMap") local chosenmap = game.Workspace:WaitForChild("ChosenMap") local spawner = game.Workspace:WaitForChild("Spawn") -- Change "Spawn" to your spawn name local choices = {}
These are the only errors I can see. If you could explain your script a bit more it would help me answer it more better :D