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: Scripting Help - Chapter 1

Previous Thread :: Next Thread 
Colonol7777 is not online. Colonol7777
Joined: 14 May 2012
Total Posts: 101
28 Dec 2012 08:51 PM
Scripting is not hard. Ima show you a script that will make a brick invisible then not. (Blinking brick)
Script:
function
script.parent.workspace.(name of your part).transparency = 1
wait (0.3)
script.parent.workspace.(name of your part).transparency = 0
wait (0.3)
script.parent.workspace.(name of your part). transparency = 1
wait (0.3)
script.parent.workspace.(name of your part).transparency = 0
end

Make sure you don't have multiple names of whatever your part is named or else this script won't work. Before you start ANY script you need to put, "function" and when you want to end the script you put, "end".
Now, youtube is a place you can get better help from. Ima show you a harder script.
This script will kill you.
Script:
function
kill.player(ontouch)--This kills your player
end

I know that script doesn't seem hard, but it is for begginners. This is the first post.
I will make more advanced ones!
Report Abuse
megaguy44 is not online. megaguy44
Joined: 28 Sep 2008
Total Posts: 1066
28 Dec 2012 08:53 PM
wow


print('Hello World!')
Report Abuse
Azarth is not online. Azarth
Joined: 17 Aug 2012
Total Posts: 2760
28 Dec 2012 08:54 PM
I hope to god you're trolling.
Report Abuse
Jonah13249 is not online. Jonah13249
Joined: 09 Oct 2009
Total Posts: 2105
28 Dec 2012 08:56 PM
Failz Scripts...

3RM3RG3RD 1T2 4 H4RD SCR1PT!!

~ṡсɾïρτïṉģ hεlρεɾṡ ۩ lυαlεαɾṉεɾṡ ④ øƒвќṃṿј~ ღ ▂▃▅▆█ρεώḋïερïε☄сυτïερïε█▆▅▃▂ღ 【▬】
Report Abuse
megaguy44 is not online. megaguy44
Joined: 28 Sep 2008
Total Posts: 1066
28 Dec 2012 08:56 PM
"I hope to god you're trolling."
Truer words could have never been said.


print('Hello World!')
Report Abuse
MeBilly8440 is not online. MeBilly8440
Joined: 27 Jul 2009
Total Posts: 2783
28 Dec 2012 08:57 PM
I'm sorry, but you got this script wrong. Capitals are everything when it comes to scripting. And you do not, in fact, need "function" and "end". You also put an extra space in line 6 after the period.

To explain a bit more in-depth;
When writing a script, it is crucial that you use capitals when needed, it helps the system find the actual parts. If you do not, you will get an error. In your above script, you wrote "script.Parent". But that will not work, it will need to be "script.Parent". This is because Parent starts with an uppercase, not a lowercase.
You also do not need "function" at the beginning of your scripts. The "function" keyword is mostly used to store blocks of code for later, or for passing variables. If you do not use "function", your script will still work.
Report Abuse
Jonah13249 is not online. Jonah13249
Joined: 09 Oct 2009
Total Posts: 2105
28 Dec 2012 08:57 PM
@op might as well just put crash__() in the command bar or while true do end

~ṡсɾïρτïṉģ hεlρεɾṡ ۩ lυαlεαɾṉεɾṡ ④ øƒвќṃṿј~ ღ ▂▃▅▆█ρεώḋïερïε☄сυτïερïε█▆▅▃▂ღ 【▬】
Report Abuse
MeBilly8440 is not online. MeBilly8440
Joined: 27 Jul 2009
Total Posts: 2783
28 Dec 2012 08:59 PM
@Jonah13249

To be quite honest, I don't know if he would even be able to manage that. He'd probably end up writing something like "white false do end"
Report Abuse
Jonah13249 is not online. Jonah13249
Joined: 09 Oct 2009
Total Posts: 2105
28 Dec 2012 09:03 PM
"And you do not, in fact, need "function" and "end"."

You may not need function, but absolutely, you will need an end if you are using any kind of statement.

"script, you wrote "script.Parent". But that will not work, it will need to be "script.Parent"."

He wrote "script.parent", not "script.Parent". :P

"If you do not use "function", your script will still work."

Not unless the script needs a function... Haha... o.o



~ṡсɾïρτïṉģ hεlρεɾṡ ۩ lυαlεαɾṉεɾṡ ④ øƒвќṃṿј~ ღ ▂▃▅▆█ρεώḋïερïε☄сυτïερïε█▆▅▃▂ღ 【▬】
Report Abuse
GhostSailor is not online. GhostSailor
Joined: 02 Jul 2010
Total Posts: 1913
28 Dec 2012 09:04 PM
That script won't work. Kthx.

-~Obly of C&G~-
Report Abuse
MeBilly8440 is not online. MeBilly8440
Joined: 27 Jul 2009
Total Posts: 2783
28 Dec 2012 09:04 PM
@Jonah13249

The awkward moment when you're thinking about a bunch of things, and you forget to proof read
._.
Report Abuse
Jonah13249 is not online. Jonah13249
Joined: 09 Oct 2009
Total Posts: 2105
28 Dec 2012 09:07 PM
@Billy ^.^ Lol, just wanted you to check your post. xD

~ṡсɾïρτïṉģ hεlρεɾṡ ۩ lυαlεαɾṉεɾṡ ④ øƒвќṃṿј~ ღ ▂▃▅▆█ρεώḋïερïε☄сυτïερïε█▆▅▃▂ღ 【▬】
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