I need help making a script, that when a child/descendant is added to workspace, it goes in a function, and the child is a variable.
That's it.
This should be what you're looking for.
function DoWhatever(Child) if Child....... then end end game.Workspace.ChildAdded:Connect(function(Child) DoWhatever(Child) end)
Helpful Links:
https://developer.roblox.com/en-us/api-reference/event/Instance/ChildAdded