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: Fix Please

Previous Thread :: Next Thread 
UnlimitedKoradoxic is not online. UnlimitedKoradoxic
Joined: 14 Jul 2011
Total Posts: 452
25 Feb 2015 06:51 PM
Won't load the brick town D:

local i = workspace.BrickTown:GetChildren()
i.Transparency = 0
i.CanCollide = true
i.Anchored = true
Report Abuse
UnlimitedKoradoxic is not online. UnlimitedKoradoxic
Joined: 14 Jul 2011
Total Posts: 452
25 Feb 2015 06:53 PM
nor does --named all the parts Part :c

local i = workspace.BrickTown:GetChildren('Part')
i.Transparency = 0
i.CanCollide = true
i.Anchored = true
Report Abuse
GreedTaka is not online. GreedTaka
Joined: 12 Dec 2014
Total Posts: 1503
25 Feb 2015 06:54 PM
D@m how many problems do you have in one day...

local t = workspace.BrickTown:GetChildren()
for i,v in pairs(t) do
v.Transparency = 0
v.CanCollide = true
v.Anchored = true
end

-should work
Report Abuse
Lucas1270z is not online. Lucas1270z
Joined: 27 Feb 2013
Total Posts: 439
25 Feb 2015 06:55 PM
for __,i in next workspace.BrickTown:GetChildren() do
if i.Name == 'Part' then
i.Transparency = 0
i.CanCollide = true
i.Anchored = true
end
Report Abuse
Lucas1270z is not online. Lucas1270z
Joined: 27 Feb 2013
Total Posts: 439
25 Feb 2015 06:56 PM
for __,i in next, workspace.BrickTown:GetChildren() do
if i.Name == 'Part' then
i.Transparency = 0
i.CanCollide = true
i.Anchored = true
end

i forgot a comma, fixed it
Report Abuse
UnlimitedKoradoxic is not online. UnlimitedKoradoxic
Joined: 14 Jul 2011
Total Posts: 452
25 Feb 2015 07:00 PM
@Greed

Only did 1 part
Report Abuse
UnlimitedKoradoxic is not online. UnlimitedKoradoxic
Joined: 14 Jul 2011
Total Posts: 452
25 Feb 2015 07:11 PM
b
u
m
p
Report Abuse
UnlimitedKoradoxic is not online. UnlimitedKoradoxic
Joined: 14 Jul 2011
Total Posts: 452
25 Feb 2015 07:17 PM
BUMP

(╯°□°)--︻╦╤─ - - -
( ͠° ͟ʖ ͡°)
Report Abuse
GreedTaka is not online. GreedTaka
Joined: 12 Dec 2014
Total Posts: 1503
25 Feb 2015 07:18 PM
local obj = workspace.BrickTown:GetChildren()

local function go()
for _,v in pairs(obj:GetChildren()) do
if v:IsA("Part") then
v.Transparency = 0
v.CanCollide = true
v.Anchored = true

end
end
end
Report Abuse
GreedTaka is not online. GreedTaka
Joined: 12 Dec 2014
Total Posts: 1503
25 Feb 2015 07:19 PM
oops

local obj = workspace.BrickTown

local function go()
for _,v in pairs(obj:GetChildren()) do
if v:IsA("Part") then
v.Transparency = 0
v.CanCollide = true
v.Anchored = true

end
end
end
Report Abuse
UnlimitedKoradoxic is not online. UnlimitedKoradoxic
Joined: 14 Jul 2011
Total Posts: 452
25 Feb 2015 07:26 PM
Problem:

It doesn't load and it goes back to the top and does the intermission. then the map choosing then it repeats and blahblah blah. dont ork
Report Abuse
CrescentJade is not online. CrescentJade
Joined: 07 Jul 2010
Total Posts: 5494
25 Feb 2015 07:28 PM
Use thr last script given, and call go()
Report Abuse
GreedTaka is not online. GreedTaka
Joined: 12 Dec 2014
Total Posts: 1503
25 Feb 2015 07:30 PM
local obj = workspace.BrickTown

local function go()
for _,v in pairs(obj:GetChildren()) do
if v:IsA("Part") then
v.Transparency = 0
v.CanCollide = true
v.Anchored = true
end
end
end
go() -- like dis
Report Abuse
UnlimitedKoradoxic is not online. UnlimitedKoradoxic
Joined: 14 Jul 2011
Total Posts: 452
25 Feb 2015 08:48 PM
umg it wworks.

How would I detect which map was chosen and load it tho?
Report Abuse
GreedTaka is not online. GreedTaka
Joined: 12 Dec 2014
Total Posts: 1503
25 Feb 2015 08:51 PM
bro values and more values
Report Abuse
GreedTaka is not online. GreedTaka
Joined: 12 Dec 2014
Total Posts: 1503
25 Feb 2015 08:52 PM
if-- map1 was chosen-- then
game.ServerStorage.Map.Value = "1"
end

then you can access the from another script
Report Abuse
UnlimitedKoradoxic is not online. UnlimitedKoradoxic
Joined: 14 Jul 2011
Total Posts: 452
25 Feb 2015 08:57 PM
if I were to use this how would I detect which map was chosen?:

maps =
{
"2008 Labs",
"Brick Town",
"Lighthouse"
}

local he = Instance.new('Hint',workspace)
he.Text = "Choosing Random Map..."
wait(2)
for i = 1, #maps do
he.Text = "Map Chosen! Map: "..maps[i]
wait(5)
he:Destroy()

also this only picks the first one. Halp?
Report Abuse
GreedTaka is not online. GreedTaka
Joined: 12 Dec 2014
Total Posts: 1503
25 Feb 2015 09:11 PM
rofl ill get back to you on that
Report Abuse
AllianceScripter is not online. AllianceScripter
Joined: 02 Feb 2014
Total Posts: 318
25 Feb 2015 09:23 PM
for i,v in pairs(game.Workspace.BrickTown:GetChildren()) do v.Transparency = 0 v.CanCollide = true v.Anchored = true end
Report Abuse
UnlimitedKoradoxic is not online. UnlimitedKoradoxic
Joined: 14 Jul 2011
Total Posts: 452
25 Feb 2015 09:26 PM
@Alliance Scroll up a few posts. That's what I need
Report Abuse
iPremiumZ is not online. iPremiumZ
Joined: 23 Jan 2012
Total Posts: 6834
25 Feb 2015 09:32 PM
maps =
{
"2008 Labs",
"Brick Town",
"Lighthouse"
}

local he = Instance.new('Hint',workspace)
he.Text = "Choosing Random Map..."
wait(2)
for i = 1, #maps, 1 do
he.Text = "Map Chosen! Map: "..maps[i]
wait(5)
he.Text = "Choosing Random Map..."
wait(2)
end
Report Abuse
iPremiumZ is not online. iPremiumZ
Joined: 23 Jan 2012
Total Posts: 6834
25 Feb 2015 09:37 PM
But this also won't choose a random map if that's what you want, this is just gonna go down through the list...
Report Abuse
UnlimitedKoradoxic is not online. UnlimitedKoradoxic
Joined: 14 Jul 2011
Total Posts: 452
25 Feb 2015 09:53 PM
If you play it you will understand my problems.
Report Abuse
iPremiumZ is not online. iPremiumZ
Joined: 23 Jan 2012
Total Posts: 6834
25 Feb 2015 09:56 PM
what's wrong? I just tested it and it prints out the three maps in order
Report Abuse
UnlimitedKoradoxic is not online. UnlimitedKoradoxic
Joined: 14 Jul 2011
Total Posts: 452
26 Feb 2015 01:33 PM
No no no.Just make this go down the list. I want it randomize, picked, and loaded the one picked.
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