sckum555
|
  |
| Joined: 20 Aug 2008 |
| Total Posts: 6576 |
|
|
| 05 Aug 2011 07:50 PM |
| Everybody here says I'm stupid and I have no idea how to script and I'm some spoiled little kid and stuff. Even though all of those are not true, everyone likes to believe that so how can I prove I can actually script? >.> |
|
|
| Report Abuse |
|
|
|
| 05 Aug 2011 07:51 PM |
Tell us what this does:
print'derp'
~Derp~ |
|
|
| Report Abuse |
|
|
sckum555
|
  |
| Joined: 20 Aug 2008 |
| Total Posts: 6576 |
|
|
| 05 Aug 2011 07:52 PM |
Nothing. But I've recently seen syntax like that that I've never seen before and I just stick to the old way. So to me you should do:
print("derp")
>derp |
|
|
| Report Abuse |
|
|
sncplay42
|
  |
| Joined: 27 Nov 2008 |
| Total Posts: 11891 |
|
| |
|
sckum555
|
  |
| Joined: 20 Aug 2008 |
| Total Posts: 6576 |
|
|
| 05 Aug 2011 07:54 PM |
| Read the rest. I'm not sure about syntax because I'm used to the old ways. Jeez. |
|
|
| Report Abuse |
|
|
myrco1001
|
  |
| Joined: 17 Sep 2010 |
| Total Posts: 2574 |
|
| |
|
sckum555
|
  |
| Joined: 20 Aug 2008 |
| Total Posts: 6576 |
|
|
| 05 Aug 2011 07:54 PM |
For example I know you can use
Workspace.Part:Remove()
but I still use
game.Workspace.Part:Remove() |
|
|
| Report Abuse |
|
|
sncplay42
|
  |
| Joined: 27 Nov 2008 |
| Total Posts: 11891 |
|
|
| 05 Aug 2011 07:54 PM |
That doesn't mean that what you said wasn't wrong.
And for the record, it's not new. |
|
|
| Report Abuse |
|
|
sncplay42
|
  |
| Joined: 27 Nov 2008 |
| Total Posts: 11891 |
|
|
| 05 Aug 2011 07:55 PM |
[[Workspace.Part:Remove()
but I still use
game.Workspace.Part:Remove()]]
Again, not new. |
|
|
| Report Abuse |
|
|
| |
|
myrco1001
|
  |
| Joined: 17 Sep 2010 |
| Total Posts: 2574 |
|
| |
|
sckum555
|
  |
| Joined: 20 Aug 2008 |
| Total Posts: 6576 |
|
|
| 05 Aug 2011 07:55 PM |
| Ok well I'm just not used to that thats why I said that because I was pretty sure it would work but I didn't want to look like an idiot which I ended up doing anyways. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 05 Aug 2011 08:00 PM |
The Derp god forgives your late roast.
~Derp~ |
|
|
| Report Abuse |
|
|
sckum555
|
  |
| Joined: 20 Aug 2008 |
| Total Posts: 6576 |
|
|
| 05 Aug 2011 08:00 PM |
| Ok give me something else. I won't make a stupid mistake again. |
|
|
| Report Abuse |
|
|
|
| 05 Aug 2011 08:01 PM |
I use game.Workspace["Part"]:Remove()
~~ Proud CAF member. ~~ |
|
|
| Report Abuse |
|
|
sckum555
|
  |
| Joined: 20 Aug 2008 |
| Total Posts: 6576 |
|
|
| 05 Aug 2011 08:03 PM |
p = icanscriptbrick
game.Workspace[p].Transparency = 1
I'm too good for everyone. |
|
|
| Report Abuse |
|
|
sncplay42
|
  |
| Joined: 27 Nov 2008 |
| Total Posts: 11891 |
|
|
| 05 Aug 2011 08:03 PM |
Here's a hint:
If you go around saying "LOOK AT ME I CAN SCRIPT COME AND ASK ME STUFF", we'll automatically assume you can't.
The best way to be accepted here is to just participate in conversations normally and show your knowledge when it's relevant to the topic. |
|
|
| Report Abuse |
|
|
|
| 05 Aug 2011 08:04 PM |
game.Players.sckum555:Remove()
~Derp~ |
|
|
| Report Abuse |
|
|
|
| 05 Aug 2011 08:04 PM |
@Sckum
p = instance.new("Part", game.Workspace) p.Name = "icanscriptbrick"
game.Workspace[p].Transparency = 1
-- Fixed.
~~ Proud CAF member. ~~ |
|
|
| Report Abuse |
|
|
Spectrumw
|
  |
| Joined: 04 Aug 2009 |
| Total Posts: 13510 |
|
|
| 05 Aug 2011 08:05 PM |
@dap No. That won't work at all. |
|
|
| Report Abuse |
|
|
|
| 05 Aug 2011 08:07 PM |
local brick = Instance.new('Part',workspace) print(brick,Parent)
That's why it wont work dap.
~Derp~ |
|
|
| Report Abuse |
|
|
myrco1001
|
  |
| Joined: 17 Sep 2010 |
| Total Posts: 2574 |
|
|
| 05 Aug 2011 08:08 PM |
'p = icanscriptbrick game.Workspace[p].Transparency = 1
>p = "icanscriptbrick" workspace[p].Transparency = 1 |
|
|
| Report Abuse |
|
|
|
| 05 Aug 2011 08:09 PM |
Tell me what each part of this does:
local function Create(Name) return function(Properties) local P = Instance.new("Name") for i, v in pairs(Properties) do P[i] = v end end end
local Part = Create"Part"{Name = "NewPart", Anchored = true, Size = Vector3.new(1,1,1), Position = Vector3.new(5, 10, 15)}
I know it's somewhat obvious, but as long as you can tell why it works and what it does then you have a somewhat decent understanding of scripting at the least. |
|
|
| Report Abuse |
|
|