Hiya, I’m making a Gui and it all works perfectly except for one tween, The one after the 3 second cooldown, It just doesn’t work. I’m not sure why. any guidance is appreciated
Here’s my script for reference:
local Group = 15777400
local MinStaffRank = 100
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Players = game:GetService("Players")
local TextService = game:GetService("TextService")
local HttpService = game:GetService("HttpService")
local SendMessage = ReplicatedStorage.RemoteEvents.SendMessage
local MessageDelivered = ReplicatedStorage.RemoteEvents.SendMessage
local TanoyTemplate = script.Parent.TanoyTemplate
local TanoyList = script.Parent.TanoyMessageList
local TweenStance1 = UDim2.new(0, 749,0, 120)
local TweenStance2 = UDim2.new(0.166, 0,-1.039, 0)
TanoyTemplate.Size = UDim2.new(0,0,0,0)
MessageDelivered.OnClientEvent:Connect(function(FilteredMessage,PlayerID,PlayerUsername,PlayerRole)
local NewTanoyMessage = TanoyTemplate:Clone()
NewTanoyMessage.Visible = true
NewTanoyMessage.Profile.Image = Players:GetUserThumbnailAsync(PlayerID, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size420x420)
NewTanoyMessage.Message.Text = FilteredMessage
NewTanoyMessage.Rank.Text = PlayerRole
NewTanoyMessage.User.Text = PlayerUsername
NewTanoyMessage.Parent = TanoyList
NewTanoyMessage:TweenSize(TweenStance1, "InOut","Sine",.3)
wait(3)
NewTanoyMessage:TweenPosition(TweenStance2,"InOut","Sine",.3)
end)