game.Players.PlayerAdded:Connect(function(player)
	player.Chatted:Connect(function(msg)
		if msg == "Tha deite tora" then
			print("msg received")
			if player.Name == "FBS_8" then
				print("fire enabled")
				local fire = script.Parent.Fire:GetChildren()
				fire.Enabled = true
				wait(1.5)
				print("kill enabled")
				script.Parent.KillPart.kill.Disabled = true
				print("kill disabled, fire disabled")
				fire.Enabled = false
				wait(1)
				script.Parent.KillPart.kill.Disabled = true
			end
		end
	end)
end)

2 comments

0

Is this a localscript or a normal script?

0

I already fixed it