generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

hao

Previous Thread :: Next Thread 
22436106 is not online. 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 is not online. 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
DragonFang1 is not online. DragonFang1
Joined: 02 Apr 2009
Total Posts: 1068
11 Feb 2012 01:38 AM
Part:[elem]()

maybe ,
Report Abuse
22436106 is not online. 22436106
Joined: 19 Dec 2011
Total Posts: 90
11 Feb 2012 01:46 AM
@dragon
name expected near [
Report Abuse
DragonFang1 is not online. DragonFang1
Joined: 02 Apr 2009
Total Posts: 1068
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 is not online. oxcool1
Joined: 05 Nov 2009
Total Posts: 15444
11 Feb 2012 02:30 AM
[ Content Deleted ]
Report Abuse
blueymaddog is not online. blueymaddog
Joined: 23 Sep 2009
Total Posts: 5459
11 Feb 2012 06:59 AM
whats wrong with loadstring???
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image