of     1   

DaCrazyDev
#183415221Friday, February 12, 2016 3:55 AM GMT

I would like to make a script perform a function or do something that a value or text is. For example, if a value is game.Workspace.Part:Clone() I would like the script to be able to do that, without if value == "game.Workspace.Part:Clone()" then. I tried {script.Parent.Value.Value} but it keeps saying Players.Player.PlayerGui.LocalScript:10: attempt to call a number value Please help I have no idea what to do.
izzatnasruna
#183415794Friday, February 12, 2016 4:05 AM GMT

What are you even trying to do? script.Parent.Value.Value would be totally wrong because a .Value is a string and does not hold any property.
f00fc7c8_fox
#183415993Friday, February 12, 2016 4:09 AM GMT

loadstring(script.Parent.Parent.Value)

    of     1