Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Can you Help me with this script?

I have put this script in starterpack and I want this script to actually work for the individual player that has it in their starterpack but It only works When I put "local p = game.Players:FindFirstChild(rflor360)" which only makes the script only work for me

Heres the script (Not the Full Script):

local p = game.Players:FindFirstChild("rflor360")
script.Name = "HelloScript"
p.Chatted:connect(function(message)
local msg = string.lower(message)

1 answer

Well, here's how I do Chatted events. I just put a script in workspace, with this code:

game.Players.PlayerAdded:connect(function(plr)
	plr.Chatted:connect(function(msg)
		--Code here
	end)
end)

This should work better than putting the script in starter pack.

This discussion is preserved as it was. New answers, comments, and votes are closed.