ill just make it a sound part to play instead, thanks everyone bye
I tested it and it works for me what
local startb = script.Parent.TextButton
local song1 = Instance.new("Sound",script)
song1.SoundId = "rbxassetid://6927468309"
startb.Activated:Connect(function()
print("Click")
wait(1)
song1:Play()
end)
Yea, it works for me too. Thatâs the reason why i asked about his volume.
I have other scwripts that might interfear so its more then what it looks like
I have other scripts that might interfere so its more then what it looks like
Can you maybe take a screenshot of your workspace as it makes it a whole lot easier to visualize where things are?
everyone its okay ill figure it out another way thanks hto bye
Instead of creating a sound using the script how about create a sound inside a script:
local startb = script.Parent.Parent.StarterGui.LocalScript.Menu.TextButton
local song1 = script.Sound
startb.Activated:Connect(function()
wait(5)
song1:Play()
end)
Maybe do something like this:
Hmm, can you tell me more about the problem? I can try helping you with it
You are referring to StarterGui whilst you should be referring to playerGui.
Do
local startb = script.Parent.LocalScript.Menu.TextButton
StarterGui is the place holder for all the GUI , each Player has a PlayerGui which gets the GUI from StarterGui . So to make changes to a Playerâs UIs you should always refer to PlayerGui object inside the Player.
you donât need to access playergui, al the gui made will be cloned to clientâs playergui
If youâre working on a Group Game, republish the sound using your Group as an author. If it doesnât work, I donât know how to help you
BinaryTree