Ouuter
(Outer)
#1
So whats happening is that it only sends the rbxassetid part into the soundid of the sound not the actualy text in the textbox
local ScreenGui = Player:WaitForChild("PlayerGui").ApartmentBoomBox
local TextBox = ScreenGui.Frame.TextBox
ScreenGui.Frame.Play.MouseButton1Down:Connect(function()
RadioPart.SoundPart.Sound.SoundId = ("rbxassetid://" .. TextBox.Text)
RadioPart.SoundPart.Sound:Play()
print("Hello")
end)
I added the print to see if it went through it did, but still wont change the soundid to the textbox’s text
InPhulze
(phulze)
#2
It might be the MouseButton1Down, because I belive its depricated, correct me if im wrong
Ouuter
(Outer)
#3
It is not deprecated no, but ive already tried MouseButton1Click but that does the same thing.
Kaid3n22
(Kaiden)
#4
is this a local script or a server script?
Ouuter
(Outer)
#5
Server script, but i dont think that would make any difference?
Kaid3n22
(Kaiden)
#6
only local scripts can see the text of a textbox. I would recommend using a remote event for this.
Ouuter
(Outer)
#7
You know i can see why this is true thank you.