In studio mode it works perfectly fine, but there's a phew errors 1. The script doesn't know how to teleport all the players to the positions 2. The script is skipping the Moderator code;
if avectus and lem0nzz2 then m.Text = "DARTH JERRY IS HERE SURRENDER WHILE YOU SCATTERED THROUGHOUT THE MAP" elseif avectus or lem0nzz2 then m.Text = "Now we will be teleporting young padawans throughout the forest AND MASTER AVECTUS WONDERFUL POWER" elseif avectus and lem0nzz2 then m.Text = "Now we will be teleporting young padawans throughout the forest" end
Here's the whole script;
--[[==MAIN CONFIGURATION===]]-- local reqPlrs = 2 local timer = 500 --[[===PLAYER VARIABLES===]]-- local avectus = game.Players:FindFirstChild("Avectus") local lem0nzz2 = game.Players:FindFirstChild("Lem0nzz2") --[[=======POSITIONS=======]]-- Positions = { CFrame.new(-44, 31.001, -102), CFrame.new(13, 25, -51), CFrame.new(-44, 31, 6), CFrame.new(-38, 31, 6), CFrame.new(-38, 31, 0), CFrame.new(-44, 31, 0), CFrame.new(-44, 31, 0), CFrame.new(70, 31, 0), CFrame.new(64, 31, 6), CFrame.new(64, 31, 0), CFrame.new(70, 31, 6), CFrame.new(70, 31.001, -108), CFrame.new(70, 31, 6), CFrame.new(64, 31.001, -108), CFrame.new(64, 31.001, -102), CFrame.new(-44, 31.001, -108), CFrame.new(-38, 31.001, -108), CFrame.new(-38, 31.001, -102), CFrame.new(-44, 31.001, -102) } m = Instance.new("Message") h = Instance.new("Hint") repeat wait(1) until game.Players.NumPlayers >= reqPlrs or lem0nzz2 == true or avectus == true while true do m.Parent = game.Workspace m.Text = "Welcome to LightSaber Wars 2" wait(3) m:Remove() wait(2) m.Parent = game.Workspace m.Text = "Welcome to the jungle" game.Workspace.Jungle:Play() wait(3) m:Remove() wait(2) local maps = game.Lighting.Maps:GetChildren() for i = 1,#maps do map = maps[math.random(1,#maps)] m.Text ="The selected map is: "..map.Name m.Parent = game.Workspace wait(5) m.Parent = nil map:Clone() map.Parent = game.Workspace end m.Parent = game.Workspace if avectus == true and lem0nzz2 == true then m.Text = "DARTH JERRY IS HERE SURRENDER WHILE YOU SCATTERED THROUGHOUT THE MAP" elseif avectus == true or lem0nzz2 == true then m.Text = "Now we will be teleporting young padawans throughout the forest AND MASTER AVECTUS WONDERFUL POWER" elseif avectus == false and lem0nzz2 == false then m.Text = "Now we will be teleporting young padawans throughout the forest" end wait(5) m:Remove() for i,v in pairs(game.Players:GetPlayers()) do v.Character.Torso.CFrame = Positions[i] h.Parent = game.Workspace repeat timer = timer - 1 h.Text = "The round will end in "..timer.." seconds." wait(1) until timer == 0 h:Remove() m.Parent = game.Workspace m.Text = "Round Over!" wait(5) m:Remove() v.Character:BreakJoints() end wait(7) map:Remove() timer = 500 print("Restarting game...") end
local lem0nzz2 = game.Players:FindFirstChild("Lem0nzz2")
I dont think it works with the 0 and the 2 in that name. Well, it might work but it messess up at the same time? Im not a skilled scripter, but ive tried it and ive seen tutorials from Roblox saying not to have numbers in a open code sentence, might ofcurse just be in that combination of that tutorial video i saw.
Eitherhow, try removing lem0nzz2 from the script and only run with with Avectus, that MIGHT solve it.