Advertisement
urdadgeiaf

entry Point script

Aug 17th, 2019
33,050
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.48 KB | None | 0 0
  1. ---// Made by SkiddieWilly
  2.  
  3. local Env = {}
  4.  
  5. local mouse = game.Players.LocalPlayer:GetMouse()
  6. local gui = game.CoreGui
  7.  
  8. local MainGui = Instance.new("ScreenGui", gui)
  9.  
  10. local Buttons = {}
  11. local Registered = {}
  12. local Activated = {}
  13.  
  14. local ESPNPC = false
  15.  
  16. function GetTemplate()
  17. local InputFrame = Instance.new("TextButton")
  18. local Outline = Instance.new("Frame")
  19. local Outline2 = Instance.new("Frame")
  20. local Shadows = Instance.new("Folder", InputFrame)
  21. local AmbientShadow = Instance.new("ImageLabel")
  22. local PenumbraShadow = Instance.new("ImageLabel")
  23. local UmbraShadow = Instance.new("ImageLabel")
  24.  
  25. InputFrame.Name = "InputFrame"
  26. InputFrame.Active = false
  27. InputFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  28. InputFrame.BackgroundColor3 = Color3.new(0.192157, 0.192157, 0.192157)
  29. InputFrame.BackgroundTransparency = 0.60000002384186
  30. InputFrame.BorderColor3 = Color3.new(0.192157, 0.192157, 0.192157)
  31. InputFrame.BorderSizePixel = 0
  32. InputFrame.Position = UDim2.new(0.952, 0, 0.2 + (0.075 * (#Buttons + 1)), 0)
  33. InputFrame.Selectable = false
  34. InputFrame.Size = UDim2.new(0.0960000008, 0, 0.0489999987, 0)
  35. InputFrame.AutoButtonColor = false
  36. InputFrame.Font = Enum.Font.Code
  37. InputFrame.Text = "Sample"
  38. InputFrame.TextColor3 = Color3.new(1, 1, 1)
  39. InputFrame.TextSize = 20
  40. InputFrame.TextWrapped = true
  41.  
  42. Outline.Name = "Outline"
  43. Outline.Parent = InputFrame
  44. Outline.AnchorPoint = Vector2.new(0.5, 0.5)
  45. Outline.BackgroundColor3 = Color3.new(0.827451, 0.827451, 0.827451)
  46. Outline.BorderSizePixel = 0
  47. Outline.Position = UDim2.new(0.5, 0, 0.975, 0)
  48. Outline.Size = UDim2.new(1, 0, 0.07, 0)
  49. Outline.ZIndex = 2
  50.  
  51. Outline2.Name = "Outline2"
  52. Outline2.Parent = Outline
  53. Outline2.ZIndex = 3
  54. Outline2.AnchorPoint = Vector2.new(0.5, 0.5)
  55. Outline2.BackgroundColor3 = Color3.fromRGB(161, 0, 35)
  56. Outline2.BorderSizePixel = 0
  57. Outline2.Position = UDim2.new(0.5, 0, 0.5, 0)
  58. Outline2.Size = UDim2.new(0, 0, 1, 0)
  59.  
  60. AmbientShadow.Name = "AmbientShadow"
  61. AmbientShadow.Parent = Shadows
  62. AmbientShadow.AnchorPoint = Vector2.new(0.5, 0.5)
  63. AmbientShadow.BackgroundTransparency = 1
  64. AmbientShadow.Position = UDim2.new(0.5, 0, 0.5, 3)
  65. AmbientShadow.Size = UDim2.new(1, 5, 1, 5)
  66. AmbientShadow.ZIndex = 0
  67. AmbientShadow.Image = "rbxassetid://1316045217"
  68. AmbientShadow.ImageColor3 = Color3.new(0, 0, 0)
  69. AmbientShadow.ImageTransparency = 0.80000001192093
  70. AmbientShadow.ScaleType = Enum.ScaleType.Slice
  71. AmbientShadow.SliceCenter = Rect.new(10, 10, 118, 118)
  72.  
  73. PenumbraShadow.Name = "PenumbraShadow"
  74. PenumbraShadow.Parent = Shadows
  75. PenumbraShadow.AnchorPoint = Vector2.new(0.5, 0.5)
  76. PenumbraShadow.BackgroundTransparency = 1
  77. PenumbraShadow.Position = UDim2.new(0.5, 0, 0.5, 1)
  78. PenumbraShadow.Size = UDim2.new(1, 18, 1, 18)
  79. PenumbraShadow.ZIndex = 0
  80. PenumbraShadow.Image = "rbxassetid://1316045217"
  81. PenumbraShadow.ImageColor3 = Color3.new(0, 0, 0)
  82. PenumbraShadow.ImageTransparency = 0.87999999523163
  83. PenumbraShadow.ScaleType = Enum.ScaleType.Slice
  84. PenumbraShadow.SliceCenter = Rect.new(10, 10, 118, 118)
  85.  
  86. UmbraShadow.Name = "UmbraShadow"
  87. UmbraShadow.Parent = Shadows
  88. UmbraShadow.AnchorPoint = Vector2.new(0.5, 0.5)
  89. UmbraShadow.BackgroundTransparency = 1
  90. UmbraShadow.Position = UDim2.new(0.5, 0, 0.5, 6)
  91. UmbraShadow.Size = UDim2.new(1, 10, 1, 10)
  92. UmbraShadow.ZIndex = 0
  93. UmbraShadow.Image = "rbxassetid://1316045217"
  94. UmbraShadow.ImageColor3 = Color3.new(0, 0, 0)
  95. UmbraShadow.ImageTransparency = 0.86000001430511
  96. UmbraShadow.ScaleType = Enum.ScaleType.Slice
  97. UmbraShadow.SliceCenter = Rect.new(10, 10, 118, 118)
  98.  
  99. return InputFrame
  100. end
  101.  
  102. function GetNotifTemplate()
  103. local InputFrame = Instance.new("TextLabel")
  104. local Outline = Instance.new("Frame")
  105. local Outline2 = Instance.new("Frame")
  106. local Shadows = Instance.new("Folder", InputFrame)
  107. local AmbientShadow = Instance.new("ImageLabel")
  108. local PenumbraShadow = Instance.new("ImageLabel")
  109. local UmbraShadow = Instance.new("ImageLabel")
  110.  
  111. InputFrame.Name = "InputFrame"
  112. InputFrame.Active = false
  113. InputFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  114. InputFrame.BackgroundColor3 = Color3.new(0.192157, 0.192157, 0.192157)
  115. InputFrame.BackgroundTransparency = 0
  116. InputFrame.BorderColor3 = Color3.new(0.192157, 0.192157, 0.192157)
  117. InputFrame.BorderSizePixel = 0
  118. InputFrame.Position = UDim2.new(0.5, 0, 1.1, 0)
  119. InputFrame.Selectable = false
  120. InputFrame.Size = UDim2.new(0.3, 0, 0.05, 0)
  121. InputFrame.Font = Enum.Font.Code
  122. InputFrame.Text = "Sample"
  123. InputFrame.TextColor3 = Color3.new(1, 1, 1)
  124. InputFrame.TextSize = 20
  125. InputFrame.TextWrapped = true
  126.  
  127. Outline.Name = "Outline"
  128. Outline.Parent = InputFrame
  129. Outline.AnchorPoint = Vector2.new(0.5, 0.5)
  130. Outline.BackgroundColor3 = Color3.new(0.827451, 0.827451, 0.827451)
  131. Outline.BorderSizePixel = 0
  132. Outline.Position = UDim2.new(0.5, 0, 0.975, 0)
  133. Outline.Size = UDim2.new(1, 0, 0.07, 0)
  134. Outline.ZIndex = 2
  135.  
  136. Outline2.Name = "Outline2"
  137. Outline2.Parent = Outline
  138. Outline2.ZIndex = 3
  139. Outline2.AnchorPoint = Vector2.new(0.5, 0.5)
  140. Outline2.BackgroundColor3 = Color3.fromRGB(161, 0, 35)
  141. Outline2.BorderSizePixel = 0
  142. Outline2.Position = UDim2.new(0.5, 0, 0.5, 0)
  143. Outline2.Size = UDim2.new(0, 0, 1, 0)
  144.  
  145. AmbientShadow.Name = "AmbientShadow"
  146. AmbientShadow.Parent = Shadows
  147. AmbientShadow.AnchorPoint = Vector2.new(0.5, 0.5)
  148. AmbientShadow.BackgroundTransparency = 1
  149. AmbientShadow.Position = UDim2.new(0.5, 0, 0.5, 3)
  150. AmbientShadow.Size = UDim2.new(1, 5, 1, 5)
  151. AmbientShadow.ZIndex = 0
  152. AmbientShadow.Image = "rbxassetid://1316045217"
  153. AmbientShadow.ImageColor3 = Color3.new(0, 0, 0)
  154. AmbientShadow.ImageTransparency = 0.80000001192093
  155. AmbientShadow.ScaleType = Enum.ScaleType.Slice
  156. AmbientShadow.SliceCenter = Rect.new(10, 10, 118, 118)
  157.  
  158. PenumbraShadow.Name = "PenumbraShadow"
  159. PenumbraShadow.Parent = Shadows
  160. PenumbraShadow.AnchorPoint = Vector2.new(0.5, 0.5)
  161. PenumbraShadow.BackgroundTransparency = 1
  162. PenumbraShadow.Position = UDim2.new(0.5, 0, 0.5, 1)
  163. PenumbraShadow.Size = UDim2.new(1, 18, 1, 18)
  164. PenumbraShadow.ZIndex = 0
  165. PenumbraShadow.Image = "rbxassetid://1316045217"
  166. PenumbraShadow.ImageColor3 = Color3.new(0, 0, 0)
  167. PenumbraShadow.ImageTransparency = 0.87999999523163
  168. PenumbraShadow.ScaleType = Enum.ScaleType.Slice
  169. PenumbraShadow.SliceCenter = Rect.new(10, 10, 118, 118)
  170.  
  171. UmbraShadow.Name = "UmbraShadow"
  172. UmbraShadow.Parent = Shadows
  173. UmbraShadow.AnchorPoint = Vector2.new(0.5, 0.5)
  174. UmbraShadow.BackgroundTransparency = 1
  175. UmbraShadow.Position = UDim2.new(0.5, 0, 0.5, 6)
  176. UmbraShadow.Size = UDim2.new(1, 10, 1, 10)
  177. UmbraShadow.ZIndex = 0
  178. UmbraShadow.Image = "rbxassetid://1316045217"
  179. UmbraShadow.ImageColor3 = Color3.new(0, 0, 0)
  180. UmbraShadow.ImageTransparency = 0.86000001430511
  181. UmbraShadow.ScaleType = Enum.ScaleType.Slice
  182. UmbraShadow.SliceCenter = Rect.new(10, 10, 118, 118)
  183.  
  184. return InputFrame
  185. end
  186.  
  187. function makeImage()
  188. local id = 'rbxassetid://1084963972'
  189. local id2 = 'rbxassetid://867619398'
  190.  
  191. local randoms = {
  192. 0,
  193. 90,
  194. 180,
  195. -90
  196. }
  197.  
  198. local image = Instance.new("ImageLabel", MainGui)
  199. image.Size = UDim2.new(0, 20, 0, 20)
  200. image.AnchorPoint = Vector2.new(0.5, 0.5)
  201. image.Position = UDim2.new(0, mouse.X, 0, mouse.Y)
  202. image.Image = id
  203. image.Rotation = randoms[math.random(#randoms)]
  204. image.BackgroundTransparency = 1
  205. image.ImageColor3 = Color3.fromRGB(255, 200, 0)
  206.  
  207. local image2 = image:Clone()
  208. image2.Parent = image.Parent
  209. image2.Image = id2
  210.  
  211. local tween = game:GetService("TweenService"):Create(image, TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
  212. ImageTransparency = 1
  213. })
  214. tween:Play()
  215.  
  216. local tween2 = game:GetService("TweenService"):Create(image2, TweenInfo.new(.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
  217. ImageTransparency = 1
  218. })
  219. tween2:Play()
  220.  
  221. image:TweenSize(UDim2.new(0, 100, 0, 100), "Out", "Quad", .3, true)
  222. image2:TweenSize(UDim2.new(0, 100, 0, 100), "Out", "Quad", .3, true)
  223. end
  224.  
  225. function Env:RegisterButton(button, canClose, toggle, func)
  226. for i, v in pairs(Registered) do
  227. if v == button then
  228. return "Already Registered!"
  229. end
  230. end
  231.  
  232. local origPos = button.Position
  233. local origSize = button.Size
  234.  
  235. button.MouseEnter:Connect(function()
  236. if not Activated[button] then
  237. button:TweenSizeAndPosition(origSize + UDim2.new(0.034, 0, 0, 0), origPos + UDim2.new(-0.017, 0, 0, 0), "Out", "Quad", .5, true)
  238. button.Outline.Outline2:TweenSizeAndPosition(UDim2.new(1, 0, 1, 0), UDim2.new(0.5, 0, 0.5, 0), "Out", "Quad", .5, true)
  239.  
  240. local tween = game:GetService("TweenService"):Create(button, TweenInfo.new(.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
  241. BackgroundTransparency = 0.3
  242. })
  243. tween:Play()
  244. end
  245. end)
  246.  
  247. button.MouseLeave:Connect(function()
  248. if not Activated[button] then
  249. button:TweenSizeAndPosition(origSize, origPos, "Out", "Quad", .5, true)
  250. button.Outline.Outline2:TweenSizeAndPosition(UDim2.new(0, 0, 1, 0), UDim2.new(0.5, 0, 0.5, 0), "Out", "Quad", .5, true)
  251.  
  252. local tween = game:GetService("TweenService"):Create(button, TweenInfo.new(.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
  253. BackgroundTransparency = 0.6
  254. })
  255. tween:Play()
  256. end
  257. end)
  258.  
  259. button.MouseButton1Down:Connect(function()
  260. makeImage()
  261.  
  262. if Activated[button] and canClose then
  263. Activated[button] = nil
  264. button:TweenSizeAndPosition(origSize, origPos, "Out", "Quad", .5, true)
  265. button.Outline.Outline2:TweenSizeAndPosition(UDim2.new(0, 0, 1, 0), UDim2.new(0.5, 0, 0.5, 0), "Out", "Quad", .5, true)
  266.  
  267. local tween = game:GetService("TweenService"):Create(button, TweenInfo.new(.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
  268. BackgroundTransparency = 0.6
  269. })
  270. tween:Play()
  271.  
  272. local ctween = game:GetService("TweenService"):Create(button.Outline.Outline2, TweenInfo.new(.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
  273. BackgroundColor3 = Color3.fromRGB(161, 0, 35)
  274. })
  275. ctween:Play()
  276. else
  277. if toggle then
  278. Activated[button] = true
  279. button:TweenSizeAndPosition(origSize + UDim2.new(0.034 * 2, 0, 0, 0), origPos + UDim2.new(-0.017 * 2, 0, 0, 0), "Out", "Quad", .5, true)
  280. button.Outline.Outline2:TweenSizeAndPosition(UDim2.new(1, 0, 1, 0), UDim2.new(0.5, 0, 0.5, 0), "Out", "Quad", .5, true)
  281.  
  282. local tween = game:GetService("TweenService"):Create(button, TweenInfo.new(.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
  283. BackgroundTransparency = 0
  284. })
  285. tween:Play()
  286.  
  287. local ctween = game:GetService("TweenService"):Create(button.Outline.Outline2, TweenInfo.new(.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
  288. BackgroundColor3 = Color3.fromRGB(0, 189, 129)
  289. })
  290. ctween:Play()
  291. end
  292.  
  293. if not toggle then
  294. Activated[button] = nil
  295.  
  296. button:TweenSizeAndPosition(origSize, origPos, "Out", "Quad", .5, true)
  297. button.Outline.Outline2:TweenSizeAndPosition(UDim2.new(0, 0, 1, 0), UDim2.new(0.5, 0, 0.5, 0), "Out", "Quad", .5, true)
  298.  
  299. local tween = game:GetService("TweenService"):Create(button, TweenInfo.new(.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
  300. BackgroundTransparency = 0.6
  301. })
  302. tween:Play()
  303.  
  304. local ctween = game:GetService("TweenService"):Create(button.Outline.Outline2, TweenInfo.new(.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
  305. BackgroundColor3 = Color3.fromRGB(161, 0, 35)
  306. })
  307. ctween:Play()
  308. end
  309.  
  310. end
  311. func()
  312.  
  313. end)
  314. end
  315.  
  316. function Env:MakeButton(text)
  317. local button = GetTemplate()
  318. button.Parent = MainGui
  319. button.Text = text
  320.  
  321. table.insert(Buttons, button)
  322. return button
  323. end
  324.  
  325. function Env:NotifyTweenUp(frame, Time)
  326. frame:TweenPosition(UDim2.new(0.5, 0, 0.6, 0), "Out", "Quad", Time, true)
  327. end
  328.  
  329. function Env:NotifyTweenDown(frame, Time)
  330. frame:TweenPosition(UDim2.new(0.5, 0, 1.1, 0), "Out", "Quad", Time, true)
  331. end
  332.  
  333. function Env:Notify(text, Duration)
  334. local frame = GetNotifTemplate()
  335. frame.Text = text
  336. frame.Parent = MainGui
  337.  
  338. if type(Duration) == "boolean" and Duration == true then
  339. Duration = 5
  340. end
  341.  
  342. Env:NotifyTweenUp(frame, 0.7)
  343.  
  344. if type(Duration) == 'number' then
  345. spawn(function()
  346. wait(Duration)
  347. Env:NotifyTweenDown(frame, 0.7)
  348. wait(1)
  349. frame:Destroy()
  350. end)
  351. end
  352.  
  353. return frame
  354. end
  355.  
  356.  
  357. -----/// Game values
  358.  
  359. local Actors = game:GetService("Workspace").Level.Actors
  360.  
  361. function KillNPCs()
  362. for i, v in pairs(Actors:GetChildren()) do wait()
  363. local Hum = v.Character.Humanoid
  364. local idk1 = 45
  365. local idk2 = 15
  366. local head = v.Character.Head
  367. local pos1 = v.Character.Head.Position
  368. local pos2 = v.Character.Head.Position
  369. local idk3 = 0
  370. local Event = game:GetService("ReplicatedStorage").Weapons.Triggers.PlayerHit
  371. Event:FireServer(Hum, idk1, idk2, head, pos1, pos2, idk3)
  372. end
  373.  
  374. Actors.ChildAdded:Connect(function(v) wait()
  375. local Hum = v.Character:WaitForChild("Humanoid")
  376. local idk1 = 45
  377. local idk2 = 15
  378. local head = v.Character.Head
  379. local pos1 = v.Character.Head.Position
  380. local pos2 = v.Character.Head.Position
  381. local idk3 = 0
  382. local Event = game:GetService("ReplicatedStorage").Weapons.Triggers.PlayerHit
  383. Event:FireServer(Hum, idk1, idk2, head, pos1, pos2, idk3)
  384. end)
  385. end
  386.  
  387. function AutoFarmStart()
  388. if game.PlaceId == 2215221144 then
  389. local t1 = Env:Notify("Grab the Diamond Drill", false)
  390. repeat
  391. wait()
  392. until game:GetService("Players").LocalPlayer.Status.Tools:FindFirstChild("Bag") and game:GetService("Players").LocalPlayer.Status.Tools:FindFirstChild("Bag"):FindFirstChild("DiamondDrill")
  393. Env:NotifyTweenDown(t1, 0.7)
  394. local VaultWire = workspace.Level.Geometry.Vault.Sensor.Wire
  395. local VaultWireColor = VaultWire.BrickColor
  396.  
  397. local function Startup()
  398. for i, v in pairs(workspace.Level.Geometry:GetChildren()) do
  399. wait()
  400. if v.Name == "PowerBox" and v.Wire.BrickColor == VaultWireColor then
  401.  
  402. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.Door.CFrame
  403. wait(.5)
  404. for i = 1, 3 do
  405. wait(.2)
  406. pcall(function()
  407. local A_1 = v.Interact
  408. local A_2 = v
  409. local Event = game:GetService("ReplicatedStorage").Interact.StartInteraction
  410. Event:FireServer(A_1, A_2)
  411.  
  412. local A_1 = "Interaction"
  413. local A_2 = true
  414. local Event = game:GetService("Workspace").Level.Players.Player.AnimateServer.ChangeInput
  415. Event:FireServer(A_1, A_2)
  416.  
  417. local A_1 = v.Interact
  418. local Event = game:GetService("ReplicatedStorage").Interact.ReserveUse
  419. Event:InvokeServer(A_1)
  420.  
  421. local A_1 = v.Interact
  422. local A_2 = 100
  423. local Event = game:GetService("ReplicatedStorage").Interact.UpdateInteraction
  424. Event:InvokeServer(A_1, A_2)
  425.  
  426. local A_1 = "Interaction"
  427. local A_2 = false
  428. local Event = game:GetService("Workspace").Level.Players.Player.AnimateServer.ChangeInput
  429. Event:FireServer(A_1, A_2)
  430.  
  431. local A_1 = v.Interact
  432. local Event = game:GetService("ReplicatedStorage").Interact.TriggerInteraction
  433. Event:InvokeServer(A_1)
  434. end)
  435. end
  436. end
  437. end
  438.  
  439. game.Players.LocalPlayer.Character:MoveTo(workspace.Level.Geometry.Vault.Location.Position)
  440.  
  441. wait(.5)
  442.  
  443. for i = 1, 3 do
  444. wait(.2)
  445. pcall(function()
  446. local A_1 = game:GetService("Players").LocalPlayer.Status.Tools.Bag
  447. local Event = game:GetService("ReplicatedStorage").Items.PickupBag
  448. Event:InvokeServer(A_1)
  449.  
  450. local A_1 = "Interaction"
  451. local A_2 = false
  452. local Event = game:GetService("Workspace").Level.Players.Player.AnimateServer.ChangeInput
  453. Event:FireServer(A_1, A_2)
  454.  
  455.  
  456. local A_1 = game:GetService("Workspace").Level.Geometry.Vault.VaultDoor.Interact
  457. local A_2 = game:GetService("Workspace").Level.Geometry.Vault.VaultDoor
  458. local Event = game:GetService("ReplicatedStorage").Interact.StartInteraction
  459. Event:FireServer(A_1, A_2)
  460.  
  461. local A_1 = game:GetService("Workspace").Level.Geometry.Vault.VaultDoor.Interact
  462. local Event = game:GetService("ReplicatedStorage").Interact.ReserveUse
  463. Event:InvokeServer(A_1)
  464.  
  465. local A_1 = game:GetService("Workspace").Level.Geometry.Vault.VaultDoor.Interact
  466. local A_2 = 100
  467. local Event = game:GetService("ReplicatedStorage").Interact.UpdateInteraction
  468. Event:InvokeServer(A_1, A_2)
  469.  
  470. local A_1 = game:GetService("Workspace").Level.Geometry.Vault.VaultDoor.Interact
  471. local Event = game:GetService("ReplicatedStorage").Interact.ReleaseUse
  472. Event:InvokeServer(A_1)
  473.  
  474. local A_1 = game:GetService("Workspace").Level.Geometry.Vault.VaultDoor.Interact
  475. local Event = game:GetService("ReplicatedStorage").Interact.TriggerInteraction
  476. Event:InvokeServer(A_1)
  477. end)
  478. end
  479. end
  480.  
  481. function Startup()
  482. for i, v in pairs(workspace.Level.Geometry:GetChildren()) do
  483. wait()
  484. if v.Name == "PowerBox" and v.Wire.BrickColor == VaultWireColor then
  485.  
  486. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.Door.CFrame
  487. wait(.5)
  488. for i = 1, 3 do
  489. wait(.2)
  490. pcall(function()
  491. local A_1 = v.Interact
  492. local A_2 = v
  493. local Event = game:GetService("ReplicatedStorage").Interact.StartInteraction
  494. Event:FireServer(A_1, A_2)
  495.  
  496. local A_1 = "Interaction"
  497. local A_2 = true
  498. local Event = game:GetService("Workspace").Level.Players.Player.AnimateServer.ChangeInput
  499. Event:FireServer(A_1, A_2)
  500.  
  501. local A_1 = v.Interact
  502. local Event = game:GetService("ReplicatedStorage").Interact.ReserveUse
  503. Event:InvokeServer(A_1)
  504.  
  505. local A_1 = v.Interact
  506. local A_2 = 100
  507. local Event = game:GetService("ReplicatedStorage").Interact.UpdateInteraction
  508. Event:InvokeServer(A_1, A_2)
  509.  
  510. local A_1 = "Interaction"
  511. local A_2 = false
  512. local Event = game:GetService("Workspace").Level.Players.Player.AnimateServer.ChangeInput
  513. Event:FireServer(A_1, A_2)
  514.  
  515. local A_1 = v.Interact
  516. local Event = game:GetService("ReplicatedStorage").Interact.TriggerInteraction
  517. Event:InvokeServer(A_1)
  518. end)
  519. end
  520. end
  521. end
  522.  
  523. game.Players.LocalPlayer.Character:MoveTo(workspace.Level.Geometry.Vault.Location.Position)
  524.  
  525. wait(.5)
  526.  
  527. for i = 1, 3 do
  528. wait(.2)
  529. pcall(function()
  530. local A_1 = game:GetService("Players").LocalPlayer.Status.Tools.Bag
  531. local Event = game:GetService("ReplicatedStorage").Items.PickupBag
  532. Event:InvokeServer(A_1)
  533.  
  534. local A_1 = "Interaction"
  535. local A_2 = false
  536. local Event = game:GetService("Workspace").Level.Players.Player.AnimateServer.ChangeInput
  537. Event:FireServer(A_1, A_2)
  538.  
  539.  
  540. local A_1 = game:GetService("Workspace").Level.Geometry.Vault.VaultDoor.Interact
  541. local A_2 = game:GetService("Workspace").Level.Geometry.Vault.VaultDoor
  542. local Event = game:GetService("ReplicatedStorage").Interact.StartInteraction
  543. Event:FireServer(A_1, A_2)
  544.  
  545. local A_1 = game:GetService("Workspace").Level.Geometry.Vault.VaultDoor.Interact
  546. local Event = game:GetService("ReplicatedStorage").Interact.ReserveUse
  547. Event:InvokeServer(A_1)
  548.  
  549. local A_1 = game:GetService("Workspace").Level.Geometry.Vault.VaultDoor.Interact
  550. local A_2 = 100
  551. local Event = game:GetService("ReplicatedStorage").Interact.UpdateInteraction
  552. Event:InvokeServer(A_1, A_2)
  553.  
  554. local A_1 = game:GetService("Workspace").Level.Geometry.Vault.VaultDoor.Interact
  555. local Event = game:GetService("ReplicatedStorage").Interact.ReleaseUse
  556. Event:InvokeServer(A_1)
  557.  
  558. local A_1 = game:GetService("Workspace").Level.Geometry.Vault.VaultDoor.Interact
  559. local Event = game:GetService("ReplicatedStorage").Interact.TriggerInteraction
  560. Event:InvokeServer(A_1)
  561. end)
  562. end
  563. end
  564.  
  565. Startup()
  566.  
  567. wait()
  568. local t2 = Env:Notify("Grab the Money Bag", false)
  569. repeat
  570. wait()
  571. until game:GetService("Players").LocalPlayer.Status.Tools:FindFirstChild("Bag") and game:GetService("Players").LocalPlayer.Status.Tools:FindFirstChild("Bag"):FindFirstChildOfClass("IntValue").Name:lower():find("loot")
  572. Env:NotifyTweenDown(t2, 0.7)
  573. wait(1)
  574. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace.Level.Geometry.PlayerSpawn.Geometry.IndustrialTable.Part.CFrame
  575. end
  576. end
  577.  
  578.  
  579.  
  580. ----/// Trash env functions
  581.  
  582. Env:Notify("Made by SkiddieWilly", 5)
  583.  
  584.  
  585. local KillNPC = Env:MakeButton("Kill NPCs")
  586. local tex = KillNPC.Text
  587. Env:RegisterButton(KillNPC, true, false, function()
  588. if Activated[KillNPC] ~= true then
  589. KillNPCs()
  590. KillNPC.Text = "Killed NPCs!"
  591. wait(1)
  592. KillNPC.Text = tex
  593. end
  594. end)
  595. if game.PlaceId == 2215221144 then
  596. local AutoFarm = Env:MakeButton("Start Autofarm")
  597. Env:RegisterButton(AutoFarm, false, true, function()
  598. AutoFarmStart()
  599. end)
  600. end
  601.  
  602. local NPCCham = Env:MakeButton("NPC Chams")
  603. local tex = NPCCham.Text
  604. Env:RegisterButton(NPCCham, true, true, function()
  605. if Activated[NPCCham] == true then
  606. ESPNPC = true
  607. NPCCham.Text = "Activated Chams!"
  608. wait(1)
  609. NPCCham.Text = tex
  610. else
  611. ESPNPC = false
  612. end
  613. end)
  614.  
  615. Actors.ChildAdded:Connect(function(v)
  616. if ESPNPC then
  617. repeat wait() until v:FindFirstChild("Character")
  618. for i,v in pairs(v.Character:GetChildren()) do
  619. if v.ClassName == "MeshPart" or "Part" and v.Name ~= "HumanoidRootPart" then
  620. --
  621. xd = Instance.new("SurfaceGui")
  622. xd.Face = Enum.NormalId.Back
  623. xd.Parent = workspace.CurrentCamera
  624. xd.Adornee = v
  625. xd.AlwaysOnTop = true
  626. Frame = Instance.new("Frame")
  627. Frame.Parent = xd
  628. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  629. Frame.Size = UDim2.new(1, 0, 1, 0)
  630. Frame.BackgroundTransparency = 0.6
  631.  
  632. Frame.BackgroundColor3 = Color3.new(230,0,0)
  633.  
  634. --
  635.  
  636. xd = Instance.new("SurfaceGui")
  637. xd.Face = Enum.NormalId.Bottom
  638. xd.Parent = workspace.CurrentCamera
  639. xd.Adornee = v
  640. xd.AlwaysOnTop = true
  641. Frame = Instance.new("Frame")
  642. Frame.Parent = xd
  643. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  644. Frame.Size = UDim2.new(1, 0, 1, 0)
  645. Frame.BackgroundTransparency = 0.6
  646.  
  647. Frame.BackgroundColor3 = Color3.new(230,0,0)
  648.  
  649. --
  650.  
  651. xd = Instance.new("SurfaceGui")
  652. xd.Face = Enum.NormalId.Front
  653. xd.Parent = workspace.CurrentCamera
  654. xd.Adornee = v
  655. xd.AlwaysOnTop = true
  656. Frame = Instance.new("Frame")
  657. Frame.Parent = xd
  658. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  659. Frame.Size = UDim2.new(1, 0, 1, 0)
  660. Frame.BackgroundTransparency = 0.6
  661.  
  662. Frame.BackgroundColor3 = Color3.new(230,0,0)
  663.  
  664.  
  665. --
  666.  
  667. xd = Instance.new("SurfaceGui")
  668. xd.Face = Enum.NormalId.Left
  669. xd.Parent = workspace.CurrentCamera
  670. xd.Adornee = v
  671. xd.AlwaysOnTop = true
  672. Frame = Instance.new("Frame")
  673. Frame.Parent = xd
  674. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  675. Frame.Size = UDim2.new(1, 0, 1, 0)
  676. Frame.BackgroundTransparency = 0.6
  677.  
  678. Frame.BackgroundColor3 = Color3.new(230,0,0)
  679. --
  680.  
  681. xd = Instance.new("SurfaceGui")
  682. xd.Face = Enum.NormalId.Right
  683. xd.Parent = workspace.CurrentCamera
  684. xd.Adornee = v
  685. xd.AlwaysOnTop = true
  686. Frame = Instance.new("Frame")
  687. Frame.Parent = xd
  688. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  689. Frame.Size = UDim2.new(1, 0, 1, 0)
  690. Frame.BackgroundTransparency = 0.6
  691.  
  692. Frame.BackgroundColor3 = Color3.new(230,0,0)
  693. --
  694.  
  695. xd = Instance.new("SurfaceGui")
  696. xd.Face = Enum.NormalId.Top
  697. xd.Parent = workspace.CurrentCamera
  698. xd.Adornee = v
  699. xd.AlwaysOnTop = true
  700. Frame = Instance.new("Frame")
  701. Frame.Parent = xd
  702. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  703. Frame.Size = UDim2.new(1, 0, 1, 0)
  704. Frame.BackgroundTransparency = 0.6
  705.  
  706.  
  707. Frame.BackgroundColor3 = Color3.new(230,0,0)
  708.  
  709. end
  710. end
  711. end
  712. end)
  713.  
  714.  
  715. while true do wait()
  716. if ESPNPC == true then
  717. for i, v in pairs(Actors:GetChildren()) do
  718. for i,v in pairs(v.Character:GetChildren()) do
  719. if v.ClassName == "MeshPart" or "Part" and v.Name ~= "HumanoidRootPart" then
  720. --
  721. xd = Instance.new("SurfaceGui")
  722. xd.Face = Enum.NormalId.Back
  723. xd.Parent = workspace.CurrentCamera
  724. xd.Adornee = v
  725. xd.AlwaysOnTop = true
  726. Frame = Instance.new("Frame")
  727. Frame.Parent = xd
  728. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  729. Frame.Size = UDim2.new(1, 0, 1, 0)
  730. Frame.BackgroundTransparency = 0.6
  731.  
  732. Frame.BackgroundColor3 = Color3.new(230,0,0)
  733.  
  734. --
  735.  
  736. xd = Instance.new("SurfaceGui")
  737. xd.Face = Enum.NormalId.Bottom
  738. xd.Parent = workspace.CurrentCamera
  739. xd.Adornee = v
  740. xd.AlwaysOnTop = true
  741. Frame = Instance.new("Frame")
  742. Frame.Parent = xd
  743. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  744. Frame.Size = UDim2.new(1, 0, 1, 0)
  745. Frame.BackgroundTransparency = 0.6
  746.  
  747. Frame.BackgroundColor3 = Color3.new(230,0,0)
  748.  
  749. --
  750.  
  751. xd = Instance.new("SurfaceGui")
  752. xd.Face = Enum.NormalId.Front
  753. xd.Parent = workspace.CurrentCamera
  754. xd.Adornee = v
  755. xd.AlwaysOnTop = true
  756. Frame = Instance.new("Frame")
  757. Frame.Parent = xd
  758. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  759. Frame.Size = UDim2.new(1, 0, 1, 0)
  760. Frame.BackgroundTransparency = 0.6
  761.  
  762. Frame.BackgroundColor3 = Color3.new(230,0,0)
  763.  
  764.  
  765. --
  766.  
  767. xd = Instance.new("SurfaceGui")
  768. xd.Face = Enum.NormalId.Left
  769. xd.Parent = workspace.CurrentCamera
  770. xd.Adornee = v
  771. xd.AlwaysOnTop = true
  772. Frame = Instance.new("Frame")
  773. Frame.Parent = xd
  774. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  775. Frame.Size = UDim2.new(1, 0, 1, 0)
  776. Frame.BackgroundTransparency = 0.6
  777.  
  778. Frame.BackgroundColor3 = Color3.new(230,0,0)
  779. --
  780.  
  781. xd = Instance.new("SurfaceGui")
  782. xd.Face = Enum.NormalId.Right
  783. xd.Parent = workspace.CurrentCamera
  784. xd.Adornee = v
  785. xd.AlwaysOnTop = true
  786. Frame = Instance.new("Frame")
  787. Frame.Parent = xd
  788. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  789. Frame.Size = UDim2.new(1, 0, 1, 0)
  790. Frame.BackgroundTransparency = 0.6
  791.  
  792. Frame.BackgroundColor3 = Color3.new(230,0,0)
  793. --
  794.  
  795. xd = Instance.new("SurfaceGui")
  796. xd.Face = Enum.NormalId.Top
  797. xd.Parent = workspace.CurrentCamera
  798. xd.Adornee = v
  799. xd.AlwaysOnTop = true
  800. Frame = Instance.new("Frame")
  801. Frame.Parent = xd
  802. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  803. Frame.Size = UDim2.new(1, 0, 1, 0)
  804. Frame.BackgroundTransparency = 0.6
  805.  
  806.  
  807. Frame.BackgroundColor3 = Color3.new(230,0,0)
  808.  
  809. end
  810. end
  811. end
  812. repeat wait() until ESPNPC ~= true
  813. workspace.CurrentCamera:ClearAllChildren()
  814. end
  815. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement