Hiojojwr

Untitled

Aug 7th, 2025
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.02 KB | None | 0 0
  1. --------------------------------------------
  2. -- Script 1 gamepass
  3.  
  4.  
  5. -- Made By 0zvq
  6. local Players = game:GetService("Players")
  7. local MarketPlaceService =  game:GetService("MarketplaceService")
  8. local GamepassID = 1376866885
  9. local ToolName = "BoomBox"
  10.  
  11. Players.PlayerAdded:Connect(function(player)
  12.     player.CharacterAdded:Connect(function(character)
  13.         if MarketPlaceService:UserOwnsGamePassAsync(player.UserId, GamepassID) then
  14.             script[ToolName]:Clone().Parent = player.Backpack
  15.         end
  16.     end)
  17. end)
  18.  
  19.  
  20. ----------------------------------------------
  21.  
  22. -- Script 2
  23.  
  24. -- Simple GUI Toggle Script
  25. -- Made by 0zvq
  26.  
  27. local player = game.Players.LocalPlayer
  28. local playerGui = player:WaitForChild("PlayerGui")
  29.  
  30.  
  31. local mainGui = playerGui:WaitForChild("MainGui")
  32. local menu = mainGui:WaitForChild("Menu")
  33. local button = mainGui:WaitForChild("OpenButton")
  34. -- Make sure to change the gui names to whatever you put
  35. menu.Visible = false
  36.  
  37. button.MouseButton1Click:Connect(function()
  38.     menu.Visible = not menu.Visible
  39. end)
  40.  
  41.  
Advertisement
Add Comment
Please, Sign In to add comment