local TextBox = script.Parent local Frame = TextBox.Parent local ScreenGui = Frame.Parent game.Players.PlayerAdded:Connect(function(player) TextBox.BackgroundTransparency = 0 TextBox.Visible = true Frame.BackgroundTransparency = 0 Frame.Visible = true wait(3) TextBox.BackgroundTransparency = 1 TextBox.Visible = false Frame.BackgroundTransparency = 1 Frame.Visible = false end)
make sure this is your serverscript below 1.insert a remotevent into replicatedstorage 2.name it "event" 3.insert a serverscript into serverscriptservice 4.paste this code into there
local replicatedstorage = game:GetService("ReplicatedStorage") local event = replicatedstorage:WaitForChild("event") game.Players.PlayerAdded:Connect(function(player) event:FireClient(player) end)
local TextBox = script.Parent local Frame = TextBox.Parent local ScreenGui = Frame.Parent local replicatedstorage = game:GetService("ReplicatedStorage") local event = replicatedstorage:WaitForChild("event") event.OnClientEvent:Connect(function() Frame.Visible = true Frame.BackgroundTransparency = 0 TextBox.Visible = true TextBox.BackgroundTransparency = 0 end)