Ok so what do i want to achieve?
first, i want a part coming out of the ground thats all!! but its not that simple… i want it to come out of the ground infront of the player… but how do i achieve it?
thats all though… im kinda new to studio, so thanks!!
What I mean is you use lookVector and Position to POSITION it in front of the player THEN you can smoothy tween it up from the ground. I would provide an example but my studio is crashing right now but I have a script like this
actually i dont know which kind of part you want but try this put this in a local script and put the local script in the PlayerCharater script this is an example of how you can make your part rise:
local plr = game.Player.LocalPlayer
local char = plr.Character
local Part = instance.new("Part", game.Workspace)
part.CFrame = CFrame.new(0,-10,0)
local tween = game:GetService("TweenService")
wait(10) --wait 10 second then lift the part
part.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,-10,10) ---part position is now to the player character
wait(0.2)
local info = Tween.Info(
10,
Enum.EasingStyle.Linear,
Enum.EasingDirection.Out,
0,
false
0
)
local goal = tween.Create(Part,info,{CFrame = CFrame.new(0,10,10)}) ---play the tween
goal:Play()