Hey Devs I Made A Script And Now I Am Having Problems On How DO I Select Only 1 Child From A for i,v loop
Local Script
local TEST = game.ReplicatedStorage.test wait(5) print("Script Started") for i, v in pairs(game.Workspace:GetChildren()) do if v:IsA("Part") then if v.Position == v.Position then TEST:FireServer(v) end end end
Script
local TEST = game.ReplicatedStorage.test TEST.OnServerEvent:Connect(function(player,v) if v.Name == "Base" then return false else print(v.Name) end end)
Thanks
Answered