I have all of the info at my forum post, but got no help. I decided to look here. Link: http://www.roblox.com/Forum/ShowPost.aspx?PostID=166428008
COMMUNITY QUESTION
Why won't my script work?
2 answers
local findchild= hum1:findFirstChild("Humanoid")
local hum=nil
local dist=100
for i= 1 ,#litx do
hum1=litx[i]
if (hum1.className == "Model" and findchild) then
local temp = hum1:findFirstChild("Torso")
local human = hum1:findFirstChild("Humanoid")
Change that to
local findchild= hum1:FindFirstChild("Humanoid")
local hum=nil
local dist=100
for i= 1 ,#litx do
hum1=litx[i]
if (hum1.className == "Model" and findchild) then
local temp = hum1:FindFirstChild("Torso")
local human = hum1:FindFirstChild("Humanoid")
This discussion is preserved as it was. New answers, comments, and votes are closed.
