local debounce = false local Front = script.Parent.Parent.Front local h = script.Parent.Parent.head local t = script.Parent.Parent.t local r = script.Parent.Parent.t.roblox function onHit(hit) local human = hit.Parent:findFirstChild("Humanoid") if (human ~= nil) and debounce == false then debounce = true local h2 = hit.Parent.Head local ra2 = hit.Parent:findFirstChild("Right Arm") local la2 = hit.Parent:findFirstChild("Left Arm") local ll2 = hit.Parent:findFirstChild("Left Leg") local rl2 = hit.Parent:findFirstChild("Right Leg") local t2 = hit.Parent.Torso local r2 = hit.Parent.Torso.roblox local touch = hit.Parent local crightarm = script.Parent.Parent.RightArm:children() local cleftarm = script.Parent.Parent.LeftArm:children() local crightleg = script.Parent.Parent.RightLeg:children() local cleftleg = script.Parent.Parent.RightArm:children() for i=1,#crightarm do if(crightarm[i].className == "Part") then crightarm[i].Color = ra2.Color end end for i=1,#cleftarm do if(cleftarm[i].className == "Part") then cleftarm[i].Color = la2.Color end end for i=1,#crightleg do if(crightleg[i].className == "Part") then crightleg[i].Color = rl2.Color end end for i=1,#cleftleg do if(cleftleg[i].className == "Part") then cleftleg[i].Color = ll2.Color end end h.Color = h2.Color t.Color = t2.Color r.Texture = r2.Texture Front.Color = la2.Color script.Parent.Parent.tag.Name = hit.Parent.Name .. " owns this plane" end debounce = false script:remove() end script.Parent.Touched:connect(onHit)