Guest User

Roblox Loot

a guest
Oct 15th, 2016
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.54 KB | None | 0 0
  1. wait(2)
  2. --Made by iiapocloot(bo2master01) for iiledgendz / iiapocturte
  3. local players   = game:GetService("Players")
  4. local player    = players.LocalPlayer  --OR put it to someone elses name
  5. local Version   = 1
  6.  
  7. print("Loot v"..Version.." has been loaded.")
  8.  
  9. --Making Everything(DONT EDIT UNLESS YOU KNOW WHAT YOU ARE DOING)
  10.  
  11. --GUI
  12. wait(1)
  13.  
  14. local MainGui                         = Instance.new("ScreenGui", player.PlayerGui)
  15. MainGui.Name                          = "Loot v1"
  16. MainGui.ResetOnSpawn                  = false
  17.  
  18.  
  19. --FRAME
  20. local MainFrame                       = Instance.new("Frame", MainGui)
  21. MainFrame.Name                        = "MainFrame"
  22.  
  23. --Frame Postions
  24. MainFrame.Size                        = UDim2.new(0, 400, 0, 450)
  25. MainFrame.Position                    = UDim2.new(.1, 0, .1, 0)
  26.  
  27. --Frame Visual
  28. MainFrame.BackgroundColor3            = Color3.new(162, 162, 162)
  29. MainFrame.BackgroundTransparency      = .2
  30.  
  31.  
  32. --Opening Animation  DO NOT EDIT THIS
  33.  
  34. function openanimation()
  35.     local textlabel1                  = Instance.new("TextLabel", MainFrame)
  36.     textlabel1.Name                   = "TextAnimation"
  37.     local COLOR                       = textlabel1.TextColor3
  38.     textlabel1.Size                   = UDim2.new(1, 0, .25, 0)
  39.     textlabel1.Position               = UDim2.new(0, 0, .25, 0)
  40.     textlabel1.Font                   = "ArialBold"
  41.     textlabel1.FontSize               = "Size28"
  42.     textlabel1.BackgroundTransparency = 1
  43.     textlabel1.Text                   = "Loot v"..Version.." has been loaded."
  44.     wait(5)
  45.     textlabel1.Text                   = "Welcome "..player.Name.."."
  46.     wait(2.5)
  47.     textlabel1.TextColor3             = Color3.new(0, 0, 0)
  48.     if game.Workspace.FilteringEnabled == true then
  49.         textlabel1.Text               = "Filtering is enabled."
  50.         wait(3)
  51.         textlabel1.TextColor3             = Color3.new(COLOR)
  52.         textlabel1.TextWrapped            = true
  53.         textlabel1.Text                   = "SOME COMMANDS MAY NOT WORK"
  54.     elseif game.Workspace.FilteringEnabled == false then
  55.         textlabel1.Text               = "Filtering is not enabled."
  56.     end
  57.     wait(3)
  58.     textlabel1.TextWrapped            = true
  59.     textlabel1.Text                   = "Thank you for using Loot Gui!"
  60.     wait(1.5)
  61.     textlabel1:Remove()
  62. end
  63.  
  64. --Hold here to drag
  65. function drag()
  66.     local draghold                    = Instance.new("TextLabel", MainFrame)
  67.     draghold.Name                     = "drag"
  68.     draghold.Size                     = UDim2.new(1, 0, 0, 25)
  69.     draghold.Font                     = "SourceSansBold"
  70.     draghold.FontSize                 = "Size18"
  71.     draghold.Text                     = "HOLD TO DRAG"
  72.     draghold.TextColor3               = Color3.new(102, 102, 102)
  73.     MainFrame.Active                  = true
  74.     MainFrame.Draggable               = true
  75. end
  76.  
  77. --CREATE COMMANDS
  78.  
  79. --Fun page1
  80. function makepage1()
  81. local page1                           = Instance.new("Frame", MainFrame)--Making The page holder
  82. page1.Name                            = "page1"
  83. page1.BackgroundTransparency          = 1
  84. page1.Size                            = UDim2.new(1, 0, 0, 425)
  85. page1.Position                        = UDim2.new(0, 0, 0, 26)
  86.  
  87. local Torch                           = Instance.new("TextButton",page1)
  88. Torch.Name                            = "Torch"
  89. Torch.Size                            = UDim2.new(0, 200, 0 , 50)
  90. Torch.Font                            = "ArialBold"
  91. Torch.FontSize                        = "Size24"
  92. Torch.Text                            = "Torch"
  93. end
  94.  
  95.  
  96. --Calling functions
  97. openanimation()
  98. drag()
  99. --Make pages
  100. makepage1()
Advertisement
Add Comment
Please, Sign In to add comment