Advertisement
Guest User

Untitled

a guest
Oct 19th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.93 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local Menu = Instance.new("Frame")
  6. local Frame = Instance.new("Frame")
  7. local B1 = Instance.new("TextButton")
  8. local B3 = Instance.new("TextButton")
  9. local B4 = Instance.new("TextButton")
  10. local B2 = Instance.new("TextButton")
  11. local Credit = Instance.new("TextLabel")
  12. local Button = Instance.new("TextButton")
  13. --Properties:
  14. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  15.  
  16. Menu.Name = "Menu"
  17. Menu.Parent = ScreenGui
  18. Menu.Active = true
  19. Menu.BackgroundColor3 = Color3.new(0, 0, 0)
  20. Menu.BackgroundTransparency = 0.40000000596046
  21. Menu.BorderColor3 = Color3.new(1, 0, 0)
  22. Menu.BorderSizePixel = 2
  23. Menu.Draggable = true
  24. Menu.Position = UDim2.new(0.220274389, -171, 0.686549664, -141)
  25. Menu.Selectable = true
  26. Menu.Size = UDim2.new(0, 275, 0, 172)
  27.  
  28. Frame.Parent = Menu
  29. Frame.Active = true
  30. Frame.BackgroundColor3 = Color3.new(1, 0, 0)
  31. Frame.BackgroundTransparency = 0.40000000596046
  32. Frame.BorderSizePixel = 0
  33. Frame.Draggable = true
  34. Frame.Position = UDim2.new(-0.0020011086, 0, 0.238562495, 0)
  35. Frame.Selectable = true
  36. Frame.Size = UDim2.new(0, 275, 0, 6)
  37.  
  38. B1.Name = "B1"
  39. B1.Parent = Menu
  40. B1.BackgroundColor3 = Color3.new(0.517647, 0.517647, 0.517647)
  41. B1.BackgroundTransparency = 0.40000000596046
  42. B1.Position = UDim2.new(0.0989911258, 0, 0.394675642, 0)
  43. B1.Size = UDim2.new(0, 93, 0, 35)
  44. B1.Font = Enum.Font.SourceSans
  45. B1.Text = "A-R-N"
  46. B1.TextColor3 = Color3.new(0, 0, 0)
  47. B1.TextSize = 14
  48.  
  49. B3.Name = "B3"
  50. B3.Parent = Menu
  51. B3.BackgroundColor3 = Color3.new(0.517647, 0.517647, 0.517647)
  52. B3.BackgroundTransparency = 0.40000000596046
  53. B3.Position = UDim2.new(0.561887503, 0, 0.708629131, 0)
  54. B3.Size = UDim2.new(0, 93, 0, 35)
  55. B3.Font = Enum.Font.SourceSans
  56. B3.Text = "Edit3"
  57. B3.TextColor3 = Color3.new(0, 0, 0)
  58. B3.TextSize = 14
  59.  
  60. B4.Name = "B4"
  61. B4.Parent = Menu
  62. B4.BackgroundColor3 = Color3.new(0.517647, 0.517647, 0.517647)
  63. B4.BackgroundTransparency = 0.40000000596046
  64. B4.Position = UDim2.new(0.0989911258, 0, 0.706663966, 0)
  65. B4.Size = UDim2.new(0, 93, 0, 35)
  66. B4.Font = Enum.Font.SourceSans
  67. B4.Text = "Edit4"
  68. B4.TextColor3 = Color3.new(0, 0, 0)
  69. B4.TextSize = 14
  70.  
  71. B2.Name = "B2"
  72. B2.Parent = Menu
  73. B2.BackgroundColor3 = Color3.new(0.517647, 0.517647, 0.517647)
  74. B2.BackgroundTransparency = 0.40000000596046
  75. B2.Position = UDim2.new(0.561887503, 0, 0.392710447, 0)
  76. B2.Size = UDim2.new(0, 93, 0, 35)
  77. B2.Font = Enum.Font.SourceSans
  78. B2.Text = "ESP"
  79. B2.TextColor3 = Color3.new(0, 0, 0)
  80. B2.TextSize = 14
  81.  
  82. Credit.Name = "Credit"
  83. Credit.Parent = Menu
  84. Credit.BackgroundColor3 = Color3.new(0, 0, 0)
  85. Credit.BackgroundTransparency = 1
  86. Credit.Position = UDim2.new(0.134764418, 0, 0.0475180149, 0)
  87. Credit.Size = UDim2.new(0, 200, 0, 25)
  88. Credit.Font = Enum.Font.Cartoon
  89. Credit.Text = "Made by Rob123"
  90. Credit.TextColor3 = Color3.new(1, 1, 1)
  91. Credit.TextSize = 20
  92.  
  93. Button.Name = "Button"
  94. Button.Parent = ScreenGui
  95. Button.BackgroundColor3 = Color3.new(0, 0, 0)
  96. Button.BackgroundTransparency = 0.5
  97. Button.Position = UDim2.new(0.452743888, 0, 0, 0)
  98. Button.Size = UDim2.new(0, 200, 0, 25)
  99. Button.Font = Enum.Font.ArialBold
  100. Button.Text = "Open/Close"
  101. Button.TextColor3 = Color3.new(1, 1, 1)
  102. Button.TextSize = 20
  103.  
  104.  
  105. -- Scripts:
  106. Menu.Active = true
  107. Menu.Selectable = true
  108. Menu.Draggable = true
  109. Frame.Draggable = true
  110. Frame.Active = true
  111. Frame.Selectable = true
  112. OC = 0
  113. Button.MouseButton1Click:connect(function()
  114. if OC == 0 then
  115. OC = 1
  116. Menu.Visible = true
  117. elseif OC == 1 then
  118. OC = 0
  119. Menu.Visible = false
  120. end
  121. end)
  122.  
  123.  
  124. Var = 0 -- This will be your variable for the first button to check if it's on or off, this can not be similar to any other variable already made like "B1" or "OC" or "Frame" etc.
  125. B1.MouseButton1Click:connect(function() --This is saying, when the gui button name (B1) is left clicked, perform a function
  126. if Var == 0 then -- this checks if the variable is at 0, in this case var is on or off so if it's off it will turn on
  127. Var = 1 -- this is turning var to 1 turning it on in this case
  128. while Var == 1 do -- while the script is on and working do the following
  129. game:GetService('RunService').Stepped:wait() -- this is a wait
  130. --Script 1
  131. rs = game:GetService("ReplicatedStorage")
  132.  
  133. while true do
  134. rs.Events.MenuActionEvent:FireServer(6, true)
  135. wait(0.01)
  136. end
  137.  
  138. else --else if var does not = 0 do the following
  139. Var = 0 --make var 0 basically saying the script is off
  140. end
  141. end)
  142.  
  143. Var2 = 0
  144. B2.MouseButton1Click:connect(function()
  145. if Var2 == 0 then
  146. Var2 = 1
  147. while Var2 == 1 do
  148. game:GetService('RunService').Stepped:wait()
  149. --Script 2
  150.  
  151.  
  152. function highlightModel(objObject, color)
  153. local v = objObject
  154. local bHA=Instance.new('BoxHandleAdornment',v)
  155. bHA.Adornee=v
  156. bHA.Size= v.Size
  157. bHA.Color3= color or Color3.new(255,255,255)
  158. bHA.Transparency=.5
  159. bHA.ZIndex=1
  160. bHA.AlwaysOnTop=true
  161. end
  162.  
  163. function unHighlightModel(objObject)
  164. objObject.BoxHandleAdornment:Destroy()
  165. end
  166.  
  167. for _,gg in pairs(game.Workspace.Gold:GetChildren()) do
  168. if gg:FindFirstChild("BoxHandleAdornment") then
  169. unHighlightModel(gg)
  170. end
  171. if gg.Name == "Advanced Money Printer" then
  172. highlightModel(gg, Color3.new(255,200,200)) --red
  173. elseif gg.Name == "Basic Money Printer" then
  174. highlightModel(gg, Color3.new(255,100,100)) --white
  175. else
  176. highlightModel(gg)
  177. end
  178. end
  179.  
  180. else
  181. Var2 = 0
  182. end
  183. end)
  184.  
  185. Var3 = 0
  186. B3.MouseButton1Click:connect(function()
  187. if Var3 == 0 then
  188. Var3 = 1
  189. while Var3 == 1 do
  190. game:GetService('RunService').Stepped:wait()
  191. --code here
  192. end
  193. else
  194. Var3 = 0
  195. end
  196. end)
  197.  
  198. Var4 = 0
  199. B4.MouseButton1Click:connect(function()
  200. if Var4 == 0 then
  201. Var4 = 1
  202. while Var4 == 1 do
  203. game:GetService('RunService').Stepped:wait()
  204. --code
  205. end
  206. else
  207. Var4 = 0
  208. end
  209. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement