-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvibe-bridge
67 lines (52 loc) · 2.39 KB
/
vibe-bridge
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
local librepo = "https://raw.githubusercontent.com/wally-rblx/LinoriaLib/main/"
local UILib = loadstring(game:HttpGet(librepo..'Library.lua'))()
local ThemeManager = loadstring(game:HttpGet(librepo.."addons/ThemeManager.lua"))()
local SaveManager = loadstring(game:HttpGet(librepo.."addons/SaveManager.lua"))()
local winMain = UILib:CreateWindow("musksticks kinda cool tbh")
local Tabs = {main = winMain:AddTab('Main')}
-- Variables
local Player = game:GetService("Players").LocalPlayer or game:GetService("Players").PlayerAdded:Wait()
-- Game List
local games = {[6106827526]={"Vibe Bridge ッ"}}
-- ForcePickup
local ForcePickup = Tabs.main:AddLeftGroupbox("ForcePickup")
ForcePickup:AddToggle("ForcePickup", { Text = "Enabled", Default = false })
Toggles.ForcePickup:OnChanged(function()
while Toggles.ForcePickup.Value and task.wait() do
wait(0.1)
for _,v in pairs(game.Players:GetChildren()) do
local args = {[1] = "Hug",[2] = game:GetService("Players")[v.Name]}
game:GetService("ReplicatedStorage").Events2.HugEvents:FireServer(unpack(args))
local args = {[1] = "Stop",[2] = game:GetService("Players")[v.Name]}
game:GetService("ReplicatedStorage").Events2.HugEvents:FireServer(unpack(args))
end
end
end)
-- removeGUI
local Remove = Tabs.main:AddLeftGroupbox('Remove')
Remove:AddButton('Hide nametag', function()
local user = game:GetService("Players").LocalPlayer.Name
game:GetService("Workspace")[user].Head.NameTag:Remove()
end)
-- Run Script
local place = games[game.PlaceId]
if place then
UILib:SetWatermark("MUSK - "..place[1])
UILib:Notify(place[1])
print(pcall(place[2]))
end
-- Settings
local settings = winMain:AddTab("Settings")
local misc = settings:AddLeftGroupbox("Misc.")
misc:AddButton("Unload",function() UILib:Unload() end)
misc:AddButton("Rejoin",function() game:GetService("TeleportService"):Teleport(game.PlaceId,game.Players.LocalPlayer) end)
misc:AddToggle('Watermark',{Text="Show watermark",Default=true}):OnChanged(function() UILib:SetWatermarkVisibility(Toggles.Watermark.Value) end)
local theme = settings:AddLeftGroupbox("Theme")
-- managers
ThemeManager:SetLibrary(UILib)
SaveManager:SetLibrary(UILib)
SaveManager:IgnoreThemeSettings()
ThemeManager:SetFolder("Musk")
SaveManager:SetFolder("Musk/"..place[1])
SaveManager:BuildConfigSection(settings)
ThemeManager:ApplyToGroupbox(theme)