script.Parent.MouseButton1Click:connect(function()
script.Parent.Parent.Parent.Frame1.Visible = true
script.Parent.Parent.Parent.Frame1.TextLabel.Script.Disabled = true
a = Instance.new("ObjectValue")
a.Name = DamageTrue
a.Parent = game.Workspace
script.Parent.Parent:Destroy()
end)
✓ ANSWER ACCEPTED
Why won't this work?
1 answer
✓ Accepted answer
Your problem is that Name is a string value. Therefore, you must set it with a string.
a.Name = "DamageTrue"
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
LOL! That's why! My problem...