How to check if a part has a exact children

can i see a pic of the explorer?

sure

message has no 10043 letters

heres the pic

Screenshot_200

Looks fine, I dont know what the error is at this point, have you welded all of the parts of the gun btw
?

yeah i also used the perfection weld thing, ima test it now with your script

Tuples should generally be unfocused in Lua overall because they are not native to the language. Understanding what a tuple is can be helpful to understanding code fundamentally, but calling a list of values “tuple” can be confusing.

Lua, and likewise Luau (afaik), emulate tuples, but they are not native syntax.

A return or passing of multiple values should be considered that, as opposed to calling it a tuple {...}.

Oh, I dont think that the post which I read explained this, thanks for the vital info :smiley:

ok done, sorry for the long wait, it prints but its printing mouseaim, literally, the text mouseaim

nvm i found a way to fix it, but thx!

local tool = script.Parent
local remote = tool:WaitForChild("OnShoot")
local shoot_part = tool:WaitForChild("FirePart")
local Attaches = game.ServerStorage.Shoot:Clone().Parent == game:GetService("Workspace")

tool.OnShoot.OnServerEvent:Connect(function(mouse)
	local targetPart = mouse.Target
	if targetPart:FindFirstChild("ZombieNord") then
		local hu = targetPart:WaitForChild("HumanoidRootPart")
		Attaches:Clone().Parent = game.Workspace
		local bullet = game.Workspace.Shoot
		bullet.Attach1.Position = shoot_part.Position
		bullet.Attach2.Position = hu.Position
	end
end)

Like this? Also in your post you mentioned “Humanoid” but in the script “HumanoidRootPart” is used.