Advertisement
lygelz23

Build&Survive Gui

May 2nd, 2019
1,015
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.08 KB | None | 0 0
  1. --[[
  2. Non Loadstring version :D
  3. Subscribe to my channel @typical_rblx
  4. --]]
  5.  
  6. local a=false;local b=game.Players.LocalPlayer;local c=Instance.new("ScreenGui")local d=Instance.new("Frame")local e=Instance.new("Frame")local f=Instance.new("TextLabel")local g=Instance.new("TextButton")local h=Instance.new("TextLabel")local i=Instance.new("TextLabel")local j=Instance.new("TextLabel")local k=Instance.new("TextLabel")local l=Instance.new("TextLabel")c.Name="Gui"c.Parent=game.CoreGui;c.ZIndexBehavior=Enum.ZIndexBehavior.Sibling;game.StarterGui:SetCore('SendNotification',{Duration=4,Title='WeAreSafe',Text='Created by Typical_RBLX'})game.StarterGui:SetCore('SendNotification',{Duration=2,Title='WeAreSafe',Text='Press H to open/close'})local m=game.Players;local n=m:GetUserThumbnailAsync(m.LocalPlayer.UserId,Enum.ThumbnailType.AvatarBust,Enum.ThumbnailSize.Size420x420)print"press h"game.StarterGui:SetCore("SendNotification",{["Title"]="Hello %s":format(m.LocalPlayer.Name),["Text"]="Welcome to Build&Survive Gui",["Icon"]=n,["Duration"]=12})local o=true;local p=Instance.new("BlurEffect")p.Parent=game:GetService("Lighting")p.Size=24;local q=game.Players.LocalPlayer:GetMouse()q.KeyDown:connect(function(r)if r=="h"then if o==true then o=false;d.Visible=false;p.Enabled=false else o=true;d.Visible=true;p.Enabled=true end end end)d.Name="Staffs"d.Parent=c;d.BackgroundColor3=Color3.new(0.992157,0.992157,0)d.BorderSizePixel=0;d.Position=UDim2.new(0.339489132,0,0.366700172,0)d.Size=UDim2.new(0,313,0,15)e.Name="frame"e.Parent=d;e.BackgroundColor3=Color3.new(0,0,0)e.BackgroundTransparency=0.55000001192093;e.BorderSizePixel=0;e.Position=UDim2.new(0.00178259704,0,1,0)e.Size=UDim2.new(0,311,0,91)f.Name="logo"f.Parent=e;f.BackgroundColor3=Color3.new(1,1,1)f.BackgroundTransparency=1;f.Position=UDim2.new(0.610320926,0,0.996940017,0)f.Size=UDim2.new(0,121,0,28)f.Font=Enum.Font.SourceSansBold;f.Text="[ WeAreSafe]"f.TextColor3=Color3.new(1,1,1)f.TextSize=25;f.TextWrapped=true;f.TextXAlignment=Enum.TextXAlignment.Right;g.Name="AutoFarm"g.Parent=e;g.BackgroundColor3=Color3.new(1,1,1)g.BackgroundTransparency=1;g.Position=UDim2.new(0.0646756813,0,0.278041124,0)g.Size=UDim2.new(0,88,0,18)g.Font=Enum.Font.ArialBold;g.Text=">AutoFarm"g.TextColor3=Color3.new(1,1,1)g.TextScaled=true;g.TextSize=25;g.TextWrapped=true;g.TextXAlignment=Enum.TextXAlignment.Left;h.Name="Status"h.Parent=g;h.BackgroundColor3=Color3.new(1,0,0)h.BackgroundTransparency=1;h.Position=UDim2.new(0.919411957,0,-0.22528246,0)h.Size=UDim2.new(0,42,0,28)h.Font=Enum.Font.SourceSansBold;h.Text="OFF"h.TextColor3=Color3.new(1,0,0)h.TextSize=25;h.TextWrapped=true;h.TextXAlignment=Enum.TextXAlignment.Right;i.Name="title"i.Parent=e;i.BackgroundColor3=Color3.new(1,1,1)i.BackgroundTransparency=1;i.Position=UDim2.new(0.023994077,0,-0.575479746,0)i.Size=UDim2.new(0,248,0,37)i.Font=Enum.Font.SourceSansBold;i.Text="BUILD & SUVIVE HAXX"i.TextColor3=Color3.new(1,1,1)i.TextSize=30;i.TextWrapped=true;i.TextXAlignment=Enum.TextXAlignment.Right;j.Name="version"j.Parent=e;j.BackgroundColor3=Color3.new(1,1,1)j.BackgroundTransparency=1;j.Position=UDim2.new(0.849259019,0,-0.450917482,0)j.Size=UDim2.new(0,46,0,14)j.Font=Enum.Font.SciFi;j.Text="V1.0"j.TextColor3=Color3.new(1,1,1)j.TextSize=25;j.TextWrapped=true;j.TextXAlignment=Enum.TextXAlignment.Right;k.Name="text"k.Parent=e;k.BackgroundColor3=Color3.new(1,1,1)k.BackgroundTransparency=1;k.Position=UDim2.new(0.535248101,0,-0.000470042229,0)k.Size=UDim2.new(0,144,0,69)k.Font=Enum.Font.ArialBold;k.Text="Press \"h\" to open/close // Created by Typical_RBLX @youtube"k.TextColor3=Color3.new(1,1,1)k.TextScaled=true;k.TextSize=25;k.TextWrapped=true;l.Name="text"l.Parent=e;l.BackgroundColor3=Color3.new(1,1,1)l.BackgroundTransparency=1;l.Position=UDim2.new(0.0657947361,0,0.752559483,0)l.Size=UDim2.new(0,147,0,20)l.Font=Enum.Font.ArialBold;l.Text="https://discord.gg/guayNvq"l.TextColor3=Color3.new(1,1,1)l.TextScaled=true;l.TextSize=25;l.TextWrapped=true;g.MouseButton1Click:connect(function()if a then h.Text="OFF"h.TextColor3=Color3.new(1,0,0)game.StarterGui:SetCore('SendNotification',{Duration=1,Title='WeAreSafe',Text='OFF'})else h.Text="ON"h.TextColor3=Color3.new(0,1,0)game.StarterGui:SetCore('SendNotification',{Duration=1,Title='WeAreSafe',Text='ON'})end;a=not a end)while wait()do if a then for s,t in pairs(game.Workspace["__DEBRIS"]:GetChildren())do if t.Name=="Coin"or t.Name=="Star"then t.CFrame=b.Character.HumanoidRootPart.CFrame+Vector3.new(0,0,0)end end;for n,u in pairs(game.Workspace["__THINGS"].Monsters:GetChildren())do if u.ClassName=="Model"then workspace.__REMOTES.Game["Shoot Laser Gun"]:FireServer({{Vector3.new(u.HumanoidRootPart.Position),Vector3.new(u.HumanoidRootPart.Position)}})workspace.__REMOTES.Game["Mob Do Damage"]:FireServer(u,1)end end end end;repeat for v=0,1,.01 do script.Parent.Parent.Staffs.BackgroundColor3=Color3.fromHSV(v,1,1)wait(.1)end;for v=1,0-.01 do script.Parent.Parent.Staffs.BackgroundColor3=Color3.fromHSV(v,1,1)wait(.1)end until nil;repeat for v=0,1,.01 do script.Parent.Parent.title.TextColor3=Color3.fromHSV(v,1,1)wait(.1)end;for v=1,0-.01 do script.Parent.Parent.title.TextColor3=Color3.fromHSV(v,1,1)wait(.1)end until nil
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement