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

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