HansCSia320

Slender REBORN Op Gui

May 1st, 2019
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.05 KB | None | 0 0
  1. -- Objects
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local Holder = Instance.new("Frame")
  5. local Title = Instance.new("TextLabel")
  6. local ScrollingFrame = Instance.new("ScrollingFrame")
  7. local Title2 = Instance.new("TextLabel")
  8. local Close = Instance.new("TextButton")
  9. local Open = Instance.new("TextButton")
  10.  
  11. -- Properties
  12.  
  13. ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
  14.  
  15. Holder.Name = "Holder"
  16. Holder.Parent = ScreenGui
  17. Holder.Active = true
  18. Holder.AnchorPoint = Vector2.new(0, 0.5)
  19. Holder.BackgroundColor3 = Color3.new(0.298039, 0.298039, 0.298039)
  20. Holder.BorderSizePixel = 0
  21. Holder.Draggable = true
  22. Holder.Position = UDim2.new(0, 25, 0.5, 0)
  23. Holder.Size = UDim2.new(0, 150, 0, 290)
  24.  
  25. Title.Name = "Title"
  26. Title.Parent = Holder
  27. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  28. Title.BackgroundTransparency = 1
  29. Title.Size = UDim2.new(0, 120, 0, 10)
  30. Title.ZIndex = 2
  31. Title.Font = Enum.Font.SourceSansBold
  32. Title.Text = "Slender man's Revenge"
  33. Title.TextColor3 = Color3.new(0.1, 1, 1)
  34. Title.TextSize = 14
  35. Title.TextYAlignment = Enum.TextYAlignment.Top
  36.  
  37. ScrollingFrame.Parent = Holder
  38. ScrollingFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  39. ScrollingFrame.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  40. ScrollingFrame.BorderSizePixel = 0
  41. ScrollingFrame.Position = UDim2.new(0.5, 0, 0, 155)
  42. ScrollingFrame.Size = UDim2.new(0, 140, 0, 250)
  43. ScrollingFrame.BottomImage = "rbxassetid://985424344"
  44. ScrollingFrame.CanvasSize = UDim2.new(0, 0, 0, 478)
  45. ScrollingFrame.MidImage = "rbxassetid://985424344"
  46. ScrollingFrame.ScrollBarThickness = 3
  47. ScrollingFrame.TopImage = "rbxassetid://985424344"
  48.  
  49. Title2.Name = "Title2"
  50. Title2.Parent = Holder
  51. Title2.BackgroundColor3 = Color3.new(1, 1, 1)
  52. Title2.BackgroundTransparency = 1
  53. Title2.Position = UDim2.new(0, 0, 0, 10)
  54. Title2.Size = UDim2.new(0, 120, 0, 10)
  55. Title2.ZIndex = 2
  56. Title2.Font = Enum.Font.SourceSansBold
  57. Title2.Text = "Hack Gui"
  58. Title2.TextColor3 = Color3.new(0.1, 1, 1)
  59. Title2.TextSize = 14
  60. Title2.TextYAlignment = Enum.TextYAlignment.Top
  61.  
  62. Close.Name = "Close"
  63. Close.Parent = Holder
  64. Close.BackgroundColor3 = Color3.new(0.282353, 0.282353, 0.282353)
  65. Close.BorderSizePixel = 0
  66. Close.Position = UDim2.new(0, 123, 0, 3)
  67. Close.Size = UDim2.new(0, 20, 0, 22)
  68. Close.Font = Enum.Font.SourceSansBold
  69. Close.Text = "X"
  70. Close.TextColor3 = Color3.new(0.1, 0.5, 0.5)
  71. Close.TextScaled = true
  72. Close.TextSize = 20
  73. Close.TextWrapped = true
  74.  
  75. Open.Name = "Open"
  76. Open.Parent = ScreenGui
  77. Open.BackgroundColor3 = Color3.new(0.282353, 0.282353, 0.282353)
  78. Open.BorderSizePixel = 0
  79. Open.Position = UDim2.new(0, -100, 0.5, 155)
  80. Open.Size = UDim2.new(0, 80, 0, 22)
  81. Open.Font = Enum.Font.SourceSansBold
  82. Open.Text = "Open"
  83. Open.TextColor3 = Color3.new(0.1, 0.5, 0.5)
  84. Open.TextScaled = true
  85. Open.TextSize = 20
  86. Open.TextWrapped = true
  87.  
  88. --Function
  89.  
  90. local frameitems = {"Military gear","Pet","Gravity","Taunt","PickPop","Original Cola Token","Fruit Cola Token","Camera","Popcorn","Latte","FlashLight","Lantern","PowerLED","Flare","GlowStick","Torch","iPhone","FlareGuns","Sans","Papyrus","Zombine","Combine","EliteCombine","RedSuit","PurpleSuit","BlackSuit","Skeleton","Praetor","ThirteenMillion","ThreeMillion","FourMillion"}
  91.  
  92. local frame = ScrollingFrame
  93. for i=1, #frameitems do
  94. local B = Instance.new("TextButton")
  95. local VV = Instance.new("StringValue", B)
  96. VV.Name = "Important"
  97. VV.Value = frameitems[i]
  98. B.Name = frameitems[i]
  99. B.Parent = frame
  100. B.BackgroundColor3 = Color3.new(0.282353, 0.282353, 0.282353)
  101. B.BorderSizePixel = 0
  102. B.Position = UDim2.new(0, 3, 0, (((i-1)*22)+(3*i)))
  103. B.Size = UDim2.new(0, 134, 0, 22)
  104. B.Font = Enum.Font.SourceSansBold
  105. B.FontSize = Enum.FontSize.Size14
  106. B.Text = frameitems[i]
  107. B.TextColor3 = Color3.new(.1, .5, .5)
  108. B.TextScaled = true
  109. B.TextSize = 20
  110. frame.CanvasSize = UDim2.new(0,0,0,(#frameitems*22+(i*3)+3))
  111. if B.Name == "Military gear" then
  112. B.Important.Value = "MGear"
  113. elseif B.Name == "Pet" then
  114. B.Important.Value = "Pets"
  115. elseif B.Name == "Original Cola Token" then
  116. B.Important.Value = "OCola"
  117. elseif B.Name == "Fruit Cola Token" then
  118. B.Important.Value = "FCola"
  119. elseif B.Name == "Gravity" then
  120. B.Important.Value = "Gravity"
  121. elseif B.Name == "Taunt" then
  122. B.Important.Value = "Taunt"
  123. elseif B.Name == "Camera" then
  124. B.Important.Value = "Twitter4"
  125. elseif B.Name == "Latte" then
  126. B.Important.Value = "Twitter2"
  127. elseif B.Name == "Popcorn" then
  128. B.Important.Value = "Twitter1"
  129. end
  130. B.MouseButton1Down:connect(function()
  131. game.Players.LocalPlayer:FindFirstChild(B.Important.Value):FireServer()
  132. end)
  133. end
  134. Open.MouseButton1Down:connect(function()
  135. Open:TweenPosition(UDim2.new(0, -100, 0.5, 155), "Out", "Quad", 1,false)
  136. Holder:TweenPosition(UDim2.new(0, 25, 0.5, 0), "Out", "Quad", 1,false)
  137. end)
  138. Close.MouseButton1Down:connect(function()
  139. Open:TweenPosition(UDim2.new(0, 0, 0.5, 155), "Out", "Bounce", 1,false)
  140. Holder:TweenPosition(UDim2.new(0, -200, 0.5, 0), "Out", "Quad", 1,false)
  141. end)
  142. while true do
  143. wait()
  144. for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  145. if v.ClassName == "Tool" then
  146. if v.CanBeDropped == false then
  147. v.CanBeDropped = true
  148. end
  149. end
  150. end
  151. end
Add Comment
Please, Sign In to add comment