Raidorz
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 5221 |
|
|
| 04 Nov 2014 10:04 AM |
I just started scripting and started out with learning about instances and inserting them into bricks. That's kind of easy and repeating the same.
Can you guys give me some exercises? |
|
|
| Report Abuse |
|
|
Fedorakid
|
  |
| Joined: 17 Jul 2010 |
| Total Posts: 7079 |
|
|
| 04 Nov 2014 10:10 AM |
theres no such thing as instance exercise, you just have one line to remember
-_- |
|
|
| Report Abuse |
|
|
Raidorz
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 5221 |
|
|
| 04 Nov 2014 10:10 AM |
| Oh lol, really? Alright, thanks. |
|
|
| Report Abuse |
|
|
|
| 04 Nov 2014 10:12 AM |
Make a new Instance constructor that allows you to give it a table containing the properties of the instance you are creating.
It must work both of these ways: Instance.new("Part", workspace, {Transparency = 0.5, Anchored = true, CanCollide = false} and Instance.new("Part", {Transparency = 0.5, Anchored = true, CanCollide = false})
If you need help, I can give you a tip.
|
|
|
| Report Abuse |
|
|
RoflBread
|
  |
| Joined: 18 Jun 2009 |
| Total Posts: 3803 |
|
|
| 04 Nov 2014 10:12 AM |
| Make instances where the player clicks |
|
|
| Report Abuse |
|
|
Raidorz
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 5221 |
|
|
| 04 Nov 2014 10:20 AM |
Instance.new({Anchored = false, Transparency = 1, CanCollide = false}, Workspace.BasePlate)
This is what I did, it said
String expected
I think I need to tag something or am I wrong? |
|
|
| Report Abuse |
|
|
|
| 04 Nov 2014 10:24 AM |
No, I mean you make a new constructor.
Instance2 = {} Instance2.new = function(Arg1, Arg2, Arg3) --Add stuff here to make it work end |
|
|
| Report Abuse |
|
|
Raidorz
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 5221 |
|
|
| 04 Nov 2014 10:29 AM |
Lol all I know is Instance.new("Fire", script.Parent) or with smoke or sparkles and more objects
Then I get all happy and think that I'm a master scripter lol anyways aside from me dreaming about being a master scripter
I don't think I can use functions, I just started out. |
|
|
| Report Abuse |
|
|