local Player = game.Players:GetPlayers()
local stats = game.Players:findFirstChild("Hide2")
local msg3 = stats:findFirstChild("msg3")
local partida = stats:findFirstChild("Partida")
local msg = stats:findFirstChild("msg")
while true do
wait() -- This is how long the players have to wait before a game starts.
local m = 1 -- The second number means how much games there are total. Keep the way the first number is. Change the total if you add more.
local player = game.Players:GetPlayers()
for i = 1, #player do
if m == 1 then -- 1 Means it's the first level/game.
player[i].Character:MoveTo(Vector3.new(-103, 1.2, -96)) -- Don't touch this unless you know what you're doing with it.
msg.Value="Intermission"
wait(1)
msg3.Value = 30
wait(1)
msg3.Value = 29
wait(1)
msg3.Value = 28
wait(1)
msg3.Value = 27
wait(1)
msg3.Value = 26
wait(1)
msg3.Value = 25
wait(1)
msg3.Value = 24
wait(1)
msg3.Value = 23
wait(1)
msg3.Value = 22
wait(1)
msg3.Value = 21
wait(1)
msg3.Value = 20
wait(1)
msg3.Value = 19
wait(1)
msg3.Value = 18
wait(1)
msg3.Value = 17
wait(1)
msg3.Value = 16
wait(1)
msg3.Value = 15
wait(1)
msg3.Value = 14
wait(1)
msg3.Value = 13
wait(1)
msg3.Value = 12
wait(1)
msg3.Value = 11
wait(1)
msg3.Value = 10
wait(1)
msg3.Value = 9
wait(1)
msg3.Value = 8
wait(1)
msg3.Value = 7
wait(1)
msg3.Value = 6
wait(1)
msg3.Value = 5
wait(1)
msg3.Value = 4
wait(1)
msg3.Value = 3
wait(1)
msg3.Value = 2
wait(1)
msg3.Value = 1
wait(1)
Player[i].Character:MoveTo(Vector3.new(pos4))
msg.Value= "Finding Theme..."
wait(2)
msg.Value= "Theme Found!"
wait(2)
msg.Value= "Comedy"
wait(1)
msg3.Value = 120
wait(1)
msg3.Value = 119
wait(1)
msg3.Value = 118
wait(1)
msg3.Value = 117
wait(1)
msg3.Value = 116
wait(1)
msg3.Value = 115
wait(1)
msg3.Value = 114
wait(1)
msg3.Value = 113
wait(1)
msg3.Value = 112
wait(1)
msg3.Value = 111
wait(1)
msg3.Value = 110
wait(1)
msg3.Value = 109
wait(1)
msg3.Value = 108
wait(1)
msg3.Value = 107
wait(1)
msg3.Value = 106
wait(1)
msg3.Value = 105
wait(1)
msg3.Value = 104
wait(1)
msg3.Value = 103
wait(1)
msg3.Value = 102
wait(1)
msg3.Value = 101
wait(1)
msg3.Value = 100
wait(1)
msg3.Value = 99
wait(1)
msg3.Value = 98
wait(1)
msg3.Value = 97
wait(1)
msg3.Value = 96
wait(1)
msg3.Value = 95
wait(1)
msg3.Value = 94
wait(1)
msg3.Value = 93
wait(1)
msg3.Value = 92
wait(1)
msg3.Value = 91
wait(1)
msg3.Value = 90
wait(1)
msg3.Value = 89
wait(1)
msg3.Value = 88
wait(1)
msg3.Value = 87
wait(1)
msg3.Value = 86
wait(1)
msg3.Value = 85
wait(1)
msg3.Value = 84
wait(1)
msg3.Value = 83
wait(1)
msg3.Value = 82
wait(1)
msg3.Value = 81
wait(1)
msg3.Value = 80
wait(1)
msg3.Value = 79
wait(1)
msg3.Value = 78
wait(1)
msg3.Value = 77
wait(1)
msg3.Value = 76
wait(1)
msg3.Value = 75
wait(1)
msg3.Value = 74
wait(1)
msg3.Value = 73
wait(1)
msg3.Value = 72
wait(1)
msg3.Value = 71
wait(1)
msg3.Value = 70
wait(1)
msg3.Value = 69
wait(1)
msg3.Value = 68
wait(1)
msg3.Value = 67
wait(1)
msg3.Value = 66
wait(1)
msg3.Value = 65
wait(1)
msg3.Value = 64
wait(1)
msg3.Value = 63
wait(1)
msg3.Value = 62
wait(1)
msg3.Value = 61
wait(1)
msg3.Value = 60
wait(1)
msg3.Value = 59
wait(1)
msg3.Value = 58
wait(1)
msg3.Value = 57
wait(1)
msg3.Value = 56
wait(1)
msg3.Value = 55
wait(1)
msg3.Value = 54
wait(1)
msg3.Value = 53
wait(1)
msg3.Value = 52
wait(1)
msg3.Value = 51
wait(1)
msg3.Value = 50
wait(1)
msg3.Value = 49
wait(1)
msg3.Value = 48
wait(1)
msg3.Value = 47
wait(1)
msg3.Value = 46
wait(1)
msg3.Value = 45
wait(1)
msg3.Value = 44
wait(1)
msg3.Value = 43
wait(1)
msg3.Value = 42
wait(1)
msg3.Value = 41
wait(1)
msg3.Value = 40
wait(1)
msg3.Value = 39
wait(1)
msg3.Value = 38
wait(1)
msg3.Value = 37
wait(1)
msg3.Value = 36
wait(1)
msg3.Value = 35
wait(1)
msg3.Value = 34
wait(1)
msg3.Value = 33
wait(1)
msg3.Value = 32
wait(1)
msg3.Value = 31
wait(1)
msg3.Value = 30
wait(1)
msg3.Value = 29
wait(1)
msg3.Value = 28
wait(1)
msg3.Value = 27
wait(1)
msg3.Value = 26
wait(1)
msg3.Value = 25
wait(1)
msg3.Value = 24
wait(1)
msg3.Value = 23
wait(1)
msg3.Value = 22
wait(1)
msg3.Value = 21
wait(1)
msg3.Value = 20
wait(1)
msg3.Value = 19
wait(1)
msg3.Value = 18
wait(1)
msg3.Value = 17
wait(1)
msg3.Value = 16
wait(1)
msg3.Value = 15
wait(1)
msg3.Value = 14
wait(1)
msg3.Value = 13
wait(1)
msg3.Value = 12
wait(1)
msg3.Value = 11
wait(1)
msg3.Value = 10
wait(1)
msg3.Value = 9
wait(1)
msg3.Value = 8
wait(1)
msg3.Value = 7
wait(1)
msg3.Value = 6
wait(1)
msg3.Value = 5
wait(1)
msg3.Value = 4
wait(1)
msg3.Value = 3
wait(1)
msg3.Value = 2
wait(1)
msg3.Value = 1
wait(1)
msg.Value= "Start!!"
wait(1)
wait(2)
msg3.Value = nil
wait(1)
partida.Value = 0
game.Lighting.Comedy:clone().Parent = game.Workspace
wait(3)
Player[i].Character:MoveTo(Vector3.new(pos2))
wait(1)
msg.Value = "vote for the best performances!"
wait(6)
msg.Value = "3"
wait(1)
msg.Value = "2"
wait(1)
msg.Value = "1"
wait(1)
msg.Value = "Start"
local pos1 = Vector3.new(63.766, 8.1, 141.166)
local pos2 = Vector3.new(39, 8.5, math.random(121,153))
local pos3 = Vector3.new(-149, 2.9, math.random(48,99))
local pos4 = Vector3.new(math.random(1,7), 2.522, 22)
local selectedPlayers = {} -- dictionary of players selected so far
local function playerIsSelectable(player2)
-- Only allow a player to be selected if they are alive and haven't been selected yet
local humanoid = player2.Character and player2.Character:FindFirstChild("Humanoid")
return not selectedPlayers[player] and humanoid and humanoid.Health > 0
end
local function selectRandomPlayer()
local players = game.Players:GetPlayers()
local validPlayers = {}
for i = 1, #players do
local player2 = players[i]
if playerIsSelectable(player2) then
validPlayers[#validPlayers + 1] = player2
end
end
if #validPlayers > 0 then
local selected = validPlayers[math.random(1, #validPlayers)]
selectedPlayers[selected] = true -- record that we're selecting this player
return selected
end
end
while true do
local player2 = selectRandomPlayer()
if not player2 then
msg.Value= "Game Complete" -- This is what it says when everyone is done playing.
wait(3)
game.Workspace.Comedy:Remove()
validPlayers = {}
break
end
player2.Character:MoveTo(pos1)
msg3.Value = 30
wait(1)
msg3.Value = 29
wait(1)
msg3.Value = 28
wait(1)
msg3.Value = 27
wait(1)
msg3.Value = 26
wait(1)
msg3.Value = 25
wait(1)
msg3.Value = 24
wait(1)
msg3.Value = 23
wait(1)
msg3.Value = 22
wait(1)
msg3.Value = 21
wait(1)
msg3.Value = 20
wait(1)
msg3.Value = 19
wait(1)
msg3.Value = 18
wait(1)
msg3.Value = 17
wait(1)
msg3.Value = 16
wait(1)
msg3.Value = 15
wait(1)
msg3.Value = 14
wait(1)
msg3.Value = 13
wait(1)
msg3.Value = 12
wait(1)
msg3.Value = 11
wait(1)
msg3.Val``e = 10
wait(1)
msg3.Value = 9
wait(1)
msg3.Value = 8
wait(1)
msg3.Value = 7
wait(1)
msg3.Value = 6
wait(1)
msg3.Value = 5
wait(1)
msg3.Value = 4
wait(1)
msg3.Value = 3
wait(1)
msg3.Value = 2
wait(1)
msg3.Value = 1
wait(1)
player2.Character:MoveTo(pos2)
end
end
I had always been able to change the location of the player but now I get error after another and I have already tried several ways

12 comments
i don't know how to paste the code here, if you want, they explain it to me so they can see it well.
this is unbearable to my eyes
Help me!!!
You should stop scripting right now.
Never script again.
Phlegethon5778 that's a rude and unhelpfull comment, just don't post at all when you have nothing usefull to say
I am doing him a favour. It is not at all unhelpful.
When you were unexperienced you needed help...
Plegethon, that is an extremely rude comment. If someone is asking for help you shouldn't come on here an insult them like that. We were all inexperienced at one point, so don't go around telling people they can't script.
@Phlegethon5778, never comment again.
USE LOOPS!
This isn't even OP's code anyway, it is commented in third person and the comment on line 13 gives it all away.