When I touch a part it should bring up and down a text label but it doesn't go down why is that?
local hitbox = workspace.Shop.HitBox_Tool_Shop
local player = game.Players.LocalPlayer
local ui = player.PlayerGui:WaitForChild("E").TextLabel
-------------------------------------------------
hitbox.Touched:Connect(function()
ui:TweenPosition(UDim2.new(0.446, 0,0.772, 0),"Out","Quad",1)
wait(0.1)
end)
----------------------------------------------------
local hitbox = workspace.Shop.HitBox_Tool_Shop
local userinput = game:GetService("UserInputService")
local player = game.Players.LocalPlayer
local ui = player.PlayerGui:WaitForChild("E").TextLabel
---------------------------------------------------------
hitbox.TouchEnded:Connect(function()
ui:TweenPosition(UDim2.new(0.442, 0,1.999, 1),"Out","Quad",1)
end)
