#im following a tut from you and it doesnt work [FIXED]

1 messages · Page 1 of 1 (latest)

viral hull
#

so im watching your tut abt flight physics https://www.youtube.com/watch?v=V3nKBCnJOKQ&t=365s
and im at 23:36 and everything works but the weldconstraint wont dissapear in my "part"
this is my code:
local RunService = game:GetService("RunService")
local character = script.Parent
local humanoid = character:WaitForChild("Humanoid")
local connection = nil
local seat = nil

local function Start()
local model = seat:FindFirstAncestorOfClass("Model")
for index, descendant in model:GetDescendants() do
if descendant:IsA("BasePart") == true then
local attachment0 = Instance.new("Attachment", descendant)
local attachment1 = Instance.new("Attachment", descendant)

        local beam = Instance.new("Beam")
        beam.FaceCamera = true
        beam.Segments = 1
        beam.Width0 = 0.2
        beam.Width1 = 0.2
        beam.Color = ColorSequence.new(Color3.new(1, 0, 0))
        beam.Attachment0 = attachment0
        beam.Attachment1 = attachment1
        beam.Parent = descendant
    end
end

end

local function Stop()

end

local function Loop(deltaTime)

end

local function Seated(active, currentSeat)
if active == false then
if connection == nil then return end
connection:Disconnect()
connection = nil
Stop()
seat = nil
elseif currentSeat.Name == "Plane" then
seat = currentSeat
Start()
connection = RunService.PostSimulation:Connect(Loop)
end
end

humanoid.Seated:Connect(Seated)

is this bad?

Discord: https://discord.gg/bEn49K5JUt
Patreon: https://www.patreon.com/Suphi
Donate: https://www.roblox.com/games/7532473490

0:00:00 - Intro
0:02:11 - Flight Physics
0:13:00 - Setup
0:13:50 - Network Owner
0:17:09 - Flight Script
0:26:34 - Motors
0:31:13 - Hinges
0:37:49 - Physics
1:05:46 - Outro

Song: Maze & Trinist - Everything Will Be Okay...

▶ Play video
regal kestrel
viral hull
#

if i delete the weld constrainit the plane wont work

viral hull
#

@latent wadi

viral hull
#

fr

#

so i was like huh

viral hull
#

bcuz so far the video was a abselote masterpiece

#

perfectly explained

latent wadi
#
local RunService = game:GetService("RunService")
local character = script.Parent
local humanoid = character:WaitForChild("Humanoid")
local connection = nil
local seat = nil

local function Start()
    local model = seat:FindFirstAncestorOfClass("Model")
    for index, descendant in model:GetDescendants() do
        if descendant:IsA("BasePart") == true then
            local attachment0 = Instance.new("Attachment", descendant)
            local attachment1 = Instance.new("Attachment", descendant)

            local beam = Instance.new("Beam")
            beam.FaceCamera = true
            beam.Segments = 1
            beam.Width0 = 0.2
            beam.Width1 = 0.2
            beam.Color = ColorSequence.new(Color3.new(1, 0, 0))
            beam.Attachment0 = attachment0
            beam.Attachment1 = attachment1
            beam.Parent = descendant
        end
    end
end

local function Stop()

end

local function Loop(deltaTime)

end

local function Seated(active, currentSeat)
    if active == false then
        if connection == nil then return end
        connection:Disconnect()
        connection = nil
        Stop()
        seat = nil
    elseif currentSeat.Name == "Plane" then
        seat = currentSeat
        Start()
        connection = RunService.PostSimulation:Connect(Loop)
    end
end

humanoid.Seated:Connect(Seated)
viral hull
#

so i can check what happend next time

latent wadi
#

nothing

viral hull
#

oh

#

huh

#

before sitting

#

after sitting

#

what happen @latent wadi

#

u have nothing in part

#

@latent wadi please i need thissss

#

does it matter?

#

can ijust leave it as is?

latent wadi
viral hull
#

oh so i can leav e it as is?

viral hull
latent wadi
#

yes if you keep watching the weld will come back

viral hull
#

tysm

#

love your vids

#

keep it up

latent wadi
#

at 26:19 its back

viral hull
#

alr

#

oh and how do you type so fast

#

and smooth

#

insane fingers

viral hull
latent wadi
viral hull
#

so its like automaticly typing for you

viral hull
latent wadi
#

no i have a copy and paste tool made with it

viral hull
#

oooh alr

#

im following a tut from you and it doesnt work [FIXED]

latent wadi
regal kestrel