The title says my problem, Here is what I tried (Regular script inside r6 dummy)
local coolperson = script.Parent
local Humanoid = coolperson.Humanoid
local id = game:GetService("Players").LocalPlayer.UserID
while wait(10) do
local Playerdesc = game.Players:GetHumanoidDescriptionFromUserId(id)
Humanoid:ApplyDescription(Playerdesc)
end
The problem is that you can’t get the LocalPlayer from a regular script, and you can’t use a localscript either unless you want the dummy to change locally instead of for everyone
This depends on what you are using it for. For example if you are using it for a best player in server you would do some if statements on the server and change the avatar through game.Players.BestPlayer or whatever. But if you are doing it for something else you have to do it someway else
Are you trying to change the dummy for the localplayer only or for everyone? Aka, everyone sees the change or the local player? What’s the use for it?
local coolperson = script.Parent
local id = game:GetService("Players").LocalPlayer.UserID
local appearance = game.Players:GetCharacterAppearanceAsync(id)
appearance.Parent = workspace
After that change this model’s location to dummy location, give all script from dummy to this model and (if there’s not cuz I didn’t check) give it humanoid.