Wednesday, June 8, 2011

Scripting Help 6/8/11

Dear BCG,
What I would like to know is, how do I create a loop in a script? By that I mean like having a brick flash colors or something, over and over and over. I hope you can help me...

P.S. ROBLOX News is
awesome!
-cblack9999

Dear cblack9999,
for loops are very simple. They are used to repeat something a certain amount of times. For example, to make a brick flash colors using a for loop, you can make it flash only a certain amount of times. For example:


for i=1,4 do
script.Parent.BrickColor = BrickColor.new("Really red")
wait(0.2)
script.Parent.BrickColor = BrickColor.new("Really blue")
end

That will run four times. However, there is a way to make it completely random! Just by using BrickColor.random()! Here is an example:

for i=1,4 do
script.Parent.BrickColor = BrickColor.random()
wait(0.2)
end

Here is a breakdown.

for

That basically says 'do the following'....The next part:

i=1

That says 'start at one'.
The final part:

,5 do

This says 'Until i equals 5 continue'.
All in all:

for i=1,5 do
print("Loop has run "..i.." times!")
end


Tuesday, June 7, 2011

Scripting Help 6/7/11

Dear BCG,
In what context would you use 'end)' with the ')' next to it?
-pie1183

Dear pie1183,
You would do so when creating an anonymous function. An anonymous function is a function with no name. Here is an example:


game.Players.PlayerAdded:connect(function(p)
print(p.Name)
end)


Note that the 'end' ends the function, and the ')' closes the open '(' in the first line.

Scripting Help Submission Form

Hey guys! Every day I will be answering a scripting question! Want to ask one? Fill in this form, and I may select yours!

* Required
Name*



What is the question about?*


What is the question?*




ROBLOX added someone to their friend's list?!

As you may or may have not noticed, ROBLOX added the user "bigbluesnow10" to his friend's list, it's the person that has been added in a long while, and has cast many questions as to why he may have been added.

But no one really knows for sure yet, could it be an admin account? Could it be an ordinary account? Only the admins know as to why it was added.

http://www.roblox.com/User.aspx?ID=15741323

Anywho, post your theories and such in the comment section, and see why you think the account was added.

-Rob498

Have a question? Tweet me @Rob498RBLX

Interview With A Forumer (Gkku)

Hey guys! This forumer has quite the background! In fact, Telamon has said himself he can never figure out how to pronounce his username in one of the old OBC casts! Well, lets get started!

Q. When did you start foruming?



Q. When did you join ROBLOX?



Q. If you had to choose a ROBLOXian role model from when you first joined, who would it be?



Q. How often do you forum?



Q. Where do you forum most?



Q. If you could have any hat you wanted, at the cost of never being able to buy another hat, and the hat could only be as expensive as your most expensive hat, what would it be?


Monday, June 6, 2011

Interview with Briguy9876!

Briguy9876 is a forum and image moderator! He is the only one I've seen that isn't a super moderator, but is both of those! Well, lets get to the good stuff!

Q. What's it like to be a forum moderator?


Q. Are you assigned to a certain forum?


Q. What's your favorite part about being a moderator?


Q. Have you ever gotten your ban hammer dirty?


Q. What kind of tools does a forum moderator have? Like, can you post on a locked thread, without having to unlock it first?


Q. Lastly, have you ever been hit by a ban hammer?


Interview with Crazyman32

Q. What inspired you to start programming?


Q. Who was your FIRST ROBLOX friend that you constantly contacted?


Q. If someone told you when you first joined, that you would have over 4,000,000 visits, what would you say?



Q. Any scripting advise for our fellow ROBLOXians?


Q. Lastly, if you could make any game you wanted, without needed to script it, no locked functions, and the ability to have it build instantly, what kind of game would it be?


RN Scripting Help

Hello! It's me BCGames from ROBLOX.com! I will be taking scripting help questions! I will be open for help by June 11th!

Friday, June 3, 2011

Interview with 1WOOF1

1)Who Introduced you to Roblox?
My brother, 1meow1, but he quit.

2)Do you prefer old Roblox to modern Roblox? If so, why?
Yes, because I don't like the new ROBLOX body meshes, and there's too many troll's now. In 09 there were some, but not as many.

3)How often do you play front page games?
Hard question. About... Once every few week's?

4)What is your favourite type of game?
Sword fighting.

5)Do you have a Roblox hobbie? If so, what is it?
It used to be Sword Fighting, but my mouse seem's to be going too fast so I can't do it any more. It's probably building now...

6)Who is your favourite Robloxian?
Jamiyjamie. No doubt about it. I mean, I like allot of other people, but Jamie was with me since I joined, and he's my best friend.

7)What is your main income of Robux/Tix?
Login bonus, ambassador, and donation's.

8)What is your favourite place of all time?
Another hard question. But it has to be King Of The hill, by Builderman. It was the first place I went to, and the place I met Jamiyjamie.

9)Do you consider Roblox more fun than any other games you play
No, I do enjoy TF2 Beta, I've been going on it allot since the glitch with my mouse.

Just a little video for RN.

I uploaded this video just for the fun of it. Watch as a bunch of green bricks fall on the baseplate and create an ocean of green bricks.


Hope you enjoyed it!




Moderator,

Jojobenten.