|
| 06 Apr 2017 07:53 PM |
| here's the script: local repilcatedstorage = game.ReplicatedStorage local status = game.ReplicatedStorage.InfoValue while true do while game.Players.NumPlayers > 2 status.Value = 'There needs to be 2 or more players to begin... invite friends!' repeat wait(2) until game.Players.NumPlayers >= 2 end local mapsinserverstorage = game:GetService('ServerStorage'):GetChildren() local chosemap = ################################## ###################### ######################## = mapstorage wait (15) mapstorage:ClearAllChildren() end i know this is outdated im looking for a new version of this |
|
|
| Report Abuse |
|
|
DevSearch
|
  |
| Joined: 13 Sep 2015 |
| Total Posts: 5102 |
|
| |
|
|
| 06 Apr 2017 07:55 PM |
the hash tags are maps in server storage [math.random(1,(space)#mapsinserverstorage)]
where there is a space it is not spaced. where it says space it is space
#code |
|
|
| Report Abuse |
|
|
|
| 06 Apr 2017 07:56 PM |
i really wasnt looking to pay i was just wondering if somebody could be nice enough to help me with this script ive spent days on end trying to fix but no progresss :(
|
|
|
| Report Abuse |
|
|
|
| 06 Apr 2017 07:58 PM |
wiki.roblox.com
May good times come breezy, may bad times go easy, may all your memes stay nice and creamy. |
|
|
| Report Abuse |
|
|
ydog45
|
  |
| Joined: 05 Dec 2015 |
| Total Posts: 79 |
|
|
| 06 Apr 2017 07:58 PM |
ok this is a map chosser ok wait here my own script
while true do game.Lighting.Map1:clone().Parent = game.Workspace wait(10) --Change this to the time between each map. Goes in seconds not minutes or hours. You can do min. or hrs. if u know how much seconds are on there. local msg = Instance.new("Message") msg.Parent = game.Workspace msg.Text = ("Loading next map")--Change this to the title of the map. wait(4) msg:remove() game.Workspace.Map1:remove() wait(2)
game.Lighting.Map2:clone().Parent = game.Workspace wait(10)--Change this to the time between each map. msg.Parent = game.Workspace msg.Text = ("Loading next map")--Change this to the title of the map. wait(4) msg:remove() game.Workspace.Map2:remove() wait(2)
game.Lighting.Map3:clone().Parent = game.Workspace wait(10)--Change this to the time between each map. msg.Parent = game.Workspace msg.Text = ("Loading next map")--Change this to the title of the map. wait(4) msg:remove() game.Workspace.Map3:remove() wait(2)
end |
|
|
| Report Abuse |
|
|
LaeMVP
|
  |
| Joined: 24 Jun 2013 |
| Total Posts: 4416 |
|
|
| 06 Apr 2017 07:59 PM |
| So are you just trying to pick a random map? |
|
|
| Report Abuse |
|
|
LaeMVP
|
  |
| Joined: 24 Jun 2013 |
| Total Posts: 4416 |
|
|
| 06 Apr 2017 08:00 PM |
@ydog 1. Don't store things in Lighting. 2. :Remove() is deprecated. 3. That would keep looping. |
|
|
| Report Abuse |
|
|
|
| 06 Apr 2017 08:09 PM |
This is also trying to use another local script to change the value of InfoValue to make text appear
local repilcatedstorage = game.ReplicatedStorage local status = game.ReplicatedStorage.InfoValue
script.Parent.Text = status.Value status.Changed:connect(function() script.Parent.Text = status.Value end)
|
|
|
| Report Abuse |
|
|
ydog45
|
  |
| Joined: 05 Dec 2015 |
| Total Posts: 79 |
|
|
| 06 Apr 2017 08:09 PM |
| i nkow dont tell me how to script its supposed to loop |
|
|
| Report Abuse |
|
|
| |
|
| |
|
LaeMVP
|
  |
| Joined: 24 Jun 2013 |
| Total Posts: 4416 |
|
|
| 06 Apr 2017 08:11 PM |
| Also he's looking for a random map chooser, yours gets map1, map2, and map3 then loads them all in a loop. |
|
|
| Report Abuse |
|
|
|
| 06 Apr 2017 08:14 PM |
yes i got this script from somebody else but its outdated it is a random map chooser
@LeaMVP |
|
|
| Report Abuse |
|
|
LaeMVP
|
  |
| Joined: 24 Jun 2013 |
| Total Posts: 4416 |
|
|
| 06 Apr 2017 08:17 PM |
If you're looking for a random map do something like:
local InGame = workspace.InGame --Just a bool value to check if there is a game currently InGame.Changed:connect(function() if InGame.Value == false then local Maps = game.ServerStorage.Maps:GetChildren() local Pick = math.random(#Maps) local PickObj = Maps[Pick] PickObj:SetPrimaryPartCFrame(PlaceWhereMapGoes.CFrame) --You could use a part of CFrame.new(position) end end)
This would only pick a map then load it in, doesn't handle removing the map when ready.
This should work, I think. |
|
|
| Report Abuse |
|
|
| |
|