of     1   

streetninja22
#153501549Thursday, January 08, 2015 5:14 AM GMT

As the subject suggests, this bullet script for my gun works in the studio test mode, but not on an actual server. When the bullet hits a player or NPC, it just doesn't do any damage. script.Parent.Touched:connect(function(hit) game.Debris:AddItem(script.Parent, 5) human = hit.Parent:FindFirstChild("Humanoid") if human and human.Parent.Name ~= script.Parent.Parent.Name then human:TakeDamage(20) end
chimmihc
#153501641Thursday, January 08, 2015 5:16 AM GMT

missing an end and whats up with this line " human.Parent.Name ~= script.Parent.Parent.Name"?
streetninja22
#153501803Thursday, January 08, 2015 5:21 AM GMT

Oh, sorry. Didn't highlight the last end by accident. Anyways, that line is to make sure the person who shot the bullet doesn't take damage.

    of     1