-
Notifications
You must be signed in to change notification settings - Fork 18
/
ICE CREAM SIMULATOR GUI.lua
171 lines (144 loc) · 5.21 KB
/
ICE CREAM SIMULATOR GUI.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
--[[
Game : https://www.roblox.com/games/2423809996
Coded by : Keathunsar : https://github.com/dady172172/Roblox-Cheats
Gui made by : FungBert : https://v3rmillion.net/member.php?action=profile&uid=1078854
Go vouch release thread : https://v3rmillion.net/showthread.php?tid=1023761
]]--
---- variables ----
kVars = {} -- Table for all the variables
kVars.WindowName = "ICE CREAM SIMULATOR GUI"
kVars.lp = game:GetService("Players").LocalPlayer
kVars.pn = kVars.lp.Name
kVars.pid = kVars.lp.UserId
kVars.encryptedUserString = getsenv(kVars.lp.Backpack["Ice Cream"].LocalUseNew).encrypt(kVars.pn, kVars.pid)
kVars.VirtualUser = game:service('VirtualUser')
---- if re-injecting script, we wait for the old one to close and turn all option off
if game:GetService("CoreGui"):FindFirstChild(kVars.WindowName) then
wait(.15)
end
---- antiAFK ----
kVars.AntiAfk = game:service('Players').LocalPlayer.Idled:connect(function()
kVars.VirtualUser:CaptureController()
kVars.VirtualUser:ClickButton2(Vector2.new())
end)
---- GUI Library ----
local UILibrary = loadstring(game:HttpGet("https://pastebin.com/raw/V1ca2q9s"))()
---- pages ----
local MainUI = UILibrary.Load(kVars.WindowName)
local pageFarm = MainUI.AddPage("Farm")
local pageCharacter = MainUI.AddPage("Player")
local pageCredits = MainUI.AddPage("Credits")
---------- Farm Page ----------
---- ----
kVars.toggleCream = pageFarm.AddToggle("Ice Cream", false, function(bool)
kVars.boolCream = bool
if bool then fCream() end
end)
function fCream()
spawn(function()
while kVars.boolCream do
wait()
game:GetService("Players").LocalPlayer.Character:FindFirstChild("Ice Cream").E:FireServer(kVars.encryptedUserString, math.huge)
end
end)
end
kVars.toggleSell = pageFarm.AddToggle("Sell", false, function(bool)
kVars.boolSell = bool
if bool then fSell() end
end)
function fSell()
spawn(function()
while kVars.boolSell do
wait()
firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart,game:GetService("Workspace")["Main Area"]["Ice Cream Truck"].Enter, 0)
wait(.1)
firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart,game:GetService("Workspace")["Main Area"]["Ice Cream Truck"].Enter, 1)
end
end)
end
kVars.toggleRebirth = pageFarm.AddToggle("Rebirth", false, function(bool)
kVars.boolRebirth = bool
if bool then fRebirth() end
end)
function fRebirth()
spawn(function()
while kVars.boolRebirth do
wait()
game:GetService("ReplicatedStorage").Events.Rebirth:FireServer(math.huge)
end
end)
end
kVars.toggleSuperRebirth = pageFarm.AddToggle("Super Rebirth", false, function(bool)
kVars.boolSuperRebirth = bool
if bool then fSuperRebirth() end
end)
function fSuperRebirth()
spawn(function()
while kVars.boolSuperRebirth do
wait()
game:GetService("ReplicatedStorage").Events.SuperRebirth:FireServer()
end
end)
end
---------- Character Page ----------
---- Walk Speed ----
kVars.sliderWalkSpeed = pageCharacter.AddSlider("Walk Speed", {Min = 16, Max = 255, Def = kVars.lp.Character.Humanoid.WalkSpeed}, function(num)
kVars.lp.Character.Humanoid.WalkSpeed = num
end)
---- Jump Power ----
kVars.sliderJumpPower = pageCharacter.AddSlider("Jump Power", {Min = 16, Max = 255, Def = kVars.lp.Character.Humanoid.JumpPower}, function(num)
kVars.lp.Character.Humanoid.JumpPower = num
end)
---- Inf Jump ----
kVars.sliderInfJump = pageCharacter.AddToggle("Inf Jump", false, function(bool)
kVars.boolInfJump = bool
end)
kVars.InfJumpConnect = game:GetService("UserInputService").JumpRequest:connect(function()
if kVars.boolInfJump and kVars.lp.Character:FindFirstChild("Humanoid") then
kVars.lp.Character:FindFirstChildOfClass('Humanoid'):ChangeState("Jumping")
end
end)
---------- Credits Page ----------
kVars.labelCodedBy = pageCredits.AddLabel("Coded by : Keathunsar")
kVars.labelCodedByLink = pageCredits.AddLabel("https://github.com/dady172172/Roblox-Cheats")
kVars.labelGuiBy = pageCredits.AddLabel("Gui made by : FungBert")
kVars.labelGuiByLink = pageCredits.AddLabel("v3rmillion.net/member.php?action=profile&uid=1078854")
---------- Closing ----------
kVars.ClosingConnect = game:GetService("CoreGui").ChildRemoved:Connect(function(child)
if child.Name == kVars.WindowName then
kVars.closing = true
wait(.1)
kVars.InfJumpConnect:Disconnect()
for i,v in pairs(kVars) do
if type(v) == "boolean" then
v = false
end
end
kVars.ClosingConnect:Disconnect()
script:Destroy()
end
end)
--[[
---- label ----
local FirstLabel = FirstPage.AddLabel("Section 1")
---- button ----
local FirstButton = FirstPage.AddButton("Hello", function()
print("Hello")
end)
---- toggle ----
local FirstToggle = FirstPage.AddToggle("Hello", false, function(Value)
print(Value)
end)
---- Slider ----
local FirstSlider = FirstPage.AddSlider("Hello", {Min = 0, Max = 255, Def = 50}, function(Value)
print(Value)
end)
---- color picker ----
local FirstPicker = FirstPage.AddColourPicker("Hello", "white", function(Value)
print(Value)
end)
---- dropdown ----
local FirstDropdown = FirstPage.AddDropdown("Hello", {}, function(Value)
print(Value)
end)
]]--