local TweenService = game:GetService("TweenService")
local plr = game.Players.LocalPlayer
local frame = script.Parent.Parent.ChangelogFrame
local frame2 = script.Parent.Parent.CeditsFrame -- Make sure u update this so its spelled right!!
script.Parent.MouseButton1Click:Connect(function()
frame.Visible = not frame.Visible
frame2.Visible = false -- We set the credit frame visibility to false!
local newpos = UDim2.new(0.255, 0,0.523, 0)
local tweenInfo = TweenInfo.new(3, Enum.EasingStyle.Exponential, Enum.EasingDirection.Out)
local tween = TweenService:Create(frame, tweenInfo, {Position = newpos})
tween:Play()
end)