It says this on line 8 so the one that says “B.Value = script.Player.Value”
wait(1)
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent then
if hit.Parent.Name == script.Player.Value or hit.Parent.Parent.Name == script.Player.Value then return end
if hit.Parent:findFirstChild("creator") == nil then
local B = Instance.new("ObjectValue")
B.Name = "creator"
B.Value = script.Player.Value
game.Debris:AddItem(B,2)
B.Parent = hit.Parent
script.Disabled = true
hit.Parent.Humanoid:TakeDamage(script.DamageTaken.Value)
hit.Parent.Humanoid.WalkSpeed = 8
end
end
end)