generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Why wont it work?

Previous Thread :: Next Thread 
TrixPower27 is not online. TrixPower27
Joined: 03 Jul 2012
Total Posts: 5298
24 Jun 2014 09:21 AM
minigames = game.Lighting.Minigames:GetChildren()

h = Instance.new("Hint", game.Workspace)

while true do

if game.Players.NumPlayers > 1 then
h.Text = "Deciding what minigame to play"
wait(3)
ranGame = math.random(1, #Minigames)
gameChosen = minigames[ranGame]
h.Text = "Minigame Chosen: " .. gameChosen.Name
wait(3)
gameChosenClone = gameChosen:Clone()
gameChosenClone.Parent = game.Workspace
--Countdown until the game ends
for i = 10, 1, -1 do
h.Text = "Time left: " .. i
wait(1)
end
h.Text = "Game ended!"
wait(3)
gameChosenClone:Destroy()
else
h.Text = "There needs to be more than 1 player to start"
end
wait(1)

end


This is a minigame
Just 1 till now but it wont work
It will get stuck at "Choosing Minigame"
Please help
Report Abuse
TrixPower27 is not online. TrixPower27
Joined: 03 Jul 2012
Total Posts: 5298
24 Jun 2014 09:24 AM
b1
Report Abuse
Devoi is not online. Devoi
Joined: 09 Jun 2013
Total Posts: 5387
24 Jun 2014 09:49 AM
Change the minigames variable to Minigames at the top.
For further note, don't come here asking for help please.
Report Abuse
morash is not online. morash
Joined: 22 May 2010
Total Posts: 5834
24 Jun 2014 12:24 PM
Just delete the entire thing and it will run error free.
Report Abuse
TrixPower27 is not online. TrixPower27
Joined: 03 Jul 2012
Total Posts: 5298
24 Jun 2014 01:08 PM
Not funny
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image