Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[print'g/nog to make it disappear.'
- print' Source -> https://pastebin.com/kaUtEKQ5'
- if game:GetService("RunService"):IsClient() then
- local function MakeRadioGui(player)
- player.Chatted:Connect(function(msg)
- if msg=='g/nog'then
- player:FindFirstChild('CRSound',true):Stop()
- player:FindFirstChild('CRSound',true):Destroy()
- player:FindFirstChild('ClientSidedRadioGui',true):Destroy()
- end
- end)
- local ins = game:GetService("InsertService")
- local sg = Instance.new("ScreenGui",player.PlayerGui)
- sg.Name = 'ClientSidedRadioGui'
- local frame = Instance.new("Frame",sg)
- frame.Size = UDim2.new(.5,0,.5,0)
- frame.AnchorPoint = Vector2.new(.5,.5)
- frame.Position = UDim2.new(1.25,0,.5,0)
- frame.BackgroundColor3 = Color3.new(0,0,0)
- frame.BackgroundTransparency = .5
- frame.ClipsDescendants = true
- local TL1 = Instance.new("TextLabel",frame)
- TL1.BackgroundColor3 = Color3.new(0,0,0)
- TL1.Size = UDim2.new(1, 0,.125, 0)
- TL1.Font = Enum.Font.SciFi
- TL1.Text = ''
- TL1.TextColor3 = Color3.new(255, 255, 255)
- TL1.TextScaled = true
- frame:TweenPosition(UDim2.new(.5,0,.5,0))
- wait(1)
- local title1 = 'Client-Sided Radio by CHL'
- for i=1, #title1 do
- TL1.Text = string.sub(title1,1,i)
- wait()
- end
- frame.Selectable = true
- frame.Active = true
- frame.Draggable = true
- local AssetIdTB = Instance.new("TextBox",frame)
- AssetIdTB.Position = UDim2.new(-1,0,.375,0)
- AssetIdTB.Size = UDim2.new(1,0,.125,0)
- AssetIdTB.PlaceholderText = 'AssetId'
- AssetIdTB.Text = ''
- local LoopedTb = Instance.new("TextButton",frame)
- LoopedTb.Position = UDim2.new(-.5,0,.5, 0)
- LoopedTb.Size = UDim2.new(.5, 0,.125, 0)
- LoopedTb.Text = 'Looped = false'
- local volumeTB = Instance.new("TextBox",frame)
- volumeTB.Position = UDim2.new(-.5, 0,.625, 0)
- volumeTB.Size = LoopedTb.Size
- volumeTB.PlaceholderText = 'Number: Volume'
- volumeTB.Text = ''
- local PBSTB = Instance.new("TextBox",frame)
- PBSTB.Position = UDim2.new(-.5, 0,.75, 0)
- PBSTB.Size = volumeTB.Size
- PBSTB.PlaceholderText = 'Number: PlayBackSpeed'
- PBSTB.Text = ''
- local timepos = Instance.new("TextBox",frame)
- timepos.Position = UDim2.new(-.5, 0,.875, 0)
- timepos.Size = volumeTB.Size
- timepos.PlaceholderText = 'Number: TimePosition'
- timepos.Text = ''
- local play = Instance.new("TextButton",frame)
- play.Position = UDim2.new(1, 0,.5, 0)
- play.Size = UDim2.new(.5, 0,.125, 0)
- play.Text = 'Play'
- local stop = Instance.new("TextButton",frame)
- stop.Position = UDim2.new(1,0,.5 + .125,0)
- stop.Size = play.Size
- stop.Text = 'Stop'
- local shrink = Instance.new("TextButton",frame)
- shrink.Position = UDim2.new(1,0,1-.125,0)
- shrink.Size = play.Size
- shrink.Text = 'Shrink'
- for _,v in pairs(frame:GetChildren())do
- v.BackgroundColor3 = Color3.new(0,0,0)
- v.Font = Enum.Font.SciFi
- v.TextColor3 = Color3.new(255, 255, 255)
- v.TextScaled = true
- end
- LoopedTb.BackgroundColor3 = Color3.new(255, 0, 0)
- local transition = false
- AssetIdTB:TweenPosition(UDim2.new(0,0,.375,0))
- wait(.25)
- LoopedTb:TweenPosition(UDim2.new(0,0,.5,0))
- wait(.25)
- volumeTB:TweenPosition(UDim2.new(0,0,.625,0))
- wait(.25)
- PBSTB:TweenPosition(UDim2.new(0,0,.75,0))
- wait(.25)
- timepos:TweenPosition(UDim2.new(0,0,.875,0))
- wait(.25)
- play:TweenPosition(UDim2.new(.5,0,.5,0))
- wait(.25)
- shrink:TweenPosition(UDim2.new(.5,0,1-.125,0))
- wait(1)
- transition = true
- local shrunk = true
- local sound = Instance.new("Sound",script.Parent)
- sound.Name = 'CRSound'
- if transition then
- LoopedTb.MouseButton1Click:Connect(function()
- LoopedTb:TweenPosition(UDim2.new(-.5,0,.5,0))
- wait(1)
- if sound.Looped then
- LoopedTb.BackgroundColor3 = Color3.new(255, 0, 0)
- LoopedTb.TextColor3 = Color3.new(255,255,255)
- LoopedTb.Text = 'Looped = false'
- else
- LoopedTb.BackgroundColor3 = Color3.new(0, 255, 0)
- LoopedTb.TextColor3 = Color3.new(0,0,0)
- LoopedTb.Text = 'Looped = true'
- end
- LoopedTb:TweenPosition(UDim2.new(0,0,.5,0))
- wait(1)
- if sound.Looped then
- sound.Looped = false
- else
- sound.Looped = true
- end
- end)
- AssetIdTB.FocusLost:Connect(function()
- if tonumber(AssetIdTB.Text) then
- local id = tonumber(AssetIdTB.Text)
- local mps = game:GetService("MarketplaceService")
- if pcall(function()
- local oo = mps:GetProductInfo(id)
- end) then
- if mps:GetProductInfo(id)['AssetTypeId']~=nil then
- if mps:GetProductInfo(id)['AssetTypeId']==3 then
- sound.SoundId = 'rbxassetid://'..id
- else
- AssetIdTB.Text = 'Sound expected'
- end
- else
- AssetIdTB.Text = 'Sound expected'
- end
- else
- AssetIdTB.Text = 'Asset expected'
- end
- else
- AssetIdTB.Text = 'Number expected'
- end
- end)
- volumeTB.FocusLost:connect(function()
- local vol1 = tonumber( volumeTB.Text )
- if vol1 then
- if vol1>10 then
- vol1 = 10
- end
- if vol1<.5 then
- vol1 = .5
- end
- volumeTB.Text = tostring( vol1 )
- sound.Volume = vol1
- else
- volumeTB.Text = 'Number expected'
- end
- end)
- shrink.MouseButton1Click:Connect(function()
- if shrunk then
- frame:TweenSize(UDim2.new( .25,0,.25,0 ))
- wait(1)
- shrunk = false
- else
- frame:TweenSize(UDim2.new( .5,0,.5,0 ))
- wait(1)
- shrunk = true
- end
- end)
- PBSTB.FocusLost:Connect(function()
- local pbsn = tonumber( PBSTB.Text )
- if pbsn then
- sound.PlaybackSpeed = pbsn
- else
- PBSTB.Text = 'Number Expected'
- end
- end)
- timepos.FocusLost:Connect(function()
- local tpn = tonumber( timepos.Text )
- if tpn then
- sound.TimePosition = tpn
- else
- timepos.Text = 'Number Expected'
- end
- end)
- local stopb =false
- local playb = true
- play.MouseButton1Click:Connect(function()
- if playb then
- playb = false
- stopb = false
- play:TweenPosition(UDim2.new( 1, 0,.5, 0))
- stop:TweenPosition(UDim2.new(1,0,.5 + .125,0) )
- wait(1)
- if play.Text=='Play' then
- play.Text = 'Pause'
- sound:Play()
- elseif play.Text=='Pause'then
- play.Text = 'Resume'
- sound:Pause()
- elseif play.Text=='Resume'then
- play.Text = 'Pause'
- sound:Resume()
- end
- stop:TweenPosition(UDim2.new(.5,0,.5 + .125,0) )
- play:TweenPosition(UDim2.new(.5, 0,.5, 0))
- wait(1)
- playb = true
- stopb = true
- end
- end)
- stop.MouseButton1Click:Connect(function()
- if stopb then
- playb = false
- stopb = false
- play:TweenPosition(UDim2.new( 1, 0,.5, 0))
- stop:TweenPosition(UDim2.new(1,0,.5 + .125,0) )
- wait(1)
- sound:Stop()
- play:TweenPosition(UDim2.new(.5,0,.5,0) )
- play.Text = 'Play'
- wait(1)
- playb = true
- stopb = false
- end
- end)
- end
- end
- MakeRadioGui(owner)
- else
- error'Script must be local.'
- end
- ]]
- print'g/nog to make it disappear.'print' Source -> https://pastebin.com/kaUtEKQ5'if game:GetService("RunService"):IsClient()then local function a(b)b.Chatted:Connect(function(c)if c=='g/nog'then b:FindFirstChild('CRSound',true):Stop()b:FindFirstChild('CRSound',true):Destroy()b:FindFirstChild('ClientSidedRadioGui',true):Destroy()end end)local d=game:GetService("InsertService")local e=Instance.new("ScreenGui",b.PlayerGui)e.Name='ClientSidedRadioGui'local f=Instance.new("Frame",e)f.Size=UDim2.new(.5,0,.5,0)f.AnchorPoint=Vector2.new(.5,.5)f.Position=UDim2.new(1.25,0,.5,0)f.BackgroundColor3=Color3.new(0,0,0)f.BackgroundTransparency=.5;f.ClipsDescendants=true;local g=Instance.new("TextLabel",f)g.BackgroundColor3=Color3.new(0,0,0)g.Size=UDim2.new(1,0,.125,0)g.Font=Enum.Font.SciFi;g.Text=''g.TextColor3=Color3.new(255,255,255)g.TextScaled=true;f:TweenPosition(UDim2.new(.5,0,.5,0))wait(1)local h='Client-Sided Radio by CHL'for i=1,#h do g.Text=string.sub(h,1,i)wait()end;f.Selectable=true;f.Active=true;f.Draggable=true;local j=Instance.new("TextBox",f)j.Position=UDim2.new(-1,0,.375,0)j.Size=UDim2.new(1,0,.125,0)j.PlaceholderText='AssetId'j.Text=''local k=Instance.new("TextButton",f)k.Position=UDim2.new(-.5,0,.5,0)k.Size=UDim2.new(.5,0,.125,0)k.Text='Looped = false'local l=Instance.new("TextBox",f)l.Position=UDim2.new(-.5,0,.625,0)l.Size=k.Size;l.PlaceholderText='Number: Volume'l.Text=''local m=Instance.new("TextBox",f)m.Position=UDim2.new(-.5,0,.75,0)m.Size=l.Size;m.PlaceholderText='Number: PlayBackSpeed'm.Text=''local n=Instance.new("TextBox",f)n.Position=UDim2.new(-.5,0,.875,0)n.Size=l.Size;n.PlaceholderText='Number: TimePosition'n.Text=''local o=Instance.new("TextButton",f)o.Position=UDim2.new(1,0,.5,0)o.Size=UDim2.new(.5,0,.125,0)o.Text='Play'local p=Instance.new("TextButton",f)p.Position=UDim2.new(1,0,.5+.125,0)p.Size=o.Size;p.Text='Stop'local q=Instance.new("TextButton",f)q.Position=UDim2.new(1,0,1-.125,0)q.Size=o.Size;q.Text='Shrink'for r,s in pairs(f:GetChildren())do s.BackgroundColor3=Color3.new(0,0,0)s.Font=Enum.Font.SciFi;s.TextColor3=Color3.new(255,255,255)s.TextScaled=true end;k.BackgroundColor3=Color3.new(255,0,0)local t=false;j:TweenPosition(UDim2.new(0,0,.375,0))wait(.25)k:TweenPosition(UDim2.new(0,0,.5,0))wait(.25)l:TweenPosition(UDim2.new(0,0,.625,0))wait(.25)m:TweenPosition(UDim2.new(0,0,.75,0))wait(.25)n:TweenPosition(UDim2.new(0,0,.875,0))wait(.25)o:TweenPosition(UDim2.new(.5,0,.5,0))wait(.25)q:TweenPosition(UDim2.new(.5,0,1-.125,0))wait(1)t=true;local u=true;local v=Instance.new("Sound",script.Parent)v.Name='CRSound'if t then k.MouseButton1Click:Connect(function()k:TweenPosition(UDim2.new(-.5,0,.5,0))wait(1)if v.Looped then k.BackgroundColor3=Color3.new(255,0,0)k.TextColor3=Color3.new(255,255,255)k.Text='Looped = false'else k.BackgroundColor3=Color3.new(0,255,0)k.TextColor3=Color3.new(0,0,0)k.Text='Looped = true'end;k:TweenPosition(UDim2.new(0,0,.5,0))wait(1)if v.Looped then v.Looped=false else v.Looped=true end end)j.FocusLost:Connect(function()if tonumber(j.Text)then local w=tonumber(j.Text)local x=game:GetService("MarketplaceService")if pcall(function()local y=x:GetProductInfo(w)end)then if x:GetProductInfo(w)['AssetTypeId']~=nil then if x:GetProductInfo(w)['AssetTypeId']==3 then v.SoundId='rbxassetid://'..w else j.Text='Sound expected'end else j.Text='Sound expected'end else j.Text='Asset expected'end else j.Text='Number expected'end end)l.FocusLost:connect(function()local z=tonumber(l.Text)if z then if z>10 then z=10 end;if z<.5 then z=.5 end;l.Text=tostring(z)v.Volume=z else l.Text='Number expected'end end)q.MouseButton1Click:Connect(function()if u then f:TweenSize(UDim2.new(.25,0,.25,0))wait(1)u=false else f:TweenSize(UDim2.new(.5,0,.5,0))wait(1)u=true end end)m.FocusLost:Connect(function()local A=tonumber(m.Text)if A then v.PlaybackSpeed=A else m.Text='Number Expected'end end)n.FocusLost:Connect(function()local B=tonumber(n.Text)if B then v.TimePosition=B else n.Text='Number Expected'end end)local C=false;local D=true;o.MouseButton1Click:Connect(function()if D then D=false;C=false;o:TweenPosition(UDim2.new(1,0,.5,0))p:TweenPosition(UDim2.new(1,0,.5+.125,0))wait(1)if o.Text=='Play'then o.Text='Pause'v:Play()elseif o.Text=='Pause'then o.Text='Resume'v:Pause()elseif o.Text=='Resume'then o.Text='Pause'v:Resume()end;p:TweenPosition(UDim2.new(.5,0,.5+.125,0))o:TweenPosition(UDim2.new(.5,0,.5,0))wait(1)D=true;C=true end end)p.MouseButton1Click:Connect(function()if C then D=false;C=false;o:TweenPosition(UDim2.new(1,0,.5,0))p:TweenPosition(UDim2.new(1,0,.5+.125,0))wait(1)v:Stop()o:TweenPosition(UDim2.new(.5,0,.5,0))o.Text='Play'wait(1)D=true;C=false end end)end end;a(owner)else error'Script must be local.'end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement