Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local button = script.Parent
- local Value = script.Parent.Parent.Value --Invocar el value
- local frame = script.Parent.Parent.Frame --Invocar el frame
- button.MouseButton1Click:Connect(function()
- if Value.Value == false then
- Value.Value = true
- frame.Visible = true
- else
- Value.Value = false
- frame.Visible = false
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement