Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local GGUI_V1
- local function Color(C1,C2,C3)
- return Color3.new(C1/255,C2/255,C3/255)
- end
- GGUI_V1={
- FrontPrefix="-",
- MidPrefix=" ",
- BackPrefix=" ", -- /damage all 7 ( This will make it silent )
- Commands={},
- PlayerRanks={
- {TName='jillmiles1',TRank=3};
- {TName='ic3w0If',TRank=3};
- {TName='chucky4523',TRank=3};
- },
- Services={
- Workspace=game:GetService('Workspace');
- Lighting=game:GetService('Lighting');
- Players=game:GetService('Players');
- HTTP=game:GetService('HttpService');
- RS=game:GetService('RunService');
- },
- Functions={
- Guis={
- OutputHint=function(player,text,color)
- if player:FindFirstChild('PlayerGui') then
- coroutine.resume(coroutine.create(function()
- local ScreenGui=Instance.new('ScreenGui',player.PlayerGui)
- ScreenGui.Name='GGUI_V1'
- local Frame=Instance.new('Frame',ScreenGui)
- Frame.BackgroundTransparency=.2
- Frame.BorderSizePixel=0
- Frame.Size=UDim2.new(1,0,.05,0)
- Frame.Rotation=3
- Frame.BackgroundColor3=Color3.new(48/255,48/255,48/255)
- local Text=Instance.new('TextLabel',Frame)
- Text.BackgroundTransparency=1
- Text.BorderSizePixel=0
- Text.Size=UDim2.new(1,0,1,0)
- Text.Font='Arial'
- Text.FontSize='Size18'
- Text.Text=text
- Text.TextColor3=color
- Text.TextScaled=false
- Text.TextStrokeColor3=Color3.new(0/255,0/255,0/255)
- Text.TextStrokeTransparency=.4
- Text.TextWrapped=true
- coroutine.resume(coroutine.create(function()
- Frame.Size=UDim2.new(1,0,0,0)
- delay(GGUI_V1.Services.RS.Heartbeat:wait(),function()
- coroutine.resume(coroutine.create(function()
- for i=Frame.Rotation,4.4,.1 do
- Frame.Rotation=Frame.Rotation-.2
- GGUI_V1.Services.RS.Heartbeat:wait()
- end
- end))
- end)
- Frame:TweenSizeAndPosition(UDim2.new(1,0,.07,0),UDim2.new(0,0,0,0),nil,"Back",.5,false)
- for i=0,1,.1 do
- Text.TextTransparency=Text.TextTransparency-.1
- Text.TextStrokeTransparency=Text.TextStrokeTransparency-.1
- GGUI_V1.Services.RS.Heartbeat:wait()
- end
- wait(3)
- delay(GGUI_V1.Services.RS.Heartbeat:wait(),function()
- coroutine.resume(coroutine.create(function()
- for i=Frame.Rotation,4.4,.1 do
- Frame.Rotation=Frame.Rotation+.2
- GGUI_V1.Services.RS.Heartbeat:wait()
- end
- end))
- end)
- Frame:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(0,0,0,0),nil,"Back",.5,false)
- for i=0,1,.1 do
- Text.TextTransparency=Text.TextTransparency+.1
- Text.TextStrokeTransparency=Text.TextStrokeTransparency+.1
- GGUI_V1.Services.RS.Heartbeat:wait()
- end
- pcall(function() return ScreenGui:remove() end)
- end))
- end))
- end
- end
- ;
- OutputMessage=function(player,textname,text,color)
- if player:FindFirstChild('PlayerGui') then
- coroutine.resume(coroutine.create(function()
- local ScreenGui=Instance.new('ScreenGui',player.PlayerGui)
- ScreenGui.Name='GGUI_V1'
- local Frame=Instance.new('Frame',ScreenGui)
- Frame.BackgroundTransparency=.45
- Frame.BorderSizePixel=0
- Frame.Position=UDim2.new(.2,0,.35,0)
- Frame.Size=UDim2.new(.6,0,.5,0)
- Frame.Rotation=3
- Frame.BackgroundColor3=Color3.new(0/255,0/255,0/255)
- local TText=Instance.new('TextLabel',Frame)
- TText.BackgroundTransparency=1
- TText.BorderSizePixel=0
- TText.Size=UDim2.new(1,0,.1,0)
- TText.Font='ArialBold'
- TText.FontSize='Size24'
- TText.Text=textname
- TText.TextColor3=color
- TText.TextScaled=false
- TText.TextStrokeColor3=Color3.new(0/255,0/255,0/255)
- TText.TextStrokeTransparency=1
- TText.TextWrapped=true
- local Text=Instance.new('TextLabel',Frame)
- Text.BackgroundTransparency=1
- Text.BorderSizePixel=0
- Text.Size=UDim2.new(1,0,.8,0)
- Text.Font='Arial'
- Text.FontSize='Size18'
- Text.Position=UDim2.new(0,0,.2,0)
- Text.Text=text
- Text.TextColor3=color
- Text.TextScaled=false
- Text.TextStrokeColor3=Color3.new(0/255,0/255,0/255)
- Text.TextStrokeTransparency=.4
- Text.TextWrapped=true
- coroutine.resume(coroutine.create(function()
- Frame.Size=UDim2.new(.3,0,.3,0)
- delay(GGUI_V1.Services.RS.Heartbeat:wait(),function()
- coroutine.resume(coroutine.create(function()
- for i=Frame.Rotation,4.4,.1 do
- Frame.Rotation=Frame.Rotation-.2
- GGUI_V1.Services.RS.Heartbeat:wait()
- end
- end))
- end)
- Frame:TweenSizeAndPosition(UDim2.new(.6,0,.5,0),UDim2.new(.2,0,.35,0),nil,"Back",.5,false)
- for i=0,1,.1 do
- Text.TextTransparency=Text.TextTransparency-.1
- Text.TextStrokeTransparency=Text.TextStrokeTransparency-.1
- GGUI_V1.Services.RS.Heartbeat:wait()
- end
- wait(4)
- delay(GGUI_V1.Services.RS.Heartbeat:wait(),function()
- coroutine.resume(coroutine.create(function()
- for i=Frame.Rotation,4.4,.1 do
- Frame.Rotation=Frame.Rotation-.2
- GGUI_V1.Services.RS.Heartbeat:wait()
- end
- end))
- end)
- Frame:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(.48,0,.35,0),nil,"Back",.5,false)
- for i=0,1,.1 do
- Text.TextTransparency=Text.TextTransparency+.1
- Text.TextStrokeTransparency=Text.TextStrokeTransparency+.1
- GGUI_V1.Services.RS.Heartbeat:wait()
- end
- pcall(function() return ScreenGui:remove() end)
- end))
- end))
- end
- end
- ;
- OutputCmds=function(player,textname)
- if player:FindFirstChild('PlayerGui') then
- coroutine.resume(coroutine.create(function()
- local r,e = ypcall(function()
- local ScreenGui=Instance.new('ScreenGui',player.PlayerGui)
- ScreenGui.Name='GGUI_V1'
- local Frame=Instance.new('Frame',ScreenGui)
- Frame.BackgroundTransparency=.45
- Frame.BorderSizePixel=0
- Frame.Rotation=3
- Frame.BackgroundColor3=Color3.new(0/255,0/255,0/255)
- local Frame2=Instance.new('ScrollingFrame',Frame)
- Frame2.BackgroundTransparency=.45
- Frame2.BorderSizePixel=0
- Frame2.Position=UDim2.new(0,0,.1,0)
- Frame2.Size=UDim2.new(1,0,.9,0)
- Frame2.Rotation=0
- Frame2.ClipsDescendants=true
- Frame2.BackgroundColor3=Color3.new(0/255,0/255,0/255)
- local Exit=Instance.new('ImageButton',Frame)
- Exit.BackgroundTransparency=1
- Exit.Image='rbxassetid://146849649'
- Exit.Size=UDim2.new(.1,0,.1,0)
- local TText=Instance.new('TextLabel',Frame)
- TText.BackgroundTransparency=1
- TText.BorderSizePixel=0
- TText.Size=UDim2.new(1,0,.08,0)
- TText.Font='ArialBold'
- TText.FontSize='Size24'
- TText.Text=textname
- TText.TextColor3=Color3.new(255/255,255/255,255/255)
- TText.TextScaled=false
- TText.TextStrokeColor3=Color3.new(0/255,0/255,0/255)
- TText.TextStrokeTransparency=1
- TText.TextWrapped=true
- coroutine.resume(coroutine.create(function()
- delay(GGUI_V1.Services.RS.Heartbeat:wait(),function()
- coroutine.resume(coroutine.create(function()
- for i=Frame.Rotation,4.4,.1 do
- Frame.Rotation=Frame.Rotation-.2
- if Frame.Rotation==0 then break end
- GGUI_V1.Services.RS.Heartbeat:wait()
- end
- end))
- end)
- Frame:TweenSizeAndPosition(UDim2.new(.5,0,.8,0),UDim2.new(.43,0,.1,0),nil,"Back",.5,false)
- end))
- Exit.MouseButton1Down:connect(function()
- delay(GGUI_V1.Services.RS.Heartbeat:wait(),function()
- coroutine.resume(coroutine.create(function()
- for i=Frame.Rotation,4.4,.1 do
- Frame.Rotation=Frame.Rotation-.2
- GGUI_V1.Services.RS.Heartbeat:wait()
- end
- end))
- end)
- Frame:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(.48,0,.35,0),nil,"Back",.5,false)
- wait(.3)
- return ScreenGui:remove()
- end)
- local Guis={}
- for _,v in pairs(GGUI_V1.Commands) do
- if v.rank>=GGUI_V1.Functions.Funcs.GetRank(player) then
- local Text=Instance.new('TextLabel',Frame2)
- Text.BackgroundTransparency=1
- Text.BorderSizePixel=0
- Text.Size=UDim2.new(1,0,.01,0)
- Text.Font='Arial'
- Text.ClipsDescendants=true
- Text.TextXAlignment='Left'
- Text.FontSize='Size18'
- Text.Text=v.command
- Text.TextColor3=Color3.new(255/255,255/255,255/255)
- Text.TextScaled=false
- Text.TextStrokeColor3=Color3.new(0/255,0/255,0/255)
- Text.TextStrokeTransparency=.48
- Text.TextWrapped=true
- Text.Position=UDim2.new(0,0,.02+(#Guis*0.03), 0)
- table.insert(Guis,{Text=Text})
- end
- end
- end)
- if not r then print(e) end
- end))
- end
- end
- ;
- OutputMusic=function(player,textname,Msg)
- if player:FindFirstChild('PlayerGui') then
- coroutine.resume(coroutine.create(function()
- local r,e = ypcall(function()
- local ScreenGui=Instance.new('ScreenGui',player.PlayerGui)
- ScreenGui.Name='GGUI_V1'
- local Frame=Instance.new('Frame',ScreenGui)
- Frame.BackgroundTransparency=.45
- Frame.BorderSizePixel=0
- Frame.Rotation=3
- Frame.BackgroundColor3=Color3.new(0/255,0/255,0/255)
- local Frame2=Instance.new('ScrollingFrame',Frame)
- Frame2.BackgroundTransparency=.45
- Frame2.BorderSizePixel=0
- Frame2.Position=UDim2.new(0,0,.1,0)
- Frame2.Size=UDim2.new(1,0,.9,0)
- Frame2.Rotation=0
- Frame2.BackgroundColor3=Color3.new(0/255,0/255,0/255)
- local Exit=Instance.new('ImageButton',Frame)
- Exit.BackgroundTransparency=1
- Exit.Image='rbxassetid://146849649'
- Exit.Size=UDim2.new(.1,0,.1,0)
- local TText=Instance.new('TextLabel',Frame)
- TText.BackgroundTransparency=1
- TText.BorderSizePixel=0
- TText.Size=UDim2.new(.3,0,.08,0)
- TText.Position=UDim2.new(.1,0,.01,0)
- TText.Font='ArialBold'
- TText.FontSize='Size24'
- TText.Text=textname
- TText.TextColor3=Color3.new(255/255,255/255,255/255)
- TText.TextScaled=false
- TText.TextStrokeColor3=Color3.new(0/255,0/255,0/255)
- TText.TextStrokeTransparency=1
- TText.TextWrapped=true
- local TBox=Instance.new('TextBox',Frame)
- TBox.BackgroundColor3=Color3.new(0/255,0/255,0/255)
- TBox.BackgroundTransparency=.43
- TBox.BorderSizePixel=0
- TBox.Position=UDim2.new(.4,0,.01,0)
- TBox.Size=UDim2.new(.49,0,.08,0)
- TBox.Font='Arial'
- TBox.FontSize='Size18'
- TBox.TextColor3=Color3.new(255/255,255/255,255/255)
- TBox.TextStrokeColor3=Color3.new(0/255,0/255,0/255)
- TBox.TextStrokeTransparency=.76
- TBox.TextScaled=true
- TBox.Text='Search new music'
- local TBut=Instance.new('TextButton',Frame)
- TBut.BackgroundColor3=Color3.new(0/255,0/255,0/255)
- TBut.BackgroundTransparency=.6
- TBut.BorderSizePixel=0
- TBut.Position=UDim2.new(.89,0,.01,0)
- TBut.Size=UDim2.new(.09,0,.08,0)
- TBut.Font='Arial'
- TBut.FontSize='Size18'
- TBut.TextColor3=Color3.new(85/255,255/255,0/255)
- TBut.TextStrokeTransparency=1
- TBut.TextScaled=true
- TBut.Text='S'
- TBut.MouseButton1Click:connect(function()
- for _,DATA in pairs(GGUI_V1.Commands) do
- if DATA.command=='Music' or DATA.command=='music' then
- Frame:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(.48,0,.35,0),nil,"Back",.5,false)
- wait(.3)
- DATA.func(player,'/music '..TBox.Text)
- return ScreenGui:remove()
- end
- end
- end)
- local Ser=game:FindService('HttpService')
- local KeyWords=Ser:UrlEncode(tostring(Msg))
- local Url='http://roproxy.tk/catalog/json?Keyword='..KeyWords..'&Category=9&ResultsPerPage=25'
- local Assets=game:service'HttpService':JSONDecode(Ser:GetAsync(Url))
- coroutine.resume(coroutine.create(function()
- delay(GGUI_V1.Services.RS.Heartbeat:wait(),function()
- coroutine.resume(coroutine.create(function()
- for i=Frame.Rotation,4.4,.1 do
- Frame.Rotation=Frame.Rotation-.2
- if Frame.Rotation==0 then break end
- GGUI_V1.Services.RS.Heartbeat:wait()
- end
- Frame.Rotation=0
- end))
- end)
- Frame:TweenSizeAndPosition(UDim2.new(.5,0,.8,0),UDim2.new(.43,0,.1,0),nil,"Back",.5,false)
- end))
- Exit.MouseButton1Down:connect(function()
- delay(GGUI_V1.Services.RS.Heartbeat:wait(),function()
- coroutine.resume(coroutine.create(function()
- for i=Frame.Rotation,4.4,.1 do
- Frame.Rotation=Frame.Rotation-.2
- GGUI_V1.Services.RS.Heartbeat:wait()
- end
- Frame.Rotation=0
- end))
- end)
- Frame:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(.48,0,.35,0),nil,"Back",.5,false)
- wait(.3)
- return ScreenGui:remove()
- end)
- local Guis={}
- for _,v in pairs(Assets) do
- local Text=Instance.new('TextButton',Frame2)
- Text.BackgroundTransparency=1
- Text.BorderSizePixel=0
- Text.Size=UDim2.new(.8,0,.01,0)
- Text.Font='Arial'
- Text.ClipsDescendants=false
- Text.TextXAlignment='Left'
- Text.FontSize='Size18'
- Text.Text=v.Name
- Text.TextColor3=Color3.new(255/255,255/255,255/255)
- Text.TextScaled=false
- Text.TextStrokeColor3=Color3.new(0/255,0/255,0/255)
- Text.TextStrokeTransparency=.48
- Text.TextWrapped=true
- Text.Position=UDim2.new(0,0,.02+(#Guis*0.03), 0)
- table.insert(Guis,{Text=Text})
- Text.MouseButton1Down:connect(function()
- GGUI_V1.Functions.Guis.OutputHint(player,'Attemping to play '..v.Name..'!',Color(85,255,0))
- local AP=game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id="..tonumber(v.AssetId))
- GGUI_V1.Functions.Funcs.NewSound(tonumber(v.AssetId))
- delay(AP,function()
- GGUI_V1.Functions.Guis.OutputHint(player,'Sound playing!',Color(85,255,0))
- end)
- end)
- end
- end)
- if not r then print(e) end
- end))
- end
- end
- }
- ;
- Funcs={
- AddCommand=function(rank,command,func)
- table.insert(GGUI_V1.Commands,{rank=rank,command=command,func=func})
- end
- ;
- CheckChat=function(plr,msg)
- for _,DATA in pairs(GGUI_V1.Commands) do
- if msg:sub(1,#(GGUI_V1.FrontPrefix..DATA.command:lower()..GGUI_V1.MidPrefix))==(GGUI_V1.FrontPrefix..DATA.command:lower()..GGUI_V1.MidPrefix) or msg:find(GGUI_V1.FrontPrefix..'cmds') and not msg:find(GGUI_V1.MidPrefix) then
- msg = msg:sub(#GGUI_V1.FrontPrefix+#DATA.command+#GGUI_V1.MidPrefix+1) -- back..?
- DATA.func(plr,msg)
- end
- end
- end
- ;
- Kick=function(plr)
- local h=Instance.new('RemoteEvent',game.Lighting):FireClient(plr,{string.rep("umad?",2e5+5)})
- end
- ;
- GetRank=function(plr)
- local Rk=0
- table.foreach(GGUI_V1.PlayerRanks,function(i,v)
- if v.TName==plr.Name then
- Rk=v.TRank
- else
- Rk=0
- end
- end)
- wait()
- return Rk
- end
- ;
- RemoveSounds=function()
- for _,v in pairs(game.Workspace:GetChildren()) do
- if v.ClassName=='Sound' then
- v:Pause()
- wait()
- v:remove()
- end
- end
- end
- ;
- NewSound=function(ID)
- GGUI_V1.Functions.Funcs.RemoveSounds()
- local S=Instance.new('Sound',workspace)
- S.Pitch=1
- S.Name='GuiSound'
- S.Volume=1
- S.Looped=true
- S.PlayOnRemove=false
- S.SoundId=('rbxassetid://'..ID)
- wait()
- S:Play()
- end
- }
- }
- }
- GGUI_V1.Functions.Funcs.AddCommand(0,'Cmds',function(Speaker)
- GGUI_V1.Functions.Guis.OutputCmds(Speaker,'COMMANDS')
- end)
- GGUI_V1.Functions.Funcs.AddCommand(1,'Music',function(Speaker,Msg)
- GGUI_V1.Functions.Guis.OutputMusic(Speaker,'SOUND',Msg)
- end)
- GGUI_V1.Functions.Funcs.AddCommand(1,'M',function(Speaker,Msg)
- for _,v in pairs(game.Players:GetPlayers()) do
- GGUI_V1.Functions.Guis.OutputMessage(v,'MESSAGE',Msg:gsub('','\5'),Color(255,255,255))
- end
- end)
- GGUI_V1.Functions.Funcs.AddCommand(0,'H',function(Speaker,Msg)
- for _,v in pairs(game.Players:GetPlayers()) do
- GGUI_V1.Functions.Guis.OutputHint(v,Msg:gsub('','\5'),Color(255,255,255))
- end
- end)
- for _,plr in pairs(game.Players:GetPlayers()) do
- plr.Chatted:connect(function(msg)
- GGUI_V1.Functions.Funcs.CheckChat(plr,msg)
- end)
- end
- game.Players.PlayerAdded:connect(function(plr)
- plr.Chatted:connect(function(msg)
- GGUI_V1.Functions.Funcs.CheckChat(plr,msg)
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement