You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
I would like to be able to get the member ChatServiceRunner -
What is the issue? Include screenshots / videos if possible!
It gives the following error:
ChatServiceRunner is not a valid member of ServerScriptService “ServerScriptService”
line 4
script:
--Services
local Players = game:GetService("Players")
local ScriptService = game:GetService("ServerScriptService")
local ChatService = require(ScriptService.ChatServiceRunner.ChatService)
--Change Player Name Color
local function onPlayerChatted(PlayerName)
local Speaker = ChatService:GetSpeaker(PlayerName)
local Player = game.Players:FindFirstChild(PlayerName)
local Color = Player.BodyColors.TorsoColor3
Speaker:SetExtraData('NameColor', Color3.fromRGB(Color.R, Color.G, Color.B))
end
- What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I tried searching around but can’t find a solution