LiveCharacter [Module] - Live character/avatar updates while in-game! [No more resetting!]

Hi everyone, i’m here to show a module i’ve made that update’s your roblox character in-game the moment you change your avatar from the website.

  • So why is this useful?

It’s useful for roleplaying games where someone doesn’t have to reset and walk all the way back to where they previously were as some games could be very large so it’d be annoying to have to travel back, but just in general not having to reset and having your avatar in-game update on the go make’s this a very useful utility for games ranging to all genres.

PROS & CONS | Read

PRO’s

  • What are the pro’s of this module?

This module is ran on the server, this allows for better security so you’re assured that no exploiter can utilize this to abuse your games to any effective extent.

This module also replicates every avatar change you make on the website and that it updates within just a second. (̶T̶h̶i̶s̶ ̶d̶i̶f̶f̶e̶r̶s̶ ̶a̶ ̶t̶i̶n̶y̶ ̶b̶i̶t̶ ̶t̶o̶ ̶R̶1̶5̶ ̶c̶h̶a̶r̶a̶c̶t̶e̶r̶s̶ ̶-̶ ̶R̶e̶a̶d̶ ̶c̶o̶n̶s̶)̶ (Avatar Bundles now replicate for R15 rigs.)


CON’s

  • What are the cons’s of this module?

This module is only limited to only handling servers with 150 players maximum (which should be enough) due to roblox throttling requests from in-game to 300 http requests per minute.

A̶n̶o̶t̶h̶e̶r̶ ̶c̶o̶n̶ ̶i̶s̶ ̶t̶h̶a̶t̶ ̶t̶h̶i̶s̶ ̶d̶o̶e̶s̶n̶’̶t̶ ̶u̶n̶f̶o̶r̶t̶u̶n̶a̶t̶e̶l̶y̶ ̶r̶e̶p̶l̶i̶c̶a̶t̶e̶ ̶R̶1̶5̶ ̶c̶h̶a̶r̶a̶c̶t̶e̶r̶ ̶m̶e̶s̶h̶e̶s̶ ̶(̶A̶v̶a̶t̶a̶r̶ ̶b̶u̶n̶d̶l̶e̶s̶)̶ ̶b̶e̶c̶a̶u̶s̶e̶ ̶c̶u̶r̶r̶e̶n̶t̶l̶y̶ ̶t̶h̶e̶y̶ ̶a̶r̶e̶n̶’̶t̶ ̶m̶o̶d̶i̶f̶i̶a̶b̶l̶e̶ ̶o̶n̶ ̶R̶1̶5̶ ̶r̶i̶g̶ ̶t̶y̶p̶e̶s̶ ̶o̶n̶l̶y̶ ̶R̶6̶.̶ ̶(̶I̶ ̶w̶i̶l̶l̶ ̶h̶o̶w̶e̶v̶e̶r̶ ̶r̶e̶l̶e̶a̶s̶e̶ ̶a̶ ̶u̶p̶d̶a̶t̶e̶ ̶f̶o̶r̶ ̶t̶h̶i̶s̶ ̶i̶f̶ ̶r̶o̶b̶l̶o̶x̶ ̶d̶o̶e̶s̶ ̶d̶e̶c̶i̶d̶e̶ ̶t̶o̶ ̶s̶u̶p̶p̶o̶r̶t̶ ̶i̶t̶ ̶a̶n̶y̶t̶i̶m̶e̶ ̶i̶n̶ ̶t̶h̶e̶ ̶f̶u̶t̶u̶r̶e̶ ̶s̶o̶ ̶d̶o̶n̶’̶t̶ ̶w̶o̶r̶r̶y̶!̶)̶ ̶ (Avatar Bundles now replicate for R15 rigs.)


Link’s

Video Demo - Watch to see how this replicates in-game!

Demo Game - Play this game to try it for yourself!
https://www.roblox.com/games/6233913454/

Module - Get it here!
https://www.roblox.com/library/6234613563/LiveCharacter


Usage

Documentation

Example usage :

auto-updates every player’s character on join

local Players = game:GetService("Players")
local LiveCharacter = require(LiveCharacterModule) -- Define path here!

Players.PlayerAdded:Connect(function(playerObject)
local LiveCharacterController = LiveCharacter:autoUpdatePlayerAppearance(playerObject)
end)

Functions/Methods
Every function’s first argument has to be a player object


ignoreList is a argument that takes a table, if not included in as a argument to a function the module will not apply any ignoring to anything

if the value of one of the keys is set to true it will ignore it, if it’s set to false it will not ignore it.

{
IgnoreAccessoryUpdates = false,
IgnoreShirtUpdates = false,
IgnorePantsUpdates = false,
IgnoreTShirtUpdates = false,
IgnoreFaceUpdates = false,
IgnoreBodyColorUpdates = false,
IgnoreBodyScaleUpdates = false,
IgnoreAnimations = false
}

it does not have to be this entire table in the argument it can also simple just be

{
         IgnoreAccessoryUpdates = true,
         IgnorePantsUpdates = false,
}

Function/Methods : autoUpdatePlayerAppearance
Args (1 : playerObject, 2 : ignoreList (optional argument) )
Info : Automatically updates a player

local LiveCharacterController = LiveCharacter:autoUpdatePlayerAppearance(playerObject, ignoreList)
LiveCharacterController:toggleAutoUpdating(boolean) --> true/false (will pause or unpause the auto updating)
LiveCharacterController:Disconnect() --> will completely stop the auto updating

Function : updatePlayerAppearance
Args : (1 : playerObject, 2 : ignoreList (optional argument) )
Info : Updates a player only once

local LiveCharacterController = LiveCharacter:updatePlayerAppearance(playerObject, ignoreList) --> updates a player normally like autoUpdatePlayerAppearance but only updates once


Update Log - Last update 2/13/2021

Log - 2/13/2021

  • Complete rewrite for how updates are rendered, completely now dependant on HumanoidDescription’s now.
  • Some other fixes

Log - 2/13/2021

  • Added support for R15 Avatar Bundle updates.
  • Added a fix for R6 avatar bundles not being applied under specific circumstances.

Log - 1/14/2021

  • Applied R15 Animation changing
  • Ignore list - IgnoreAnimations

Log - 1/14/2021

  • Added a security patch to accessories (due to exploiters parenting them into workspace)
  • Added R15 Avatar scaling update | IgnoreList - IgnoreBodyScaleUpdates

Log - 1/13/2021

  • Bug fixes
  • Overall code quality improvements
  • Methods for autoUpdatePlayerAppearance (check docs for usage)
    toggleAutoUpdating - Function
    Disconnect - Function
  • IgnoreList argument for autoUpdatePlayerAppearance and updatePlayerAppearance (check docs for usage)

Do you think this is useful?
  • Yes
  • Maybe
  • No

0 voters


110 Likes

This is awesome!

You should just add a tutorial on how to set it up.

3 Likes

Interesting idea, but you should reduce the rate of updates. It doesn’t need to update immediately, would be better if it was every 10 seconds or something. That would allow it to work in larger servers.

10 Likes

I question your sanity. This must’ve taken forever to create!

4 Likes

I am working on a better handler for that, i should expect it to support 500 - 700 players soon.

3 Likes

This is cool!
I’m pretty sure Roblox is working on having the character editor be accessible in-game, and that’ll probably make this obsolete, but this is an interesting alternative until then.

5 Likes

Interesting, yet this is so awesome!

1 Like

I wish this is used in Robeats. Like really, It’s so annoying to play robeats and change your character. You can’t do anything. It’s aaw.

I really like this, I am 100% using this.

Btw i’m submitting this to toolblox.glitch.me
This NEEDS more attention.

1 Like

^^ That’s nice of you to do, i’m glad you liked this, more features are on the way. (this was made overnight)

1 Like

I found a little glitch, it seems like it doesn’t update BodyParts

I guess that’s the same as what I meant, so it isn’t really a glitch, not sure;

1 Like

This was mentioned in the con’s it’s because roblox doesn’t support changing R15 character meshes.This however does work for R6 avatars.

2 Likes

It also seems like moving around, because its reloading your character causes some problems…

I have applied a patch right now, i’ve updated the module, sorry for the inconvenience! :c

3 Likes

ooh! It works really well! I just inserted into my game like 1 second ago lol It’s so good. I LOVE IT thanks OMG

2 Likes

<3 no need to thank me, glad you’re enjoying it!

1 Like

This is really good (haven’t checked the source code, but conceptually this is :ok_hand:)

Awesome job thinking outside the box and improving “the norm”. Will definitely be tracking this as you continue to update/modify it!

2 Likes

This is useful for games in which the player never dies, and character resetting is disabled.
Instead of having to leave the game to update your character, this module can work wonders!

2 Likes

if you could get it to react to changes in body size (by editing the scale values in the humanoid) that’d be nice i think


other than that this is super cool and im considering adding it into my game

2 Likes

I’ll add this later tomorrow, i initially was going to add it but i got distracted by other stuff. ^^

2 Likes

When will it work for R15 rigs? I’ve tried taking my cat package off, it works in your game, but in mine it doesn’t work, why?
EDIT: could it be im in testing mode…?
EDIT 2: nope, it just doesnt work for me

1 Like