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
 

[ Content Deleted ]

Previous Thread :: Next Thread 
oxcool1 is not online. oxcool1
Joined: 05 Nov 2009
Total Posts: 15444
17 Feb 2012 06:01 AM
[ Content Deleted ]
Report Abuse
oxcool1 is not online. oxcool1
Joined: 05 Nov 2009
Total Posts: 15444
17 Feb 2012 06:11 AM
[ Content Deleted ]
Report Abuse
oxcool1 is not online. oxcool1
Joined: 05 Nov 2009
Total Posts: 15444
17 Feb 2012 06:29 AM
[ Content Deleted ]
Report Abuse
TheCoolDog is not online. TheCoolDog
Joined: 22 Oct 2009
Total Posts: 811
17 Feb 2012 06:33 AM
I arn't this adavanced :O what does getmeatable do?
Report Abuse
oxcool1 is not online. oxcool1
Joined: 05 Nov 2009
Total Posts: 15444
17 Feb 2012 06:34 AM
[ Content Deleted ]
Report Abuse
oxcool1 is not online. oxcool1
Joined: 05 Nov 2009
Total Posts: 15444
17 Feb 2012 09:18 PM
[ Content Deleted ]
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
17 Feb 2012 09:22 PM
Instance.new = function() return {Name = "Part", Anchored = false, Size = Vector3.new(), CFrame = CFrame.new()} end
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
17 Feb 2012 09:23 PM
Oops, I forgot about the part at the top.
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
17 Feb 2012 09:30 PM
Are you sure this is possible? The only thing we can use are keywords and getfenv.
Report Abuse
xFortunato is not online. xFortunato
Joined: 25 Nov 2010
Total Posts: 865
17 Feb 2012 09:32 PM

setfenv(1,{getfenv = getfenv})

--- Your work v
workspace = game.Workspace
--- Your work ^


local part = Instance.new("Part",workspace)
part.Name = "cPart"
part.Anchored = true
part.Size = Vector3.new(5,5,5)
part.CFrame = CFrame.new(5,5,5)

print(getmetatable(part))
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
17 Feb 2012 09:36 PM
@Fortunato

Game is gone too, though...
Report Abuse
xFortunato is not online. xFortunato
Joined: 25 Nov 2010
Total Posts: 865
17 Feb 2012 09:38 PM
Could you explain what the first line of code does, please?
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
17 Feb 2012 09:39 PM
It basically makes the only function or variable you can use getfenv.
Report Abuse
oxcool1 is not online. oxcool1
Joined: 05 Nov 2009
Total Posts: 15444
17 Feb 2012 09:41 PM
[ Content Deleted ]
Report Abuse
smurf279 is not online. smurf279
Joined: 15 Mar 2010
Total Posts: 6871
17 Feb 2012 09:48 PM
Are we restricted to one line?
Report Abuse
oxcool1 is not online. oxcool1
Joined: 05 Nov 2009
Total Posts: 15444
17 Feb 2012 09:53 PM
[ Content Deleted ]
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
17 Feb 2012 09:58 PM
setfenv(1,{getfenv = getfenv})
--- Your work v
getfenv().Vector3 = {new = function() return {X = 0, Y = 0, Z = 0} end}
getfenv().CFrame = {new = function() return {} end}
getfenv().Instance = {new = function() return {Name="",Anchored=false,Size=Vector3.new(),CFrame=CFrame.new()} end}
--- Your work ^
local part = Instance.new("Part",workspace)
part.Name = "cPart"
part.Anchored = true
part.Size = Vector3.new(5,5,5)
part.CFrame = CFrame.new(5,5,5)
print(getmetatable(part))

This is as far as I've gotten, but I can't rewrite getmetatable.
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
17 Feb 2012 09:59 PM
Wait, we're restricted to ONE LINE?
Report Abuse
smurf279 is not online. smurf279
Joined: 15 Mar 2010
Total Posts: 6871
17 Feb 2012 09:59 PM
I did something similar to kings lol
Report Abuse
oxcool1 is not online. oxcool1
Joined: 05 Nov 2009
Total Posts: 15444
17 Feb 2012 10:05 PM
[ Content Deleted ]
Report Abuse
xFortunato is not online. xFortunato
Joined: 25 Nov 2010
Total Posts: 865
17 Feb 2012 10:09 PM
setfenv(1,{getfenv = getfenv})

--- Your work v
Instance.new = function() return {Name = "Part", Anchored = false, Size = Vector3.new(), CFrame = CFrame.new()} end print(getmetatable(part)) --[[ lol does this count?
--- Your work ^


local part = Instance.new("Part",workspace)
part.Name = "cPart"
part.Anchored = true
part.Size = Vector3.new(5,5,5)
part.CFrame = CFrame.new(5,5,5)

print(getmetatable(part))
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
17 Feb 2012 10:10 PM
This is impossible to do in one line. Please PM me your solution to prove me wrong.
Report Abuse
oxcool1 is not online. oxcool1
Joined: 05 Nov 2009
Total Posts: 15444
17 Feb 2012 10:12 PM
[ Content Deleted ]
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
17 Feb 2012 10:13 PM
Please PM me.
Report Abuse
oxcool1 is not online. oxcool1
Joined: 05 Nov 2009
Total Posts: 15444
17 Feb 2012 10:15 PM
[ Content Deleted ]
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