of     1   

mattkabag
#46157887Monday, April 25, 2011 2:25 PM GMT

What I'm try to make this script do is when you try to remove a GuI that apparently cost 225 points it will remove itself. Also for the people that work with GUIs alot which GUI do you prefer is best for blockig a GUI that gives u weapons when u click it? function(yourmama) if leaderstats.Points.Value >= 225 then script.Parent:Remove() end script.Parent.MouseButton1Click:connect(yourmama) end
61352151511
#46157986Monday, April 25, 2011 2:28 PM GMT

local leaderstats = script.Parent.Parent.leaderstats -- may need more parents function yourmama() - Goes on outside if leaderstats.Points.Value >= 225 then script.Parent:Remove() end end script.Parent.MouseButton1Click:connect(yourmama)
mattkabag
#46158215Monday, April 25, 2011 2:34 PM GMT

Would this be a local script?
61352151511
#46158247Monday, April 25, 2011 2:35 PM GMT

nope just a normal one
mattkabag
#46158374Monday, April 25, 2011 2:38 PM GMT

Also if the script doesn't work do I put more parents?
mattkabag
#46158696Monday, April 25, 2011 2:46 PM GMT

BumP
mattkabag
#46182608Monday, April 25, 2011 10:22 PM GMT

Help
mattkabag
#46185391Monday, April 25, 2011 11:02 PM GMT

Bump

    of     1