Hello, So I want to create a script where. When you type the command “Update”. Instead of deleting the existing character and spawning in a new one with the new Humanoid Description. I want to update the Humanoid Description. How could that be done?
Current Script:
game.Players.PlayerAdded:Connect(function(Player)
-- Chat Commands --
Player.Chatted:Connect(function(Message)
if Message:lower() == 'Update' then
local Character = Player.Character
local Humanoid = Character.Humanoid
-- New Description --
end
end)
game.Players.PlayerAdded:Connect(function(Player)
-- Chat Commands --
Player.Chatted:Connect(function(Message)
if Message:lower() == 'Update' then
local Character = Player.Character
local Humanoid = Character.Humanoid
local Desc = Humanoid:GetAppliedDescription()
Humanoid:ApplyDescription(Desc)
end
end)