I’m making a tool where it needs to communicate between the client and the server but it’s just not working. I’m not sure if it’s spelling mistake that I’m just not seeing or I scripted the entire thing wrong.
Screenshot of the tool with all the remote events
Local Script
local function playSong()
Song = songInput.Text
print(Song)
print("Pressed")
PlayEvent:FireServer(Song)
BounceEvent:FireServer()
end
Server Script
PlayEvent.OnClientEvent:Connect(function(Song)
print("Sent over from client: "..Song)
sound.SoundId = "rbxassetid://"..Song
sound:Play()
end)
This is my last resort, I am driving myself crazy I can’t tell where it’s not working. There’s no errors in the output. The server script is just not receiving it for some reason.