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: My first script! How did I do?

Previous Thread :: Next Thread 
Mindmixer is not online. Mindmixer
Joined: 05 Jul 2011
Total Posts: 1878
10 Jul 2016 01:49 PM
--This is a Christmas Light Script, put it in any brick(s) and edit and they will flash red and green!
--Give Mindmixer credit, I made it myself after watching ROBLOX's new Lua Tutorial and using prior knowledge. Thanks!


local Baseplate = game.Workspace.BasePlate --Baseplate is the brick, change the bricks name to that or edit this part...

local function BaseplateChange()
Baseplate.BrickColor = BrickColor.Red() --The first color. Change ONLY the word red to any color you want.
wait(1) --How long to wait between color change (in seconds)
Baseplate.BrickColor = BrickColor.Green() --The second color. Change ONLY the word green to any color you want.
end

while true do
wait(0) -- How long to wait till starting the script (in seconds)
BaseplateChange()
end

9,154 R$2,077 http://www.roblox.com/Trade/TradeWindow.aspx?TradePartnerID=17935612
Report Abuse
Flux_Capacitor is not online. Flux_Capacitor
Joined: 07 Apr 2008
Total Posts: 45720
10 Jul 2016 01:50 PM
Needs more cheer
Report Abuse
Mindmixer is not online. Mindmixer
Joined: 05 Jul 2011
Total Posts: 1878
10 Jul 2016 01:54 PM
Thanks ;3

I fixed it up a bit.
--------------------
--This is a Christmas Light Script, put it in any brick(s) and edit and they will flash red and green!
--Give Mindmixer credit, I made it myself after watching ROBLOX's new Lua Tutorial and using prior knowledge. Thanks!


local Baseplate = game.Workspace.Baseplate --Baseplate is the brick, change the bricks name to that or edit this part...

local function BaseplateChange()
Baseplate.BrickColor = BrickColor.Red() --The first color. Change ONLY the word red to any color you want.
wait(1) --How long to wait between color change (in seconds)
Baseplate.BrickColor = BrickColor.Green() --The second color. Change ONLY the word green to any color you want.
wait(1)
end

while true do
wait(0) -- How long to wait till starting the script (in seconds)
BaseplateChange()
end

9,154 R$2,077 http://www.roblox.com/Trade/TradeWindow.aspx?TradePartnerID=17935612
Report Abuse
Mindmixer is not online. Mindmixer
Joined: 05 Jul 2011
Total Posts: 1878
10 Jul 2016 01:56 PM
Fixed it up even more.
"Baseplate" was too vague and was used too much.
-------------------------------------------------
--This is a Christmas Light Script, put it in any brick(s) and edit and they will flash red and green!
--Give Mindmixer credit, I made it myself after watching ROBLOX's new Lua Tutorial and using prior knowledge. Thanks!


local Item = game.Workspace.Brick --Baseplate is the brick, change the bricks name to that or edit this part...

local function BaseplateChange()
Item.BrickColor = BrickColor.Red() --The first color. Change ONLY the word red to any color you want.
wait(1) --How long to wait between color change (in seconds)
Item.BrickColor = BrickColor.Green() --The second color. Change ONLY the word green to any color you want.
wait(1)
end

while true do
wait(0) -- How long to wait till starting the script (in seconds)
BaseplateChange()
end

9,154 R$2,077 http://www.roblox.com/Trade/TradeWindow.aspx?TradePartnerID=17935612
Report Abuse
AlertedDynamite is not online. AlertedDynamite
Joined: 12 Jun 2015
Total Posts: 667
10 Jul 2016 01:59 PM
why dfuq you start scripting like this .....
Report Abuse
Mindmixer is not online. Mindmixer
Joined: 05 Jul 2011
Total Posts: 1878
10 Jul 2016 02:00 PM
Please don't cuss.
How else should I start!?

9,154 R$2,077 http://www.roblox.com/Trade/TradeWindow.aspx?TradePartnerID=17935612
Report Abuse
goldenchi57 is not online. goldenchi57
Joined: 20 Apr 2014
Total Posts: 165
10 Jul 2016 02:02 PM
Ahuehueheuhe


ahEhHEh ( ͡0 ͜ʖ ͡0)
Report Abuse
secret6timb1 is not online. secret6timb1
Joined: 11 Sep 2013
Total Posts: 1817
10 Jul 2016 02:03 PM
dfaq shwzit. fawuk. cuss.

um.

print("Hello world");

start there I guess.

also wait(0) is actually wait(1/30);
Report Abuse
secret6timb1 is not online. secret6timb1
Joined: 11 Sep 2013
Total Posts: 1817
10 Jul 2016 02:04 PM
before you say I cussed I created my own language and shwizt means icecream.
Report Abuse
Mindmixer is not online. Mindmixer
Joined: 05 Jul 2011
Total Posts: 1878
10 Jul 2016 02:04 PM
Mk.

9,154 R$2,077 http://www.roblox.com/Trade/TradeWindow.aspx?TradePartnerID=17935612
Report Abuse
secret6timb1 is not online. secret6timb1
Joined: 11 Sep 2013
Total Posts: 1817
10 Jul 2016 02:05 PM
It doesn't actually mean icecream.
Report Abuse
Flux_Capacitor is not online. Flux_Capacitor
Joined: 07 Apr 2008
Total Posts: 45720
10 Jul 2016 02:07 PM
OP as you can tell this forum is filled with idiots.
Have fun.
Report Abuse
Iliuminatis is not online. Iliuminatis
Joined: 30 Nov 2008
Total Posts: 1524
10 Jul 2016 02:10 PM
fixd ur cheap skript

local Item = game.Workspace.Brick --Baseplate is the brick, change the bricks name to that or edit this part...

while wait(1) do --How long to wait between color change (in seconds)
Item.BrickColor = BrickColor.Red() --The first color. Change ONLY the word red to any color you want.
wait(1) --How long to wait between color change (in seconds)
Item.BrickColor = BrickColor.Green() --The second color. Change ONLY the word green to any color you want.
end
Report Abuse
pidgey is not online. pidgey
Joined: 16 Jan 2008
Total Posts: 2739
10 Jul 2016 02:12 PM
wow idiots if u think this is bad for his first script then u never scripted b4


pidgey is my name sh##posting is my game
Report Abuse
Mindmixer is not online. Mindmixer
Joined: 05 Jul 2011
Total Posts: 1878
10 Jul 2016 02:12 PM
I know the function wasn't necessary, but it gives practice.

9,154 R$2,077 http://www.roblox.com/Trade/TradeWindow.aspx?TradePartnerID=17935612
Report Abuse
Iliuminatis is not online. Iliuminatis
Joined: 30 Nov 2008
Total Posts: 1524
10 Jul 2016 02:18 PM
improvd ur cheap skript

PLACE INTO MODEL WITH BRICKS U WANT TO FLASH *BLING BLING*

local items = script.Parent:GetChildren()
while wait(1) do --How long to wait between color change (in seconds)
for i,v in pairs(items) do
v.BrickColor = BrickColor.Red() --The first color. Change ONLY the word red to any color you want.
wait(1) --How long to wait between color change (in seconds)
v.BrickColor = BrickColor.Green() --The second color. Change ONLY the word green to any color you want.
end
end
Report Abuse
Mindmixer is not online. Mindmixer
Joined: 05 Jul 2011
Total Posts: 1878
10 Jul 2016 02:19 PM
Stop making fun of my script man.

9,213 R$2,077 http://www.roblox.com/Trade/TradeWindow.aspx?TradePartnerID=17935612
Report Abuse
secret6timb1 is not online. secret6timb1
Joined: 11 Sep 2013
Total Posts: 1817
10 Jul 2016 02:22 PM
Wow flux you defend the defenseless.

Here I thought you were a bad guy.

wait(0) and wait() is 1/30th of a second.
Report Abuse
LunaScripter is not online. LunaScripter
Joined: 27 Nov 2008
Total Posts: 813
10 Jul 2016 02:22 PM
"Haha, I can't script so I'm going to make it look like I can script by degrading this guy!"
Report Abuse
secret6timb1 is not online. secret6timb1
Joined: 11 Sep 2013
Total Posts: 1817
10 Jul 2016 02:23 PM
Although I won't hate on your script.

I like cussing, Christians like you who still believe in the tooth fairy apparently don't.

There's nothing wrong with it, even though it's not allowed on roblox, there's nothing wrong with it.

If you were trying to defend the rules of roblox you should've said something like "Stop cussing it's against the rules skrub"
Report Abuse
secret6timb1 is not online. secret6timb1
Joined: 11 Sep 2013
Total Posts: 1817
10 Jul 2016 02:25 PM
@Lunda

Not degrading, Illuim actually posted a pretty good script.

And imagine if he kept the wait(0) if I hadn't notified him of it.

I'm just hating on his opinion of cussing.
Report Abuse
LunaScripter is not online. LunaScripter
Joined: 27 Nov 2008
Total Posts: 813
10 Jul 2016 02:25 PM
secret6 please stop posting
Report Abuse
Skellobit is not online. Skellobit
Joined: 13 Apr 2016
Total Posts: 12758
10 Jul 2016 02:26 PM
He's calling you an idiot because you're making yourself look like one, and you're acting like one.

Formerly ToxicDominator - add 17,509 posts | :(){:|:&};:
Report Abuse
secret6timb1 is not online. secret6timb1
Joined: 11 Sep 2013
Total Posts: 1817
10 Jul 2016 02:26 PM
Christians

'The toothfairy created everything'
'His name is santa'
'Say hi to santa'
'Get in the van'
Report Abuse
secret6timb1 is not online. secret6timb1
Joined: 11 Sep 2013
Total Posts: 1817
10 Jul 2016 02:28 PM
@Skello

cus kwussing maik u sound lik idiot dud skrub kil lurself omg die wtf u friken offensive pig omg omg omg

That sounds like an idiot.
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