Hey just wondering.
Many people uses modules for stuff like this
This is not needed, you can just do a function on your LocalScript!
Why using modules if you’re not “used” to work with them?
Just do a function!
It’ll be easier.
But, answering to the question, I can barely understand.
local a = require(game.ReplicatedStorage.ModuleScript)
local b = UDim2.new(0,0,0,0)
script.Parent.MouseButton1Down:Connect(a.Butfun(script.Parent,TweenSize,b))
Please can anyone help me i dont know what to do
‘B’ is a Udim2 value, and when tweening it, you do Udim2.new() on a Udim2.
@varjoy i want to be better at module scrips
in local script i only need to do
script.parent:TweenSize(Udim2.new(position),“Out”,"Linear"0.3)
thats all
but i dont know i just wanna be better at coding already trying to learn for 2 years but dont know how to use modules and datastores