Can anyone tell me how I can tween the full character with the legs and arms IN R15
I tried to tween the HumanoidRootPart but it doesn't take the whole character this is my code: this is a localscript inside startercharacterScripts
local UserInputService = game:GetService("UserInputService") local myPosition = Vector3.new(0,0,0) local player = game.Players.LocalPlayer local character = player.Character local humanoidRootPart = character:WaitForChild('HumanoidRootPart') local tweenService = game:GetService("TweenService") function InputBegin(input,gameProcessedEvent) if input.UserInputType == Enum.UserInputType.KeyBoard then if input.KeyCode == Enum.KeyCode.L and not gameProcessedEvent then tweenService:Create(humanoidRootPart,TweenInfo.new(.5,Enum.EasingStyle.Linear,Enum.EasingDirection.Out),{Position = myPosition})Play() end end end UserInputService.InputBegan:Connect(InputBegin)
You're missing the third parameter of :Create, the goal properties. That would certainly explain why nothing is happening. Line 10 should be
tweenService:Create(humanoidRootPart,TweenInfo.new(.5,Enum.EasingStyle.Linear,Enum.EasingDirection.Out), { ["CFrame"] = NewCFrameHere }):Play()