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: Can Somebody Please Fix My Script

Previous Thread :: Next Thread 
YimboSlyce is not online. YimboSlyce
Joined: 17 Apr 2016
Total Posts: 40
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 is not online. DevSearch
Joined: 13 Sep 2015
Total Posts: 5102
06 Apr 2017 07:54 PM
How much money
Report Abuse
YimboSlyce is not online. YimboSlyce
Joined: 17 Apr 2016
Total Posts: 40
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
YimboSlyce is not online. YimboSlyce
Joined: 17 Apr 2016
Total Posts: 40
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
HaydenSpernato is not online. HaydenSpernato
Joined: 06 Dec 2012
Total Posts: 2004
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 is not online. 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 is online. 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 is online. 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
YimboSlyce is not online. YimboSlyce
Joined: 17 Apr 2016
Total Posts: 40
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 is not online. 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
YimboSlyce is not online. YimboSlyce
Joined: 17 Apr 2016
Total Posts: 40
06 Apr 2017 08:10 PM
this does work


Report Abuse
YimboSlyce is not online. YimboSlyce
Joined: 17 Apr 2016
Total Posts: 40
06 Apr 2017 08:10 PM
my local script works


Report Abuse
LaeMVP is online. 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
YimboSlyce is not online. YimboSlyce
Joined: 17 Apr 2016
Total Posts: 40
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 is online. 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
YimboSlyce is not online. YimboSlyce
Joined: 17 Apr 2016
Total Posts: 40
06 Apr 2017 08:36 PM
it did not work



@LeaMVP
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