Composure
|
  |
| Joined: 05 Mar 2011 |
| Total Posts: 28 |
|
|
| 15 Jul 2011 01:38 PM |
For example, I started learning more about Global tables. And I've attempted a couple of times to create a function... for example
_G.Random = function(pie) a:Remove() end a = Instance.new("Message, Workspace) a.Text = "test" wait(3) pie()
Yet it doesn't work, so can someone please explain why?
Also, in this scripting fourm it clearly saids in the Pinned fourm thingy. That this fourm is for advanced scripting context. He even gave a example :D
|
|
|
| Report Abuse |
|
|
xSIXx
|
  |
| Joined: 06 Aug 2010 |
| Total Posts: 9202 |
|
| |
|
|
| 15 Jul 2011 01:39 PM |
| http://www.roblox.com/--item?id=56299133 |
|
|
| Report Abuse |
|
|
| |
|
Composure
|
  |
| Joined: 05 Mar 2011 |
| Total Posts: 28 |
|
|
| 15 Jul 2011 01:41 PM |
Nickmaster24
Read the pinned topic in this fourm. It is allowed |
|
|
| Report Abuse |
|
|
|
| 15 Jul 2011 01:42 PM |
| Um, no it isn't. Your asking for help :/ |
|
|
| Report Abuse |
|
|
|
| 15 Jul 2011 01:43 PM |
Don't come in here asking for a script. Nobody will make it and everyone will yell at you. Seriously, this isn't the forum for asking how to script or asking for someone to make it for you.
This forum is for discussion of advanced scripting concepts. If you want to ask questions like "How do I work with metatables?" then that is fine.
DO NOT ASK FOR PEOPLE TO DO THE WORK FOR YOU. |
|
|
| Report Abuse |
|
|
|
| 15 Jul 2011 01:44 PM |
"discussion of advanced scripting concepts"
This isn't that advanced...
_G.[Name] = --Stuff |
|
|
| Report Abuse |
|
|
Composure
|
  |
| Joined: 05 Mar 2011 |
| Total Posts: 28 |
|
|
| 15 Jul 2011 01:44 PM |
So is the example he has given.
"This fourm is not for requests, we will not make a script for you"
Theres nothing in the thread that states "You cannot help a player who posts a script that is broken"
His eample "How would I use metatables" |
|
|
| Report Abuse |
|
|
burgly
|
  |
 |
| Joined: 20 Aug 2006 |
| Total Posts: 2843 |
|
|
| 15 Jul 2011 01:44 PM |
| Do you want to learn metatables? |
|
|
| Report Abuse |
|
|
|
| 15 Jul 2011 01:44 PM |
Well, I guess I'll fix it...
_G.pie = function() a:Remove() end
a = Instance.new("Message, Workspace) a.Text = "test" wait(3) pie() |
|
|
| Report Abuse |
|
|
Composure
|
  |
| Joined: 05 Mar 2011 |
| Total Posts: 28 |
|
|
| 15 Jul 2011 01:45 PM |
@nickmaster
That has nothing to do with the script, you failed sir. |
|
|
| Report Abuse |
|
|
Composure
|
  |
| Joined: 05 Mar 2011 |
| Total Posts: 28 |
|
|
| 15 Jul 2011 01:46 PM |
@nick
btw that script doesn't work. |
|
|
| Report Abuse |
|
|
|
| 15 Jul 2011 01:46 PM |
@Composure
I failed? You just got your head shoved up your [donkey].
GO AWAY NOW!!!!
|
|
|
| Report Abuse |
|
|
1waffle1
|
  |
| Joined: 16 Oct 2007 |
| Total Posts: 16381 |
|
|
| 15 Jul 2011 01:46 PM |
| You failed first for posting here when you obviously don't belong here. |
|
|
| Report Abuse |
|
|
Composure
|
  |
| Joined: 05 Mar 2011 |
| Total Posts: 28 |
|
|
| 15 Jul 2011 01:47 PM |
@Nickmaster
Test the script for yourself. It fails :D |
|
|
| Report Abuse |
|
|
Composure
|
  |
| Joined: 05 Mar 2011 |
| Total Posts: 28 |
|
|
| 15 Jul 2011 01:49 PM |
@1waffle1
I don't belong here huh? Nickmaster just failed to fix my script.
It sure is easy! |
|
|
| Report Abuse |
|
|
|
| 15 Jul 2011 01:49 PM |
@Compsure
And that's what I get for assuming you know how to script basics. I didn't mess with the non-global stuff assuming you weren't a complete noob...
BESIDES, YOU SHOULDN'T EVEN BE HERE!! GO TO S&H!!!!! |
|
|
| Report Abuse |
|
|
|
| 15 Jul 2011 01:57 PM |
@Compsure
Just get your @$$ out... |
|
|
| Report Abuse |
|
|
LocalChum
|
  |
| Joined: 04 Mar 2011 |
| Total Posts: 6906 |
|
|
| 15 Jul 2011 01:59 PM |
_G.Yum = function() py:Remove() end py = Instance.new("Telamon") Yum()
??? |
|
|
| Report Abuse |
|
|
|
| 15 Jul 2011 02:01 PM |
| ^See, not advanced topic... |
|
|
| Report Abuse |
|
|
Oysi
|
  |
| Joined: 06 Jul 2009 |
| Total Posts: 9058 |
|
| |
|
|
| 15 Jul 2011 02:22 PM |
^
Disappointment, ain't' that a [Female Dog]. |
|
|
| Report Abuse |
|
|
Composure
|
  |
| Joined: 05 Mar 2011 |
| Total Posts: 28 |
|
|
| 15 Jul 2011 04:03 PM |
nickmaster
"not a advanced topic"
BUT that scripts fails at well. :)
You say it's not advanced but you fail to fix the script.
It's saying that the global function is nil
attempt to call global 'Yum' (a nil value) |
|
|
| Report Abuse |
|
|
|
| 15 Jul 2011 04:10 PM |
@Composure
It's fairly simple, you just forgot the name the _G. in the execution.
_G.Random = function() a:Remove() end a = Instance.new("Message", Workspace) a.Text = "test" wait(3) _G.Random() |
|
|
| Report Abuse |
|
|