RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make a /size command "number to size""
-- server script (ServerScriptService) local function onChat(player, message) local args = string.split(message, ' ') if args[1] == "/size" then local newSize = tonumber(args[2]) if newSize ~= nil then local character = player.Character if character then character.Humanoid.BodyHeightScale.Value = newSize character.Humanoid.BodyWidthScale.Value = newSize character.Humanoid.BodyDepthScale.Value = newSize end end end end game.Players.PlayerAdded:Connect(function(player) player.Chatted:Connect(function(message) onChat(player, message) end) end)