of     1   

sncplay42
#10839444Thursday, July 09, 2009 5:01 PM GMT

They think it's just a pointless duplicate of .className. It isn't. It takes inheritance into account. Instance.new("Seat").className == "Part" --> false, "Seat" ~= "Part" Instance.new("Seat"):IsA("Part") --> true, Seat has all the members of Part. So, which is shorter? obj:IsA("Part") or obj.className == "Part" or obj.className == "Seat" or obj.className == "VehicleSeat" --and any others I missed ?
Bonecuss
#10840115Thursday, July 09, 2009 5:14 PM GMT

Can't see where i'd use this...
1waffle1
#10843208Thursday, July 09, 2009 6:06 PM GMT

A Truss has different properties than a Part. Would it still work?
zac352
#10843930Thursday, July 09, 2009 6:17 PM GMT

[ Content Deleted ]
Whoaman555
#10845210Thursday, July 09, 2009 6:39 PM GMT

But I Wike Making Wong Scwipts =3
BlueTaslem
#10845807Thursday, July 09, 2009 6:47 PM GMT

I noticed that there are some members of SpawnLocation, and Seat, that say they are members of 'Part'... :IsA("Instance") would return true for everything, wouldn't it?
sncplay42
#10848123Thursday, July 09, 2009 7:26 PM GMT

@1waffle1: yes, because a truss has all the properies of part, the fact that it has others as well is irrelevant. @BlueTaslem: probably.
JKM103
#10851464Thursday, July 09, 2009 8:24 PM GMT

[ Content Deleted ]
Meelo
#10852213Thursday, July 09, 2009 8:39 PM GMT

[object]:IsA("Instance") true
Anaminus
Top 100 Poster
#10852498Thursday, July 09, 2009 8:44 PM GMT

":IsA("Instance")" "Is a Instance." "a Instance" *requests IsAn function*
sroge445
#10852533Thursday, July 09, 2009 8:45 PM GMT

@Anaminus LOLGRAMMERPWNT And yes, I'm back. No bother gloating...
chhhTV
#10853083Thursday, July 09, 2009 8:55 PM GMT

what about workspace? you cant use Instance.new on it (says not part of XML) and you have to call it with GlobalService or somthing like that..
sncplay42
#10853221Thursday, July 09, 2009 8:57 PM GMT

print(game.Workspace:IsA("Instance")) --> true
chhhTV
#10853826Thursday, July 09, 2009 9:07 PM GMT

wait...so why cant we do Instance.new("Workspace")?
blobbyblob
#10853886Thursday, July 09, 2009 9:08 PM GMT

Roblox safety measure, maybe?
sncplay42
#10853993Thursday, July 09, 2009 9:10 PM GMT

Uhh... because creating a new Workspace is crazy? And Instance.new isn't actually a member of Instance, it's a member of a table of the same name...
1waffle1
#10854423Thursday, July 09, 2009 9:18 PM GMT

Ok, I get it.... Sortof. So Part:IsA("Truss") wouldn't work, because a Part dosen't have all the properties of a Truss? Um, is Instance a property?
sncplay42
#10854517Thursday, July 09, 2009 9:20 PM GMT

Yup, a Truss is a Part, but not all Parts are Trusses.
chhhTV
#10854519Thursday, July 09, 2009 9:20 PM GMT

a new workspace isint crazy its fun*spazes* fun...fun...fun...fun...fun... ok...maby it is crazy.... XD
fuggles
#10855661Thursday, July 09, 2009 9:40 PM GMT

However... Last time I checked you can clone the Workspace...
fuggles
#10855788Thursday, July 09, 2009 9:42 PM GMT

Oops, nevermind... Just checked, you can't now. :/

    of     1