RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make the frame fade away then become visible = false"
-- local script local buttonexit = script.Parent local actualframe = script.Parent.Parent local tweenService = game:GetService("TweenService") local function onMouse() local tweenInfo = TweenInfo.new(1, Enum.EasingStyle.Linear) local tween = tweenService:Create(actualframe, tweenInfo, {BackgroundTransparency = 1}) tween:Play() tween.Completed:Wait() actualframe.Visible = false end buttonexit.MouseButton1Click:Connect(onMouse)