I have problem with the script.
I have script in my model. Yes, not local script.
local Cashier = require(game:GetService("Chat"):WaitForChild('ChatServiceRunner'):WaitForChild('ChatService')):AddSpeaker("Cashier")
local Event = game:GetService("ReplicatedStorage"):WaitForChild("RemoteEvent")
local head = script.Parent
local chat = require(game:GetService("Chat"):WaitForChild('ChatServiceRunner'):WaitForChild('ChatService'))
local ch2 = game:GetService("Chat")
if not chat:GetChannel("All") then
while true do
local ChannelName = chat.ChannelAdded:Wait()
if ChannelName == "All" then
break
end
end
end
Cashier:JoinChannel("All")
Event.OnServerEvent:Connect(function(msg)
Cashier:SayMessage(msg, "All")
ch2:Chat(head, msg)
end)
And if i fire the event, it says nothing! Do it needs to be in ServerScriptService?

1 comment
bruh are u like a new scripter or something?