Advertisement
Youtube-Scripts

Untitled

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