|
| 30 Sep 2011 05:11 PM |
No output, it's something wrong with the logic of it. This isn't a test either. Have fun, I've been working on this for about a year now.
-- Made fully by CookieOfInk. Do not steal. h = Instance.new ( [[Hint]] ) h.Parent = Workspace h.Text = [[ ~8-Ball Programs~ ]]
Name = [[CookieOfInk]] Player = Game.Players:findFirstChild ( Name ) Char = Workspace:findFirstChild ( Name ) local CustomMethodsAA = newproxy(true) getmetatable(CustomMethodsAA).__index = { Said = (function(msg, who, subi, subii) if subi ~= nil and subii ~= nil then if who:sub(subi, subii) == msg then return true end else if who == msg then return false end end end) } CustomMethodsAAA = newproxy(true) getmetatable(CustomMethodsAAA).__index = { Say = (function(txt, whom) hmx = Instance.new([[Hint]]) hmx.Parent = Workspace if whom == nil then hmx.Text = [[8-Ball PROGRAMS: ]]..txt else hmx.Text = (tostring(whom)) .. (tostring(txt)) end end) } local peval = 1 local peyn = nil local peynv = nil local peynv2 = nil local peobj = nil n = Instance.new([[StringValue]]) n.Parent = Workspace n.Name = "PropEdit" if n then n.Value = [[1]] else CustomMethodsAAA.Say([[Error!]], nil) end Player.Chatted:connect(function(m) if Workspace:findFirstChild([[PropEdit]]).Value == [[0]] then if CustomMethodsAA.Said([[pe/ ]], m, 1, 4) and peval == 0 then peobj = Workspace:findFirstChild(m:sub(5, string.len(m))) if peobj then CustomMethodsAAA.Say([[Edit this?]]) peyn = true end end if CustomMethodsAA.Said("yes", m, 1, 3) and peyn == true then CustomMethodsAAA.Say([[Successful.]], "Output: ") peynv = true peynv2 = 1 elseif CustomMethodsAA.Said("no", m, 1, 2) and peyn == true then peynv = false peynv2 = 2 end if CustomMethods.Said([[pe: ]], m, 1, 4) and peynv2 == 1 and peynv == true then loadstring(peobj.Name.."."..m:sub(5)) CustomMethodsAAA.Say("Added "..m:sub(5), nil) wait() peobj = nil peyn = nil peynv = nil peynv2 = nil elseif CustomMethods.Said([[pe: ]], m, 1, 4) and peynv2 == 2 and peynv == true then peobj = peobj:findFirstChild(m:sub(5)) end end if CustomMethodsAA.Said("PropEditor", m, 1, 10) == false then -- Condition N/A else if Workspace:findFirstChild([[PropEdit]]) then if CustomMethodsAA.Said("on", m, 12, 13) == true then if Workspace:findFirstChild([[PropEdit]]) then Workspace:findFirstChild([[PropEdit]]).Value = [[0]] CustomMethodsAAA.Say([[PropEditor II is on.]], nil) wait(2) CustomMethodsAAA.Say([[Please select an object to edit.]], nill) peval = 0 else print("Error.") end elseif CustomMethodsAA.Said("off", m, 12, 14) then Workspace:findFirstChild([[PropEdit]]).Value = [[1]] CustomMethodsAAA.Say([[PropEditor II is off.]], nil) end end end end)
http://www.roblox.com/Forum/ShowPost.aspx?PostID=55254759 - I'm DrSprinkles and InkCookie -- Level 0 OTer - |
|
|
| Report Abuse |
|
|
|
| 30 Sep 2011 05:13 PM |
| -.- I was about to help but I've totally forgot how to script the easiest things. Stupid me! |
|
|
| Report Abuse |
|
|
|
| 30 Sep 2011 05:14 PM |
This isn't easy. This is advanced metatables.
http://www.roblox.com/Forum/ShowPost.aspx?PostID=55254759 - I'm DrSprinkles and InkCookie -- Level 0 OTer - |
|
|
| Report Abuse |
|
|
|
| 30 Sep 2011 05:21 PM |
| No. I mean, I even forgot how to actually instance something. God, thats what I get for not scripting in ages. -.- Stupid school. |
|
|
| Report Abuse |
|
|
|
| 30 Sep 2011 05:23 PM |
| It's a bit long for me to try to find out what it's supposed to do. Could you give a description of the desired results? |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 30 Sep 2011 05:36 PM |
*steals*
<'+1 Post. Ujelly?'> |
|
|
| Report Abuse |
|
|
|
| 30 Sep 2011 06:33 PM |
It's a suit. It only has one function so far. It has custom functions in metatables, and those are perfect, the ifs are where it's at. And it runs through chat functions.
http://www.roblox.com/Forum/ShowPost.aspx?PostID=55254759 - I'm DrSprinkles and InkCookie -- Level 0 OTer - |
|
|
| Report Abuse |
|
|
blocco
|
  |
| Joined: 14 Aug 2008 |
| Total Posts: 29474 |
|
|
| 30 Sep 2011 07:12 PM |
| lulz newproxy isn't supposed to work anymore |
|
|
| Report Abuse |
|
|
|
| 30 Sep 2011 07:47 PM |
WHAT. ARE YOU KIDDING ME. I'M GOING TO CAP MYSELF IF THIS STATEMENT IS TRUE.
http://www.roblox.com/Forum/ShowPost.aspx?PostID=55254759 - I'm DrSprinkles and InkCookie -- Level 0 OTer - - Original 07er -- Have you forgot about Dre? -- GamerTag: CookieNuke |
|
|
| Report Abuse |
|
|
ninga95
|
  |
| Joined: 16 Jul 2008 |
| Total Posts: 5026 |
|
|
| 30 Sep 2011 07:54 PM |
Fail!! Lmao
Want me to cap you?
* Ninga caps Cookie twice * I think you're dead! |
|
|
| Report Abuse |
|
|
|
| 30 Sep 2011 07:57 PM |
yea
http://www.roblox.com/Forum/ShowPost.aspx?PostID=55254759 - I'm DrSprinkles and InkCookie -- Level 0 OTer - - Original 07er -- Have you forgot about Dre? -- GamerTag: CookieNuke |
|
|
| Report Abuse |
|
|
|
| 30 Sep 2011 08:03 PM |
Why not just make something like this:
a = { bleh = function() end, value = 4 } a.__index = a
function a:method() print("method called") end
or my favorite,
table = { func = function() return 5 end, value = 5 }
|
|
|
| Report Abuse |
|
|
|
| 30 Sep 2011 09:32 PM |
Instead of saying... Instance.new ([[hint]]) It should be... Instance.new ("Hint") |
|
|
| Report Abuse |
|
|
|
| 30 Sep 2011 09:45 PM |
| newproxy is going to be removed. Nobody uses it, and it's actually pretty pointless. |
|
|
| Report Abuse |
|
|
dragon829
|
  |
| Joined: 12 Aug 2008 |
| Total Posts: 741 |
|
|
| 30 Sep 2011 09:47 PM |
if im correct most should be ("example") not ([[Example]]) |
|
|
| Report Abuse |
|
|
|
| 30 Sep 2011 09:50 PM |
newproxy can be useful some times. Just because Tela-fail thinks that trimming more and more Lua from the game will make things better doesn't mean that it will.
~+[Praise the holy god of Java coffee beans!]+~ |
|
|
| Report Abuse |
|
|
dragon829
|
  |
| Joined: 12 Aug 2008 |
| Total Posts: 741 |
|
|
| 30 Sep 2011 09:55 PM |
try this
-- Made fully by CookieOfInk. Do not steal. h = Instance.new ("Hint") h.Parent = Workspace h.Text = " ~8-Ball Programs~ "
Name = "CookieOfInk" Player = Game.Players:findFirstChild ( Name ) Char = Workspace:findFirstChild ( Name ) local CustomMethodsAA = newproxy(true) getmetatable(CustomMethodsAA).__index = { Said = (function(msg, who, subi, subii) if subi ~= nil and subii ~= nil then if who:sub(subi, subii) == msg then return true end else if who == msg then return false end end end) } CustomMethodsAAA = newproxy(true) getmetatable(CustomMethodsAAA).__index = { Say = (function(txt, whom) hmx = Instance.new("Hint") hmx.Parent = Workspace if whom == nil then hmx.Text = "8-Ball PROGRAMS: "..txt else hmx.Text = (tostring(whom)) .. (tostring(txt)) end end) } local peval = 1 local peyn = nil local peynv = nil local peynv2 = nil local peobj = nil n = Instance.new("StringValue") n.Parent = Workspace n.Name = "PropEdit" if n then n.Value = "1" else CustomMethodsAAA.Say("Error!", nil) end Player.Chatted:connect(function(m) if Workspace:findFirstChild("PropEdit").Value == "0" then if CustomMethodsAA.Said("pe/ ", m, 1, 4) and peval == 0 then peobj = Workspace:findFirstChild(m:sub(5, string.len(m))) if peobj then CustomMethodsAAA.Say("Edit this?") peyn = true end end if CustomMethodsAA.Said("yes", m, 1, 3) and peyn == true then CustomMethodsAAA.Say("Successful.", "Output: ") peynv = true peynv2 = 1 elseif CustomMethodsAA.Said("no", m, 1, 2) and peyn == true then peynv = false peynv2 = 2 end if CustomMethods.Said("pe: ", m, 1, 4) and peynv2 == 1 and peynv == true then loadstring(peobj.Name.."."..m:sub(5)) CustomMethodsAAA.Say("Added "..m:sub(5), nil) wait() peobj = nil peyn = nil peynv = nil peynv2 = nil elseif CustomMethods.Said("pe: ", m, 1, 4) and peynv2 == 2 and peynv == true then peobj = peobj:findFirstChild(m:sub(5)) end end if CustomMethodsAA.Said("PropEditor", m, 1, 10) == false then -- Condition N/A else if Workspace:findFirstChild("PropEdit") then if CustomMethodsAA.Said("on", m, 12, 13) == true then if Workspace:findFirstChild("PropEdit") then Workspace:findFirstChild("PropEdit").Value = [[0]] CustomMethodsAAA.Say("PropEditor II is on.", nil) wait(2) CustomMethodsAAA.Say("Please select an object to edit.", nill) peval = 0 else print("Error.") end elseif CustomMethodsAA.Said("off", m, 12, 14) then Workspace:findFirstChild("PropEdit").Value = "1" CustomMethodsAAA.Say("PropEditor II is off.", nil) end end end end) |
|
|
| Report Abuse |
|
|
|
| 30 Sep 2011 10:17 PM |
To all of you beginners....
"String" == [[String]] == 'String' == [=====[String]=====]
GF'd. |
|
|
| Report Abuse |
|
|
|
| 01 Oct 2011 09:16 AM |
NO. NO. NO. I TOOK A YEAR ON THIS SCRIPT. NEWPROXY CAN'T BE GETTING REMOVED.
http://www.roblox.com/Forum/ShowPost.aspx?PostID=55254759 - I'm DrSprinkles and InkCookie -- Level 0 OTer - - Original 07er -- Have you forgot about Dre? -- GamerTag: CookieNuke |
|
|
| Report Abuse |
|
|
Miro034
|
  |
| Joined: 07 Oct 2009 |
| Total Posts: 6568 |
|
| |
|
|
| 01 Oct 2011 09:23 AM |
@Miro that was obvious xD
http://www.roblox.com/Forum/ShowPost.aspx?PostID=55254759 - I'm DrSprinkles and InkCookie -- Level 0 OTer - - Original 07er -- Have you forgot about Dre? -- GamerTag: CookieNuke |
|
|
| Report Abuse |
|
|
dragon829
|
  |
| Joined: 12 Aug 2008 |
| Total Posts: 741 |
|
|
| 01 Oct 2011 09:25 AM |
| i know im just saying might work |
|
|
| Report Abuse |
|
|
Alec2260
|
  |
| Joined: 27 Dec 2008 |
| Total Posts: 241 |
|
|
| 01 Oct 2011 09:34 AM |
Dude that script you made is a real nice script I love it it works so good
|
|
|
| Report Abuse |
|
|
|
| 01 Oct 2011 09:37 AM |
is that sarcasm
http://www.roblox.com/Forum/ShowPost.aspx?PostID=55254759 - I'm DrSprinkles and InkCookie -- Level 0 OTer - - Original 07er -- Hello it's the martian, space man Jordans. -- GamerTag: CookieNuke |
|
|
| Report Abuse |
|
|
Miro034
|
  |
| Joined: 07 Oct 2009 |
| Total Posts: 6568 |
|
| |
|