SHOW:
|
|
- or go back to the newest paste.
| 1 | script.Parent = nil | |
| 2 | words = {"i like boys", "haider", "im epic fail", "gorilla", "monkey", "l33t", "im stupid", "hey nuubz", "pancaiks ftl", "caik is a lie", "poopies", "puppies are cute", "i like stuff", "epic sauce", "wallet", "free willie", "xsoul ftw", "you lose", "lolwutpie", "ilikesaucewhichisntsauce", "naoob", "epicsuaceisntepicbutitsprettycoolsaucexdxd", "everyone fails except me!"}
| |
| 3 | ct = {"Good work, boi.", "Congrats >_>", " VIRUSED =D Well anyways congrats. ", "You're epic sauceeee", "Trolled nuub!1!!", "You won. IM IMPRESSED!", " more virus, gz.", "indiana jones to the rescue."}
| |
| 4 | fail = {"Bye noob. U cant spell.", "Epic fail.", "YOU FAIL TROLOLOLO", "Teehee, u better think faster.", "Better luck next time!", "in soviet russia, noobs lose points.", "Why always noobs lose points?"}
| |
| 5 | ||
| 6 | games = math.random(4,7) | |
| 7 | lolga = games | |
| 8 | ||
| 9 | function leader(player) | |
| 10 | local stats = Instance.new("IntValue")
| |
| 11 | stats.Name = "leaderstats" | |
| 12 | local points = Instance.new("IntValue")
| |
| 13 | points.Name = "Points" | |
| 14 | points.Value = 0 | |
| 15 | local losts = Instance.new("IntValue")
| |
| 16 | losts.Name = "Lost" | |
| 17 | losts.Value = 0 | |
| 18 | points.Parent = stats | |
| 19 | losts.Parent = stats | |
| 20 | stats.Parent = player | |
| 21 | end | |
| 22 | for _,v in pairs(game.Players:GetPlayers()) do | |
| 23 | leader(v) | |
| 24 | end | |
| 25 | game.Players.PlayerAdded:connect(leader) | |
| 26 | ||
| 27 | for k=1, games do | |
| 28 | local plyrs = game.Players:GetPlayers() | |
| 29 | local msg = Instance.new("Message",workspace)
| |
| 30 | msg.Text = "Chatting minigame starting... "..lolga.." game(s) left." | |
| 31 | lolga = lolga - 1 | |
| 32 | wait(1.5) | |
| 33 | player = nil | |
| 34 | for i=1, math.random(15,35) do | |
| 35 | wait() | |
| 36 | player = plyrs[math.random(1,#plyrs)] | |
| 37 | msg.Text = "Player chosen: "..player.Name | |
| 38 | end | |
| 39 | wait(2) | |
| 40 | word = words[math.random(1,#words)] | |
| 41 | time = math.random(10,15) | |
| 42 | timenao = time | |
| 43 | msg.Text = player.Name..", you have to say: '"..word.."' in "..time.." seconds, or YOU LOSE" | |
| 44 | local lolwut = true | |
| 45 | player.Chatted:connect(function(mes) | |
| 46 | if lolwut == true then | |
| 47 | if string.find(string.lower(mes),string.lower(word)) then | |
| 48 | lolwut = false | |
| 49 | msg.Text = ct[math.random(1,#ct)] | |
| 50 | local vic = Instance.new("Sound",workspace)
| |
| 51 | vic.SoundId = "rbxasset://sounds/victory.wav" | |
| 52 | vic.Volume = 0.4 | |
| 53 | vic.Pitch = math.random(9,10)/10 | |
| 54 | vic:play() | |
| 55 | local stat = player:findFirstChild("leaderstats")
| |
| 56 | if stat ~= nil then | |
| 57 | stat.Points.Value = stat.Points.Value + (timenao*2) | |
| 58 | end | |
| 59 | wait(0.3) | |
| 60 | vic:remove() | |
| 61 | end | |
| 62 | end | |
| 63 | end) | |
| 64 | for fd=time, 0, -1 do | |
| 65 | if lolwut == true then | |
| 66 | timenao = fd | |
| 67 | msg.Text = player.Name..", you have to say: '"..word.."' in "..fd.." seconds or YOU LOSE" | |
| 68 | wait(1) | |
| 69 | end | |
| 70 | end | |
| 71 | if lolwut == true then | |
| 72 | lolwut = false | |
| 73 | msg.Text = fail[math.random(1,#fail)] | |
| 74 | local lose = Instance.new("Sound",workspace)
| |
| 75 | lose.SoundId = "http://www.roblox.com/asset/?id=26596436" | |
| 76 | lose.Volume = 0.5 | |
| 77 | lose.Pitch = math.random(8,10)/10 | |
| 78 | lose:play() | |
| 79 | if player ~= nil then | |
| 80 | local stat = player:findFirstChild("leaderstats")
| |
| 81 | if stat ~= nil then | |
| 82 | stat.Lost.Value = stat.Lost.Value + 1 | |
| 83 | stat.Points.Value = stat.Points.Value/2 | |
| 84 | end | |
| 85 | end | |
| 86 | wait(0.3) | |
| 87 | lose:remove() | |
| 88 | wait(1.2) | |
| 89 | msg:remove() | |
| 90 | else | |
| 91 | lolwut = false | |
| 92 | wait(4) | |
| 93 | msg:remove() | |
| 94 | end | |
| 95 | end | |
| 96 | ||
| 97 | --lego |