Advertisement
Guest User

Radio MC

a guest
Oct 17th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. function playId(id)
  2. game:GetService("ReplicatedStorage").Event:FireServer("PlayRadio", workspace.ObjectSelection[game:GetService("Players").LocalPlayer.Name .. "'s Vehicle"].Chassis, id)
  3. end
  4.  
  5. game:GetService("Players").LocalPlayer.PlayerGui.MainGUI.RadioHUD.Play.MouseButton1Click:connect(function()
  6. playId(game:GetService("Players").LocalPlayer.PlayerGui.MainGUI.RadioHUD.ID.Text)
  7. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement