Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

[SOLVED] I am trying to add tags into chat. What am I doing wrong?

Asked by 5 years ago
Edited 5 years ago
01local ChatService = require(game:GetService("ServerScriptService"):WaitForChild("ChatServiceRunner"):WaitForChild("ChatService"))
02print(ChatService) -- No print
03 
04local owners = {QuikSilver09 = true, flameman0987 = true}
05local devs = {ThetaBird = true, dogbrainxd = true}
06print("2 tbls") -- Prints fine
07 
08local ownerTag = {TagText = "OWNER", TagColor = Color3.fromRGB(42, 145, 255)}
09local VIPTag = {TagText = "VIP", TagColor = Color3.fromRGB(255, 206, 7)}
10local FANTag = {TagText = "Fan", TagColor = Color3.fromRGB(43, 255, 43)}
11print("5 tbls") -- Prints fine
12 
13game:GetService("Players").PlayerAdded:Connect(function(player)
14    print("player JOINED") -- No print
15 
View all 27 lines...

I believe the issue is this line local ChatService = require(game:GetService("ServerScriptService"):WaitForChild("ChatServiceRunner"):WaitForChild("ChatService"))

I have commented it out and my PlayerAdded function runs just fine. I just do not know what to do considering I am getting no errors. Any help would be great, thanks.

0
i think you havent ended the require yet, has no ) in it ceyhunveysel 28 — 5y
0
I did it just got cut. Player was loading before chat service that was the issue QuikSilver09 5 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago

i think you havent ended the require yet, has no ) in it

Ad

Answer this question