This button is working fine in Studio but not in game?
local player = game.Players.LocalPlayer
local SureSave = script.Parent.Parent.Parent.Parent.HatSureBackground.HatSure.SureSave
function Click()
SureSave.Value = script.Parent.Parent.Name
script.Parent.Parent.Parent.Parent.HatSureBackground.HatSure.Frame.TextLabel
.LocalScript.Disabled = false --this didn't fit in the Lua block thing so i put it here
script.Parent.Parent.Parent.Parent.HatSureBackground.Visible = true
end
script.Parent.MouseButton1Down:connect(Click)

1 comment
Is this in a LocalScript?