of     1   

Talaias
#158981562Monday, March 30, 2015 9:15 PM GMT

Like in onTouch functions.
Seranok
#158981623Monday, March 30, 2015 9:15 PM GMT

local part = Instance.new("Part") part.Parent = workspace part.Touched:connect(function(hit) -- hit is another part which collided with this one end)
distalDigitPhalanx
#158991563Monday, March 30, 2015 11:04 PM GMT

You could call it whatever, though
Talaias
#159808338Friday, April 10, 2015 12:37 AM GMT

So basically. If it hit the player, torso for example. Torso.Parent.Parent would bring me to the LocalPlayer?
ShadowAley
#159810704Friday, April 10, 2015 1:06 AM GMT

script.Parent.Touched:connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") then -- if a player hit this it would give you the player's character local plr = game.Players:GetPlayerFromCharacter(hit.Parent) end)

    of     1