|
| 05 Sep 2012 07:57 PM |
I figured since someone ended up helping me learn something new when I just asked, "What should I learn next?" a few days ago, I assumed I may encounter someone to help me again. This is my longest script (it's simple, I know):
local a = Instance.new("Part", game.Workspace) a.Name = "Failwhale" a.BrickColor = BrickColor.new("Bright bluish green") a.Postion = Vector3.new(0, 1, 0) a.Anchored = true
That is all. So, I was wondering what I should do next.
A minimum of 15 seconds has passed since my last post. |
|
|
| Report Abuse |
|
|
crusada91
|
  |
| Joined: 04 Sep 2010 |
| Total Posts: 684 |
|
|
| 05 Sep 2012 07:58 PM |
do you know the events?
like function onTouched?? |
|
|
| Report Abuse |
|
|
|
| 05 Sep 2012 07:59 PM |
I know ABOUT them, although they're sorta hard to learn, because that's a bit of a lunge more than a step considering all the things I've learned before it. I know what they do and stuff, I just can't script them correctly. I'd need someone to help me with that.
A minimum of 15 seconds has passed since my last post. |
|
|
| Report Abuse |
|
|
crusada91
|
  |
| Joined: 04 Sep 2010 |
| Total Posts: 684 |
|
|
| 05 Sep 2012 08:00 PM |
so do you know about
local part = Instance.new("Part", Workspace) part.Size = Vector3.new(100, 100, 100)
|
|
|
| Report Abuse |
|
|
|
| 05 Sep 2012 08:01 PM |
Well, I didn't know how to edit size until now.
A minimum of 15 seconds has passed since my last post. |
|
|
| Report Abuse |
|
|
crusada91
|
  |
| Joined: 04 Sep 2010 |
| Total Posts: 684 |
|
|
| 05 Sep 2012 08:02 PM |
function [FunctionName]([Arguments]) [Body] end
script.Parent.[Event]:connect([FunctionName])
EX)
function Hi(Number) --Function And Number print("Hello " .. Number) --Prints In The Output Toolbar end
script.parent.Touched:connect(Hi(123)) -- Runs Hi With Number As 123 |
|
|
| Report Abuse |
|
|
crusada91
|
  |
| Joined: 04 Sep 2010 |
| Total Posts: 684 |
|
|
| 05 Sep 2012 08:03 PM |
part.Size = Vector3.new(100, 100, 100)
part Is the varialbe u put Size is the size Vector3 is the way u edit it (You can also use CFrame or UDim2 In GUI's) Vector3.new(x, y, z) |
|
|
| Report Abuse |
|
|
Luc599345
|
  |
| Joined: 25 Jul 2008 |
| Total Posts: 1169 |
|
|
| 05 Sep 2012 08:28 PM |
@crusada
>script.parent.Touched:connect(Hi(123)) -- Runs Hi With Number As 123`
nope.avi |
|
|
| Report Abuse |
|
|
Osyris
|
  |
| Joined: 27 Oct 2007 |
| Total Posts: 4321 |
|
| |
|
crusada91
|
  |
| Joined: 04 Sep 2010 |
| Total Posts: 684 |
|
|
| 05 Sep 2012 08:37 PM |
my bad, fix
function [FunctionName]([Arguments]) [Body] end
script.Parent.[Event]:connect([FunctionName])
EX)
function Hi(Number) --Function And Number print("Hello " .. Number) --Prints In The Output Toolbar end
script.parent.Touched:connect(function() Hi(123) end) -- Runs Hi With Number As 123 |
|
|
| Report Abuse |
|
|
|
| 05 Sep 2012 08:41 PM |
Learn functions. No, not what was posted above. LEARN functions. What is a function? How does it work? What is a stack?
Functions make life (programming life, that is) easier. |
|
|
| Report Abuse |
|
|
|
| 05 Sep 2012 08:42 PM |
| Oh, and if you EVER have any questions, whether it be about broken code or what to learn next, just send me a PM. I'll respond in (hopefully) a decent time. |
|
|
| Report Abuse |
|
|
crusada91
|
  |
| Joined: 04 Sep 2010 |
| Total Posts: 684 |
|
|
| 05 Sep 2012 08:43 PM |
| Lol i dont like firefox anymore, it uses too much ram, ie sucks, and chrome crashes alot, OPERA FOR THE WIN |
|
|
| Report Abuse |
|
|
|
| 05 Sep 2012 08:45 PM |
Chrome works just fine for me, and it's TONS faster than firefox / ie. Ie is just naturally garbage, though, so it doesn't belong in any list of internet browsers. :3
Yes, I'm hating on Microsoft. Get over it. |
|
|
| Report Abuse |
|
|
crusada91
|
  |
| Joined: 04 Sep 2010 |
| Total Posts: 684 |
|
|
| 05 Sep 2012 08:46 PM |
lol @least we agree on how bad ie is but have u ever tried opera (dont download if u just wanna test it , will waster space and cause registry messe ups cuz when u uninstall, mostly the registry entries wont go away) |
|
|
| Report Abuse |
|
|
|
| 05 Sep 2012 08:48 PM |
| Never used Opera. I've used Safari, and I hated it. I dunno how similar the two are. |
|
|
| Report Abuse |
|
|
|
| 05 Sep 2012 09:07 PM |
Chrome rarely crashes for me, and I don't like Opera's interface. Honestly, even if Chrome were the slowest and least secure internet browser ever, I would still use it because it's made by Google. 'Nuff said.
http://wiki.roblox.com/index.php/User:ElectricBlaze |
|
|
| Report Abuse |
|
|
crusada91
|
  |
| Joined: 04 Sep 2010 |
| Total Posts: 684 |
|
|
| 05 Sep 2012 09:14 PM |
Google Rocks, Chrome Is Ehh-Ehh. You can get plugins for Opera. And safari sucks, it's like internet explorer for Mac, on PC. |
|
|
| Report Abuse |
|
|
mamaguy
|
  |
| Joined: 07 Oct 2010 |
| Total Posts: 7073 |
|
|
| 05 Sep 2012 09:20 PM |
You can run javascript in chrome/look at pages HTML easier I currently use firefox, only use Chrome when needed, like when someone sent me a message with an invisible character, all I did was Right Click >> Translate to English pretty kewl :o |
|
|
| Report Abuse |
|
|
crusada91
|
  |
| Joined: 04 Sep 2010 |
| Total Posts: 684 |
|
|
| 05 Sep 2012 09:22 PM |
| Or you can select all (CTRL + A) and then transfer to notepad. |
|
|
| Report Abuse |
|
|
mamaguy
|
  |
| Joined: 07 Oct 2010 |
| Total Posts: 7073 |
|
|
| 05 Sep 2012 09:23 PM |
? It was a message title, and my friend said I needed to go into the HTML file and edit it with Chrome but den: Right click >> Transfer to english SOLVED! |
|
|
| Report Abuse |
|
|
crusada91
|
  |
| Joined: 04 Sep 2010 |
| Total Posts: 684 |
|
|
| 05 Sep 2012 09:24 PM |
| Lol, I'm sure they have an add-on in Opera for that. |
|
|
| Report Abuse |
|
|
|
| 06 Sep 2012 09:42 PM |
"Opera has plug-ins'
So? Chrome has extensions. |
|
|
| Report Abuse |
|
|
|
| 06 Sep 2012 09:45 PM |
Here's the programs I use
Good PC(Windows 7) - Google Chrome/Opera Sublime Text 2 Other PC(Windows XP) - Mozilla Firefox Sublime Text 2/Notepad ++ Crappies PC(Windows XP) - Google Chrome Notepad |
|
|
| Report Abuse |
|
|