So i am trying to store tweens into a module so the lines will not be repeated and umm i feel like i formatted it incorrectly but i dont know how i should do it. the output throws me the error Requested module Experienced an error while loading

inside the module

local module = {}
tweeninfo = {2,Enum.EasingStyle.Bounce}

TweenService = {game:GetService("TweenService")}

MPdown = {TweenService:Create(script.Parent.MeetingPrompt,tweeninfo,{Position = UDim2.new({0.3, 0},{0.05, 0})})}
return module

Inside the script that is requiring

wait(10)
local Module = require(script.Parent.Parent.TweenInfos)

Module.MPdown:Play()

1 comment

0

I am done with this i fixed it myself.