Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --------------------------------------------
- -- Script 1 gamepass
- -- Made By 0zvq
- local Players = game:GetService("Players")
- local MarketPlaceService = game:GetService("MarketplaceService")
- local GamepassID = 1376866885
- local ToolName = "BoomBox"
- Players.PlayerAdded:Connect(function(player)
- player.CharacterAdded:Connect(function(character)
- if MarketPlaceService:UserOwnsGamePassAsync(player.UserId, GamepassID) then
- script[ToolName]:Clone().Parent = player.Backpack
- end
- end)
- end)
- ----------------------------------------------
- -- Script 2
- -- Simple GUI Toggle Script
- -- Made by 0zvq
- local player = game.Players.LocalPlayer
- local playerGui = player:WaitForChild("PlayerGui")
- local mainGui = playerGui:WaitForChild("MainGui")
- local menu = mainGui:WaitForChild("Menu")
- local button = mainGui:WaitForChild("OpenButton")
- -- Make sure to change the gui names to whatever you put
- menu.Visible = false
- button.MouseButton1Click:Connect(function()
- menu.Visible = not menu.Visible
- end)
Advertisement
Add Comment
Please, Sign In to add comment