Hi!
This is my tween code:
script.Parent.time.Text = "Teleporting players.."
game.Workspace.Lobby["Moving Platform"].Platform.Anchored = false
local p = workspace.Lobby["Platform"]
local d1 = p["Destination 1"]
local d2 = p["Destination 2"]
local propTable = {
Position = d1.Position
}
local tinfo = TweenInfo.new(2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out, 0, false, 0)
local tween = game:GetService("TweenService"):Create(p.Platform, tinfo, propTable)
tween:Play()
tween.Completed:Wait()
p.Platform.CanCollide = false
propTable = {
Position = d2.Position
}
local newTween = game:GetService("TweenService"):Create(p.Platform, tinfo, propTable)
newTween:Play()
tween.Completed:Wait()
p.Platform.CanCollide = true
But it does this:
I dont know what’s causing it, I made the tween code right.
Thanks for any help!