I have been trying to make a script the causes a wall of parts to flicker (Like a forcefield), however: A. They are all the same name B. There are more then 20 parts C. It would create thousands of lines of code. Can you guys help me out? Is there some sort of function I can use?
local UIS = game:GetService("UserInputService")
local rp = game.ReplicatedStorage
UIS.InputBegan:Connect(function(Input,IsTyping)
if IsTyping then
return
elseif
Input.KeyCode == Enum.KeyCode.Q then
rp.SpecialMoves.ATField:FireServer()
local fieldSound = game.Workspace["AT SOUND"]
fieldSound:Play()
wait(1)
local ATFIELD = game.Workspace.ATObject:GetChildren()
ATFIELD.Transparency = 1
end
end)
