The REVrocks variable is a model called “REVRocks” that has 5 MeshParts in it, all named “Rock”. I want them to have a tweening animation that makes them go down 40 studs in a bounce animation, so that they collapse and block an exit. When the code is activated, nothing happens and nothing shows up in the Output.
local rockSound = script.Parent.RSound
local function rockTweening()
local REVrocks = Lib.Map.REVrocks:GetChildren()
for i,v in pairs(REVrocks) do
rockSound:Play()
wait(0.35)
game:GetService('TweenService'):Create(
v,TweenInfo.new(5,Enum.EasingStyle.Bounce,Enum.EasingDirection.Out),
{CFrame = v.CFrame * CFrame.new(0,-40,0)}):Play()
end
end
wait(25)
rockTweening()
Another thing, for future reference, organization is important. I would define your info or goal (or both) separately as variables then plug them into the tween. If this is not an issue, don’t worry about it. If your script does not show anything in the output, your script might not be running at all. try printing something in the script when it runs and see if it works.
Shound look at EasingDirection vs EasingStyle. You have both of them set as bounce, and just like how @9100ryan said, you can only set it as in, out, inout.
probably
because last time i saw that fe2cm deprecated the eventstring and people will need to paste the whole process from the eventstring back into the eventscript
havent played fe2 for over 1 year