Screen Gui tweening but not appearing?
01 | local Part = game.Workspace.Shop |
02 | local Gui = game.StarterGui.BackpackShopGui.Frame |
03 | local TweenService = game:GetService( "TweenService" ) |
05 | Gui.Position = UDim 2. new( 0.25 , 0 ,- 1 , 0 ) |
07 | Part.Touched:Connect( function (hit) |
08 | local Hit = hit.Parent:FindFirstChild( "Humanoid" ) |
10 | local player = game.Players:GetPlayerFromCharacter(hit.Parent) |
12 | if player.OtherInfo.Backpack.Value < player.OtherInfo.MaxBackpack.Value then |
14 | UDim 2. new( 0.25 , 0 , 0.01 , 0 ), |
I have this code to pop up a gui window when a player steps on a part but it the explorer it's tweening the gui but when you play the game nothing happens. Any ideas?