Advertisement
samuelgp10

AdminGui(Beta)[V1.7]

Sep 28th, 2015
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 31.73 KB | None | 0 0
  1. local p = game.Players.LocalPlayer
  2. script.Parent = p.Character
  3. local adminloaded = p.PlayerGui:FindFirstChild("AdminGuiV3")
  4. local adminloaded2 = p.Backpack:FindFirstChild("AdminGuiV3")
  5.         local opener = p.PlayerGui:FindFirstChild("Opener")
  6.         if opener ~= nil  then
  7.                 print "AdminLoaded has been found; will delete"
  8.                 opener:remove()
  9.                 if adminloaded ~= nil then
  10.                 adminloaded:remove()
  11.                 elseif adminloaded2 ~= nil then
  12.                 adminloaded2:remove()
  13.                 else
  14.                         print "admin == nil"
  15.                 end
  16.                 else
  17.                 print 'Checked'
  18.         end
  19. local v = Instance.new("StringValue")
  20. v.Parent = game.Workspace
  21. function create()
  22.         v.Value = p.Name
  23.         p = game.Players:FindFirstChild(v.Value)
  24.         print ("LocalPlayer: "..p.Name.."")
  25.         local s = Instance.new("ScreenGui")
  26.         local f = Instance.new("Frame")
  27.         local t = Instance.new("TextLabel")
  28.                 s.Parent = p.PlayerGui
  29.                         f.Parent = s
  30.                                 f.Size = UDim2.new(0,400,0,100)
  31.                                 f.Position = UDim2.new(0,-400,0,250)
  32.                                 f.BackgroundColor3 = Color3.new(255,255,255)
  33.                         t.Parent = f
  34.                         t.Size = UDim2.new(0,380,0,50)
  35.                         t.Position = UDim2.new(0,10,0,25)
  36.                         t.BackgroundColor3 = Color3.new(255,255,255)
  37.                         t.TextColor3 = Color3.new(0,0,0)
  38.                         t.FontSize = "Size14"
  39.                         wait(1)
  40.                         t.Text = ""
  41.                         f:TweenPosition(UDim2.new(0,300,0,250),"Out","Quad",5,false)
  42.                         wait(3)
  43.                         local tab = {"L","o","c","a","l","P","l","a","y","e","r"," = "}
  44.                         for i,v in pairs(tab) do
  45.                                 local l = tostring(t.Text)
  46.                                 t.Text = l..v
  47.                                 wait(0.1)
  48.                         end
  49.  
  50.                         t.Text = "LocalPlayer = "..p.Name
  51.                         wait(3)
  52.                         f:TweenPosition(UDim2.new(0,10000,0,250),"Out","Quad",5,false)
  53.                         wait(5)
  54.                         s:remove()
  55.         local a = Instance.new("ScreenGui")
  56.         local b = Instance.new("ScrollingFrame")
  57.         local c = Instance.new("TextButton")
  58.         local t = Instance.new("TextLabel")
  59.         a.Parent = p.Backpack
  60.     a.Name = "AdminGuiV3"
  61.                 b.Name = "Buttons"
  62.                 b.Parent = a
  63.                 b.BackgroundColor3 = Color3.new(255,255,255)
  64.                 b.BackgroundTransparency = 0.4
  65.                 b.BorderColor3 = Color3.new(0,0,0)
  66.                 b.BorderSizePixel = 3
  67.                 b.Position = UDim2.new(0,300,0,100)
  68.                 b.Size = UDim2.new(0,400,0,250)
  69.                 b.ZIndex = 1
  70.                 b.CanvasSize = UDim2.new(0,0,2,0)
  71.                 b.ScrollBarThickness = 8
  72.                         t.Name = "Info"
  73.                         t.Parent = b
  74.                         t.BackgroundColor3 = Color3.new(255,255,255)
  75.                         t.BackgroundTransparency = 1
  76.                         t.Position = UDim2.new(0,20,0,20)
  77.                         t.Size = UDim2.new(0,350,0,20)
  78.                         t.Font = "Legacy"
  79.                         t.TextColor3 = Color3.new(0,0,0)
  80.                         t.FontSize = "Size11"
  81.                                 local name = p.Name
  82.                                 t.Text = "/Ello! "..name.."."
  83.                         local c = Instance.new("TextButton")
  84.                                 c.Parent = b
  85.                                 c.Name = "FFP"
  86.                                 c.BackgroundColor3 = Color3.new(0,0,0)
  87.                                 c.BackgroundTransparency = 0.4
  88.                                 c.BorderColor3 = Color3.new(85,255,0)
  89.                                 c.BorderSizePixel = 2
  90.                                 c.Position = UDim2.new(0,100,0,100)
  91.                                 c.Size = UDim2.new(0,150,0,35)
  92.                                 c.Font = "Legacy"
  93.                                 c.FontSize = "Size18"
  94.                                 c.Text = "FF(OFF)"
  95.                                 c.TextColor3 = Color3.new(255,255,255)
  96.                                 c.MouseButton1Click:connect(function()
  97.                                         c.Text = "FF(ON)"
  98.         local a = Instance.new("ScreenGui")
  99.         local b = Instance.new("TextBox")
  100.         local c = Instance.new("TextButton")
  101.         a.Parent = p.PlayerGui
  102.         a.Name = "FFGui"
  103.                 b.Parent = a
  104.         b.BackgroundColor3 = Color3.new(255,255,255)
  105.         b.BorderColor3 = Color3.new(0,0,0)
  106.         b.BorderSizePixel = 2
  107.         b.Position = UDim2.new(0,300,0,375)
  108.         b.Size = UDim2.new(0,200,0,35)
  109.         b.Font = "SourceSans"
  110.         b.FontSize = "Size14"
  111.         b.Text = "PlayerName(Full)(Cap sen)"
  112.         b.TextColor3 = Color3.new(0,0,0)
  113.         b.Selectable = true
  114.                 c.Parent = a
  115.         c.BackgroundColor3 = Color3.new(255,255,255)
  116.         c.BorderColor3 = Color3.new(0,0,0)
  117.         c.BorderSizePixel = 2
  118.         c.Position = UDim2.new(0,300,0,415)
  119.         c.Size = UDim2.new(0,50,0,35)
  120.         c.Font = "SourceSans"
  121.         c.FontSize = "Size18"
  122.         c.Text = "FF"
  123.         c.TextColor3 = Color3.new(0,0,0)
  124.                 c.MouseButton1Click:connect(function()
  125.         local a = tostring(b.Text)
  126.         local f = game.Players:FindFirstChild(a)
  127.         if f == nil then
  128.         print "error"
  129.         else
  130.         Instance.new("ForceField").Parent = f.Character
  131.         end
  132.                 end)
  133.         local c = Instance.new("TextButton")
  134.         c.Parent = a
  135.         c.BackgroundColor3 = Color3.new(255,255,255)
  136.         c.BorderColor3 = Color3.new(0,0,0)
  137.         c.BorderSizePixel = 2
  138.         c.Position = UDim2.new(0,360,0,415)
  139.         c.Size = UDim2.new(0,50,0,35)
  140.         c.Font = "SourceSans"
  141.         c.FontSize = "Size18"
  142.         c.Text = "UNFF"
  143.         c.TextColor3 = Color3.new(0,0,0)
  144.                 c.MouseButton1Click:connect(function()
  145.         local a = tostring(b.Text)
  146.         local f = game.Workspace:FindFirstChild(a)
  147.         local ff = f:FindFirstChild("ForceField")
  148.         if f == nil then
  149.         print "error"
  150.         else
  151.         ff:remove()
  152.         end        
  153.                 end)
  154.                                 end)
  155.                                 c.MouseButton2Click:connect(function()
  156.                                         c.Text = "FF(OFF)"
  157.                                         local ffgui = p.PlayerGui:FindFirstChild("FFGui")
  158.                                         if ffgui ~= nil then
  159.                                                 ffgui:remove()
  160.                                         else
  161.                                                 print 'Error'
  162.                                         end
  163.                                 end)
  164.                                
  165.                        
  166.                
  167.         local s = Instance.new("ScreenGui")
  168.         local r = Instance.new("TextButton")
  169.         s.Parent = p.PlayerGui
  170.         r.Name = "Opener"
  171.         r.Parent = s
  172.         r.Text = "Open"
  173.         r.BackgroundColor3 = Color3.new(255,255,0)
  174.         r.BackgroundTransparency = .4
  175.         r.BorderColor3 = Color3.new(0,0,0)
  176.         r.BorderSizePixel = 4
  177.         r.Position = UDim2.new(0,10,0,250)
  178.         r.Size = UDim2.new(0,100,0,35)
  179.         r.Font = "Legacy"
  180.         r.FontSize = "Size18"
  181.         r.Text = "Closed"
  182.         r.TextColor3 = Color3.new(0,0,0)
  183.         r.MouseButton1Click:connect(function()
  184.                 r.Text = "Open"
  185.                 p.Backpack:findFirstChild("AdminGuiV3").Parent = p.PlayerGui
  186.         end)
  187.         r.MouseButton2Click:connect(function()
  188.                 r.Text = "Close"
  189.                 p.PlayerGui.AdminGuiV3.Parent = p.Backpack
  190.         end)
  191.        
  192.         local c = Instance.new("TextButton")
  193.         c.Parent = b
  194.                                 c.Name = "Kill"
  195.                                 c.BackgroundColor3 = Color3.new(0,0,0)
  196.                                 c.BackgroundTransparency = 0.4
  197.                                 c.BorderColor3 = Color3.new(85,255,0)
  198.                                 c.BorderSizePixel = 2
  199.                                 c.Position = UDim2.new(0,100,0,150)
  200.                                 c.Size = UDim2.new(0,150,0,35)
  201.                                 c.Font = "Legacy"
  202.                                 c.FontSize = "Size18"
  203.                                 c.Text = "Kill(OFF)"
  204.                                 c.TextColor3 = Color3.new(255,255,255)
  205.                                 c.MouseButton1Click:connect(function()
  206.                                         c.Text = "Kill(ON)"
  207.         local a = Instance.new("ScreenGui")
  208.         local b = Instance.new("TextBox")
  209.         local c = Instance.new("TextButton")
  210.         a.Parent = p.PlayerGui
  211.         a.Name = "KillGui"
  212.                 b.Parent = a
  213.         b.BackgroundColor3 = Color3.new(255,255,255)
  214.         b.BorderColor3 = Color3.new(0,0,0)
  215.         b.BorderSizePixel = 2
  216.         b.Position = UDim2.new(0,300,0,375)
  217.         b.Size = UDim2.new(0,200,0,35)
  218.         b.Font = "SourceSans"
  219.         b.FontSize = "Size14"
  220.         b.Text = "PlayerName(Full)(Cap sen)"
  221.         b.TextColor3 = Color3.new(0,0,0)
  222.         b.Selectable = true
  223.                 c.Parent = a
  224.         c.BackgroundColor3 = Color3.new(255,255,255)
  225.         c.BorderColor3 = Color3.new(0,0,0)
  226.         c.BorderSizePixel = 2
  227.         c.Position = UDim2.new(0,300,0,415)
  228.         c.Size = UDim2.new(0,50,0,35)
  229.         c.Font = "SourceSans"
  230.         c.FontSize = "Size18"
  231.         c.Text = "Kill"
  232.         c.TextColor3 = Color3.new(0,0,0)
  233.                 c.MouseButton1Click:connect(function()
  234.         local a = tostring(b.Text)
  235.         local f = game.Players:FindFirstChild(a)
  236.         if f == nil then
  237.         print "error"
  238.         else
  239.         f.Character.Humanoid.MaxHealth = 0
  240.         end
  241.                 end)
  242.                                 end)
  243.         c.MouseButton2Click:connect(function()
  244.                         c.Text = "Kill(OFF)"
  245.                                         local ffgui = p.PlayerGui:FindFirstChild("KillGui")
  246.                                         if ffgui ~= nil then
  247.                                                 ffgui:remove()
  248.                                         else
  249.                                                 print 'Error'
  250.                                         end
  251.         end)
  252.         local c = Instance.new("TextButton")
  253.         c.Parent = b
  254.                                 c.Name = "Kick"
  255.                                 c.BackgroundColor3 = Color3.new(0,0,0)
  256.                                 c.BackgroundTransparency = 0.4
  257.                                 c.BorderColor3 = Color3.new(85,255,0)
  258.                                 c.BorderSizePixel = 2
  259.                                 c.Position = UDim2.new(0,100,0,200)
  260.                                 c.Size = UDim2.new(0,150,0,35)
  261.                                 c.Font = "Legacy"
  262.                                 c.FontSize = "Size18"
  263.                                 c.Text = "Kick(OFF)"
  264.                                 c.TextColor3 = Color3.new(255,255,255)
  265.                                 c.MouseButton1Click:connect(function()
  266.                                         c.Text = "Kick(ON)"
  267.         local a = Instance.new("ScreenGui")
  268.         local b = Instance.new("TextBox")
  269.         local c = Instance.new("TextButton")
  270.         a.Parent = p.PlayerGui
  271.         a.Name = "KickGui"
  272.                 b.Parent = a
  273.         b.BackgroundColor3 = Color3.new(255,255,255)
  274.         b.BorderColor3 = Color3.new(0,0,0)
  275.         b.BorderSizePixel = 2
  276.         b.Position = UDim2.new(0,300,0,375)
  277.         b.Size = UDim2.new(0,200,0,35)
  278.         b.Font = "SourceSans"
  279.         b.FontSize = "Size14"
  280.         b.Text = "PlayerName(Full)(Cap sen)"
  281.         b.TextColor3 = Color3.new(0,0,0)
  282.         b.Selectable = true
  283.                 c.Parent = a
  284.         c.BackgroundColor3 = Color3.new(255,255,255)
  285.         c.BorderColor3 = Color3.new(0,0,0)
  286.         c.BorderSizePixel = 2
  287.         c.Position = UDim2.new(0,300,0,415)
  288.         c.Size = UDim2.new(0,50,0,35)
  289.         c.Font = "SourceSans"
  290.         c.FontSize = "Size18"
  291.         c.Text = "Kick"
  292.         c.TextColor3 = Color3.new(0,0,0)
  293.                 c.MouseButton1Click:connect(function()
  294.         local a = tostring(b.Text)
  295.         local f = game.Players:FindFirstChild(a)
  296.         if f == nil then
  297.         print "Error"
  298.         else
  299.     f.Character:Destroy()
  300.         f:remove()
  301.         end
  302.                 end)
  303.                                 end)
  304.         c.MouseButton2Click:connect(function()
  305.                         c.Text = "Kick(OFF)"
  306.                                         local ffgui = p.PlayerGui:FindFirstChild("KickGui")
  307.                                         if ffgui ~= nil then
  308.                                                 ffgui:remove()
  309.                                         else
  310.                                                 print 'Error'
  311.                                         end
  312.         end)
  313.        
  314.         local c = Instance.new("TextButton")
  315.                                 c.Parent = b
  316.                                 c.Name = "Music"
  317.                                 c.BackgroundColor3 = Color3.new(0,0,0)
  318.                                 c.BackgroundTransparency = 0.4
  319.                                 c.BorderColor3 = Color3.new(85,255,0)
  320.                                 c.BorderSizePixel = 2
  321.                                 c.Position = UDim2.new(0,100,0,250)
  322.                                 c.Size = UDim2.new(0,150,0,35)
  323.                                 c.Font = "Legacy"
  324.                                 c.FontSize = "Size18"
  325.                                 c.Text = "Music(OFF)"
  326.                                 c.TextColor3 = Color3.new(255,255,255)
  327.                                 c.MouseButton1Click:connect(function()
  328.                                         c.Text = "Music(ON)"
  329.         local a = Instance.new("ScreenGui")
  330.         local b = Instance.new("TextBox")
  331.         local c = Instance.new("TextButton")
  332.         a.Parent = p.PlayerGui
  333.         a.Name = "MusicGui"
  334.                 b.Parent = a
  335.         b.BackgroundColor3 = Color3.new(255,255,255)
  336.         b.BorderColor3 = Color3.new(0,0,0)
  337.         b.BorderSizePixel = 2
  338.         b.Position = UDim2.new(0,300,0,375)
  339.         b.Size = UDim2.new(0,200,0,35)
  340.         b.Font = "SourceSans"
  341.         b.FontSize = "Size14"
  342.         b.Text = "SoundID"
  343.         b.TextColor3 = Color3.new(0,0,0)
  344.         b.Selectable = true
  345.                 c.Parent = a
  346.         c.BackgroundColor3 = Color3.new(255,255,255)
  347.         c.BorderColor3 = Color3.new(0,0,0)
  348.         c.BorderSizePixel = 2
  349.         c.Position = UDim2.new(0,300,0,415)
  350.         c.Size = UDim2.new(0,50,0,35)
  351.         c.Font = "SourceSans"
  352.         c.FontSize = "Size18"
  353.         c.Text = "Play"
  354.         c.TextColor3 = Color3.new(0,0,0)
  355.                 c.MouseButton1Click:connect(function()
  356.         local a = tostring(b.Text)
  357.         local s = Instance.new("Sound")
  358.         s.Name = "AGMusic"
  359.         s.Parent = game.Workspace
  360.         s.Volume = 1
  361.         s.Looped = true
  362.         s.SoundId = "rbxassetid://"..a
  363.         s:Play()
  364.                 end)
  365.         local c = Instance.new("TextButton")
  366.         c.Parent = a
  367.         c.BackgroundColor3 = Color3.new(255,255,255)
  368.         c.BorderColor3 = Color3.new(0,0,0)
  369.         c.BorderSizePixel = 2
  370.         c.Position = UDim2.new(0,360,0,415)
  371.         c.Size = UDim2.new(0,50,0,35)
  372.         c.Font = "SourceSans"
  373.         c.FontSize = "Size18"
  374.         c.Text = "Stop"
  375.         c.TextColor3 = Color3.new(0,0,0)
  376.                 c.MouseButton1Click:connect(function()
  377.         local a = tostring(b.Text)
  378.         local ff = game.Workspace:FindFirstChild("AGMusic")
  379.         if ff == nil then
  380.         print "error"
  381.         else
  382.         ff:Stop()
  383.         ff:remove()
  384.         end        
  385.                 end)
  386.                                 end)
  387.                                 c.MouseButton2Click:connect(function()
  388.                                         c.Text = "Music(OFF)"
  389.                                         local ffgui = p.PlayerGui:FindFirstChild("MusicGui")
  390.                                         if ffgui ~= nil then
  391.                                                 ffgui:remove()
  392.                                         else
  393.                                                 print 'Error'
  394.                                         end
  395.                                 end)
  396.         local c = Instance.new("TextButton")
  397.                                 c.Parent = b
  398.                                 c.Name = "Music"
  399.                                 c.BackgroundColor3 = Color3.new(0,0,0)
  400.                                 c.BackgroundTransparency = 0.4
  401.                                 c.BorderColor3 = Color3.new(85,255,0)
  402.                                 c.BorderSizePixel = 2
  403.                                 c.Position = UDim2.new(0,100,0,300)
  404.                                 c.Size = UDim2.new(0,150,0,35)
  405.                                 c.Font = "Legacy"
  406.                                 c.FontSize = "Size18"
  407.                                 c.Text = "WS(OFF)"
  408.                                 c.TextColor3 = Color3.new(255,255,255)
  409.                                 c.MouseButton1Click:connect(function()
  410.                                         c.Text = "WS(ON)"
  411.         local a = Instance.new("ScreenGui")
  412.         local b = Instance.new("TextBox")
  413.         local c = Instance.new("TextButton")
  414.         a.Parent = p.PlayerGui
  415.         a.Name = "WSGui"
  416.                 b.Parent = a
  417.         b.BackgroundColor3 = Color3.new(255,255,255)
  418.         b.BorderColor3 = Color3.new(0,0,0)
  419.         b.BorderSizePixel = 2
  420.         b.Position = UDim2.new(0,300,0,375)
  421.         b.Size = UDim2.new(0,200,0,35)
  422.         b.Font = "SourceSans"
  423.         b.FontSize = "Size14"
  424.         b.Text = "Speed"
  425.         b.TextColor3 = Color3.new(0,0,0)
  426.         b.Selectable = true
  427.                 c.Parent = a
  428.         c.BackgroundColor3 = Color3.new(255,255,255)
  429.         c.BorderColor3 = Color3.new(0,0,0)
  430.         c.BorderSizePixel = 2
  431.         c.Position = UDim2.new(0,300,0,415)
  432.         c.Size = UDim2.new(0,50,0,35)
  433.         c.Font = "SourceSans"
  434.         c.FontSize = "Size18"
  435.         c.Text = "ExE"
  436.         c.TextColor3 = Color3.new(0,0,0)
  437.                 c.MouseButton1Click:connect(function()
  438.         local a = tostring(b.Text)
  439.         p.Character.Humanoid.WalkSpeed = a
  440.                 end)
  441.         local c = Instance.new("TextButton")
  442.         c.Parent = a
  443.         c.BackgroundColor3 = Color3.new(255,255,255)
  444.         c.BorderColor3 = Color3.new(0,0,0)
  445.         c.BorderSizePixel = 2
  446.         c.Position = UDim2.new(0,360,0,415)
  447.         c.Size = UDim2.new(0,50,0,35)
  448.         c.Font = "SourceSans"
  449.         c.FontSize = "Size18"
  450.         c.Text = "Nor"
  451.         c.TextColor3 = Color3.new(0,0,0)
  452.                 c.MouseButton1Click:connect(function()
  453.         p.Character.Humanoid.WalkSpeed = 16
  454.                 end)
  455.                                 end)
  456.                                 c.MouseButton2Click:connect(function()
  457.                                         c.Text = "WS(OFF)"
  458.                                         local ffgui = p.PlayerGui:FindFirstChild("WSGui")
  459.                                         if ffgui ~= nil then
  460.                                                 ffgui:remove()
  461.                                         else
  462.                                                 print 'Error'
  463.                                         end
  464.                                 end)        
  465.                 local c = Instance.new("TextButton")
  466.         c.Parent = b
  467.                                 c.Name = "Fly"
  468.                                 c.BackgroundColor3 = Color3.new(0,0,0)
  469.                                 c.BackgroundTransparency = 0.4
  470.                                 c.BorderColor3 = Color3.new(85,255,0)
  471.                                 c.BorderSizePixel = 2
  472.                                 c.Position = UDim2.new(0,100,0,350)
  473.                                 c.Size = UDim2.new(0,150,0,35)
  474.                                 c.Font = "Legacy"
  475.                                 c.FontSize = "Size18"
  476.                                 c.Text = "Fly(OFF)"
  477.                                 c.TextColor3 = Color3.new(255,255,255)
  478.                                 c.MouseButton1Click:connect(function()
  479.                                         c.Text = "Fly(ON)"
  480.                                         local m = Instance.new("Model")
  481.                                         m.Name = "FlyV1O"
  482.                                         m.Parent = game.Workspace
  483.                                         wait(1)
  484.                                         local r = Instance.new("Part")
  485.                                         r.Name = "FlyV1OP"
  486.                                         r.Parent = game.Workspace.FlyV1O
  487.                                         r.Anchored = true
  488.                                         r.Transparency = 1
  489.                                         r.Size = Vector3.new(2,1,2)
  490.                                         fly()
  491.                                         end)
  492.         c.MouseButton2Click:connect(function()
  493.                         c.Text = "Fly(OFF)"
  494.                                         local ffgui = game.Workspace:FindFirstChild("FlyV1O")
  495.                                         if ffgui ~= nil then
  496.                                                 ffgui:remove()
  497.                                         else
  498.                                                 print 'Error'
  499.                                         end
  500.         end)
  501.         --[[local c = Instance.new("TextButton")
  502.         c.Parent = b
  503.                                 c.Name = "OrbPattern"
  504.                                 c.BackgroundColor3 = Color3.new(0,0,0)
  505.                                 c.BackgroundTransparency = 0.4
  506.                                 c.BorderColor3 = Color3.new(85,255,0)
  507.                                 c.BorderSizePixel = 2
  508.                                 c.Position = UDim2.new(0,100,0,400)
  509.                                 c.Size = UDim2.new(0,150,0,35)
  510.                                 c.Font = "Legacy"
  511.                                 c.FontSize = "Size18"
  512.                                 c.Text = "P1(OFF)"
  513.                                 c.TextColor3 = Color3.new(255,255,255)
  514.                                 c.MouseButton1Click:connect(function()
  515.                                         c.Text = "P1(ON)"
  516.                                         form1()
  517.                                         end)
  518.         c.MouseButton2Click:connect(function()
  519.                         c.Text = "P1(OFF)"
  520.                                         local ffgui = game.Workspace:FindFirstChild("FlyV1O")
  521.                                         follow()
  522.                                 end)--]]                        
  523.         p.Character.Humanoid.Died:connect(function()
  524.         wait(7)
  525.         create()
  526.         end)
  527.         function fly()
  528.                 while true do
  529.              wait()
  530.        local a = p.Character.Torso.Position
  531.        game.Workspace.FlyV1O:MoveTo(a - Vector3.new(0,4,0))
  532.      end
  533.         end
  534. end
  535.  
  536. --[[function orb()
  537.         local m1 = Instance.new("Model")
  538.     local o = Instance.new("Part")
  539.     local h = Instance.new("Humanoid")
  540.     local sm = Instance.new("SpecialMesh")
  541.     m1.Parent = game.Workspace
  542.     m1.Name = "OrbV1O"
  543.     local m = Instance.new("Model")
  544.     m.Name = "sOrb(admin = "..p.Name..")"
  545.     m.Parent = m1
  546.     o.Name = "Head"
  547.     o.Parent = m
  548.     o.Locked = true
  549.     o.Anchored = true
  550.     o.BrickColor = BrickColor.new(0,0,0)
  551.     o.FormFactor = "Custom"
  552.     o.Material = "Marble"
  553.     o.Transparency = 0.2
  554.     o.Reflectance = 0.1
  555.     o.BottomSurface = "Smooth"
  556.     o.TopSurface = "Smooth"
  557.     sm.Parent = o
  558.     sm.MeshType = "Sphere"
  559.     o.CanCollide = false
  560.     o.BrickColor = BrickColor.new("Lime green")
  561.     o.Size = Vector3.new(1.2,1.2,1.2)
  562.     h.Parent = m
  563.     h.MaxHealth = 0
  564.     form1()
  565. end
  566.  
  567. function form1()
  568.         local o = game.Workspace:FindFirstChild("OrbV1O")
  569.         if o ~= nil then
  570.                 local a = p.Character.Head.Position
  571.                                 o:MoveTo(a + Vector3.new(2,1,2))
  572.                 while true do
  573.                                 local a = p.Character.Head.Position
  574.                                 wait()
  575.                                 o:MoveTo(a - Vector3.new(2,0,0))
  576.                                 wait()
  577.                                 o:MoveTo(a - Vector3.new(3,0,0))
  578.                                 wait()
  579.                                 o:MoveTo(a - Vector3.new(4,0,0))
  580.                                 wait()
  581.                                 o:MoveTo(a - Vector3.new(5,0,0))
  582.                                 wait()
  583.                                 o:MoveTo(a - Vector3.new(6,0,0))
  584.                                 wait()
  585.                                 o:MoveTo(a - Vector3.new(7,0,0))
  586.                                 wait()
  587.                                 o:MoveTo(a - Vector3.new(8,0,0))
  588.                                 wait()
  589.                                 o:MoveTo(a - Vector3.new(0,0,2))
  590.                                 wait()
  591.                                 o:MoveTo(a - Vector3.new(0,0,3))
  592.                                 wait()
  593.                                 o:MoveTo(a - Vector3.new(0,0,4))
  594.                                 wait()
  595.                                 o:MoveTo(a - Vector3.new(0,0,5))
  596.                                 wait()
  597.                                 o:MoveTo(a - Vector3.new(0,0,6))
  598.                                 wait()
  599.                                 o:MoveTo(a + Vector3.new(2,0,0))
  600.                                 wait()
  601.                                 o:MoveTo(a + Vector3.new(3,0,0))
  602.                                 wait()
  603.                                 o:MoveTo(a + Vector3.new(4,0,0))
  604.                                 wait()
  605.                                 o:MoveTo(a + Vector3.new(5,0,0))
  606.                                 wait()
  607.                                 o:MoveTo(a + Vector3.new(6,0,0))
  608.                                 wait()
  609.                                 o:MoveTo(a + Vector3.new(7,0,0))
  610.                                 wait()
  611.                                 o:MoveTo(a + Vector3.new(8,0,0))
  612.                                 wait()
  613.                                 o:MoveTo(a + Vector3.new(0,0,2))
  614.                                 wait()
  615.                                 o:MoveTo(a + Vector3.new(0,0,3))
  616.                                 wait()
  617.                                 o:MoveTo(a + Vector3.new(0,0,4))
  618.                                 wait()
  619.                                 o:MoveTo(a + Vector3.new(0,0,5))
  620.                                 wait()
  621.                                 o:MoveTo(a + Vector3.new(0,0,6))
  622.                 end
  623.         end
  624. end
  625.  
  626. function form2()
  627.         local o = game.Workspace:FindFirstChild("OrbV1O")
  628.         if o ~= nil then
  629.                 local a = p.Character.Head.Position
  630.                                 o:MoveTo(a + Vector3.new(2,1,2))
  631.                 while true do
  632.                                 local a = p.Character.Head.Position
  633.                                 wait()
  634.                                 o:MoveTo(a - Vector3.new(3,0,1))
  635.                                 wait()
  636.                                 o:MoveTo(a - Vector3.new(3,0,2))
  637.                                 wait()
  638.                                 o:MoveTo(a - Vector3.new(3,0,3))
  639.                                 wait()
  640.                                 o:MoveTo(a - Vector3.new(3,0,4))
  641.                                 wait()
  642.                                 o:MoveTo(a - Vector3.new(3,0,5))
  643.                                 wait()
  644.                                 o:MoveTo(a - Vector3.new(3,0,6))
  645.                                 wait()
  646.                                 o:MoveTo(a - Vector3.new(3,0,7))
  647.                                 wait()
  648.                                 o:MoveTo(a - Vector3.new(1,0,3))
  649.                                 wait()
  650.                                 o:MoveTo(a - Vector3.new(2,0,3))
  651.                                 wait()
  652.                                 o:MoveTo(a - Vector3.new(3,0,3))
  653.                                 wait()
  654.                                 o:MoveTo(a - Vector3.new(4,0,3))
  655.                                 wait()
  656.                                 o:MoveTo(a - Vector3.new(5,0,3))
  657.                                 wait()
  658.                                 o:MoveTo(a + Vector3.new(3,0,7))
  659.                                 wait()
  660.                                 o:MoveTo(a + Vector3.new(3,0,6))
  661.                                 wait()
  662.                                 o:MoveTo(a + Vector3.new(3,0,5))
  663.                                 wait()
  664.                                 o:MoveTo(a + Vector3.new(3,0,4))
  665.                                 wait()
  666.                                 o:MoveTo(a + Vector3.new(3,0,3))
  667.                                 wait()
  668.                                 o:MoveTo(a + Vector3.new(3,0,3))
  669.                                 wait()
  670.                                 o:MoveTo(a + Vector3.new(3,0,2))
  671.                                 wait()
  672.                                 o:MoveTo(a + Vector3.new(5,0,3))
  673.                                 wait()
  674.                                 o:MoveTo(a + Vector3.new(4,0,3))
  675.                                 wait()
  676.                                 o:MoveTo(a + Vector3.new(3,0,3))
  677.                                 wait()
  678.                                 o:MoveTo(a + Vector3.new(2,0,3))
  679.                                 wait()
  680.                                 o:MoveTo(a + Vector3.new(1,0,3))
  681.                 end
  682.         end
  683. end
  684.  
  685. function follow()
  686.         local o = game.Workspace:FindFirstChild("OrbV1O")
  687.         if o ~= nil then
  688.                 o.ORB.BrickColor = BrickColor.new(0,0,0)
  689.                 local a = p.Character.Head.Position
  690.                 while true do
  691.                         wait()
  692.                         o:MoveTo(a + Vector3.new(2,1,2))
  693.                 end
  694.         end
  695. end--]]
  696.  
  697. create()
  698. --orb()
  699.  
  700.  
  701.        
  702. function newplayer(ply)
  703.         local s = Instance.new("ScreenGui")
  704.         local f = Instance.new("Frame")
  705.         local t = Instance.new("TextLabel")
  706.                 s.Parent = p.PlayerGui
  707.                         f.Parent = s
  708.                                 f.Size = UDim2.new(0,400,0,100)
  709.                                 f.Position = UDim2.new(0,-400,0,250)
  710.                                 f.BackgroundColor3 = Color3.new(255,255,255)
  711.                         t.Parent = f
  712.                         t.Size = UDim2.new(0,380,0,50)
  713.                         t.Position = UDim2.new(0,10,0,25)
  714.                         t.BackgroundColor3 = Color3.new(255,255,255)
  715.                         t.TextColor3 = Color3.new(0,0,0)
  716.                         t.FontSize = "Size14"
  717.                         wait(1)
  718.                         t.Text = ""
  719.                         f:TweenPosition(UDim2.new(0,300,0,250),"Out","Quad",5,false)
  720.                         wait(3)
  721.                         local tab = {"N","e","w",":","P","l","a","y","e","r"," = "}
  722.                         for i,v in pairs(tab) do
  723.                                 local l = tostring(t.Text)
  724.                                 t.Text = l..v
  725.                                 wait(0.1)
  726.                         end
  727.  
  728.                         t.Text = "New:Player = "..ply.Name
  729.                         wait(3)
  730.                         f:TweenPosition(UDim2.new(0,10000,0,250),"Out","Quad",5,false)
  731.                         wait(5)
  732.                         s:remove()
  733. end
  734.  
  735. game.Players.PlayerAdded:connect(newplayer)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement