TweenPosition Not Working On This Computer?

So, the Tweening works on my other computer and the computers of others. However, it doesn’t work on this laptop (Pavilion dv5 running Windows 7)…?

Problem: The first tween works as expected. It appears that the second tween never happens and the GUI then disappears. No errors (it works properly on other computers)

Place: Farming among Friends 👨‍🌾 - Roblox

Code:

[code]local Waiting = false

script.Parent.Notify.Event:connect(function( Length, Message, Color )
while( Waiting )do wait(1); end
Waiting = true
local newPrompt = script.Parent.ChangePrompt:clone()
newPrompt.Parent = script.Parent
newPrompt.TextColor3 = Color
newPrompt.Text = Message
newPrompt:TweenPosition(UDim2.new(0.5, -150, 1, -250), “Out”, “Quad”, (2Length)/3, true)
wait((2
Length)/3)
newPrompt:TweenPosition(UDim2.new(0.5, -150, 1, 0), “In”, “Quad”, Length/3, false)
wait(Length/3)
newPrompt:Destroy()
Waiting = false
end)[/code]

local Waiting = false
local Frame = script.Parent
local Notify = Frame.Notify
local Prompt = Frame.ChangePrompt

local function tweenCallback(state)
	repeat task.wait()
	until state == Enum.PlaybackState.Completed
	return
end

Notify.Event:Connect(function(Length, Message, Color)
	task.wait(1)
	local newPrompt = Prompt:Clone()
	newPrompt.Parent = Frame
	newPrompt.TextColor3 = Color
	newPrompt.Text = Message
	newPrompt:TweenPosition(UDim2.fromScale(0.4, 0.8), "Out", "Quad", (2 * Length)/3, false, tweenCallback)
	task.wait((2 * Length)/3)
	newPrompt:TweenPosition(UDim2.fromScale(0.4, 1), "In", "Quad", Length/3, false, tweenCallback)
	task.wait(Length/3)
	newPrompt:Destroy()
end)

I’m going to assume this was likely caused by the dimensions of the native screen’s window, as such you should opt to use scale when tweening, I’ve also added a callback function to prevent tweens from playing over one another.