of     1   

K7Q
#227521638Monday, November 13, 2017 4:44 PM GMT

for i,v in pairs (script.Parent.Parent.ItemsFrame.ScrollingFrame:GetChildren()) do if v:FindFirstChildWhichIsA("ImageButton"):FindFirstChild("LocalScript") then #############isabled = true end end end end) how would I disable the localscript?
K7Q
#227521928Monday, November 13, 2017 4:55 PM GMT

for i,v in pairs (script.Parent.Parent.ItemsFrame.ScrollingFrame:GetChildren()) do if v:FindFirstChildWhichIsA("ImageButton"):FindFirstChild("LocalScript") then local x = v:FindFirstChildWhichIsA("ImageButton"):FindFirstChild("LocalScript") x.Disabled = false
K7Q
#227522000Monday, November 13, 2017 4:57 PM GMT

that is the script that wont work!!! output says something at line 3 but nothing is there!!
K7Q
#227522097Monday, November 13, 2017 5:01 PM GMT

bump please help?
K7Q
#227522250Monday, November 13, 2017 5:06 PM GMT

bump!!!!!!!
HILLBILLYY
#227522343Monday, November 13, 2017 5:09 PM GMT

Use x = script:GetChildren() for i,v in pairs(x) do if v:IsA("ImageLabel" then v:GetChildren() for i = 1,#v do if v[i]:IsA("LocalScript") then --script end end or look up how this works LS = script.Parent:FindFirstChild("LocalScript", True) Should look through all decedents for localscript
LifeInDevelopment
#227522378Monday, November 13, 2017 5:11 PM GMT

Local scripts don't exist on the server, only the client. You'll need to fire a remote event and disable the local script on the client.
K7Q
#227522535Monday, November 13, 2017 5:17 PM GMT

Players.K7Q.PlayerGui.Shop.Frame.Items.LocalScript:6: attempt to get length of local 't' (a userdata value) doesnt work :/ ^^^
K7Q
#227522630Monday, November 13, 2017 5:21 PM GMT

yes i know localscripts only exist on the client that is why I am using a localscript to edit another localscript on the same client
HILLBILLYY
#227543123Tuesday, November 14, 2017 5:03 AM GMT

You cant edit the source of another script from another script

    of     1