-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathalt.lua
384 lines (303 loc) · 12.4 KB
/
alt.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
-- 🤓・For you skids
-- We all know you cant code for shit but skidding peoples hard work, is
-- just not it
--I hope you end up on the streets begging for spare change
------------------------important varibles------------------------------------------------------------
rbxname = "Saikou_Hyakuya"
local prefix = ">"
local LPlayer = game.Players.Saikou_Hyakuya -- your name on my name (maxbrh1)
messageLL = "husin on top"
speed = 10 --how fast tweengoto is
render1 = false --if alts auto unrender when excuted
resettime = 5.4 --how long it will take to teleport alts back to cordinates noclip command
---------------------commands--------------------------------------------------------------------------
--tp teleports alts to you
--msg says message
--sit sits alts
--unsit unsits alts
--rs resets alts
--drop drop all fruits except legendary and mythical
--leave makes alts leave
--float floats alts
--unfloat unfloats alts
--say makes alts say message
--tweengoto makes alt tween to player
--noclip phase trugh walls
--unclip no noclip
--roast roast people with custum text
--love Love and compliments
---------------grapics commands-------------------------------------------------------------------------
--gr1 reduces grapics on alts more cpu power and gpu
--gr2 same as gr1 just much more
--fpscap - number fps cap
--unrender REALLY good for performance
--render renders
--checkmin checks if you have minimezed tabs
--------------------------------------------------------------------------------------------------------
LPlayer.Chatted:Connect(function(msg)
msg = msg:lower()
if string.sub(msg,1,3) == "/e " then
msg = string.sub(msg,4)
end
if string.sub(msg,1,1) == prefix then
local cmd
local space = string.find(msg," ")
if space then
cmd = string.sub(msg,2,space-1)
else
cmd = string.sub(msg,2)
end
--------------------------------commands scripts----------------------------------------------------------
if cmd == "tp" then
local p1 = game.Players.LocalPlayer.Character.HumanoidRootPart
local p2 = rbxname
local pos = p1.CFrame
p1.CFrame = game.Players[p2].Character.HumanoidRootPart.CFrame
end
if cmd == "msg" then
local args = {
[1] = messageLL,
[2] = "All"
}
game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(unpack(args))
end
if cmd == "sit" then
game.Players.LocalPlayer.Character.Humanoid.Sit = true
end
if cmd =="unsit" then
game.Players.LocalPlayer.Character.Humanoid.Sit = false
end
if cmd == "rs" then
game.Players.LocalPlayer.Character.Humanoid.Health = 0
end
if cmd == "drop" then
loadstring(game:HttpGet('https://raw.githubusercontent.com/Hasif-bit/Alt-control/main/drop.lua'))()
end
if cmd == "enablepvp" then
loadstring(game:HttpGet('https://raw.githubusercontent.com/Hasif-bit/Alt-control/main/enablepvp.lua'))()
end
if cmd == "pirates" then
loadstring(game:HttpGet('https://raw.githubusercontent.com/Hasif-bit/Alt-control/main/join%20pirates.lua'))()
end
if cmd == "marines" then
loadstring(game:HttpGet('https://raw.githubusercontent.com/Hasif-bit/Alt-control/main/join%20marines.lua'))()
end
if cmd == "ping" then
loadstring(game:HttpGet('https://raw.githubusercontent.com/Hasif-bit/Alt-control/main/ping.lua'))()
end
if cmd == "buy" then
loadstring(game:HttpGet('https://raw.githubusercontent.com/Hasif-bit/Alt-control/main/buy.lua'))()
end
if cmd == "leave" then
game:Shutdown()
end
if cmd == "float" then
for i, player in ipairs(game.Players:GetPlayers()) do -- use GetPlayers()
player.Character.HumanoidRootPart.CFrame = CFrame.new(player.Character.HumanoidRootPart.Position + Vector3.new(0, 10, 0))
end
wait(0.2)
game.Players.LocalPlayer.Character.Head.Anchored = true
end
if cmd == "unfloat" then
for i, player in ipairs(game.Players:GetPlayers()) do -- use GetPlayers()
player.Character.HumanoidRootPart.CFrame = CFrame.new(player.Character.HumanoidRootPart.Position + Vector3.new(0, 10, 0))
end
wait(0.2)
game.Players.LocalPlayer.Character.Head.Anchored = false
end
if cmd == "say" then
if cmd == "say" then
local var = string.sub(msg,space+1)
game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(var, "All")
end
end
if cmd == "tweengoto" then
local var1 = string.sub(msg,space+1)
local target = GetPlayer(var1)
local cords = target.Character.HumanoidRootPart.Position
local New_CFrame = CFrame.new(cords)
local ts = game:GetService('TweenService')
local char = game.Players.LocalPlayer.Character
local part = char.HumanoidRootPart
local ti = TweenInfo.new(speed, Enum.EasingStyle.Linear)
local tp = {CFrame = New_CFrame}
ts:Create(part, ti, tp):Play()
end
if cmd== "noclip" then
local noclip = true char = game.Players.LocalPlayer.Character while true do if noclip == true then for _,v in pairs(char:children()) do pcall(function() if v.className == "Part" then v.CanCollide = false elseif v.ClassName == "Model" then v.Head.CanCollide = false end end) end end game:service("RunService").Stepped:wait() end
end
if cmd == "unclip" then
local cords2 = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
game.Players.LocalPlayer.Character.Humanoid.Health = 0
wait(resettime)
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(cords2)
end
if cmd == "roast" then
local Roast = {"You bring everyone so much joy! You know, when you leave the room. But, still",
"If your brain was dynamite, there wouldn’t be enough to blow your hat off.",
"You are like a cloud. When you disappear, it’s a beautiful day.",
"I thought of you today. It reminded me to take out the trash.",
"Don’t be ashamed of who you are. That’s your parent’s job.",
"You’re my favorite person… besides every other person I’ve ever met.",
"You are proof that evolution can go in reverse.",
"If I throw a stick, will you leave?",
"Were you born this stupid or did you take lessons?",
"You are proof that god has a sense of humour.",
"if i had a face like yours, id sue my parents",
"If I had a dollar every time you shut up, I would give it back as a thank you.",
"Yes, I’m fully vaccinated, but I will still not hang out with you.",
"Earth is full. Go home.",
"A glowstick has a brighter future than you. Lasts longer in bed, too.",
"Taking a picture of you would put a virus on my phone",
}
local Result = Roast[math.random(1, #Roast)]
game:service('ReplicatedStorage').DefaultChatSystemChatEvents.SayMessageRequest:FireServer(Result,"All")
end
if cmd == "love" then
local love = {"You just light up the room.",
"You are more fun than anyone or anything I know, including bubble wrap.",
"Your inside is even more beautiful than your outside.",
"You inspire me.",
"You are the reason I am smiling today.",
"I bet you make small animals happy.",
"Colors seem brighter when you're around.",
"Your eyes are breathtaking.",
"On a scale from 1 to 10, you're an 11.",
"You are an incredible human.",
"Thank you for being you.",
}
local Result1 = love[math.random(1, #love)]
game:service('ReplicatedStorage').DefaultChatSystemChatEvents.SayMessageRequest:FireServer(Result1,"All")
end
-----------------------------grapics scripts-----------------------------------------------------------------------------------
if cmd == "gr1" then
local a = game
local b = a.Workspace
local c = a.Lighting
local d = b.Terrain
d.WaterWaveSize = 0
d.WaterWaveSpeed = 0
d.WaterReflectance = 0
d.WaterTransparency = 0
c.GlobalShadows = false
c.FogEnd = 9e9
c.Brightness = 0
settings().Rendering.QualityLevel = "Level01"
for e, f in pairs(a:GetDescendants()) do
if f:IsA("Part") or f:IsA("Union") or f:IsA("CornerWedgePart") or f:IsA("TrussPart") then
f.Material = "Plastic"
f.Reflectance = 0
elseif f:IsA("Decal") or f:IsA("Texture") then
f.Transparency = 0
elseif f:IsA("ParticleEmitter") or f:IsA("Trail") then
f.Lifetime = NumberRange.new(0)
elseif f:IsA("Explosion") then
f.BlastPressure = 0
f.BlastRadius = 0
elseif f:IsA("Fire") or f:IsA("SpotLight") or f:IsA("Smoke") or f:IsA("Sparkles") then
f.Enabled = false
elseif f:IsA("MeshPart") then
f.Material = "Plastic"
f.Reflectance = 0
f.TextureID = 10385902758728957
end
end
for e, g in pairs(c:GetChildren()) do
if
g:IsA("BlurEffect") or g:IsA("SunRaysEffect") or g:IsA("ColorCorrectionEffect") or g:IsA("BloomEffect") or
g:IsA("DepthOfFieldEffect")
then
g.Enabled = false
end
end
sethiddenproperty(game.Lighting, "Technology", "Compatibility")
end
if cmd == "gr2" then
for _,v in pairs(workspace:GetDescendants()) do
if v.ClassName == "Part"
or v.ClassName == "SpawnLocation"
or v.ClassName == "WedgePart"
or v.ClassName == "Terrain"
or v.ClassName == "MeshPart" then
v.BrickColor = BrickColor.new(155, 155, 155)
v.Material = "Plastic"
end
end
for _,v in pairs(workspace:GetDescendants()) do
if v.ClassName == "Decal"
or v.ClassName == "Texture" then
v:Destroy()
end
end
end
------------------------------------------------check minimezed -----------------------------------------------------------------
if cmd == "checkmin" then
local ScreenGuirtw = Instance.new("ScreenGui")
local Frame = Instance.new("Frame")
local TextLabel = Instance.new("TextLabel")
--Properties:
ScreenGuirtw.Name = "ScreenGuirtw"
ScreenGuirtw.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
ScreenGuirtw.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
Frame.Parent = ScreenGuirtw
Frame.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
Frame.Position = UDim2.new(0.295296818, 0, 0.243119255, 0)
Frame.Size = UDim2.new(0, 531, 0, 335)
TextLabel.Parent = ScreenGuirtw
TextLabel.BackgroundColor3 = Color3.fromRGB(170, 0, 0)
TextLabel.Position = UDim2.new(0.356977642, 0, 0.370030582, 0)
TextLabel.Size = UDim2.new(0, 370, 0, 170)
TextLabel.Font = Enum.Font.SourceSans
TextLabel.Text = "NOT MINIMIZED"
TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
TextLabel.TextSize = 60.000
wait (8)
game:GetService("Players").LocalPlayer.PlayerGui.ScreenGuirtw:Destroy()
end
----------------------------------------------fpscap-----------------------------------------------------------------------------
if cmd == "fpscap" then
local cap = string.sub(msg,space+1)
local fps = cap
local clock = tick()
while true do
while clock + 1/fps > tick() do end
wait()
clock = tick()
end
end
-------------------------------------render / unrender------------------------------------------------------------------------------
if cmd == "unrender" then
game:GetService("RunService"):Set3dRenderingEnabled(false)
end
if cmd == "render" then
game:GetService("RunService"):Set3dRenderingEnabled(true)
end
----------------------------------------------player thing--------------------------------------------------------------------------
function GetPlayer(String)
local plr
local strl = String:lower()
for i, v in pairs(game:GetService("Players"):GetPlayers()) do
if v.Name:lower():sub(1, #String) == String:lower() then
plr = v
end
end
if String == "me" then
plr = game.Players.LocalPlayer
end
if String == "" or String == " " then
plr = nil
end
return plr
end
end
end)
------------------------------------------------------automatic excutes--------------------------------------------------------------
if render1 == true then
game:GetService("RunService"):Set3dRenderingEnabled(false)
end
-------------------------------------------------------------------------------------------------------------------------------------
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "Modified";
Text = "_k4zu";
Icon = "rbxthumb://type=Asset&id=5107182114&w=150&h=150"})
Duration = 16;