What solutions have you tried so far? I’ve checked the dev hub and some topics but nothing has provided me with a solution
here’s the script
Effects.Sleep = function(player, caster)
local sleepGUI = player.PlayerGui.SleepGUI
sleepGUI.MainFrame.Sleep = caster:GetAttribute("Name").." has put you to sleep..."
sleepGUI.MainFrame.WakeUp = "You will wake up shortly."
for i, v in pairs(sleepGUI:GetDescendants()) do
if v:IsA("Frame") then
TweenService:Create(v, TweenInfo.new(1), {BackgroundTransparency = 0}):Play()
end
if v:IsA("TextLabel") then
TweenService:Create(v, TweenInfo.new(1), {Transparency = 0}):Play()
end
end
end