Advertisement
coz

Untitled

coz
Dec 15th, 2019
1,186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.39 KB | None | 0 0
  1. -- Version: 1
  2.  
  3. -- Instances:
  4.  
  5. local MainScreenGui = Instance.new("ScreenGui")
  6. local Frame = Instance.new("Frame")
  7. local TextBox = Instance.new("TextBox")
  8. local GiveGear = Instance.new("TextButton")
  9. local OpenSettings = Instance.new("ImageButton")
  10. local Close = Instance.new("TextButton")
  11. local Settings = Instance.new("Frame")
  12. local ImageButton = Instance.new("ImageButton")
  13. local TextLabel1 = Instance.new("TextLabel")
  14. local X = Instance.new("TextButton")
  15. local TextLabel2 = Instance.new("TextLabel")
  16. local ImageButton_2 = Instance.new("ImageButton")
  17. local OpenHolder = Instance.new("Frame")
  18. local Open = Instance.new("TextButton")
  19.  
  20. --Properties:
  21.  
  22. MainScreenGui.Name = "MainScreenGui"
  23. MainScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  24.  
  25. Frame.Parent = MainScreenGui
  26. Frame.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  27. Frame.BorderSizePixel = 0
  28. Frame.Position = UDim2.new(0.372000009, 0, 0.291999996, 0)
  29. Frame.Size = UDim2.new(0, 247, 0, 267)
  30. Frame.Visible = false
  31.  
  32. TextBox.Parent = Frame
  33. TextBox.BackgroundColor3 = Color3.new(0, 0.490196, 0.737255)
  34. TextBox.BorderSizePixel = 0
  35. TextBox.Position = UDim2.new(0.101214573, 0, 0.176029921, 0)
  36. TextBox.Size = UDim2.new(0, 196, 0, 118)
  37. TextBox.Font = Enum.Font.GothamBold
  38. TextBox.PlaceholderColor3 = Color3.new(1, 1, 1)
  39. TextBox.PlaceholderText = "Enter Any Gear ID Here"
  40. TextBox.Text = ""
  41. TextBox.TextColor3 = Color3.new(1, 1, 1)
  42. TextBox.TextScaled = true
  43. TextBox.TextSize = 14
  44. TextBox.TextWrapped = true
  45.  
  46. GiveGear.Name = "GiveGear"
  47. GiveGear.Parent = Frame
  48. GiveGear.BackgroundColor3 = Color3.new(0, 0.490196, 0.737255)
  49. GiveGear.BorderSizePixel = 0
  50. GiveGear.Position = UDim2.new(0.165991902, 0, 0.666666687, 0)
  51. GiveGear.Size = UDim2.new(0, 165, 0, 34)
  52. GiveGear.Font = Enum.Font.GothamBold
  53. GiveGear.Text = "Give Gear"
  54. GiveGear.TextColor3 = Color3.new(1, 1, 1)
  55. GiveGear.TextScaled = true
  56. GiveGear.TextSize = 14
  57. GiveGear.TextWrapped = true
  58.  
  59. OpenSettings.Name = "OpenSettings"
  60. OpenSettings.Parent = Frame
  61. OpenSettings.BackgroundColor3 = Color3.new(1, 1, 1)
  62. OpenSettings.BackgroundTransparency = 1
  63. OpenSettings.BorderSizePixel = 0
  64. OpenSettings.Size = UDim2.new(0, 34, 0, 34)
  65. OpenSettings.Image = "rbxassetid://485882401"
  66.  
  67. Close.Name = "Close"
  68. Close.Parent = Frame
  69. Close.BackgroundColor3 = Color3.new(1, 1, 1)
  70. Close.BackgroundTransparency = 1
  71. Close.BorderSizePixel = 0
  72. Close.Position = UDim2.new(0.894736826, 0, 0, 0)
  73. Close.Size = UDim2.new(0, 26, 0, 27)
  74. Close.Font = Enum.Font.Cartoon
  75. Close.Text = "X"
  76. Close.TextColor3 = Color3.new(1, 0, 0)
  77. Close.TextScaled = true
  78. Close.TextSize = 14
  79. Close.TextWrapped = true
  80.  
  81. Settings.Name = "Settings"
  82. Settings.Parent = MainScreenGui
  83. Settings.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  84. Settings.BorderSizePixel = 0
  85. Settings.Position = UDim2.new(0.371572614, 0, 0.291577637, 0)
  86. Settings.Size = UDim2.new(0, 247, 0, 267)
  87. Settings.Visible = false
  88.  
  89. ImageButton.Parent = Settings
  90. ImageButton.BackgroundColor3 = Color3.new(0.937255, 0, 0)
  91. ImageButton.BackgroundTransparency = 1
  92. ImageButton.BorderSizePixel = 0
  93. ImageButton.Position = UDim2.new(0.0412753932, 0, 0.113766849, 0)
  94. ImageButton.Size = UDim2.new(0, 36, 0, 36)
  95. ImageButton.Image = "rbxassetid://222831456"
  96.  
  97. TextLabel1.Name = "TextLabel1"
  98. TextLabel1.Parent = Settings
  99. TextLabel1.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.180392)
  100. TextLabel1.BackgroundTransparency = 1
  101. TextLabel1.Position = UDim2.new(0.226720646, 0, 0.0936329514, 0)
  102. TextLabel1.Size = UDim2.new(0, 165, 0, 46)
  103. TextLabel1.Font = Enum.Font.GothamBold
  104. TextLabel1.Text = "Black Background"
  105. TextLabel1.TextColor3 = Color3.new(1, 1, 1)
  106. TextLabel1.TextScaled = true
  107. TextLabel1.TextSize = 14
  108. TextLabel1.TextWrapped = true
  109.  
  110. X.Name = "X"
  111. X.Parent = Settings
  112. X.BackgroundColor3 = Color3.new(1, 1, 1)
  113. X.BackgroundTransparency = 1
  114. X.Position = UDim2.new(0.894736826, 0, 0, 0)
  115. X.Size = UDim2.new(0, 26, 0, 25)
  116. X.Font = Enum.Font.Cartoon
  117. X.Text = "X"
  118. X.TextColor3 = Color3.new(1, 0, 0)
  119. X.TextScaled = true
  120. X.TextSize = 14
  121. X.TextWrapped = true
  122.  
  123. TextLabel2.Name = "TextLabel2"
  124. TextLabel2.Parent = Settings
  125. TextLabel2.BackgroundColor3 = Color3.new(1, 1, 1)
  126. TextLabel2.BackgroundTransparency = 1
  127. TextLabel2.Position = UDim2.new(0.226720646, 0, 0.333333313, 0)
  128. TextLabel2.Size = UDim2.new(0, 165, 0, 46)
  129. TextLabel2.Font = Enum.Font.GothamBold
  130. TextLabel2.Text = "Light Blue Background"
  131. TextLabel2.TextColor3 = Color3.new(1, 1, 1)
  132. TextLabel2.TextScaled = true
  133. TextLabel2.TextSize = 14
  134. TextLabel2.TextWrapped = true
  135.  
  136. ImageButton_2.Parent = Settings
  137. ImageButton_2.BackgroundColor3 = Color3.new(0.937255, 0, 0)
  138. ImageButton_2.BackgroundTransparency = 1
  139. ImageButton_2.BorderSizePixel = 0
  140. ImageButton_2.Position = UDim2.new(0.0412753932, 0, 0.349721909, 0)
  141. ImageButton_2.Size = UDim2.new(0, 36, 0, 36)
  142. ImageButton_2.Image = "rbxassetid://222831456"
  143.  
  144. OpenHolder.Name = "OpenHolder"
  145. OpenHolder.Parent = MainScreenGui
  146. OpenHolder.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  147. OpenHolder.BorderSizePixel = 0
  148. OpenHolder.Position = UDim2.new(0.00751879718, 0, 0.824534178, 0)
  149. OpenHolder.Size = UDim2.new(0, 154, 0, 39)
  150.  
  151. Open.Name = "Open"
  152. Open.Parent = OpenHolder
  153. Open.BackgroundColor3 = Color3.new(1, 1, 1)
  154. Open.BackgroundTransparency = 1
  155. Open.BorderSizePixel = 0
  156. Open.Position = UDim2.new(-0.000274261867, 0, -0.0205469374, 0)
  157. Open.Size = UDim2.new(0, 154, 0, 39)
  158. Open.Font = Enum.Font.GothamBold
  159. Open.Text = "Open"
  160. Open.TextColor3 = Color3.new(1, 1, 1)
  161. Open.TextScaled = true
  162. Open.TextSize = 14
  163. Open.TextWrapped = true
  164.  
  165. -- Scripts:
  166.  
  167. local function MZWXW_fake_script() -- GiveGear.LocalScript
  168. local script = Instance.new('LocalScript', GiveGear)
  169.  
  170. script.Parent.MouseButton1Click:connect(function()
  171. game.ReplicatedStorage.WearItem:FireServer("Shirt", script.Parent.Parent.TextBox.Text, false)
  172. end)
  173. end
  174. coroutine.wrap(MZWXW_fake_script)()
  175. local function ERCMHWE_fake_script() -- OpenSettings.LocalScript
  176. local script = Instance.new('LocalScript', OpenSettings)
  177.  
  178. script.Parent.MouseButton1Click:Connect(function()
  179. script.Parent.Parent.Parent.Frame.Visible = false
  180. script.Parent.Parent.Parent.Settings.Visible = true
  181. end)
  182. end
  183. coroutine.wrap(ERCMHWE_fake_script)()
  184. local function ZQSD_fake_script() -- Close.LocalScript
  185. local script = Instance.new('LocalScript', Close)
  186.  
  187. script.Parent.MouseButton1Click:Connect(function()
  188. script.Parent.Parent.Parent.OpenHolder.Visible = true
  189. script.Parent.Parent.Parent.Settings.Visible = false
  190. script.Parent.Parent.Parent.Frame.Visible = false
  191. end)
  192. end
  193. coroutine.wrap(ZQSD_fake_script)()
  194. local function BDTFXU_fake_script() -- Frame.LocalScript
  195. local script = Instance.new('LocalScript', Frame)
  196.  
  197. local a=game:GetService("UserInputService")local b=script.Parent;local c;local d;local e;local f;local function g(h)local i=h.Position-e;b.Position=UDim2.new(f.X.Scale,f.X.Offset+i.X,f.Y.Scale,f.Y.Offset+i.Y)end;b.InputBegan:Connect(function(h)if h.UserInputType==Enum.UserInputType.MouseButton1 or h.UserInputType==Enum.UserInputType.Touch then c=true;e=h.Position;f=b.Position;h.Changed:Connect(function()if h.UserInputState==Enum.UserInputState.End then c=false end end)end end)b.InputChanged:Connect(function(h)if h.UserInputType==Enum.UserInputType.MouseMovement or h.UserInputType==Enum.UserInputType.Touch then d=h end end)a.InputChanged:Connect(function(h)if h==d and c then g(h)end end)
  198. end
  199. coroutine.wrap(BDTFXU_fake_script)()
  200. local function OTZZQG_fake_script() -- ImageButton.LocalScript
  201. local script = Instance.new('LocalScript', ImageButton)
  202.  
  203. local main = script.Parent.Parent.Parent.Frame
  204. local settings = script.Parent.Parent.Parent.Settings
  205. local openholder = script.Parent.Parent.Parent.OpenHolder
  206.  
  207. script.Parent.MouseButton1Click:Connect(function()
  208. main.BackgroundColor3 = Color3.fromRGB(46, 46, 46)
  209. settings.BackgroundColor3 = Color3.fromRGB(46, 46, 46)
  210. openholder.BackgroundColor3 = Color3.fromRGB(46, 46, 46)
  211. script.Parent.Parent.Parent.Frame.TextBox.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
  212. script.Parent.Parent.Parent.Frame.GiveGear.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
  213. script.Parent.Parent.Parent.Credits.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
  214. end)
  215. end
  216. coroutine.wrap(OTZZQG_fake_script)()
  217. local function GWEPX_fake_script() -- X.LocalScript
  218. local script = Instance.new('LocalScript', X)
  219.  
  220. script.Parent.MouseButton1Click:Connect(function()
  221. script.Parent.Parent.Parent.Frame.Visible = true
  222. script.Parent.Parent.Parent.Settings.Visible = false
  223. end)
  224. end
  225. coroutine.wrap(GWEPX_fake_script)()
  226. local function HIFQFJU_fake_script() -- Settings.LocalScript
  227. local script = Instance.new('LocalScript', Settings)
  228.  
  229. local a=game:GetService("UserInputService")local b=script.Parent;local c;local d;local e;local f;local function g(h)local i=h.Position-e;b.Position=UDim2.new(f.X.Scale,f.X.Offset+i.X,f.Y.Scale,f.Y.Offset+i.Y)end;b.InputBegan:Connect(function(h)if h.UserInputType==Enum.UserInputType.MouseButton1 or h.UserInputType==Enum.UserInputType.Touch then c=true;e=h.Position;f=b.Position;h.Changed:Connect(function()if h.UserInputState==Enum.UserInputState.End then c=false end end)end end)b.InputChanged:Connect(function(h)if h.UserInputType==Enum.UserInputType.MouseMovement or h.UserInputType==Enum.UserInputType.Touch then d=h end end)a.InputChanged:Connect(function(h)if h==d and c then g(h)end end)
  230. end
  231. coroutine.wrap(HIFQFJU_fake_script)()
  232. local function EDNP_fake_script() -- ImageButton_2.LocalScript
  233. local script = Instance.new('LocalScript', ImageButton_2)
  234.  
  235. local main = script.Parent.Parent.Parent.Frame
  236. local settings = script.Parent.Parent.Parent.Settings
  237. local openholder = script.Parent.Parent.Parent.OpenHolder
  238.  
  239. script.Parent.MouseButton1Click:Connect(function()
  240. main.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
  241. settings.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
  242. openholder.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
  243. script.Parent.Parent.Parent.Frame.TextBox.BackgroundColor3 = Color3.fromRGB(0, 125, 188)
  244. script.Parent.Parent.Parent.Frame.GiveGear.BackgroundColor3 = Color3.fromRGB(0, 125, 188)
  245. script.Parent.Parent.Parent.Credits.BackgroundColor3 = Color3.fromRGB(0, 125, 188)
  246. end)
  247. end
  248. coroutine.wrap(EDNP_fake_script)()
  249. local function LWRZ_fake_script() -- Open.LocalScript
  250. local script = Instance.new('LocalScript', Open)
  251.  
  252. script.Parent.MouseButton1Click:Connect(function()
  253. script.Parent.Parent.Parent.OpenHolder.Visible = false
  254. script.Parent.Parent.Parent.Frame.Visible = true
  255. end)
  256. end
  257. coroutine.wrap(LWRZ_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement