Why my ChatActive not working pls help


it does not work

is in the starterplayerscript pls help

It looks like you are new.
1.This post should be in scripting support, not in code reviev.
2.You should show your code like this:

local StarterGui = game:GetService("StarterGui")
StarterGui:SetCore("ChatActive",{true})
wait(20)
StarterGui:SetCore("ChatActive",{false})

To show it as above first copy your code. Add ``` in start and in end of code or make a new line press cntrl+E and than paste code

Try this:

local StarterGui = game:GetService("StarterGui")
StarterGui:SetCore("ChatActive", true)
task.wait(20)
StarterGui:SetCore("ChatActive", false)