Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Player = game.Players.LocalPlayer
- PlrStats = Player.PlayerGui.PlrStats
- Mouse = Player:GetMouse()
- R = PlrStats.Frame.RAP
- local function OnLeftClick()
- Target = Mouse.Target
- local Root = Target:FindFirstAncestorWhichIsA("Model")
- local Tool = Root:FindFirstChildWhichIsA("Tool")
- if Tool ~= nil then
- Sound = Tool.Handle.Sound.SoundId
- wait(1)
- R.Text = ("Music Id: " .. Sound)
- setclipboard(Sound)
- else
- print(Root.Name)
- end
- end
- Mouse.Button1Down:Connect(OnLeftClick)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement