Ok so what I'm trying to do is take the player, then put the player on the other side of the wall. See: http://prntscr.com/8jes0o
Now this works all fine and dandy I'm just having problems on the math side of it:
repeat wait() until game.Players.LocalPlayer.Character.Humanoid local localplayer = game.Players.LocalPlayer local character = localplayer.Character local walls = game.Workspace.JumpWalls:GetChildren() local jumpdeb = false character.Humanoid.Jumping:connect(function() if jumpdeb == false then jumpdeb = true print('lol u tryin') for i,v in pairs (walls) do if (v.Position - character.Torso.Position).magnitude <= 10 then local torso = character.Torso -- how 2 get end end wait(.5) jumpdeb = false end end)