I'm trying to figure out how I can insert a script into multiple objects at one time using code, here's what I'm trying to use:
parts = game.Workspace.LargeBoat.Parts:GetChildren()
for i = 1,#parts do
hscript = game.ServerScriptService.HealthScript:Clone()
hscript.Parent = game.Workspace.LargeBoat.Parts:FindFirstChild("Part")
end
It's not working, would it only be putting one script into one part?
