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

Making Hide And Seek Game?

Asked by
WishXVI 94
5 years ago

Ok so here is my script. see any errors?

01while true do
02 
03    local players = game.Players:GetChildren()
04    print(#players) -- Dont mess with this line or the other lines above this line!! It might break the script
05        wait (10)
06        game.Workspace.Lobby:Destroy()
07        game.StarterGui.Loading.Frame.Visible = true
08        game.StarterGui.Loading.Frame.TextLabel.Text = "Selecting map."
09        wait (5)
10        game.StarterGui.Loading.Frame.TextLabel.Text = "Selecting it."
11        wait (3)
12        game.StarterGui.Loading.Frame.Visible = false
13        game.Lighting.Kitchen.Maps.Kitchen.Parent = game.Workspace
14        local murderer = players[math.random(1,#players)] -- Randomly picks a player on the server, if there is 1 player.. It will always pick you.
15        local gear = game.Lighting.ClassicSword:Clone(game.Workspace)  -- Type the name of your gear you want to give
View all 26 lines...
0
can you please tell us what is going wrong? jediplocoon 877 — 5y

Answer this question