22436106
|
  |
| Joined: 19 Dec 2011 |
| Total Posts: 90 |
|
|
| 11 Feb 2012 01:28 AM |
elem = "Remove" Part[elem]()
Expected ":" not "."
how can i make it do : ?
without using loadstring... |
|
|
| Report Abuse |
|
|
22436106
|
  |
| Joined: 19 Dec 2011 |
| Total Posts: 90 |
|
|
| 11 Feb 2012 01:36 AM |
bump
ob["string"] = ob.string
i wanted it to do ob:string |
|
|
| Report Abuse |
|
|
| |
|
22436106
|
  |
| Joined: 19 Dec 2011 |
| Total Posts: 90 |
|
|
| 11 Feb 2012 01:46 AM |
@dragon name expected near [ |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2012 02:23 AM |
hmm...
I know that this is possible
x=print x("dog") print("cat")
>dog >cat
-------
and this is possible:
function Vector2.new(one, two) V2P = { X, Y } V2P.X = one V2P.Y = two function V2P.SetToZero() V2P.X = 0 V2P.Y = 0 end end
a = Vector2:new(2, 3) print(a.X) --> 2 print(a.Y) --> 3
a.SetToZero()
print(a.X) --> 0 print(a.Y) --> 0
-- but I am really not sure about this ..
you could also do
function x(part) part:remove() end
x(workspace.Part) |
|
|
| Report Abuse |
|
|
oxcool1
|
  |
| Joined: 05 Nov 2009 |
| Total Posts: 15444 |
|
| |
|
|
| 11 Feb 2012 06:59 AM |
| whats wrong with loadstring??? |
|
|
| Report Abuse |
|
|