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 » Scripting Helpers
Home Search
 

Re: Map changing script broken?

Previous Thread :: Next Thread 
JustinJoseph is not online. JustinJoseph
Joined: 20 Feb 2011
Total Posts: 508
26 Dec 2011 06:48 PM
Okay well i made a war game with changing maps and a GUI to teleport to the map.
For the GUI to work i need the map to spawn in the same place each time.
1 problem with that though,
they spawn ontop of each other!
Heres the script to see if you can find the probs (FYI i made it like a tutorial so i could give it to my friend)

print("Change Map Script Loaded")
while true do
wait(0)
game.Lighting.feild1:clone().Parent = game.Workspace -- Put the maps in the lighting
wait(300) -- You can edit this, this is how long you wan't the field to be on. This is currently on 5 Minutes.
local msg = Instance.new("Message")
msg.Parent = game.Workspace
msg.Text = ("Changing field...")
wait(4) -- How long you want the text to stay on your screen (editable)
msg:remove()
game.Workspace.feild1:remove()
wait(0.1) -- How long you want to wait for it to go away (editable) (I wouldnt edit it though)
game.Lighting.feild2:clone().Parent = game.Workspace
wait(300) -- How long you want field2 to be up.
msg.Parent = game.Workspace
msg.Text = ("Changing field...")
wait(4) -- How long you want the text to stay on your screen (editable)
msg:remove()
game.Workspace.feild2:remove()
wait(0.1) --How long you want to wait for it to go away (editable) (I wouldnt edit it though)
game.Lighting.feild3:clone().Parent = game.Workspace
wait(300) -- How long you want field2 to be up.
msg.Parent = game.Workspace
msg.Text = ("Changing field...")
wait(4) -- How long you want the text to stay on your screen (editable)
msg:remove()
game.Workspace.feild3:remove()
wait(0.1) --How long you want to wait for it to go away (editable) (I wouldnt edit it though)

Thanks,
JustinJoseph
(DONT FLAME)
Report Abuse
DXPower is not online. DXPower
Joined: 21 Oct 2008
Total Posts: 2866
26 Dec 2011 06:51 PM
Put an "end" on the bottom.
Report Abuse
JustinJoseph is not online. JustinJoseph
Joined: 20 Feb 2011
Total Posts: 508
26 Dec 2011 07:03 PM
Oops, there is, but i forgot to copy it.
Report Abuse
JustinJoseph is not online. JustinJoseph
Joined: 20 Feb 2011
Total Posts: 508
26 Dec 2011 07:07 PM
Help ASAP

BUMPP

BUMPP

BUMPP
Report Abuse
C0D3Y is not online. C0D3Y
Joined: 24 Jul 2010
Total Posts: 1692
26 Dec 2011 07:47 PM
You're using models right? Just move them around... That's what I do. Like so

game.Workspace.Field1:MoveTo(Whatever the coordinates are)

And you're done...
Report Abuse
JustinJoseph is not online. JustinJoseph
Joined: 20 Feb 2011
Total Posts: 508
26 Dec 2011 09:22 PM
Ohhh, ok! i think it fixed it nao! ty :D
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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