Heres all my scripts

1st script:

local Status = game:GetService("ReplicatedStorage"):WaitForChild("Status")

script.Parent.Text = Status.Value

Status:GetPropertyChangedSignal("Value"):Connect(function()

script.Parent.TextLabel.Text = Status.Value

end)

2 sec script

-- DeFine varibles

local ReplicatedStorage = game:GetService("ReplicatedStorage")

local ServerStorage = game:GetService("ServerStorage")

local MapsFolder = ServerStorage:WaitForChild("Maps")

local Status = ReplicatedStorage:WaitForChild("Status")

local GameLength = 40

local reward = 50

-- Game Loop

while true do

Status.Value = "Waiting for enough players"

repeat wait(1) until game.Players.NumPlayers > 2

Status.Value = "Intermission"

wait(10)

local plrs = {}

for i,player in pairs(game.Players:GetPlayers())do
	if player then
		table.insert(plrs,player) --Add Each Plrs table
	end
end

wait(2)	

local AvailableMaps = MapsFolder:GetChildren()

local ChosenMap = AvailableMaps[math.random(1,#AvailableMaps)]

Status.Value = ChosenMap.Name.." Was Picked"

	local ClonedMap = ChosenMap:Clone()	
	ClonedMap.Parent = workspace
	
	--Tp Players
	
	local SpawnPoints = ClonedMap:FindFirstChild("SpawnPoints")
	
	if not SpawnPoints then
		print("SpawnPoints not found")
	end
	
	local AvailableSpawnPoints = SpawnPoints:GetChildren()
	
	for i, player in pairs(plrs) do
		if player then
			character = player.Character
			
			if character then
			--tp them
			
			character:FindFirstChild("HumanoidRootpart").CFrame = AvailableSpawnPoints[1].CFrame
			table.remove(AvailableSpawnPoints,1)
			
			--Give Wepon
			
			local HyperlaserGun = ServerStorage.HyperlaserGun:Clone()
			HyperlaserGun.Parent = player.Backpack
			
			local GameTag = Instance.new("BoolValue")
			GameTag.Name = "GameTag"
			GameTag.Parent = player.Character
			
		else
					--there is not chracter
					if not player then
						table.remove(plrs,i)
					end
			end
		end
end



Status.Value = "Creating Map"

wait(2)

for x = GameLength,0,-1 do
	
	for x, player in pairs(plrs) do
		if player then
			
			character = player.Character
			
			if not character then
				--left game
			else
				if character:FindFirstChild("GameTag") then
					--they are alive
					print(player.Name.."is still alive!")
				else
					--they are dead
					table.remove(plrs,x)
				end
			end
		else
			table.remove(plrs,x)
			print(player.Name.."Was Just Removed")
		end
	end
	
	    Status.Value = "There are " ..i.. " Seconds Left, and "..#plrs.." players left"
	
	if #plrs == 1 then
		--last person standing
		Status.Value = "The Winner Is "..plrs[1].Name
		plrs[1].leaderstats.Tokens.Value = plrs[1].leaderstats.Tokens.Value + reward
		break
	elseif #plrs == 0 then
		Status.Value = "Time Has Run Out Nobody Has Won!"
		break
	elseif i == 0 then
		Status.Value = "There is no more time to fight Game has ended!"
		break
	end
	
	wait(1)
end

print("End Of Game")

for i, player in pairs(game.Players:GetChildren()) do
	character = player.Character
	
	if not character then
		--ignore them
	else
		if character:FindFirstChild("GameTag") then
			character.GameTag:Destroy()
		end
		
		if player.Backpack:FindFirstChild("HyperlaserGun") then
			player.Backpack.HyperlaserGun:Destroy()  --8:50
		end
		
		
			if character.Backpack:FindFirstChild("HyperlaserGun") then
			character.Backpack.HyperlaserGun:Destroy()
       end
		   
	player:LoudCharacter()	
end


	ClonedMap:Destroy()
	
	Status.Value = "Game Has Ended"
	
	wait(2)

end

PLS HELP :(

6 comments

0

I see you have mastered the ways of copying alvinblox's scripts, I am impresed

0

line 135 player:LoudCharacter()

0

in all seriousness are you getting any errors? i need to see em

0

it still says 13:56:14.096 - ServerScriptService.Main Script:162: Expected 'end' (to close 'do' at line 17), got ; did you forget to close 'do' at line 134?

0

you have too many scripts please leave out the unimportant ones also there is no "do" on line 17?

0

also please include everything the varibles all of thta in the script it easier to navigate