Help with ragdoll cannon

I am trying to make a ragdoll cannon but I cant seem to find out how I would make the player teleport and stay at the cframe of the part and have the player shoot out

local player = script:FindFirstAncestorOfClass("Player")
local rag = player.PlayerGui:WaitForChild("ragdoll")
local ragdoll = rag.variables.ragdoll
local sound = script.Parent.GunSound

local ProximityPrompt = script.Parent.ProximityPrompt
local shootpoint = script.Parent.Parent.tele1

ProximityPrompt.Triggered:Connect(function(player)
     player.Character.HumanoidRootPart.Position = workspace.Cannon.tele1.Position
   --Teleport to the cframe
   --Make the player unmovable
   --Shoot the player
     shootPoint:WaitForChild("GunSound"):Play()
     ragdoll.Value = true
end)

Try taking a look at this tutorial, I know it says projectile but this could still work in your scenario Modeling a projectile's motion