Skydiving System not working

  1. What do you want to achieve? I want to achieve where when the part is clicked the part will be cloned and attached behind your torso and when you are falling and press space the part is then turned into the dark green color then your fall speed is decreased and when you land the part is destroyed after 3 seconds and all effects are gone

  2. What is the issue? When I click the part the part doesn’t attach behind my torso and there is no error what so ever in the output

  3. What solutions have you tried so far? I tried checking the console/output and there was no error

it is a simple and easy skydiving system so I am confused what I did wrong if you can help me. I would appreciate it very much!

local part = game:GetService("Workspace").Parachute
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local torso = character:WaitForChild("Torso")
local debounce = false

part.ClickDetector.MouseClick:Connect(function()
	local newPart = part:Clone()
	newPart.Anchored = true
	newPart.CFrame = torso.CFrame * CFrame.new(0, 0, -2)
	newPart.Parent = game.Workspace
	local connection
	connection = game:GetService("UserInputService").JumpRequest:Connect(function()
		if not debounce and humanoid:GetState() == Enum.HumanoidStateType.Freefall then
			debounce = true
			newPart.BrickColor = BrickColor.new("Dark green")
			humanoid.FreeFalling:Connect(function(active)
				if active then
					humanoid.PlatformStand = true
				else
					humanoid.PlatformStand = false
					wait(3)
					newPart:Destroy()
					connection:Disconnect()
					debounce = false
				end
			end)
		end
	end)
end)
2 Likes

so I assume it should only function like a parachute and not a sky diving suit right? (Since you dont glide forward)

So the issue seems to be that you just anchored the part and threw it behind the torso. Thats just gonna stay there. Instead, you should use a weld or something

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.