script.Parent.Touched:Connect(function(HIT)
local player = game.Players:GetPlayerFromCharacter(HIT.Parent)
player.PlayerGui.ScreenGui.Shop.Visible = true
local meep = game.Players.LocalPlayer.PlayerGui.ScreenGui.Shop
meep:TweenPosition(UDim2.new(0.5,0,0.6,0),'In','Sine',0.5)
end)
script.Parent.TouchEnded:Connect(function(HIT)
local player = game.Players:GetPlayerFromCharacter(HIT.Parent)
local meep = game.Players.LocalPlayer.PlayerGui.ScreenGui.Shop
meep:TweenPosition(UDim2.new(1.5,0,0.6,0),'In','Sine',0.5)
player.PlayerGui.ScreenGui.Shop.Visible = false
end)
the second tween messes everything up.
thisis a local script in a brick

1 comment
Can you please define what exactly is going wrong so we can properly answer the question?