Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

tween service works on roblox studio but not in game! Please help?

Asked by
tomekcz 174
5 years ago

this script is inside part that is clonned into workspace from Server stoarge

local TweenService = game:GetService("TweenService")

local part = script.Parent

local goal = {}
goal.Size = Vector3.new(0,0,0)


local tweenInfo = TweenInfo.new(100, 10000)

local tween = TweenService:Create(part, tweenInfo, goal)

tween:Play()

it does works in roblox studio but it does not in game

in game it prints

17:39:57 -- TweenInfo.new secount argument expects Enum.EasingStyle input

Game

1 answer

Log in to vote
0
Answered by
uwot75 15
5 years ago

You are using "TweenInfo.new" the wrong way, look on this website to see how to actually use it:

https://wiki.roblox.com/index.php?title=TweenInfo

I can show you a video tutorial if you want.

0
or just tell you how to use it. uwot75 15 — 5y
0
yep tomekcz 174 — 5y
Ad

Answer this question