-
Notifications
You must be signed in to change notification settings - Fork 0
/
VWUniversal.lua
2267 lines (2192 loc) · 82.2 KB
/
VWUniversal.lua
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
repeat task.wait() until game:IsLoaded()
repeat task.wait() until shared.GuiLibrary
local GuiLibrary = shared.GuiLibrary
local entityLibrary = shared.vapeentity
local function vapeGithubRequest(scripturl)
if not isfile("vape/"..scripturl) then
local suc, res = pcall(function() return game:HttpGet("https://raw.githubusercontent.com/VapeVoidware/vapevoidware/"..readfile("vape/commithash.txt").."/"..scripturl, true) end)
assert(suc, res)
assert(res ~= "404: Not Found", res)
if scripturl:find(".lua") then res = "--This watermark is used to delete the file if its cached, remove it to make the file persist after commits.\n"..res end
writefile("vape/"..scripturl, res)
end
return readfile("vape/"..scripturl)
end
local function run(func)
local suc, err = pcall(function()
func()
end)
if err then warn("[VWUniversal.lua Module Error]: "..tostring(debug.traceback(err))) end
end
local vapeConnections = {}
GuiLibrary.SelfDestructEvent.Event:Connect(function()
for i, v in pairs(vapeConnections) do
if v.Disconnect then pcall(function() v:Disconnect() end) continue end
if v.disconnect then pcall(function() v:disconnect() end) continue end
end
end)
local colors = {
White = Color3.fromRGB(255, 255, 255),
Black = Color3.fromRGB(0, 0, 0),
Red = Color3.fromRGB(255, 0, 0),
Green = Color3.fromRGB(0, 255, 0),
Blue = Color3.fromRGB(0, 0, 255),
Yellow = Color3.fromRGB(255, 255, 0),
Cyan = Color3.fromRGB(0, 255, 255),
Magenta = Color3.fromRGB(255, 0, 255),
Gray = Color3.fromRGB(128, 128, 128),
DarkGray = Color3.fromRGB(64, 64, 64),
LightGray = Color3.fromRGB(192, 192, 192),
Orange = Color3.fromRGB(255, 165, 0),
Pink = Color3.fromRGB(255, 192, 203),
Purple = Color3.fromRGB(128, 0, 128),
Brown = Color3.fromRGB(139, 69, 19),
LimeGreen = Color3.fromRGB(50, 205, 50),
NavyBlue = Color3.fromRGB(0, 0, 128),
Olive = Color3.fromRGB(128, 128, 0),
Teal = Color3.fromRGB(0, 128, 128),
Maroon = Color3.fromRGB(128, 0, 0),
Gold = Color3.fromRGB(255, 215, 0),
Silver = Color3.fromRGB(192, 192, 192),
SkyBlue = Color3.fromRGB(135, 206, 235),
Violet = Color3.fromRGB(238, 130, 238)
}
VoidwareFunctions.GlobaliseObject("ColorTable", colors)
VoidwareFunctions.LoadFunctions("Universal")
VoidwareFunctions.LoadServices()
local lplr = game:GetService("Players").LocalPlayer
local lightingService = game:GetService("Lighting")
local core
pcall(function() core = game:GetService('CoreGui') end)
--task.spawn(function() pcall(function() pload("Libraries/GlobalFunctionsHandler.lua", false) end) end)
local function warningNotification(title, text, delay)
local suc, res = pcall(function()
local frame = GuiLibrary.CreateNotification(title, text, delay, "assets/InfoNotification.png")
frame.Frame.Frame.ImageColor3 = Color3.fromRGB(236, 129, 44)
return frame
end)
warn(title..": "..text)
return (suc and res)
end
VoidwareFunctions.GlobaliseObject("warningNotification", warningNotification)
local function InfoNotification(title, text, delay)
local suc, res = pcall(function()
local frame = GuiLibrary.CreateNotification(title or "Voidware", text or "Successfully called function", delay or 7, "assets/InfoNotification.png")
return frame
end)
warn(title..": "..text)
return (suc and res)
end
VoidwareFunctions.GlobaliseObject("InfoNotification", InfoNotification)
VoidwareFunctions.GlobaliseObject("infoNotification", InfoNotification)
local function errorNotification(title, text, delay)
local suc, res = pcall(function()
local frame = GuiLibrary.CreateNotification(title, text, delay, "assets/InfoNotification.png")
frame.Frame.Frame.ImageColor3 = Color3.fromRGB(220, 0, 0)
return frame
end)
warn(title..": "..text)
return (suc and res)
end
VoidwareFunctions.GlobaliseObject("errorNotification", errorNotification)
local newcolor = function() return {Hue = 0, Sat = 0, Value = 0} end
local textlabel = Instance.new("TextLabel")
textlabel.Size = UDim2.new(1, 0, 0, 36)
textlabel.Text = "discord.gg/voidware"
textlabel.BackgroundTransparency = 1
textlabel.ZIndex = 10
textlabel.TextStrokeTransparency = 0
textlabel.TextScaled = true
textlabel.Font = Enum.Font.SourceSans
textlabel.TextColor3 = Color3.new(1, 1, 1)
textlabel.Position = UDim2.new(0, 200, 1, 200)
textlabel.Parent = GuiLibrary.MainGui.ScaledGui.ClickGui
run(function()
local Search = {Enabled = false}
local SearchTextList = {RefreshValues = function() end, ObjectList = {}}
local SearchColor = {Value = 0.44}
local SearchFolder = Instance.new("Folder")
SearchFolder.Name = "SearchFolder"
SearchFolder.Parent = GuiLibrary.MainGui
local function searchFindBoxHandle(part)
for i,v in pairs(SearchFolder:GetChildren()) do
if v.Adornee == part then
return v
end
end
return nil
end
local searchRefresh = function()
SearchFolder:ClearAllChildren()
if Search.Enabled then
for i,v in pairs(workspace:GetDescendants()) do
if (v:IsA("BasePart") or v:IsA("Model")) and table.find(SearchTextList.ObjectList, v.Name) and searchFindBoxHandle(v) == nil then
local highlight = Instance.new("Highlight")
highlight.Name = v.Name
highlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
highlight.FillColor = Color3.fromHSV(SearchColor.Hue, SearchColor.Sat, SearchColor.Value)
highlight.Adornee = v
highlight.Parent = SearchFolder
end
end
end
end
Search = GuiLibrary.ObjectsThatCanBeSaved.CustomisationWindow.Api.CreateOptionsButton({
Name = "PartESP",
Function = function(callback)
if callback then
searchRefresh()
table.insert(Search.Connections, workspace.DescendantAdded:Connect(function(v)
if (v:IsA("BasePart") or v:IsA("Model")) and table.find(SearchTextList.ObjectList, v.Name) and searchFindBoxHandle(v) == nil then
local highlight = Instance.new("Highlight")
highlight.Name = v.Name
highlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
highlight.FillColor = Color3.fromHSV(SearchColor.Hue, SearchColor.Sat, SearchColor.Value)
highlight.Adornee = v
highlight.Parent = SearchFolder
end
end))
table.insert(Search.Connections, workspace.DescendantRemoving:Connect(function(v)
if v:IsA("BasePart") or v:IsA("Model") then
local boxhandle = searchFindBoxHandle(v)
if boxhandle then
boxhandle:Remove()
end
end
end))
else
SearchFolder:ClearAllChildren()
end
end,
HoverText = "Draws a box around selected parts\nAdd parts in Search frame"
})
SearchColor = Search.CreateColorSlider({
Name = "new part color",
Function = function(hue, sat, val)
for i,v in pairs(SearchFolder:GetChildren()) do
v.FillColor = Color3.fromHSV(hue, sat, val)
end
end
})
SearchTextList = Search.CreateTextList({
Name = "SearchList",
TempText = "part name",
AddFunction = function(user)
searchRefresh()
end,
RemoveFunction = function(num)
searchRefresh()
end
})
end)
run(function()
local function setIconID(iconId)
local lplr = game:GetService("Players").LocalPlayer
local playerlist = game:GetService("CoreGui"):FindFirstChild("PlayerList")
if playerlist then
pcall(function()
local playerlistplayers = playerlist.PlayerListMaster.OffsetFrame.PlayerScrollList.SizeOffsetFrame.ScrollingFrameContainer.ScrollingFrameClippingFrame.ScollingFrame.OffsetUndoFrame
local targetedplr = playerlistplayers:FindFirstChild("p_" .. lplr.UserId)
if targetedplr then
targetedplr.ChildrenFrame.NameFrame.BGFrame.OverlayFrame.PlayerIcon.Image = iconId
warningNotification("PlayerListIcon", "Succesfully set the icon!", 3)
end
end)
end
end
local CustomIcon = {}
local IconID = {Value = ""}
local defaultID = "rbxassetid://18518244636"
CustomIcon = GuiLibrary.ObjectsThatCanBeSaved.CustomisationWindow.Api.CreateOptionsButton({
Name = 'CustomPlayerListIcon',
Function = function(calling)
if calling then
--CustomIcon["ToggleButton"](false)
if string.find(IconID.Value, "rbxassetid://") then
setIconID(iconId)
elseif IconID.Value == "" then
setIconID(defaultID)
--warningNotification("PlayerListIcon", "Please specify valid ID! Example: rbxassetid://18518244636", 5)
else
setIconID("rbxassetid://"..IconID.Value)
end
end
end
})
IconID = CustomIcon.CreateTextBox({
Name = "IconID",
TempText = "Type here the iconID",
Function = function()
if string.find(IconID.Value, "rbxassetid://") then
setIconID(iconId)
elseif IconID.Value == "" then
setIconID(defaultID)
--warningNotification("PlayerListIcon", "Please specify valid ID! Example: rbxassetid://18518244636", 5)
else
setIconID("rbxassetid://"..IconID.Value)
end
end
})
end)
run(function() local Shader = {Enabled = false}
local ShaderColor = {Hue = 0, Sat = 0, Value = 0}
local ShaderTintSlider
local ShaderBlur
local ShaderTint
local oldlightingsettings = {
Brightness = lightingService.Brightness,
ColorShift_Top = lightingService.ColorShift_Top,
ColorShift_Bottom = lightingService.ColorShift_Bottom,
OutdoorAmbient = lightingService.OutdoorAmbient,
ClockTime = lightingService.ClockTime,
ExposureCompensation = lightingService.ExposureCompensation,
ShadowSoftness = lightingService.ShadowSoftness,
Ambient = lightingService.Ambient
}
Shader = GuiLibrary.ObjectsThatCanBeSaved.CustomisationWindow.Api.CreateOptionsButton({
Name = "RichShader",
HoverText = "pro shader",
Function = function(callback)
if callback then
task.spawn(function()
pcall(function()
ShaderBlur = Instance.new("BlurEffect")
ShaderBlur.Parent = lightingService
ShaderBlur.Size = 4 end)
pcall(function()
ShaderTint = Instance.new("ColorCorrectionEffect")
ShaderTint.Parent = lightingService
ShaderTint.Saturation = -0.2
ShaderTint.TintColor = Color3.fromRGB(255, 224, 219)
end)
pcall(function()
lightingService.ColorShift_Bottom = Color3.fromHSV(ShaderColor.Hue, ShaderColor.Sat, ShaderColor.Value)
lightingService.ColorShift_Top = Color3.fromHSV(ShaderColor.Hue, ShaderColor.Sat, ShaderColor.Value)
lightingService.OutdoorAmbient = Color3.fromHSV(ShaderColor.Hue, ShaderColor.Sat, ShaderColor.Value)
lightingService.ClockTime = 8.7
lightingService.FogColor = Color3.fromHSV(ShaderColor.Hue, ShaderColor.Sat, ShaderColor.Value)
lightingService.FogEnd = 1000
lightingService.FogStart = 0
lightingService.ExposureCompensation = 0.24
lightingService.ShadowSoftness = 0
lightingService.Ambient = Color3.fromRGB(59, 33, 27)
end)
end)
else
pcall(function() ShaderBlur:Destroy() end)
pcall(function() ShaderTint:Destroy() end)
pcall(function()
lightingService.Brightness = oldlightingsettings.Brightness
lightingService.ColorShift_Top = oldlightingsettings.ColorShift_Top
lightingService.ColorShift_Bottom = oldlightingsettings.ColorShift_Bottom
lightingService.OutdoorAmbient = oldlightingsettings.OutdoorAmbient
lightingService.ClockTime = oldlightingsettings.ClockTime
lightingService.ExposureCompensation = oldlightingsettings.ExposureCompensation
lightingService.ShadowSoftness = oldlightingsettings.ShadowSoftnesss
lightingService.Ambient = oldlightingsettings.Ambient
lightingService.FogColor = oldthemesettings.FogColor
lightingService.FogStart = oldthemesettings.FogStart
ightingService.FogEnd = oldthemesettings.FogEnd
end)
end
end
})
ShaderColor = Shader.CreateColorSlider({
Name = "Main Color",
Function = function(h, s, v)
if Shader.Enabled then
pcall(function()
lightingService.ColorShift_Bottom = Color3.fromHSV(h, s, v)
lightingService.ColorShift_Top = Color3.fromHSV(h, s, v)
lightingService.OutdoorAmbient = Color3.fromHSV(h, s, v)
lightingService.FogColor = Color3.fromHSV(h, s, v)
end)
end
end
})
end)
run(function() local CustomChatTag = {}
local TagText = {Value = "VOIDWARE USER"}
local TagColor = {Value = "Red"}
local oldchanneltab
local oldchannelfunc
local oldchanneltabs = {}
local whitelist = shared.vapewhitelist
CustomChatTag = GuiLibrary.ObjectsThatCanBeSaved.CustomisationWindow.Api.CreateOptionsButton({
Name = 'ChatTag',
Function = function(calling)
if calling then
task.spawn(function()
repeat task.wait() until shared.vapewhitelist.loaded
if shared.vapewhitelist:get(lplr) ~= 0 then
warningNotification("ChatTag", "Whitelisted users cannot use this module! Sorry", 3)
CustomChatTag["ToggleButton"](false)
end
if TagText.Value then
local suc, err = pcall(function()
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local yes = Players.LocalPlayer.Name
local ChatTag = {}
ChatTag[yes] =
{
TagText = TagText.Value,
TagColor = ColorTable[TagColor.Value],
}
local oldchanneltab
local oldchannelfunc
local oldchanneltabs = {}
for i, v in pairs(getconnections(ReplicatedStorage.DefaultChatSystemChatEvents.OnNewMessage.OnClientEvent)) do
if
v.Function
and #debug.getupvalues(v.Function) > 0
and type(debug.getupvalues(v.Function)[1]) == "table"
and getmetatable(debug.getupvalues(v.Function)[1])
and getmetatable(debug.getupvalues(v.Function)[1]).GetChannel
then
oldchanneltab = getmetatable(debug.getupvalues(v.Function)[1])
oldchannelfunc = getmetatable(debug.getupvalues(v.Function)[1]).GetChannel
getmetatable(debug.getupvalues(v.Function)[1]).GetChannel = function(Self, Name)
local tab = oldchannelfunc(Self, Name)
if tab and tab.AddMessageToChannel then
local addmessage = tab.AddMessageToChannel
if oldchanneltabs[tab] == nil then
oldchanneltabs[tab] = tab.AddMessageToChannel
end
tab.AddMessageToChannel = function(Self2, MessageData)
if MessageData.FromSpeaker and Players[MessageData.FromSpeaker] then
if ChatTag[Players[MessageData.FromSpeaker].Name] then
MessageData.ExtraData = {
NameColor = Players[MessageData.FromSpeaker].Team == nil and Color3.new(128,0,128)
or Players[MessageData.FromSpeaker].TeamColor.Color,
Tags = {
table.unpack(MessageData.ExtraData.Tags),
{
TagColor = ChatTag[Players[MessageData.FromSpeaker].Name].TagColor,
TagText = ChatTag[Players[MessageData.FromSpeaker].Name].TagText,
},
},
}
end
end
return addmessage(Self2, MessageData)
end
end
return tab
end
end
end
end)
if err then
warningNotification("ChatTag", "Error making tag! Error: "..tostring(err), 3)
warn("[ChatTag_ErrorReport] Error making tag! Error: "..tostring(err))
CustomChatTag["ToggleButton"](false)
end
else
warningNotification("ChatTag", "Please specify the chat tag name!", 3)
CustomChatTag["ToggleButton"](false)
end
end)
else
warningNotification("ChatTag", "Will apply new changes in the next game!", 3)
end
end,
HoverText = "Gives you custom chat tag which only you can see"
})
TagText = CustomChatTag.CreateTextBox({
Name = "Your tag's text",
TempText = "Type here what you want your tag to be",
Default = "VOIDWARE USER",
Function = function() end
})
local color_table = {}
for i,v in pairs(colors) do table.insert(color_table, i) end
TagColor = CustomChatTag.CreateDropdown({
Name = "TagColor",
List = color_table,
Default = "Red",
Function = function() end
})
end)
task.spawn(function()
pcall(function()
repeat task.wait() until shared.VapeFullyLoaded
if shared.GuiLibrary.ObjectsThatCanBeSaved["ChatTagOptionsButton"].Api.Enabled then
else
repeat task.wait() until shared.vapewhitelist.loaded
if shared.vapewhitelist.localprio < 1 then
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local yes = Players.LocalPlayer.Name
local ChatTag = {}
ChatTag[yes] =
{
TagText = "VOIDWARE USER",
TagColor = Color3.fromRGB(255, 0, 0),
}
local oldchanneltab
local oldchannelfunc
local oldchanneltabs = {}
for i, v in pairs(getconnections(ReplicatedStorage.DefaultChatSystemChatEvents.OnNewMessage.OnClientEvent)) do
if
v.Function
and #debug.getupvalues(v.Function) > 0
and type(debug.getupvalues(v.Function)[1]) == "table"
and getmetatable(debug.getupvalues(v.Function)[1])
and getmetatable(debug.getupvalues(v.Function)[1]).GetChannel
then
oldchanneltab = getmetatable(debug.getupvalues(v.Function)[1])
oldchannelfunc = getmetatable(debug.getupvalues(v.Function)[1]).GetChannel
getmetatable(debug.getupvalues(v.Function)[1]).GetChannel = function(Self, Name)
local tab = oldchannelfunc(Self, Name)
if tab and tab.AddMessageToChannel then
local addmessage = tab.AddMessageToChannel
if oldchanneltabs[tab] == nil then
oldchanneltabs[tab] = tab.AddMessageToChannel
end
tab.AddMessageToChannel = function(Self2, MessageData)
if MessageData.FromSpeaker and Players[MessageData.FromSpeaker] then
if ChatTag[Players[MessageData.FromSpeaker].Name] then
MessageData.ExtraData = {
NameColor = Players[MessageData.FromSpeaker].Team == nil and Color3.new(128,0,128)
or Players[MessageData.FromSpeaker].TeamColor.Color,
Tags = {
table.unpack(MessageData.ExtraData.Tags),
{
TagColor = ChatTag[Players[MessageData.FromSpeaker].Name].TagColor,
TagText = ChatTag[Players[MessageData.FromSpeaker].Name].TagText,
},
},
}
end
end
return addmessage(Self2, MessageData)
end
end
return tab
end
end
end
end
end
end)
end)
run(function() local chatDisable = {Enabled = false}
local chatVersion = function()
if game.Chat:GetChildren()[1] then return true else return false end
end
chatDisable = GuiLibrary["ObjectsThatCanBeSaved"]["CustomisationWindow"]["Api"]["CreateOptionsButton"]({
Name = "ChatDisable",
HoverText = "Disables the chat",
Function = function(callback)
if callback then
if chatVersion() then
lplr.PlayerGui.Chat.Enabled = false
game:GetService("CoreGui").TopBarApp.TopBarFrame.LeftFrame.ChatIcon.Visible = false
elseif (not chatVersion()) then
game.CoreGui.ExperienceChat.Enabled = false
game:GetService("CoreGui").TopBarApp.TopBarFrame.LeftFrame.ChatIcon.Visible = false
textChatService.ChatInputBarConfiguration.Enabled = false
textChatService.BubbleChatConfiguration.Enabled = false
end
else
if chatVersion() then
lplr.PlayerGui.Chat.Enabled = true
core.TopBarApp.TopBarFrame.LeftFrame.ChatIcon.Visible = true
else
gcore.ExperienceChat.Enabled = true
core.TopBarApp.TopBarFrame.LeftFrame.ChatIcon.Visible = true
textChatService.ChatInputBarConfiguration.Enabled = true
textChatService.BubbleChatConfiguration.Enabled = true
end
end
end
})
local Credits
Credits = chatDisable.CreateCredits({
Name = 'CreditsButtonInstance',
Credits = 'Render'
})
end)
run(function() local CharacterOutline = {}
local CharacterOutlineColor = newcolor()
local outline = Instance.new('Highlight', GuiLibrary.MainGui)
CharacterOutline = GuiLibrary.ObjectsThatCanBeSaved.CustomisationWindow.Api.CreateOptionsButton({
Name = 'CharacterOutline',
HoverText = 'adds a cool outline to your character.',
Function = function(calling)
if calling then
task.spawn(function()
repeat task.wait() until (lplr.Character or not CharacterOutline.Enabled)
if CharacterOutline.Enabled then
local oldhighlight = lplr.Character:FindFirstChildWhichIsA('Highlight')
if oldhighlight then
oldhighlight.Adornee = nil
end
outline.FillTransparency = 1
outline.Adornee = lplr.Character
table.insert(CharacterOutline.Connections, lplr.Character.DescendantAdded:Connect(function(instance)
if instance:IsA('Highlight') then
instance.Adornee = nil
end
end))
table.insert(CharacterOutline.Connections, runService.Heartbeat:Connect(function()
outline.Adornee = (CharacterOutline.Enabled and lplr.Character or outline.Adornee)
end))
table.insert(CharacterOutline.Connections, lplr.CharacterAdded:Connect(function()
CharacterOutline.ToggleButton()
CharacterOutline.ToggleButton()
end))
end
end)
else
outline.Adornee = nil
end
end
})
CharacterOutlineColor = CharacterOutline.CreateColorSlider({
Name = 'Color',
Function = function()
pcall(function() outline.OutlineColor = Color3.fromHSV(CharacterOutlineColor.Hue, CharacterOutlineColor.Sat, CharacterOutlineColor.Value) end)
end
})
local Credits
Credits = CharacterOutline.CreateCredits({
Name = 'CreditsButtonInstance',
Credits = 'Render'
})
end)
run(function() local CloudMods = {}
local CloudNeon = {}
local clouds = {}
local CloudColor = newcolor()
local cloudFunction = function(cloud)
pcall(function()
cloud.Color = Color3.fromHSV(CloudColor.Hue, CloudColor.Sat, CloudColor.Value)
cloud.Material = (CloudNeon.Enabled and Enum.Material.Neon or Enum.Material.SmoothPlastic)
end)
end
CloudMods = GuiLibrary.ObjectsThatCanBeSaved.CustomisationWindow.Api.CreateOptionsButton({
Name = 'CloudMods',
HoverText = 'Recolorizes the clouds to your liking.',
Function = function(calling)
if calling then
clouds = workspace:WaitForChild('Clouds'):GetChildren()
if not CloudMods.Enabled then
return
end
for i,v in next, clouds do
cloudFunction(v)
end
table.insert(CloudMods.Connections, workspace.Clouds.ChildAdded:Connect(function(cloud)
cloudFunction(cloud)
table.insert(clouds, cloud)
end))
else
for i,v in next, clouds do
pcall(function()
v.Color = Color3.fromRGB(255, 255, 255)
v.Material = Enum.Material.SmoothPlastic
end)
end
end
end
})
CloudColor = CloudMods.CreateColorSlider({
Name = 'Color',
Function = function()
for i,v in next, clouds do
cloudFunction(v)
end
end
})
CloudNeon = CloudMods.CreateToggle({
Name = 'Neon',
Function = function()
for i,v in next, clouds do
cloudFunction(v)
end
end
})
local Credits
Credits = CloudMods.CreateCredits({
Name = 'CreditsButtonInstance',
Credits = 'Render'
})
end)
run(function()
local RestartVoidware = {}
RestartVoidware = GuiLibrary.ObjectsThatCanBeSaved.HotWindow.Api.CreateOptionsButton({
Name = 'Restart',
Function = function(calling)
if calling then
RestartVoidware["ToggleButton"](false)
wait(0.1)
GuiLibrary.Restart()
end
end
})
end)
run(function() local ReinstallProfiles = {}
ReinstallProfiles = GuiLibrary.ObjectsThatCanBeSaved.VoidwareWindow.Api.CreateOptionsButton({
Name = 'ReinstallProfiles',
Function = function(calling)
if calling then
ReinstallProfiles["ToggleButton"](false)
GuiLibrary.SelfDestruct()
delfile('vape/Libraries/profilesinstalled3.txt')
delfolder('vape/Profiles')
delfolder('vape/ClosetProfiles')
pload('NewMainScript.lua', true)
end
end
})
end)
local vec3 = function(a, b, c) return Vector3.new(a, b, c) end
run(function()
local CustomJump = {Enabled = false}
local CustomJumpMode = {Value = "Normal"}
local CustomJumpVelocity = {Value = 50}
CustomJump = GuiLibrary["ObjectsThatCanBeSaved"]["HotWindow"]["Api"]["CreateOptionsButton"]({
Name = "InfJUmp",
HoverText = "Customizes your jumping ability",
Function = function(callback)
if callback then
game:GetService("UserInputService").JumpRequest:Connect(function()
if CustomJumpMode.Value == "Normal" then
entityLibrary.character.Humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
elseif CustomJumpMode.Value == "Velocity" then
entityLibrary.character.HumanoidRootPart.Velocity += vec3(0,CustomJumpVelocity.Value,0)
end
end)
end
end,
ExtraText = function()
return CustomJumpMode.Value
end
})
CustomJumpMode = CustomJump.CreateDropdown({
Name = "Mode",
List = {
"Normal",
"Velocity"
},
Function = function() end,
})
CustomJumpVelocity = CustomJump.CreateSlider({
Name = "Velocity",
Min = 1,
Max = 100,
Function = function() end,
Default = 50
})
end)
run(function()
local AnimationChanger = {Enabled = false}
local AnimFreeze = {Enabled = false}
local AnimRun = {Value = "Robot"}
local AnimWalk = {Value = "Robot"}
local AnimJump = {Value = "Robot"}
local AnimFall = {Value = "Robot"}
local AnimClimb = {Value = "Robot"}
local AnimIdle = {Value = "Robot"}
local AnimIdleB = {Value = "Robot"}
local Animate
local oldanimations = {}
local RunAnimations = {}
local WalkAnimations = {}
local FallAnimations = {}
local JumpAnimations = {}
local ClimbAnimations = {}
local IdleAnimations = {}
local IdleAnimationsB = {}
local AnimList = {
RunAnim = {
["Cartoony"] = "http://www.roblox.com/asset/?id=10921082452",
["Levitation"] = "http://www.roblox.com/asset/?id=10921135644",
["Robot"] = "http://www.roblox.com/asset/?id=10921250460",
["Stylish"] = "http://www.roblox.com/asset/?id=10921276116",
["Superhero"] = "http://www.roblox.com/asset/?id=10921291831",
["Zombie"] = "http://www.roblox.com/asset/?id=616163682",
["Ninja"] = "http://www.roblox.com/asset/?id=10921157929",
["Knight"] = "http://www.roblox.com/asset/?id=10921121197",
["Mage"] = "http://www.roblox.com/asset/?id=10921148209",
["Pirate"] = "http://www.roblox.com/asset/?id=750783738",
["Elder"] = "http://www.roblox.com/asset/?id=10921104374",
["Toy"] = "http://www.roblox.com/asset/?id=10921306285",
["Bubbly"] = "http://www.roblox.com/asset/?id=10921057244",
["Astronaut"] = "http://www.roblox.com/asset/?id=10921039308",
["Vampire"] = "http://www.roblox.com/asset/?id=10921320299",
["Werewolf"] = "http://www.roblox.com/asset/?id=10921336997",
["Rthro"] = "http://www.roblox.com/asset/?id=10921261968",
["Oldschool"] = "http://www.roblox.com/asset/?id=10921240218",
["Toilet"] = "http://www.roblox.com/asset/?id=4417979645",
["Rthro Heavy Run"] = "http://www.roblox.com/asset/?id=3236836670",
["Tryhard"] = "http://www.roblox.com/asset/?id=10921157929",
["Goofy"] = "http://www.roblox.com/asset/?id=4417979645",
["Tamar"] = "http://www.roblox.com/asset/?id=10921306285"
},
WalkAnim = {
["Cartoony"] = "http://www.roblox.com/asset/?id=10921082452",
["Levitation"] = "http://www.roblox.com/asset/?id=10921140719",
["Robot"] = "http://www.roblox.com/asset/?id=10921255446",
["Stylish"] = "http://www.roblox.com/asset/?id=10921283326",
["Superhero"] = "http://www.roblox.com/asset/?id=10921298616",
["Zombie"] = "http://www.roblox.com/asset/?id=10921355261",
["Ninja"] = "http://www.roblox.com/asset/?id=10921162768",
["Knight"] = "http://www.roblox.com/asset/?id=10921127095",
["Mage"] = "http://www.roblox.com/asset/?id=10921152678",
["Pirate"] = "http://www.roblox.com/asset/?id=750785693",
["Elder"] = "http://www.roblox.com/asset/?id=10921111375",
["Toy"] = "http://www.roblox.com/asset/?id=10921312010",
["Bubbly"] = "http://www.roblox.com/asset/?id=10980888364",
["Astronaut"] = "http://www.roblox.com/asset/?id=10921046031",
["Vampire"] = "http://www.roblox.com/asset/?id=10921326949",
["Werewolf"] = "http://www.roblox.com/asset/?id=10921342074",
["Rthro"] = "http://www.roblox.com/asset/?id=10921269718",
["Oldschool"] = "http://www.roblox.com/asset/?id=10921244891",
["Ud'zal"] = "http://www.roblox.com/asset/?id=3303162967",
["Tryhard"] = "http://www.roblox.com/asset/?id=10921162768",
["Goofy"] = "http://www.roblox.com/asset/?id=10921162768",
["Tamar"] = "http://www.roblox.com/asset/?id=10921312010"
},
FallAnim = {
["Cartoony"] = "http://www.roblox.com/asset/?id=10921077030",
["Levitation"] = "http://www.roblox.com/asset/?id=10921136539",
["Robot"] = "http://www.roblox.com/asset/?id=10921251156",
["Stylish"] = "http://www.roblox.com/asset/?id=10921278648",
["Superhero"] = "http://www.roblox.com/asset/?id=10921293373",
["Zombie"] = "http://www.roblox.com/asset/?id=10921350320",
["Ninja"] = "http://www.roblox.com/asset/?id=10921159222",
["Knight"] = "http://www.roblox.com/asset/?id=10921122579",
["Mage"] = "http://www.roblox.com/asset/?id=10921148939",
["Pirate"] = "http://www.roblox.com/asset/?id=750780242",
["Elder"] = "http://www.roblox.com/asset/?id=10921105765",
["Toy"] = "http://www.roblox.com/asset/?id=10921307241",
["Bubbly"] = "http://www.roblox.com/asset/?id=10921061530",
["Astronaut"] = "http://www.roblox.com/asset/?id=10921040576",
["Vampire"] = "http://www.roblox.com/asset/?id=10921321317",
["Werewolf"] = "http://www.roblox.com/asset/?id=10921337907",
["Rthro"] = "http://www.roblox.com/asset/?id=10921262864",
["Oldschool"] = "http://www.roblox.com/asset/?id=10921241244",
["Tryhard"] = "http://www.roblox.com/asset/?id=10921136539",
["Goofy"] = "http://www.roblox.com/asset/?id=10921136539",
["Tamar"] = "http://www.roblox.com/asset/?id=10921136539"
},
JumpAnim = {
["Cartoony"] = "http://www.roblox.com/asset/?id=10921078135",
["Levitation"] = "http://www.roblox.com/asset/?id=10921137402",
["Robot"] = "http://www.roblox.com/asset/?id=10921252123",
["Stylish"] = "http://www.roblox.com/asset/?id=10921279832",
["Superhero"] = "http://www.roblox.com/asset/?id=10921294559",
["Zombie"] = "http://www.roblox.com/asset/?id=10921351278",
["Ninja"] = "http://www.roblox.com/asset/?id=10921160088",
["Knight"] = "http://www.roblox.com/asset/?id=10921123517",
["Mage"] = "http://www.roblox.com/asset/?id=10921149743",
["Pirate"] = "http://www.roblox.com/asset/?id=750782230",
["Elder"] = "http://www.roblox.com/asset/?id=10921107367",
["Toy"] = "http://www.roblox.com/asset/?id=10921308158",
["Bubbly"] = "http://www.roblox.com/asset/?id=10921062673",
["Astronaut"] = "http://www.roblox.com/asset/?id=10921042494",
["Vampire"] = "http://www.roblox.com/asset/?id=10921322186",
["Werewolf"] = "http://www.roblox.com/asset/?id=1083218792",
["Rthro"] = "http://www.roblox.com/asset/?id=10921263860",
["Oldschool"] = "http://www.roblox.com/asset/?id=10921242013",
["Tryhard"] = "http://www.roblox.com/asset/?id=10921137402",
["Goofy"] = "http://www.roblox.com/asset/?id=10921137402",
["Tamar"] = "http://www.roblox.com/asset/?id=10921242013"
},
ClimbAnim = {
["Cartoony"] = "http://www.roblox.com/asset/?id=10921070953",
["Levitation"] = "http://www.roblox.com/asset/?id=10921132092",
["Robot"] = "http://www.roblox.com/asset/?id=10921245669",
["Stylish"] = "http://www.roblox.com/asset/?id=10921525854",
["Superhero"] = "http://www.roblox.com/asset/?id=10921346417",
["Zombie"] = "http://www.roblox.com/asset/?id=10921469135",
["Ninja"] = "http://www.roblox.com/asset/?id=10920908048",
["Knight"] = "http://www.roblox.com/asset/?id=10921116196",
["Mage"] = "http://www.roblox.com/asset/?id=10921143404",
["Pirate"] = "http://www.roblox.com/asset/?id=750779899",
["Elder"] = "http://www.roblox.com/asset/?id=10921100400",
["Toy"] = "http://www.roblox.com/asset/?id=10921300839",
["Bubbly"] = "http://www.roblox.com/asset/?id=10921053544",
["Astronaut"] = "http://www.roblox.com/asset/?id=10921032124",
["Vampire"] = "http://www.roblox.com/asset/?id=10921314188",
["Werewolf"] = "http://www.roblox.com/asset/?id=10921329322",
["Rthro"] = "http://www.roblox.com/asset/?id=10921257536",
["Oldschool"] = "http://www.roblox.com/asset/?id=10921229866"
},
Animation1 = {
["Cartoony"] = "http://www.roblox.com/asset/?id=10921071918",
["Levitation"] = "http://www.roblox.com/asset/?id=10921132962",
["Robot"] = "http://www.roblox.com/asset/?id=10921248039",
["Stylish"] = "http://www.roblox.com/asset/?id=10921272275",
["Superhero"] = "http://www.roblox.com/asset/?id=10921288909",
["Zombie"] = "http://www.roblox.com/asset/?id=10921344533",
["Ninja"] = "http://www.roblox.com/asset/?id=10921155160",
["Knight"] = "http://www.roblox.com/asset/?id=10921117521",
["Mage"] = "http://www.roblox.com/asset/?id=10921144709",
["Pirate"] = "http://www.roblox.com/asset/?id=750781874",
["Elder"] = "http://www.roblox.com/asset/?id=10921101664",
["Toy"] = "http://www.roblox.com/asset/?id=10921301576",
["Bubbly"] = "http://www.roblox.com/asset/?id=10921054344",
["Astronaut"] = "http://www.roblox.com/asset/?id=10921034824",
["Vampire"] = "http://www.roblox.com/asset/?id=10921315373",
["Werewolf"] = "http://www.roblox.com/asset/?id=10921330408",
["Rthro"] = "http://www.roblox.com/asset/?id=10921258489",
["Oldschool"] = "http://www.roblox.com/asset/?id=10921230744",
["Toilet"] = "http://www.roblox.com/asset/?id=4417977954",
["Ud'zal"] = "http://www.roblox.com/asset/?id=3303162274",
["Tryhard"] = "http://www.roblox.com/asset/?id=10921301576",
["Goofy"] = "http://www.roblox.com/asset/?id=4417977954",
["Tamar"] = "http://www.roblox.com/asset/?id=10921034824"
},
Animation2 = {
["Cartoony"] = "http://www.roblox.com/asset/?id=10921072875",
["Levitation"] = "http://www.roblox.com/asset/?id=10921133721",
["Robot"] = "http://www.roblox.com/asset/?id=10921248831",
["Stylish"] = "http://www.roblox.com/asset/?id=10921273958",
["Superhero"] = "http://www.roblox.com/asset/?id=10921290167",
["Zombie"] = "http://www.roblox.com/asset/?id=10921345304",
["Ninja"] = "http://www.roblox.com/asset/?id=10921155867",
["Knight"] = "http://www.roblox.com/asset/?id=10921118894",
["Mage"] = "http://www.roblox.com/asset/?id=10921145797",
["Pirate"] = "http://www.roblox.com/asset/?id=750782770",
["Elder"] = "http://www.roblox.com/asset/?id=10921102574",
["Toy"] = "http://www.roblox.com/asset/?id=10921302207",
["Bubbly"] = "http://www.roblox.com/asset/?id=10921055107",
["Astronaut"] = "http://www.roblox.com/asset/?id=10921036806",
["Vampire"] = "http://www.roblox.com/asset/?id=10921316709",
["Werewolf"] = "http://www.roblox.com/asset/?id=10921333667",
["Rthro"] = "http://www.roblox.com/asset/?id=10921259953",
["Oldschool"] = "http://www.roblox.com/asset/?id=10921232093",
["Toilet"] = "http://www.roblox.com/asset/?id=4417978624",
["Ud'zal"] = "http://www.roblox.com/asset/?id=3303162549",
["Tryhard"] = "http://www.roblox.com/asset/?id=10921302207",
["Goofy"] = "http://www.roblox.com/asset/?id=4417978624",
["Tamar"] = "http://www.roblox.com/asset/?id=10921036806"
}
}
local function AnimateCharacter()
local animate = lplr.Character:FindFirstChild("Animate")
if AnimFreeze.Enabled then
animate.Enabled = false
end
animate.run.RunAnim.AnimationId = AnimList.RunAnim[AnimRun.Value]
task.wait(4.5)
animate.walk.WalkAnim.AnimationId = AnimList.WalkAnim[AnimWalk.Value]
task.wait(4.5)
animate.fall.FallAnim.AnimationId = AnimList.FallAnim[AnimFall.Value]
task.wait(4.5)
animate.jump.JumpAnim.AnimationId = AnimList.JumpAnim[AnimJump.Value]
task.wait(4.5)
animate.climb.ClimbAnim.AnimationId = AnimList.Animation1[AnimClimb.Value]
task.wait(4.5)
animate.idle.Animation1.AnimationId = AnimList.Animation1[AnimIdle.Value]
task.wait(4.5)
animate.idle.Animation2.AnimationId = AnimList.Animation2[AnimIdleB.Value]
task.wait(4.5)
end
AnimationChanger = GuiLibrary.ObjectsThatCanBeSaved.CustomisationWindow.Api.CreateOptionsButton({
Name = "AnimationChanger",
Function = function(callback)
if callback then
RunLoops:BindToHeartbeat('AnimationChanger', function()
pcall(function()
task.spawn(function()
if not entityLibrary.isAlive then repeat task.wait(10) until entityLibrary.isAlive end
table.insert(AnimationChanger.Connections, lplr.CharacterAdded:Connect(function()
if not entityLibrary.isAlive then repeat task.wait(10) until entityLibrary.isAlive end
pcall(AnimateCharacter)
end))
pcall(AnimateCharacter)
end)
end)
end)
else
pcall(function() Animate.Enabled = true end)
Animate = nil
end
end,
HoverText = "customize your animations freely."
})
for i,v in pairs(AnimList.RunAnim) do table.insert(RunAnimations, i) end
for i,v in pairs(AnimList.WalkAnim) do table.insert(WalkAnimations, i) end
for i,v in pairs(AnimList.FallAnim) do table.insert(FallAnimations, i) end
for i,v in pairs(AnimList.JumpAnim) do table.insert(JumpAnimations, i) end
for i,v in pairs(AnimList.ClimbAnim) do table.insert(ClimbAnimations, i) end
for i,v in pairs(AnimList.Animation1) do table.insert(IdleAnimations, i) end
for i,v in pairs(AnimList.Animation2) do table.insert(IdleAnimationsB, i) end
AnimRun = AnimationChanger.CreateDropdown({
Name = "Run",
List = RunAnimations,
Function = function()
if AnimationChanger.Enabled then
AnimationChanger.ToggleButton(false)
AnimationChanger.ToggleButton(false)
end
end
})
AnimWalk = AnimationChanger.CreateDropdown({
Name = "Walk",
List = WalkAnimations,
Function = function()
if AnimationChanger.Enabled then
AnimationChanger.ToggleButton(false)
AnimationChanger.ToggleButton(false)
end
end
})
AnimFall = AnimationChanger.CreateDropdown({
Name = "Fall",
List = FallAnimations,
Function = function()
if AnimationChanger.Enabled then
AnimationChanger.ToggleButton(false)
AnimationChanger.ToggleButton(false)
end
end
})
AnimJump = AnimationChanger.CreateDropdown({
Name = "Jump",
List = JumpAnimations,
Function = function()
if AnimationChanger.Enabled then
AnimationChanger.ToggleButton(false)
AnimationChanger.ToggleButton(false)
end
end
})
AnimIdle = AnimationChanger.CreateDropdown({
Name = "Idle",
List = IdleAnimations,
Function = function()
if AnimationChanger.Enabled then
AnimationChanger.ToggleButton(false)
AnimationChanger.ToggleButton(false)
end
end
})
AnimIdleB = AnimationChanger.CreateDropdown({
Name = "Idle 2",
List = IdleAnimationsB,
Function = function()
if AnimationChanger.Enabled then