local function spawnCreature(player)
local creature = game.ServerStorage.Creature:Clone()
creature.Parent = workspace
creature:SetPrimaryPartCFrame(player.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, -5))
end
game.Players.PlayerAdded:Connect(function(player)
player.Chatted:Connect(function(message)
if message == "/spawn" then
spawnCreature(player)
end
end)
end)