Ok This is a part of my script it suppose to kick players when they got head shot. but something seems to be a prob.
if Hit and Hit.Parent:FindFirstChild("Humanoid") then
local Hit_Player = game.Players:GetPlayerFromCharacter(Hit.Parent)
if Settings.AntiTK and not Hit_Player.Neutral and Hit_Player.TeamColor == Player.TeamColor then
return
end
local Humanoid = Hit.Parent.Humanoid
local c = Instance.new("ObjectValue")
c.Name = "creator"
c.Value = Player
game.Debris:AddItem(c, 3)
c.Parent = Humanoid
if Hit.Name == "Head" then
Humanoid.remove()
else
Humanoid.Health = Humanoid.Health - math.random(Settings.Damage[1], Settings.Damage[2])
end

2 comments
What's the problem exactly? Are there any errors shown in the output?
He says he wants it to kick players when they get a headshot, but there's nothing about kicking players. Problem, incorrect title, or just plain stupidity?