--[ SONG LOCAL ]--
local sound = workspace.Sound
--[ SONG COMMANDS ]--
game.Players.PlayerAdded:Connect(function(Player)
Player.Chatted:Connect(function(m)
if Player:IsInGroup(3070754) and Player:GetRankInGroup(3070754) >= 180 then
print("player chatted")
if (m:lower() == "!skip") then
sound.TimePosition = sound.TimeLength
print("skipped")
elseif (m:lower() == "!resume") then
sound:Resume()
print("resumed")
elseif (m:lower() == "!pause") then
sound:Pause()
print("paused")
elseif (m:lower() == "!play") then
sound:Play()
print("played")
elseif (m:lower() == "!music") then
sound.SoundId = "rbxassetid://"
print("test")
end
end
end)
end)
cant get it to work no error it just doesnt work

2 comments
I cant really understand
ok get help from internet