Parachute System Tutorial - Roblox Studio
Hello, sorry this video is so late. Follow along, it is only 1 script. If this video gets to 100 likes then I'll just give you guys the script.
Have a fantastic day, leave a like and subscribe while your at it!
Thankyou so much for all the likes and support! Here is the script, please let me know if the script doesn't work and the error you might be getting in the comments and I'll try my best to get back to you if I'm active.
local character = script.Parent
local player = game:GetService("Players").LocalPlayer
local humanoid = character:WaitForChild("Humanoid")
local isFalling = false
local UIS = game:GetService("UserInputService")
humanoid.StateChanged:Connect(function(oldstate, newstate)
if newstate == Enum.HumanoidStateType.Freefall then
if isFalling == false then
isFalling = true
end
elseif newstate == Enum.HumanoidStateType.Landed then
if isFalling == true then
isFalling = false
if character:WaitForChild("HumanoidRootPart"):FindFirstChild("Chute") then
character:WaitForChild("HumanoidRootPart"):FindFirstChild("Chute"):Destroy()
character:WaitForChild("HumanoidRootPart"):FindFirstChild("WeldConstraint"):Destroy()
character:WaitForChild("HumanoidRootPart"):FindFirstChild("BodyVelocity"):Destroy()
end
end
end
end)
UIS.InputBegan:Connect(function(input, gameProcessed)
if input.UserInputType == Enum.UserInputType.Keyboard and not gameProcessed then
if input.KeyCode == Enum.KeyCode.Space then
if isFalling == true then
local chute = game.ReplicatedStorage:FindFirstChild("Chute"):Clone()
chute.Parent = character:FindFirstChild("HumanoidRootPart")
chute.CFrame = CFrame.new((character:FindFirstChild("HumanoidRootPart").Position))
local weld = Instance.new("WeldConstraint")
weld.Parent = character:WaitForChild("HumanoidRootPart")
weld.Part0 = character:FindFirstChild("HumanoidRootPart")
weld.Part1 = chute
local bodyvelocity = Instance.new("BodyVelocity")
bodyvelocity.Parent = character:WaitForChild("HumanoidRootPart")
bodyvelocity.Velocity = Vector3.new(0, -10, 0)
bodyvelocity.MaxForce = Vector3.new(0, 3500, 0)
end
end
end
end)
Видео Parachute System Tutorial - Roblox Studio канала Creative Side-B
Have a fantastic day, leave a like and subscribe while your at it!
Thankyou so much for all the likes and support! Here is the script, please let me know if the script doesn't work and the error you might be getting in the comments and I'll try my best to get back to you if I'm active.
local character = script.Parent
local player = game:GetService("Players").LocalPlayer
local humanoid = character:WaitForChild("Humanoid")
local isFalling = false
local UIS = game:GetService("UserInputService")
humanoid.StateChanged:Connect(function(oldstate, newstate)
if newstate == Enum.HumanoidStateType.Freefall then
if isFalling == false then
isFalling = true
end
elseif newstate == Enum.HumanoidStateType.Landed then
if isFalling == true then
isFalling = false
if character:WaitForChild("HumanoidRootPart"):FindFirstChild("Chute") then
character:WaitForChild("HumanoidRootPart"):FindFirstChild("Chute"):Destroy()
character:WaitForChild("HumanoidRootPart"):FindFirstChild("WeldConstraint"):Destroy()
character:WaitForChild("HumanoidRootPart"):FindFirstChild("BodyVelocity"):Destroy()
end
end
end
end)
UIS.InputBegan:Connect(function(input, gameProcessed)
if input.UserInputType == Enum.UserInputType.Keyboard and not gameProcessed then
if input.KeyCode == Enum.KeyCode.Space then
if isFalling == true then
local chute = game.ReplicatedStorage:FindFirstChild("Chute"):Clone()
chute.Parent = character:FindFirstChild("HumanoidRootPart")
chute.CFrame = CFrame.new((character:FindFirstChild("HumanoidRootPart").Position))
local weld = Instance.new("WeldConstraint")
weld.Parent = character:WaitForChild("HumanoidRootPart")
weld.Part0 = character:FindFirstChild("HumanoidRootPart")
weld.Part1 = chute
local bodyvelocity = Instance.new("BodyVelocity")
bodyvelocity.Parent = character:WaitForChild("HumanoidRootPart")
bodyvelocity.Velocity = Vector3.new(0, -10, 0)
bodyvelocity.MaxForce = Vector3.new(0, 3500, 0)
end
end
end
end)
Видео Parachute System Tutorial - Roblox Studio канала Creative Side-B
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![New 0.8.4 Security Update (Bloxburg)](https://i.ytimg.com/vi/m1UKc0hfGic/default.jpg)
![Cozy Modern Mansion Speedbuild (Bloxburg)](https://i.ytimg.com/vi/trx5KEaDVJM/default.jpg)
![Modern Mega Mansion Tour - Bloxburg](https://i.ytimg.com/vi/xmmob4g83XE/default.jpg)
![Creative Side-B - Now on Fiverr](https://i.ytimg.com/vi/rRSLWI7fkBQ/default.jpg)
![Cosy Mansion Tour - Bloxburg](https://i.ytimg.com/vi/-OdXryALH74/default.jpg)
![Cozy Modern House SpeedBuild - Bloxburg](https://i.ytimg.com/vi/LCvNHprL-Kg/default.jpg)
![Cool Bloxburg Build Hacks](https://i.ytimg.com/vi/LtPL_X0H2cY/default.jpg)
![(Twin Falls) Waterpark Tour - Bloxburg](https://i.ytimg.com/vi/nJk16L8qbwc/default.jpg)
![20 Things For Future Updates (Bloxburg)](https://i.ytimg.com/vi/PMmfelH7x2A/default.jpg)
![Iron Man Mansion Floor Plans - Bloxburg](https://i.ytimg.com/vi/ljW_lsnkepw/default.jpg)
![Iron Man Mansion Tour - Bloxburg](https://i.ytimg.com/vi/oRjJyxoo0K8/default.jpg)
![SkyDiving System Tutorial - Roblox Studio](https://i.ytimg.com/vi/OcwRzNPDVb8/default.jpg)
![Roblox Graphics Showcase - Roblox ReShade](https://i.ytimg.com/vi/nRbnbLNBVuA/default.jpg)
![Iron Man Mansion Tutorial - Bloxburg](https://i.ytimg.com/vi/zZl_SzVe_8A/default.jpg)
![Mega Mansion Floor Plans - Bloxburg](https://i.ytimg.com/vi/7HEp_lYfCf4/default.jpg)
![Mega Mansion Tour - Bloxburg](https://i.ytimg.com/vi/4j7tAXky7kE/default.jpg)