You can write your topic however you want, but you need to answer these questions:
- I want to make a part tween forward without any other sides changing.
2.It instead tweens to my hand instead of FROM my hand.
- I’ve tried going to devfourm looking for topics about this but decide to make my own
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local Animator = Instance.new("Animator")
Animator.Parent = character:WaitForChild("Humanoid")
end)
end)
game.ReplicatedStorage.RemoteEvent.OnServerEvent:Connect(function(Player , Cero, PlayCero)
local CeroServerSide = game.ReplicatedStorage.Part:Clone()
local Beam = game.ReplicatedStorage.Void:Clone()
Beam.Parent = workspace
CeroServerSide.Name = "Cero"
CeroServerSide.Size = Vector3.new(0,0,0)
print(Cero)
CeroServerSide.Parent = workspace
local partweld = Instance.new("Weld", Player.Character)
partweld.Part0 = Player.Character["Left Arm"]
partweld.Part1 = CeroServerSide
partweld.C0 = CFrame.new(0, -2, 0)
partweld.C1 = CFrame.Angles(math.rad(90), 0, 0)
local Tweenservice = game:GetService("TweenService")
local BeamWeld = Instance.new("Weld", Player.Character)
BeamWeld.Part0 = Player.Character["Left Arm"]
BeamWeld.Part1 = Beam
BeamWeld.C0 = CFrame.new(0, -25, 0)
BeamWeld.C1 = CFrame.Angles(math.rad(90), 0, 0)
local Info = TweenInfo.new(6, Enum.EasingStyle.Quad, Enum.EasingDirection.Out, 0, false, 0)
local tableInfo = {Size = Cero}
local Play_Tween = Tweenservice:Create(CeroServerSide, Info, tableInfo)
Play_Tween:Play()
local SecondInfo = TweenInfo.new(3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out, 0, false, 0)
local SecondTable = {Size = Vector3.new(10.836, 9.473, 54.379), CFrame = Beam.CFrame * CFrame.new((Vector3.new(.569, 7.311, 49.679) - Beam.Size)/2)}
local Play_Second = Tweenservice:Create(Beam, SecondInfo, SecondTable)
Play_Second:Play()
Play_Tween.Completed:Wait()
Play_Second:Play()
print("Completed")
Play_Second.Completed:Wait()
print("Completed ALso")
game.ReplicatedStorage.RemoteEvent:FireClient(Player)
end)