Ello, I’m designing a Admin Panel with an Integrated Announcement System, anyways the goal is to have it fade in. Say whatever the announcement is and then dissaper. Everything has worked except for it to say “Notification from (admin username)”
UI:
My Code
--Functions
RemoteEvent.OnClientEvent:Connect(function(text)
TextLabel.Text = text
title.Text = "Notification from" .. game:GetService("Players").LocalPlayer
local TextTransparency = TweenService:Create(TextLabel, TweenInfo.new(1, Enum.EasingStyle.Quint), {TextTransparency = 0})
TextTransparency:Play()
local TextTransparency2 = TweenService:Create(title, TweenInfo.new(1, Enum.EasingStyle.Quint), {TextTransparency = 0})
TextTransparency2:Play()
local BackgroundTransparency = TweenService:Create(frame, TweenInfo.new(1, Enum.EasingStyle.Quint), {BackgroundTransparency = 0})
BackgroundTransparency:Play()
local TextTransparency2 = TweenService:Create(title, TweenInfo.new(1, Enum.EasingStyle.Quint), {TextTransparency = 0})
TextTransparency2:Play()
local BackgroundTransparency = TweenService:Create(line, TweenInfo.new(1, Enum.EasingStyle.Quint), {BackgroundTransparency = 0})
BackgroundTransparency:Play()
task.wait(5)
local TextTransparency = TweenService:Create(TextLabel, TweenInfo.new(1, Enum.EasingStyle.Quint), {TextTransparency = 1})
TextTransparency:Play()
local TextTransparency2 = TweenService:Create(title, TweenInfo.new(1, Enum.EasingStyle.Quint), {TextTransparency = 1})
TextTransparency2:Play()
local BackgroundTransparency = TweenService:Create(frame, TweenInfo.new(1, Enum.EasingStyle.Quint), {BackgroundTransparency = 1})
BackgroundTransparency:Play()
local BackgroundTransparency = TweenService:Create(line, TweenInfo.new(1, Enum.EasingStyle.Quint), {BackgroundTransparency = 1})
BackgroundTransparency:Play()
end)
It’s on the 4th line, the error I got was “Players.CoconutError.PlayerGui.ScreenGui.Notify.bottom.TextLabel.LocalScript:15: attempt to concatenate string with Instance”
Any help would be great!
do not judge my awful attempt at making it say the admins username on the top lol