of     1   

codysuber12
#29561593Monday, July 19, 2010 2:46 AM GMT

For most 'If' Statements I use .. for Example.. if mouse.target.Example ~= nil then This makes it check if Example is there, if its not it gives me a error in output that says that example isn't there and the script brakes. This gets very annoying. I don't like having to bi-pass your faulty database so I would like for you guys to fix this. Thanks ~ codysuber12
Mooseboy
#29562323Monday, July 19, 2010 2:56 AM GMT

ROBLOX can't change Lua. ~|~|~Mooseboy~|~|~ --King of All Moose
codysuber12
#29562380Monday, July 19, 2010 2:57 AM GMT

Yea they can. They have their own version of Lua.. Roblox Lua.. They can edit how the script treats things. :P
Mooseboy
#29562666Monday, July 19, 2010 3:00 AM GMT

Did you remember your else statement? ~|~|~Mooseboy~|~|~ --King of All Moose
codysuber12
#29570266Monday, July 19, 2010 5:13 AM GMT

Of course, but every if doesnt need an else, and even with an else it still shows as an error.
SIDEKICKMAN
#29570414Monday, July 19, 2010 5:18 AM GMT

Good thing I only do basic scripts. :P
BeepBoopBop
#29570572Monday, July 19, 2010 5:21 AM GMT

"ROBLOX can't change Lua." They can't change Lua, but they can change RBX.Lua. >.>
codysuber12
#29571249Monday, July 19, 2010 5:41 AM GMT

Exactly. :P
Vorlias
#29571361Monday, July 19, 2010 5:44 AM GMT

this is how you do it. if mouse.Target:findFirstChild("example") ~= nil then
Vorlias
#29571456Monday, July 19, 2010 5:47 AM GMT

Now before suggesting something like this, ask a scripter for backup information. You are welcome.
SwiftWolf
#29571615Monday, July 19, 2010 5:52 AM GMT

if mouse.target:findFirstChild("Example") ~= nil then -- Just maybe... I've had some trouble with "if" and "nil."
Vorlias
#29571776Monday, July 19, 2010 5:57 AM GMT

@switf: Target must be capitalized I'm sure... Lua is a very case sensitive language.
BobertTiir
#29572337Monday, July 19, 2010 6:13 AM GMT

nil sucks. I mean it's a completely different void if it's 'Nil' rather than 'nil'.
codysuber12
#29594232Monday, July 19, 2010 5:29 PM GMT

@ ninja Scripter for backup information?? I am a scripter.. I know exactly what im talking about and how to use Ro-Lua. Don't post on something you dont know about.

    of     1