Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Text isnt a valid member of DataStore?

Asked by 7 years ago

So I was working on my own code builder and for some reason its saying im calling for data store when im not!

function Click(mouse) 
script = Instance.new("Script", workspace)
code = Instance.new("StringValue", script)
code.Value = script.Parent.Parent.Text
loadstring(code.Value)()
end 

script.Parent.MouseButton1Click:connect(Click) 

Please help me

0
Try tostring()? LifeInDevelopment 364 — 7y
0
k GimmeWaffleBruh 18 — 7y
0
same error GimmeWaffleBruh 18 — 7y

Answer this question