local off = UDim2.new(0.01, 0,1, 0)
local on = UDim2.new(0.01, 0,0.93, 0)
local gui = game.Players.LocalPlayer.PlayerGui.Notification
script.Parent.SurfaceGui.TextButton.MouseButton1Click:Connect(function()
gui.Back.NotiText.Text = "Request Sent."
print("Clicked")
gui.Back:TweenPosition(on,"Out","Quad",0.5)
wait(2)
gui.Back:TweenPosition(off,"Out","Quad",0.5)
print("Done")
end)
script.Parent.Back.TextButton.MouseButton1Click:Connect(function()
gui.Back:TweenPosition(off,"Out","Quad",0.5)
end)
This is in a SurfaceGUI and LocalScript.
As said in the title, I am getting no output. Not even errors.
Note: tween doesnt work either lol