Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

When I resize players heads, the head freezes and their body moves?

Asked by 5 years ago

I made a script that's supposed to resize everyone in the games heads when I run it, the script DOES resize everyones heads, but the heads freeze and their body continues to move without a head (its clientsided)

This is the script:

for _, v in pairs(game:GetService("Players"):GetPlayers()) do
    if v.Name ~= game:GetService("Players").LocalPlayer.Name then
        v.Character.Head.CanCollide = false
        v.Character.Head.Size = Vector3.new(5, 5, 5)
        v.Character.Head.Transparency = 0.5
    end
end

ive been trying for hours to fix it and ive checked wiki but i dont know what to add to the script

0
Since this is a LocalScript, you cannot edit another Player’s properties, or character. User#19524 175 — 5y
0
not even for my client only? i know nobody else can see it and it isnt on the server Neonshark 0 — 5y
0
Yeah, but it’s still editing another Player. User#19524 175 — 5y
0
Wait Nvm humanoidrootpart worked Neonshark 0 — 5y

Answer this question