local player = game.Players.LocalPlayer
local Mouse = player:GetMouse()
Mouse.Button1Down:Connect(function()
local par = Instance.new("Part",workspace)
if workspace:FindFirstChild(par) then
print("ie")
else
print("nope")
end
end)
This prints "nope" everytime. But if I switch it to findfirstchild("Part") then it works.
IS there a fix for this?

1 comment
FindFirstChild accepts a string argument and returns a part object. You're giving it the part object it's meant to return?