Hi, I want to ask somebody why my script doesn´t work.
script.Parent.MouseButton1Click:Connect(function()
if script.Parent.Parent.Position == UDim2.new(0,0,0,0) then
script.Parent.Parent.:TweenPosition(UDim2.new(0,0,1,0)), "Out", "Quad", 2)
elseif script.Parent.Parent.Position == UDim2.new(0,0,1,0)) then
game.StarterGui.MainMenue.ChangelogMenue.GameFrame:TweenPosition(UDim2.new(0,0,0,0), "In", "Quad", 2)
end
end)

1 comment
Line 3 Error: There is a misplaced period right before ":TweenPosition"