#make sound to a bus door
1 messages · Page 1 of 1 (latest)
Add sound in the door and make the open door script play the sound
come DM
What
Go into the script and make it play the sound
for _,v in pairs(script.Parent:GetChildren()) do
if v:IsA("Model") then
for _,t in pairs(v:GetChildren()) do
if t:IsA("BasePart") then
local W = Instance.new("WeldConstraint")
W.Part0 = t
W.Part1 = v.Rear.Value and script.Parent.Parent.Misc.Model.Hold1 or script.Parent.Parent.DriveSeat
W.Parent = t
t.Anchored = false
elseif t:IsA("Model") then
for _,x in pairs(t:GetChildren()) do
if x:IsA("BasePart") then
if x.Name ~= "B" then
local W = Instance.new("WeldConstraint")
W.Part0 = x
W.Part1 = x.Parent.B
W.Parent = x
x.Anchored = false
else
x.Anchored = false
end
end
end
end
end
end
end
--[[
Made By SPycre
Script under rights protections
]]--
thats the script
for the door
whats now
?
ahhhh can you do it for me please
** You are now Level 2! **
Do you even have a sound you want it to play
yeah
Put it in whichever door you want to open
in back door 1
i will the sound
Ok
then ?
Then go into the back door 1 script and in the door open function add code to play the sound
is this true ?
its not working
can you fix it ?
and show what is wrong with the model
@valid escarp
I'm not fixing the entire model just find the part that opens the doors and add the code to play your sound
its alright