alright so where it does a :GetChildren() on the players character it returns nil for each value in the table i am unsure how to fix tihs Script:
script.Parent.Lift.OnServerEvent:Connect(function(Player)
local list = {"Head","LeftFoot","LeftHand","LeftLowerArm","LeftUpperArm","LeftLowerLeg","LeftUpperLeg","LowerTorso","RightFoot","RightHand","RightLowerArm","RightLowerLeg","RightUpperArm","RightUpperLeg","UpperTorso","HumanoidRootPart"}
Player.leaderstats.Strength.Value = Player.leaderstats.Strength.Value + 1
Player.Character.Humanoid.WalkSpeed = 0
Player.Character.Humanoid.JumpPower = 0
for i = 1, #list do
local parts = Player.Character:GetChildren()
print(parts.Name)
if parts.ClassName == "Part" or parts.ClassName == "MeshPart" and parts.Name == list[i] then
parts.Size = parts.Size + parts.Size/200
print("sized")
end
end
wait(.5)
Player.Character.Humanoid.WalkSpeed = 16
Player.Character.Humanoid.JumpPower = 50
end)

1 comment
Wow