I have the game.Debris:AddItem thing, so why isn't it working? Here's my script:
local player = game.Players.LocalPlayer
local Mouse = player:GetMouse()
game:GetService("UserInputService").InputBegan:connect(function(input,proc)
if input.KeyCode == Enum.KeyCode.C then
script.Disabled = true
local anim = Instance.new("Animation")
anim.AnimationId = 'rbxassetid://864612571'
local loadanim = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(anim)
loadanim:Play()
local x = Instance.new("Part", workspace)
x.Anchored = false
x.CanCollide = false
x.Parent = player.Character.RightHand
x.Material = "Neon"
x.Transparency = 1
x.Size = Vector3.new(0.2,0.2,0.2)
x.BrickColor = BrickColor.new("Cyan")
x.CFrame = player.Character.RightHand.CFrame*CFrame.new(0,0,0)
local weld = Instance.new("Weld", x)
weld.Part0 = x
weld.Part1 = game.Players.LocalPlayer.Character["RightHand"]
local aa = script.particle1:Clone()
aa.Parent = x
x.Touched:connect(function(Hit)
if Hit.Parent:findFirstChild("Humanoid") and Hit.Parent.Humanoid ~= player.Character.Humanoid then
Hit.Parent.Humanoid:TakeDamage(90)
x:Destroy()
game.Debris:AddItem(x,0.8)
end
wait(1)
script.Disabled = false
end)
end
end)

2 comments
If you copied this script then stop developing
i didnt copy it ;-;