I have seen a lot of people complain that you cant change a r6 characters height and i would like to explain how I do it. So the way i “Change the characters height” is really having multiple rigs and changing the characters rig
i have all the rigs in ServerScriptService as this
and the way i script it is
sizzlegames3:
I have seen a lot of people complain that you cant change a r6 characters height and i would like to explain how I do it. So the way i “Change the characters height” is really having multiple rigs and changing the characters rig
i have all the rigs in ServerScriptService as this
and the way i script it is
function ChangePlayerRig(plr,Rig)
local cframe = plr.Character.HumanoidRootPart.CFrame
plr.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead,false)
plr.Character.Humanoid.RequiresNeck = false
local description = plr.Character.Humanoid:GetAppliedDescription()
for a,c in pairs(plr.Character:GetChildren()) do
if c:IsA("BasePart") and c.Name ~= "HumanoidRootPart" then
c:Destroy()
end
end
for a,c in pairs(Rig:GetChildren()) do
if c:IsA("BasePart") and c.Name ~= "HumanoidRootPart" then
local clone = c:Clone()
clone.Anchored = false
clone.Parent = plr.Character
end
end
plr.Character.HumanoidRootPart.Size = Rig.HumanoidRootPart.Size
plr.Character.HumanoidRootPart["Root Hip"].Part1 = plr.Character.Torso
for i,v in pairs(Rig.Torso:GetChildren()) do
plr.Character.Torso[v.Name].Part1 = plr.Character:FindFirstChild(plr.Character.Torso[v.Name].Part1.Name)
end
plr.Character.Humanoid.HipHeight = Rig.Humanoid.HipHeight
plr.Character.Humanoid.RequiresNeck = true
plr.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead,true)
end
local a = Instance.new(“RemoteEvent”)
a.Parent = game.ReplicatedStorage
a.Name = ‘test’
a.OnServerEvent:Connect(function(Player,Rig)
ChangePlayerRig(Player,game.ServerScriptService.Rigs[Rig])
end)
it will achive something like this
3 Likes
thats more of size instead of “Height”
1 Like