I made a brick named "FF3" that contained the script to move Engine and Wing1. I want to make the "FF3" brick disappear for 5 seconds then come back, after being touched.
Engine = script.Parent.Parent.Engine
Wing1 = script.Parent.Parent.Wing1
function onTouched(hit)
local human = hit.Parent:findFirstChild("Humanoid")
if (human ~= nil) then
for loop = 1, 100 do
Engine.CFrame = Engine. CFrame *CFrame.new(0, 0, -.1) -- z makes it move forwad
wait(1/25)
Wing1.CFrame = Wing1.CFrame *CFrame.new(0, 0, .1)
wait(1/25)
end
end
end
script.Parent.Touched:connect(onTouched)
~Thanks for reading and helping,
~Yeevivor4
