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 is this not working?

Previous Thread :: Next Thread 
Firebreathingducky13 is not online. Firebreathingducky13
Joined: 20 Apr 2016
Total Posts: 306
17 Jul 2016 11:28 AM
My goal is to create minigames here. My model called minigames is in lighting and my model called Disappearing Plates is in minigames model. You start off in the lobby at a spawn point oh yea and I have spawn points in the plates mini game.


minigames = game.Lighting.Minigames:GetChildren ()

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

while true do

if game.Players.NumPlayers > 1 then
h.Text = "Deciding what game to play"
wait (3)
ranGame = math.random (1, #minigames)
gameChosen = minigames [ranGame]
h.Text = "Minigames chosen:"..gameChosen.Name
h.Text = gameChosen.Name
wait (3)
gameChosenClone = gameChosen:Clone()
gameChosenClone.Parent = game.Workspace
wait (3)
-- TPing people to the map
spawns = gameChosenClone.Spawns:GetChildren()
for i,v in pairs (game.Player:GetPlayers()) do
name = v.Name
check = game.Workspace:FindFirstChild(name)
if check then
checkHumanoid = check:FindFirstChild ("Humanoid")
if checkHumanoid then
v.Character:MoveTo(spawns [i].Position)
end
end

end

end

--Countdown till the game ends
for i = 10, 1, -1 do
h.Text = "Time Left"..i
wait (1)
end
h.Text = "Game Ended!"
gameChosenClone:Destroy()
else
h.Text = "There needs to be more than 1 player to start"
end
wait (1)
end


When I looked up "Ninjas" in Thesaurus.com, it said "Ninja's can't be found" Well played Ninjas, well played.
Report Abuse
XMegaInfernapeX is not online. XMegaInfernapeX
Joined: 20 Feb 2011
Total Posts: 488
17 Jul 2016 12:07 PM
Where did you get this script, this is my friends exact script. Wow, script theifing.
Report Abuse
Firebreathingducky13 is not online. Firebreathingducky13
Joined: 20 Apr 2016
Total Posts: 306
17 Jul 2016 12:08 PM
https://www.youtube.com/watch?v=RzCkR2RtvlE&index=1#t=663.28731


When I looked up "Ninjas" in Thesaurus.com, it said "Ninja's can't be found" Well played Ninjas, well played.
Report Abuse
Firebreathingducky13 is not online. Firebreathingducky13
Joined: 20 Apr 2016
Total Posts: 306
17 Jul 2016 12:09 PM
Wow use your brains


When I looked up "Ninjas" in Thesaurus.com, it said "Ninja's can't be found" Well played Ninjas, well played.
Report Abuse
XMegaInfernapeX is not online. XMegaInfernapeX
Joined: 20 Feb 2011
Total Posts: 488
17 Jul 2016 12:58 PM
sry
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