Thanks i totally forgot that wait and spawn are deprecated
i already made the changes
Consider changing TweenModuleSize
to TweenModuleScale
oof yea i will change that real quick (d0ne)
TweenModule:TweenModulePosition(PickedMap,TweenInfo.new(5,Enum.EasingStyle.Linear),Vector3.new(0, -8, 0))
can you help?
its
TweenModule.TweenModulePosition(PickedMap,TweenInfo.new(5,Enum.EasingStyle.Linear),Vector3.new(0, -8, 0))
The functions is not a method so u need to use .
Oh yeah, thank you so much. I forgot it’s a module lmao
Nice resource - however, a few suggestions:
More functions would be great, such as :TweenTransparency, or :TweenColor. These are pretty easy to implement for advanced scripters, but would make the module that much more useful.
Thanks for the idea. I’ve implemented it
How do I define module
in module.TweenModuleScale(Model,Tweeninfo,Size)
? Thank you.
put the module in replicated storage and add this at the top of your code
local module = require(game:GetService("ReplicatedStorage"):WaitForChild("TMmoduleV2"))
Thank you, the tween works now, but it keeps repeating on end…
My script is
local module = require(game:GetService("ReplicatedStorage"):WaitForChild("TMmoduleV2"))
local Tweeninfo = TweenInfo.new(5, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 1, false, 3)
module.TweenModuleScale(script.Parent,Tweeninfo,5)
local module = require(game:GetService("ReplicatedStorage"):WaitForChild("TMmoduleV2"))
local Tweeninfo = TweenInfo.new(5, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 0, false, 3)
module.TweenModuleScale(script.Parent,Tweeninfo,5)
task.wait(5)
script:Deestroy()
must me a bug, will check when iget back home
found what the issue is, its not a problem with the module, you made the tween info loop it
How would I tween a model to gradually move up, while keeping it’s X and Z coordinates fixed?
by doing this
local MyModel = workspace.Model
local ModelTween = require(script.TW2module)
ModuleTween.TweenModulePosition(MyModel,Tweeninfo.new(10),ModelTween:GetPivot() + Vector3.new(0,20,0))
Something like this
Thanks for this addition! This seems very useful for any projects I’m making!
How would I make it tween the size of a whole model while excluding some parts, if their name is something? (ex: part.Name = hitbox)
I just can’t explain how AMAZING this resource is! This really saved me so much time while making my project. Thank you so much!
Excited to see what I can accomplish with this, thank you so much!