Coopertow
|
  |
| Joined: 18 Apr 2012 |
| Total Posts: 1959 |
|
|
| 08 May 2014 08:12 PM |
| I need help I know there are previous scripts but can someone find me a map changing script so which ever 5Mins it would change a map. To get an idea the idea is a lobby practice room. and I also need a teleporter with a small script attached that will give you a wep* 1 way teleporter |
|
|
| Report Abuse |
|
|
Coopertow
|
  |
| Joined: 18 Apr 2012 |
| Total Posts: 1959 |
|
| |
|
jdev9876
|
  |
| Joined: 13 Oct 2013 |
| Total Posts: 37 |
|
|
| 08 May 2014 08:30 PM |
| It involves moving models (your maps) between Workspace and Lighting. |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 08 May 2014 08:32 PM |
"between Workspace and Lighting." no http://wiki.roblox.com/index.php/RBX.lua.ServerStorage_(Object) |
|
|
| Report Abuse |
|
|
Coopertow
|
  |
| Joined: 18 Apr 2012 |
| Total Posts: 1959 |
|
| |
|
Coopertow
|
  |
| Joined: 18 Apr 2012 |
| Total Posts: 1959 |
|
| |
|
Coopertow
|
  |
| Joined: 18 Apr 2012 |
| Total Posts: 1959 |
|
| |
|
|
| 08 May 2014 09:15 PM |
https://www.youtube.com/watch?v=qyrzB50IKuY&list=TLRhJh32fZ2fNVP6MXxaJAE9ONpXFbESCV
This is a link to peaspod's youtube minigame scirpting tutorial video. He has very good scripting tutorials. If you don't trust the long link, just go to youtube, and search up "PeasFactory minigame tutorial" |
|
|
| Report Abuse |
|
|
Coopertow
|
  |
| Joined: 18 Apr 2012 |
| Total Posts: 1959 |
|
|
| 08 May 2014 09:20 PM |
| not what im looking for cause in his script its says numb players>1 Then Game Start etc. I dont want it to tele people. I just want a script that every 5 mins the map will change auto and wont TP people it just change like where your in the lobby theres a practice area you see the practice area every 5 mins change from 2 maps + or more. And when It change maps it respawns the people that are in there. But the main thing is the map switcher |
|
|
| Report Abuse |
|
|
Coopertow
|
  |
| Joined: 18 Apr 2012 |
| Total Posts: 1959 |
|
| |
|
Coopertow
|
  |
| Joined: 18 Apr 2012 |
| Total Posts: 1959 |
|
| |
|
|
| 08 May 2014 11:43 PM |
Learn to script so that you will not have to ask later on, just do not go for the big things.
m={} for _,v in pairs(game.Lighting:children()) do if v.className == "Model" then table.insert(m, v) end end
while wait() do mapChosen = m[math.random(1,#m)] mapChosen.Parent = Workspace wait(300) mapChosen:remove() mapChosen = nil end end
Not tested |
|
|
| Report Abuse |
|
|
|
| 09 May 2014 12:47 AM |
| Jimmy, children() was deprecated, use GetChildren() instead. |
|
|
| Report Abuse |
|
|
Coopertow
|
  |
| Joined: 18 Apr 2012 |
| Total Posts: 1959 |
|
|
| 09 May 2014 01:46 AM |
| jimmy, I like that script but what i want you to add in it is where theres "map1","map3" etc so it picks a random map |
|
|
| Report Abuse |
|
|
Nartle
|
  |
| Joined: 29 Mar 2008 |
| Total Posts: 7202 |
|
|
| 09 May 2014 01:49 AM |
| The script looks for models at random, and then it makes it appear. Seeing as your maps SHOULD be models, then you don't have to worry about the names of the maps. It'll find them automatically. |
|
|
| Report Abuse |
|
|
Coopertow
|
  |
| Joined: 18 Apr 2012 |
| Total Posts: 1959 |
|
|
| 09 May 2014 01:52 AM |
| but what if i have a wep in lighting |
|
|
| Report Abuse |
|
|
Nartle
|
  |
| Joined: 29 Mar 2008 |
| Total Posts: 7202 |
|
|
| 09 May 2014 01:52 AM |
| Wep short for weapon? Weapons aren't models. |
|
|
| Report Abuse |
|
|
Coopertow
|
  |
| Joined: 18 Apr 2012 |
| Total Posts: 1959 |
|
|
| 09 May 2014 02:02 AM |
| Can you Edit That Exmple Script and correct it? |
|
|
| Report Abuse |
|
|
Nartle
|
  |
| Joined: 29 Mar 2008 |
| Total Posts: 7202 |
|
|
| 09 May 2014 02:05 AM |
| The example script is perfect. It gets you what you asked for, minus the script that gives you weapons. If you're asking for a script that will give random weapons out, then I could make one, but I don't guarantee that it'll work, nor do I guarantee that it'll be neat. I'm still an amateur at scripting. |
|
|
| Report Abuse |
|
|
Coopertow
|
  |
| Joined: 18 Apr 2012 |
| Total Posts: 1959 |
|
|
| 09 May 2014 04:38 PM |
| i MEAN edit the map changing script, If you havent heard. Ok Think of this you walk in a lobby theres a practice mini map and I want it to change every 5 Minutes. I will put the maps I want in lighting, I want it to be certian with like "MODELNAMEHERE" With a script Corrosponding to "" Like Survive the disasters/ NOT THE WHOLE SCRIPT just the "" |
|
|
| Report Abuse |
|
|
|
| 09 May 2014 04:40 PM |
"find one"
how about you make one |
|
|
| Report Abuse |
|
|
Coopertow
|
  |
| Joined: 18 Apr 2012 |
| Total Posts: 1959 |
|
|
| 09 May 2014 04:42 PM |
| I dont know how to script .-. or i wouldve thought of that *LOGIC* |
|
|
| Report Abuse |
|
|
| |
|
Coopertow
|
  |
| Joined: 18 Apr 2012 |
| Total Posts: 1959 |
|
|
| 09 May 2014 04:47 PM |
| Maybe I don't want to *LOGIC* Get out Nub |
|
|
| Report Abuse |
|
|
|
| 09 May 2014 04:48 PM |
Then you don't deserve one *LOGIC* show urself out pls |
|
|
| Report Abuse |
|
|