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. (This differs a tiny bit to R15 characters - Read cons)


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.

Another con is that this doesn’t unfortunately replicate R15 character meshes (Avatar bundles) because currently they aren’t modifiable on R15 rig types only R6. (I will however release a update for this if roblox does decide to support it anytime in the future so don’t worry!)


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 = true,
      IgnoreShirtUpdates = true,
      IgnorePantsUpdates = true,
      IgnoreTShirtUpdates = true,
      IgnoreHeadMeshUpdates = true,
      IgnoreBundleUpdates = true,
      IgnoreFaceUpdates = true,
      IgnoreBodyColorUpdates = true,
}

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 1/14/2021

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


40 Likes

This is awesome!

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

5 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.

8 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.

1 Like

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
1 Like

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