#tweenservice tweaking

5 messages · Page 1 of 1 (latest)

elder shard
#
local event = game.ReplicatedStorage.BallDMGEvent

local tweenService = game:GetService("TweenService")

event.OnServerEvent:Connect(function(plr, pos, ball)
    local handle = ball.Handle
    
    handle.Parent = workspace
    
    ball:Destroy()
    
    local tweenInfo = TweenInfo.new((pos.Position-handle.Position).Magnitude/10, Enum.EasingStyle.Linear,Enum.EasingDirection.In,0,false,0)
    
    local tween = tweenService:Create(handle, tweenInfo, {Position = pos.Position})
    
    print(pos.Position)
    
    tween:Play()
    
    
    
    wait(10)
    
    if handle then handle:Destroy() end
    
    return
end)

look at the end of the video it starts bugging can someone tell me why

carmine dockBOT
#

studio** You are now Level 8! **studio

stoic halo
#

Did you anchor it

#

Plus you ought to use tweenservice on clients

elder shard