✓ Accepted answer
You did bit wrong:
2 Connects on One Function
To Connect Use The ":" Instead of "."
What part to touch? (line 1)
To change Propeties, hit.Parent is the Character, Character has the "Head" Child.
Try this script, put it on the part you want thats the player will touch:
In A Basic Script:
local part = script.Parent
part.Touched:Connect(function(hit)
local hum = hit.Parent:FindFirstChild("Humanoid")
if (hum~=nil) then
hit.Parent.Head.BrickColor = BrickColor.new("Ghost grey")
hit.Parent.Head.Size = Vector3.new(4,4,4)
end
end)
If it worked, please Give a Soultion!
for More Body Parts, Heres some:
LeftUpperArm, LeftHand, LeftLowerArm: Left Arm
LeftLowerLeg, LeftFoot, LeftUpperLeg: Left Leg
RightUpperArm, RightHand, RightLowerArm: Right Arm
RightLowerLef, RightFoot, RightUpperLeg: Right Leg
2 comments
thanks bud
No problem!