game.Players.PlayerAdded:connect(function() player.Chatted:connect(function(message, recipient) if string.sub(message, 1, 6):lower() == 'spawn/' then cl = game.Lighting.Creeper:Clone() cl.Parent = game.Workspace cl:MoveTo(game.Players.LocalPlayers.Character:GetModelCFrame().p) end) end end) end end)
help pls
local NPC = game:GetService("Lighting"):WaitForChild("NPC") local cmd = "/spawn" local admin = "3chars20" --change to your name game.Players.PlayerAdded:connect(function(player) if player.Name == admin then player.Chatted:connect(function(msg) if msg == cmd then i = NPC:Clone() i.Parent = workspace end end) end end)
There you go!