Advertisement
Guest User

Untitled

a guest
Jan 19th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.36 KB | None | 0 0
  1. -- Create Gui
  2. local RadioGui = Instance.new("ScreenGui")
  3. local Frame = Instance.new("Frame")
  4. local SoundId = Instance.new("TextBox")
  5. local Pitch = Instance.new("TextBox")
  6. local Time = Instance.new("TextBox")
  7. local Distortion = Instance.new("TextBox")
  8. local Play = Instance.new("TextButton")
  9. local Credits = Instance.new("TextLabel")
  10. local T = Instance.new("TextLabel")
  11. local T_2 = Instance.new("TextLabel")
  12. local T_3 = Instance.new("TextLabel")
  13. local T_4 = Instance.new("TextLabel")
  14.  
  15. RadioGui.Name = "RadioGui"
  16. RadioGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  17.  
  18. Frame.Parent = RadioGui
  19. Frame.Active = true
  20. Frame.BackgroundColor3 = Color3.new(0.709804, 0.0941177, 0.862745)
  21. Frame.BackgroundTransparency = 0.40000000596046
  22. Frame.BorderColor3 = Color3.new(1, 0.0196078, 0.772549)
  23. Frame.BorderSizePixel = 3
  24. Frame.Draggable = true
  25. Frame.Position = UDim2.new(0, 0, 0.307387859, 0)
  26. Frame.Selectable = true
  27. Frame.Size = UDim2.new(0, 420, 0, 450)
  28.  
  29. SoundId.Name = "SoundId"
  30. SoundId.Parent = Frame
  31. SoundId.BackgroundColor3 = Color3.new(0.796079, 0.0588235, 0.698039)
  32. SoundId.BackgroundTransparency = 0.30000001192093
  33. SoundId.BorderColor3 = Color3.new(0.996078, 0.0627451, 0.827451)
  34. SoundId.BorderSizePixel = 3
  35. SoundId.Position = UDim2.new(0.446764082, 0, 0.0276595745, 0)
  36. SoundId.Size = UDim2.new(0, 244, 0, 50)
  37. SoundId.Font = Enum.Font.SourceSans
  38. SoundId.FontSize = Enum.FontSize.Size14
  39. SoundId.Text = "1337"
  40. SoundId.TextColor3 = Color3.new(1, 0.333333, 0.498039)
  41. SoundId.TextScaled = true
  42. SoundId.TextSize = 14
  43. SoundId.TextStrokeTransparency = 0
  44. SoundId.TextWrapped = true
  45.  
  46. Pitch.Name = "Pitch"
  47. Pitch.Parent = Frame
  48. Pitch.BackgroundColor3 = Color3.new(0.796079, 0.0588235, 0.698039)
  49. Pitch.BackgroundTransparency = 0.30000001192093
  50. Pitch.BorderColor3 = Color3.new(0.996078, 0.0627451, 0.827451)
  51. Pitch.BorderSizePixel = 3
  52. Pitch.Position = UDim2.new(0.446764082, 0, 0.17872341, 0)
  53. Pitch.Size = UDim2.new(0, 244, 0, 50)
  54. Pitch.Font = Enum.Font.SourceSans
  55. Pitch.FontSize = Enum.FontSize.Size14
  56. Pitch.Text = "1"
  57. Pitch.TextColor3 = Color3.new(1, 0.333333, 0.498039)
  58. Pitch.TextScaled = true
  59. Pitch.TextSize = 14
  60. Pitch.TextStrokeTransparency = 0
  61. Pitch.TextWrapped = true
  62.  
  63. Time.Name = "Time"
  64. Time.Parent = Frame
  65. Time.BackgroundColor3 = Color3.new(0.796079, 0.0588235, 0.698039)
  66. Time.BackgroundTransparency = 0.30000001192093
  67. Time.BorderColor3 = Color3.new(0.996078, 0.0627451, 0.827451)
  68. Time.BorderSizePixel = 3
  69. Time.Position = UDim2.new(0.446764082, 0, 0.340425521, 0)
  70. Time.Size = UDim2.new(0, 244, 0, 50)
  71. Time.Font = Enum.Font.SourceSans
  72. Time.FontSize = Enum.FontSize.Size14
  73. Time.Text = "0"
  74. Time.TextColor3 = Color3.new(1, 0.333333, 0.498039)
  75. Time.TextScaled = true
  76. Time.TextSize = 14
  77. Time.TextStrokeTransparency = 0
  78. Time.TextWrapped = true
  79.  
  80. Distortion.Name = "Distortion"
  81. Distortion.Parent = Frame
  82. Distortion.BackgroundColor3 = Color3.new(0.796079, 0.0588235, 0.698039)
  83. Distortion.BackgroundTransparency = 0.30000001192093
  84. Distortion.BorderColor3 = Color3.new(0.996078, 0.0627451, 0.827451)
  85. Distortion.BorderSizePixel = 3
  86. Distortion.Position = UDim2.new(0.446764082, 0, 0.487234056, 0)
  87. Distortion.Size = UDim2.new(0, 244, 0, 50)
  88. Distortion.Font = Enum.Font.SourceSans
  89. Distortion.FontSize = Enum.FontSize.Size14
  90. Distortion.Text = "0"
  91. Distortion.TextColor3 = Color3.new(1, 0.333333, 0.498039)
  92. Distortion.TextScaled = true
  93. Distortion.TextSize = 14
  94. Distortion.TextStrokeTransparency = 0
  95. Distortion.TextWrapped = true
  96.  
  97. Play.Name = "Play"
  98. Play.Parent = Frame
  99. Play.BackgroundColor3 = Color3.new(0.811765, 0.0470588, 0.74902)
  100. Play.BackgroundTransparency = 0.30000001192093
  101. Play.BorderColor3 = Color3.new(1, 0.0313726, 0.921569)
  102. Play.BorderSizePixel = 3
  103. Play.Position = UDim2.new(0.291235805, 0, 0.673325002, 0)
  104. Play.Size = UDim2.new(0, 200, 0, 50)
  105. Play.Font = Enum.Font.SourceSans
  106. Play.FontSize = Enum.FontSize.Size14
  107. Play.Text = "Play"
  108. Play.TextColor3 = Color3.new(1, 0.333333, 0.498039)
  109. Play.TextScaled = true
  110. Play.TextSize = 14
  111. Play.TextStrokeTransparency = 0
  112. Play.TextWrapped = true
  113.  
  114. Credits.Name = "Credits"
  115. Credits.Parent = Frame
  116. Credits.BackgroundColor3 = Color3.new(1, 1, 1)
  117. Credits.BackgroundTransparency = 1
  118. Credits.Position = UDim2.new(0.0167014617, 0, 0.88936168, 0)
  119. Credits.Size = UDim2.new(0, 471, 0, 52)
  120. Credits.Font = Enum.Font.SourceSans
  121. Credits.FontSize = Enum.FontSize.Size14
  122. Credits.Text = "Script Made By Dexia Fuck Skids"
  123. Credits.TextColor3 = Color3.new(1, 0.333333, 0.498039)
  124. Credits.TextScaled = true
  125. Credits.TextSize = 14
  126. Credits.TextStrokeTransparency = 0
  127. Credits.TextWrapped = true
  128.  
  129. T.Name = "T"
  130. T.Parent = Frame
  131. T.BackgroundColor3 = Color3.new(0.6, 0.0352941, 0.6)
  132. T.BackgroundTransparency = 0.30000001192093
  133. T.Position = UDim2.new(0.0167014617, 0, 0.0276595745, 0)
  134. T.Size = UDim2.new(0, 192, 0, 50)
  135. T.Font = Enum.Font.SourceSans
  136. T.FontSize = Enum.FontSize.Size14
  137. T.Text = "SoundId/HashId"
  138. T.TextColor3 = Color3.new(1, 0.333333, 0.498039)
  139. T.TextScaled = true
  140. T.TextSize = 14
  141. T.TextStrokeTransparency = 0
  142. T.TextWrapped = true
  143.  
  144. T_2.Name = "T"
  145. T_2.Parent = Frame
  146. T_2.BackgroundColor3 = Color3.new(0.6, 0.0352941, 0.6)
  147. T_2.BackgroundTransparency = 0.30000001192093
  148. T_2.Position = UDim2.new(0.0167014617, 0, 0.17872341, 0)
  149. T_2.Size = UDim2.new(0, 192, 0, 50)
  150. T_2.Font = Enum.Font.SourceSans
  151. T_2.FontSize = Enum.FontSize.Size14
  152. T_2.Text = "Pitch"
  153. T_2.TextColor3 = Color3.new(1, 0.333333, 0.498039)
  154. T_2.TextScaled = true
  155. T_2.TextSize = 14
  156. T_2.TextStrokeTransparency = 0
  157. T_2.TextWrapped = true
  158.  
  159. T_3.Name = "T"
  160. T_3.Parent = Frame
  161. T_3.BackgroundColor3 = Color3.new(0.6, 0.0352941, 0.6)
  162. T_3.BackgroundTransparency = 0.30000001192093
  163. T_3.Position = UDim2.new(0.0167014617, 0, 0.340425551, 0)
  164. T_3.Size = UDim2.new(0, 192, 0, 50)
  165. T_3.Font = Enum.Font.SourceSans
  166. T_3.FontSize = Enum.FontSize.Size14
  167. T_3.Text = "Time Position"
  168. T_3.TextColor3 = Color3.new(1, 0.333333, 0.498039)
  169. T_3.TextScaled = true
  170. T_3.TextSize = 14
  171. T_3.TextStrokeTransparency = 0
  172. T_3.TextWrapped = true
  173.  
  174. T_4.Name = "T"
  175. T_4.Parent = Frame
  176. T_4.BackgroundColor3 = Color3.new(0.6, 0.0352941, 0.6)
  177. T_4.BackgroundTransparency = 0.30000001192093
  178. T_4.Position = UDim2.new(0.0167014617, 0, 0.487234056, 0)
  179. T_4.Size = UDim2.new(0, 192, 0, 50)
  180. T_4.Font = Enum.Font.SourceSans
  181. T_4.FontSize = Enum.FontSize.Size14
  182. T_4.Text = "Distortion"
  183. T_4.TextColor3 = Color3.new(1, 0.333333, 0.498039)
  184. T_4.TextScaled = true
  185. T_4.TextSize = 14
  186. T_4.TextStrokeTransparency = 0
  187. T_4.TextWrapped = true
  188.  
  189. function weld(player,part)
  190. local function weldBetween(a, b)
  191. local weld = Instance.new("ManualWeld")
  192. weld.Part0 = a
  193. weld.Part1 = b
  194. weld.C0 = CFrame.new()
  195. weld.C1 = b.CFrame:inverse() * a.CFrame
  196. weld.Parent = a
  197. return weld;
  198. end
  199. local char = player.Character
  200. part.Parent=char
  201. part.CFrame=char:WaitForChild("Torso").CFrame*CFrame.new(Vector3.new(0,0,1))*CFrame.Angles(0,math.rad(180),math.rad(45))
  202. weldBetween(char:WaitForChild("Torso"), part)
  203. part.CanCollide=true
  204. part.Anchored=false
  205. end
  206.  
  207. -- Create Radio
  208. local Radio = Instance.new("Part")
  209. local Sound = Instance.new("Sound")
  210. local RE = Instance.new("RemoteEvent")
  211. local RadioMesh = Instance.new("SpecialMesh")
  212. RadioMesh.Parent = Radio
  213. RE.Parent = Radio
  214. RadioMesh.MeshId = "http://www.roblox.com/asset/?id=212302951"
  215. RadioMesh.TextureId = "http://www.roblox.com/asset/?id=684263742"
  216. RadioMesh.Scale = Vector3.new(5, 5, 5)
  217. Radio.Size = Vector3.new(4.2, 2.23, 2)
  218. Sound.Parent = Radio
  219. Radio.Name = "Radio"
  220. weld(game.Players.LocalPlayer,Radio)
  221.  
  222. -- Fire Play
  223. Play.MouseButton1Click:Connect(function()
  224. Sound.Pitch = Pitch.Text
  225. if tonumber(Pitch.Text) == nil then
  226. Sound.Pitch = 1
  227. end
  228. Sound.TimePosition = Time.Text
  229. local Dists = Instance.new("DistortionSoundEffect")
  230. Dists.Name = "Dist"
  231. if Sound:FindFirstChild("Dist") then
  232. Sound.Dist:Destroy()
  233. end
  234. if tonumber(SoundId.Text) ~= nil then
  235. Sound.SoundId = "rbxassetid://"..SoundId.Text
  236. elseif tonumber(SoundId.Text) == nil then
  237. Sound.SoundId = "rbxassetid://&hash="..SoundId.Text
  238. end
  239. if tonumber(Distortion.Text) == 0 then
  240. if Sound:FindFirstChild("Dist") then
  241. Sound.Dist:Destroy()
  242. end
  243. elseif tonumber(Distortion.Text) > 0 then
  244. Dists.Level = Distortion.Text
  245. Dists:Clone().Parent = Sound
  246. end
  247. Sound.Looped = true
  248. Sound.Volume = 10
  249. Sound:Play()
  250. end)
  251. while Sound.Playing == true do
  252. wait()
  253. RadioMesh.Scale = RadioMesh.Scale+Vector3.new(1,1,1)
  254. wait()
  255. RadioMesh.Scale = RadioMesh.Scale-Vector3.new(1,1,1)
  256. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement