hi, so basically i'm having this problem (title), and i do not understand what is wrong. i'm using a remote event (FireServer) to destroy a part (in workspace) that spawns. code:
game.ReplicatedStorage.RemoteEvent.OnServerEvent:Connect(function()
local waa = game.Players.LocalPlayer:FindFirstChild("NicePartlol")
wait()
waa:Destroy()
end)

3 comments
thank you!
wait, now destroy has index nil.
You should check if waa is nil or not