Howdy, fellow developers!
I’m in need of help about this script…
I’m trying to move the position of the GUI’s clone, but it doesn’t work for some reason… If you know what’s the problem, please give feedback! Thank you.
------------------------------------------------------------------------------------------
local MsgTXT = script.Parent.Parent.Testing
local debounce = false
local tweenService = game:GetService("TweenService")
local tweenInfo = TweenInfo.new(0.3, Enum.EasingStyle.Quint, Enum.EasingDirection.InOut)
local MsgOut = tweenService:Create(MsgTXT:Clone(), tweenInfo, {Position = UDim2.new(0.095, 0,0.429, 0), BackgroundTransparency = 0})
script.Parent.MouseButton1Click:Connect(function()
if not debounce then
debounce = true
MsgOut:Play()
print("Cleared")
wait(3)
debounce = false
end
end)
------------------------------------------------------------------------------------------