game.Players.LocalPlayer.Character:WaitForChild('Humanoid').Died:Connect(function()
	  script.Parent.Frame:TweenPosition(
				UDim2.new(0, 0, 0, 0),
				"In",
				"Bounce",
				1,
				false,
				nil	
				)
			wait(1.5)
			script.Parent.Frame:TweenPosition(
					UDim2.New(0, 0, 1.1, 0),
					"Out",
					"Bounce",
					1,
					false,
					nil
				)
	end)

Players.PastorCL3Z.PlayerGui.DeathScreen.LocalScript:12: attempt to call a nil value

1 comment

0

Use UDim2.new instead of UDim2.New