|
| 06 Apr 2015 04:14 PM |
---[[ DECLARING FUNCTIONS ---]] local isnotgame = true local gametime = script.Value local gun = game.ReplicatedStorage.Revolver local knife = game.ReplicatedStorage.Knife local car = true local function getspecial() local p = game.Players:GetPlayers() local rndom1 = table.remove(p,math.random(1,#p)) local rndom2 = table.remove(p,math.random(1,#p)) return rndom1,rndom2 end local function moveAll(wher) if wher == "lobby" then for i,v in pairs(game.Players:GetChildren()) do v.Character:MoveTo(Vector3.new(4.6 + math.random(5), 12, (26.6 + math.random(10)))) wait() end elseif wher == "game" then for i,v in pairs(game.Players:GetChildren()) do v.Character:MoveTo(Vector3.new(46.2 + math.random(5), 75, (-42.6 + math.random(10)))) wait() end end end local function killAll() local b = game.Players:GetChildren() for i = 1,#b do wait() b[i].Character.Humanoid.Health = 0 end end --[[ ACTUAL CODE ]]-- while wait() do if isnotgame then if game.Players.NumPlayers > 1 then isnotgame = false wait(13) gametime.Value = 120 moveAll("game") local murderer, sheriff = getspecial() gun:Clone().Parent = sheriff.Backpack knife:Clone().Parent = murderer.Backpack for i= 120, 0, -1 do wait(1) gametime.Value = i --[[gametime.Changed:connect(function() game.StarterGui.ScreenGui.TextLabel.Text = "time left:"..i end)]] if murderer ~= nil and murderer.Character.Humanoid.Health <= 0 then killAll() isnotgame = true gametime.Value = nil murderer, sheriff = nil, nil i = 0 local int = Instance.new("Hint", workspace) int.Text = "Murderer has died!" wait(5) int:Destroy() elseif gametime.Value<=0 then print('game is over!') moveAll("lobby") murderer, sheriff = nil,nil gametime.Value=nil isnotgame=true local swg = Instance.new("Hint", workspace) swg.Text = "Game time is up!" wait(5) swg:Destroy() end end end end end
ye so it the round should happen every 2 minutes or when the murderer dies but it only happens every 2 minutes and ive tested it a lot
help pls
Thread By, Coinman001 |
|
|
| Report Abuse |
|
|
| |
|
| |
|
025110
|
  |
| Joined: 23 Nov 2012 |
| Total Posts: 57661 |
|
|
| 06 Apr 2015 04:20 PM |
| scripters: ' we wont help murder games' |
|
|
| Report Abuse |
|
|
|
| 06 Apr 2015 04:21 PM |
xd ikr
Thread By, Coinman001 |
|
|
| Report Abuse |
|
|
Terintino
|
  |
| Joined: 27 Oct 2014 |
| Total Posts: 3662 |
|
|
| 06 Apr 2015 04:21 PM |
cuz ur weak and u started not posting on lmad as much
HaHa +12,122 Posts- 9Millionaire, mxgos, 9MiIIi |
|
|
| Report Abuse |
|
|
Vuxz
|
  |
| Joined: 23 Dec 2011 |
| Total Posts: 7217 |
|
|
| 06 Apr 2015 04:22 PM |
Honestly, I'm not going to help, I hate murder games. If you want to make a murder game, use Stickmasterluke's template. (lol) |
|
|
| Report Abuse |
|
|
|
| 06 Apr 2015 04:23 PM |
no vux it a test
i not legit making 1
Thread By, Coinman001 |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
|
| 06 Apr 2015 04:29 PM |
cool nice limited the script limited how about 2014 valentines day cap for it
Cereal is just a simple matter of it being cooked ~CookingCereal |
|
|
| Report Abuse |
|
|
| |
|
Foliant
|
  |
| Joined: 13 Dec 2014 |
| Total Posts: 9515 |
|
| |
|
|
| 06 Apr 2015 04:32 PM |
not when u listen to ti
Thread By, Coinman001 |
|
|
| Report Abuse |
|
|
|
| 06 Apr 2015 04:37 PM |
web help im calling upon u
Thread By, Coinman001 |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
| |
|