-- Get the current position of the local player's HumanoidRootPart
local currentPosition = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
-- Calculate the new position by adding 50 to the y-coordinate
local newPosition = Vector3.new(currentPosition.X, currentPosition.Y + 50, currentPosition.Z)
-- Tween the HumanoidRootPart to the new position
game.Players.LocalPlayer.Character.HumanoidRootPart:TweenPosition(newPosition, Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 1)
the error:
TweenPosition is not a valid member of Part “Workspace.mikebramble202.HumanoidRootPart”