Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local msg = Instance.new("Hint")
- msg.Name = "Hint"
- msg.Parent = game.Workspace
- local added = msg:clone()
- local regen = {game.Workspace.Board:clone(), game.Workspace.DScreen:clone(), game.Workspace.NextPlayers:clone(), game.Workspace["Sign Up!"]:clone(), game.Workspace.MainGame:clone()}
- local regeners = {}
- local trash = {"Board", "Display", "NextPlayers", "Sign Up!", "MainGame", "Message"}
- function regenGame()
- added.Text = "Number of people achieved to regen"
- regeners = nil
- regeners = {}
- local item = game.Workspace:children()
- for i = 1, #item do for x = 1, #trash do if item[i].Name == trash[x] then item[i].Parent = nil end end end
- for i = 1, #regen do regen[i]:clone().Parent = game.Workspace end
- local player = game.Players:children()
- if #player < 1 then return end
- for i = 1, #player do
- if player[i].Character ~= nil then
- local model = player[i].Character:children()
- if #model > 0 then
- for i = x, #model do
- if model[x].className == "Model" then
- local item = model[x]:children()
- if #item > 0 then for s = 1, #item do item[s].Parent = player[i].Character end end
- end
- end
- end
- player[i].Character:BreakJoints()
- end
- end
- end
- function onChatted(msg, player)
- if msg == "/regenGame" then
- for i = 1, #regeners do if regeners[i] ~= nil then if regeners[i].Name == player then return end end end
- table.insert(regeners, player)
- local newTable = {}
- for i = 1, #regeners do
- if regeners[i] ~= nil then
- if regeners[i].Parent == game.Players then table.insert(newTable, regeners[i]) end
- end
- end
- regeners = newTable
- added.Text = player.Name.." wants to regen. "..#regeners.." out of "..#(game.Players:children()).." needed to regen game"
- if #regeners >= #(game.Players:children()) then regenGame() end
- wait(3)
- added.Parent = nil
- end
- end
- game.Players.ChildAdded:connect(function(player)
- player.Chatted:connect(function(msg, recipient) onChatted(msg, player) end)
- end)
- while true do
- msg.Text = "Here's how to play Who Wants to be a Millionaire"
- wait(3)
- msg.Text = "Your goal is to answer multiple choice questions correctly in a limited amount of time"
- wait(5)
- msg.Text = "Once you select an answer, hit the \"Final Answer\" button to make your final selection"
- wait(4)
- msg.Text = "If you get stumped you have 5 lifelines to help you - "
- wait(3)
- msg.Text = "Fifty-Fifty(50:50), which takes away 2 wrong answers"
- wait(2.5)
- msg.Text = "Ask the Audiance, which we will pull an audiance and give you a poll result from it"
- wait(3.5)
- msg.Text = "Phone-a-Friend, which you'll have a chance to call 1 of 3 people for help"
- wait(3)
- msg.Text = "Double dip, which you get an extra chance to guess an answer"
- wait(2.5)
- msg.Text = "Ask the Expert, which you'll get a chance to ask 1 of 3 experts"
- wait(3)
- msg.Text = "You may walk away with your money you've already have by clicking the \"Walk Away\" button"
- wait(4)
- msg.Text = "If you got a question wrong then you'll leave with..."
- wait(2.5)
- msg.Text = "...the last milestone questions that you've passed which are $1,000 and $16,000"
- wait(3)
- msg.Text = "Ready to play? Touch the Sign Up button to sign up!"
- wait(10)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement