How can I position a model under the player and then tween the model upwards

I never really done this and just wanted to make it so when a player reaches 0 health a ball is spawned under him and then it will tween certain amount just for the looks.

humanoid.Died:Connect(function()
local ball = Instance.new("Part", workspace)
ball.Shape = "Ball"
ball.Anchored = true
ball.CanCollide = false
ball.CFrame = character.HumanoidRootPart.CFrame * CFrame.new(0, -5, 0)
local tweenService = game:GetService("TweenService")
local info = TweenInfo.new(2, "Out", "Quint")
local propertyData = {
Position = ball.Position + Vector3.new(0, 10, 0)
}
local tween = tweenService:Create(ball, info, propertyData)
tween:Play()
end)
1 Like

I want an already existing ball model to appear under the player is that possible

humanoid.Died:Connect(function()
local ball = workspace["RealyConfus1on's ball or whatever name you want"]
ball.CFrame = character.HumanoidRootPart.CFrame * CFrame.new(0, -5, 0)
local tweenService = game:GetService("TweenService")
local info = TweenInfo.new(2, "Out", "Quint")
local propertyData = {
Position = ball.Position + Vector3.new(0, 10, 0)
}
local tween = tweenService:Create(ball, info, propertyData)
tween:Play()
end)