if hit.Parent:findFirstChild("Humanoid") then
			local = hit.Parent.Name

5 comments

0

You declare your variable but you didn't give your variable a name. Before you write = you should give your variable a name

0

local whatEverNameYouWant = hit.Parent.Name

0

Like "local characterName = hit.Parent.Name"

0

thx

0

No problem