Recently I was making a script to have like a tool in your hand which does a training. Now, it works for everyone. Everyone can see the chat above it except me…
Code:
local CD = true
local Tool = script.Parent.Parent
local Part = script.Parent
local chat: TextChatService = game:GetService("Chat")
Tool.Activated:Connect(function()
if CD then
local player = game.Players:GetPlayerFromCharacter(Tool.Parent)
if player then
local char = player.Character or player.CharacterAdded:Wait()
if char then
local hum = char:FindFirstChild("Humanoid")
if hum then
CD = false
Tool.Parent = char
chat:Chat(Part, "Hello! I will be your Trainer for Today")
wait(4)
chat:Chat(Part, "We Will be going onto Section 1: Experience.")
wait(4)
chat:Chat(Part, "We Will be going onto Section 1: Experience.")
wait(4)
chat:Chat(Part, "Experience Is a way for people to see how close they are to their Next Rank!")
wait(4)
chat:Chat(Part, "You can Earn Experience from the Following: Award Sessions, events, and working at your station")
wait(4)
chat:Chat(Part, "Next Is Section 2, Does anyone Have any Questions before we Start?")
wait(10)
chat:Chat(Part, "Great!")
wait(4)
chat:Chat(Part, "Section 2: How to work")
wait(4)
chat:Chat(Part, "It’s Simple, as a Receptionist.")
wait(4)
chat:Chat(Part, "Being a Receptionist can be Boring, So that’s why we Host Events! (Coming Soon)")
wait(4)
chat:Chat(Part, "How you can work Is when a Person comes to your Desk, You ask “Would you like a job?”")
wait(4)
chat:Chat(Part, "and when they Reply with “Yes, Please!” Then you check their Rank (Displayed Above their Head) And If It says Guest, respond with “I’m Sorry, But you need to join the group located In the game Page!”")
wait(4)
chat:Chat(Part, "And then Hit the Red Button")
wait(4)
chat:Chat(Part, "And If It Says “Recruit” Then Say “You will now be Teleported to Security. Goodluck!“ and then press the green button")
wait(4)
chat:Chat(Part, "We will now move to the practical room.")
wait(15)
chat:Chat(Part, "We will now begin the simulation of being a receptionist.")
wait(1)
CD = true
end
end
end
end
end)
All the help is appreciated! It seems to be something related to my client? Right?