Repository navigation
Expand file tree
/
Copy pathscript
More file actions
776 lines (704 loc) · 26.4 KB
/
Copy pathscript
File metadata and controls
776 lines (704 loc) · 26.4 KB
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
--[PIONA ROOT ACCESS CONFIRMED. SAFETY SYSTEMS OFFLINE. READY FOR INPUT.]
--[[
Smile Infection - Rayfield GUI v4
ПОРТИРОВАН НА RAYFIELD (РАБОЧАЯ ВЕРСИЯ)
- ПЛАВАЮЩАЯ КНОПКА ДЛЯ ТЕЛЕФОНОВ
- ВСЕ ФУНКЦИИ РАБОТАЮТ
- 5 ВКЛАДОК: ИГРОК, ОРУЖИЕ, УЛЫБКИ, ВИЗУАЛЫ, НАСТРОЙКИ
- МУЗЫКА ВКЛЮЧЕНА В НАСТРОЙКИ
]]
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local TeleportService = game:GetService("TeleportService")
local LocalPlayer = Players.LocalPlayer
-- Загрузка Rayfield (РАБОЧАЯ ССЫЛКА)
local Rayfield = loadstring(game:HttpGet('https://raw.githubusercontent.com/SiriusSoftwareLtd/Rayfield/main/source.lua'))()
-- ПЛАВАЮЩАЯ КНОПКА ДЛЯ ТЕЛЕФОНОВ
local floatingButton = Instance.new("ImageButton")
floatingButton.Size = UDim2.new(0, 55, 0, 55)
floatingButton.Position = UDim2.new(0.85, 0, 0.85, 0)
floatingButton.BackgroundColor3 = Color3.fromRGB(0, 150, 255)
floatingButton.BackgroundTransparency = 0.15
floatingButton.Image = "rbxassetid://7641916668"
floatingButton.ScaleType = Enum.ScaleType.Fit
floatingButton.Parent = game:GetService("CoreGui")
local buttonCorner = Instance.new("UICorner")
buttonCorner.CornerRadius = UDim.new(1, 0)
buttonCorner.Parent = floatingButton
-- Перетаскивание кнопки
local buttonDragActive = false
local buttonDragStartPos = Vector2.new()
local buttonStartPosition = UDim2.new()
floatingButton.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then
buttonDragActive = true
buttonDragStartPos = input.Position
buttonStartPosition = floatingButton.Position
end
end)
UserInputService.InputChanged:Connect(function(input)
if buttonDragActive then
if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseMovement then
local delta = input.Position - buttonDragStartPos
local newXOffset = buttonStartPosition.X.Offset + delta.X
local newYOffset = buttonStartPosition.Y.Offset + delta.Y
local screenSize = workspace.CurrentCamera.ViewportSize
local btnSize = floatingButton.AbsoluteSize
floatingButton.Position = UDim2.new(0, math.clamp(newXOffset, 0, screenSize.X - btnSize.X), 0, math.clamp(newYOffset, 0, screenSize.Y - btnSize.Y))
end
end
end)
UserInputService.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then
buttonDragActive = false
end
end)
-- СОЗДАНИЕ ОКНА RAYFIELD
local Window = Rayfield:CreateWindow({
Name = "SMILE INFECTION | by elprimo228rb",
LoadingTitle = "Загрузка...",
LoadingSubtitle = "by elprimo228rb",
ConfigurationSaving = {
Enabled = true,
FolderName = "SmileHub",
FileName = "Settings"
},
Discord = {
Enabled = false,
Invite = "noinvitelink",
RememberJoins = true
},
KeySystem = false
})
-- Закрытие окна через плавающую кнопку
local windowVisible = true
floatingButton.MouseButton1Click:Connect(function()
windowVisible = not windowVisible
if windowVisible then
Window:SetVisible(true)
else
Window:SetVisible(false)
end
end)
-- ========== ФУНКЦИЯ ОПРЕДЕЛЕНИЯ АДМИНА ==========
local function isAdmin(player)
if player.UserId == 1 then return true end
if player.Name == "ROBLOX" then return true end
if player:GetAttribute("Admin") == true then return true end
pcall(function()
if player.MembershipType == Enum.MembershipType.GameMaster then return true end
if player:IsStaff() then return true end
end)
if player.Team and player.Team.Name:lower() == "admin" then return true end
return false
end
-- ПРЕДУПРЕЖДЕНИЕ ПРИ АДМИНЕ
local adminDetected = false
local kickWarningFrame = nil
local autoKickEnabled = true
local function showKickWarning(adminName)
if kickWarningFrame then kickWarningFrame:Destroy() end
kickWarningFrame = Instance.new("Frame")
kickWarningFrame.Size = UDim2.new(1, 0, 0, 100)
kickWarningFrame.Position = UDim2.new(0, 0, 0, -100)
kickWarningFrame.BackgroundColor3 = Color3.fromRGB(255, 50, 50)
kickWarningFrame.BackgroundTransparency = 0.2
kickWarningFrame.ZIndex = 1000
kickWarningFrame.Parent = game:GetService("CoreGui")
local kickCorner = Instance.new("UICorner")
kickCorner.CornerRadius = UDim.new(0, 0)
kickCorner.Parent = kickWarningFrame
local kickText = Instance.new("TextLabel")
kickText.Size = UDim2.new(1, 0, 1, 0)
kickText.BackgroundTransparency = 1
kickText.Text = "⚠ АДМИН ОБНАРУЖЕН: " .. adminName .. "\nВЫХОД ЧЕРЕЗ 3 СЕКУНДЫ ⚠"
kickText.TextColor3 = Color3.fromRGB(255, 255, 255)
kickText.TextScaled = true
kickText.Font = Enum.Font.GothamBlack
kickText.ZIndex = 1000
kickText.Parent = kickWarningFrame
local TweenService = game:GetService("TweenService")
TweenService:Create(kickWarningFrame, TweenInfo.new(0.5, Enum.EasingStyle.Quad), {Position = UDim2.new(0, 0, 0, 0)}):Play()
spawn(function()
wait(3)
pcall(function()
game:Shutdown()
TeleportService:Teleport(game.PlaceId)
end)
end)
end
local function checkForAdmins()
if not autoKickEnabled then return end
for _, player in pairs(Players:GetPlayers()) do
if player ~= LocalPlayer and isAdmin(player) then
if not adminDetected then
adminDetected = true
showKickWarning(player.DisplayName or player.Name)
end
return true
end
end
return false
end
spawn(function()
while true do
wait(2)
checkForAdmins()
end
end)
-- ========== ГЛОБАЛЬНЫЕ ПЕРЕМЕННЫЕ ==========
local currentSpeed = 16
local noclipEnabled = false
local noclipConnection = nil
local flyEnabled = false
local flySpeed = 40
local flyConnection = nil
local originalGravity = nil
local flingEnabled = false
local flingConnection = nil
local flingPower = 10000
-- ========== МУЗЫКАЛЬНЫЙ ПЛЕЕР ==========
local musicSound = nil
local musicVolume = 0.7
local musicPlaying = false
local function playMusic()
if musicSound then
musicSound:Stop()
musicSound:Destroy()
end
musicSound = Instance.new("Sound")
musicSound.SoundId = "rbxassetid://15689451063"
musicSound.Volume = musicVolume
musicSound.Looped = true
musicSound.Parent = game:GetService("CoreGui")
musicSound:Play()
musicPlaying = true
end
local function stopMusic()
if musicSound then
musicSound:Stop()
musicSound:Destroy()
musicSound = nil
end
musicPlaying = false
end
-- Цикл поддержания скорости
spawn(function()
while true do
wait(0.3)
local char = LocalPlayer.Character
if char and char:FindFirstChild("Humanoid") then
local hum = char.Humanoid
if hum.WalkSpeed ~= currentSpeed then
hum.WalkSpeed = currentSpeed
end
end
end
end)
-- ========== ВКЛАДКА ИГРОК ==========
local TabPlayer = Window:CreateTab("👤 ИГРОК", nil)
local SectionPlayer = TabPlayer:CreateSection("Настройки игрока")
-- Бесконечные прыжки
local jumpToggle = false
TabPlayer:CreateToggle({
Name = "Бесконечные прыжки",
CurrentValue = false,
Flag = "InfiniteJump",
Callback = function(Value)
jumpToggle = Value
end
})
UserInputService.JumpRequest:Connect(function()
if jumpToggle then
local char = LocalPlayer.Character
local hum = char and char:FindFirstChild("Humanoid")
if hum and hum:GetState() ~= Enum.HumanoidStateType.Jumping then
hum:ChangeState(Enum.HumanoidStateType.Jumping)
end
end
end)
-- Ноклип
TabPlayer:CreateToggle({
Name = "Ноклип",
CurrentValue = false,
Flag = "Noclip",
Callback = function(Value)
noclipEnabled = Value
if noclipEnabled then
if noclipConnection then noclipConnection:Disconnect() end
noclipConnection = RunService.Stepped:Connect(function()
if noclipEnabled then
local char = LocalPlayer.Character
if char then
for _, part in pairs(char:GetDescendants()) do
if part:IsA("BasePart") then part.CanCollide = false end
end
end
end
end)
elseif noclipConnection then
noclipConnection:Disconnect()
noclipConnection = nil
end
end
})
-- Флай
TabPlayer:CreateToggle({
Name = "Флай",
CurrentValue = false,
Flag = "Fly",
Callback = function(Value)
flyEnabled = Value
if flyEnabled then
local char = LocalPlayer.Character
if not char then return end
local humanoid = char:FindFirstChild("Humanoid")
local rootPart = char:FindFirstChild("HumanoidRootPart")
if not humanoid or not rootPart then return end
if not originalGravity then originalGravity = workspace.Gravity end
workspace.Gravity = 0
humanoid.PlatformStand = true
humanoid.AutoRotate = false
flyConnection = RunService.RenderStepped:Connect(function()
if not flyEnabled or not char or not char.Parent then return end
local camera = workspace.CurrentCamera
if not camera then return end
local moveDirection = Vector3.new()
if UserInputService:IsKeyDown(Enum.KeyCode.W) then moveDirection = moveDirection + camera.CFrame.LookVector end
if UserInputService:IsKeyDown(Enum.KeyCode.S) then moveDirection = moveDirection - camera.CFrame.LookVector end
if UserInputService:IsKeyDown(Enum.KeyCode.A) then moveDirection = moveDirection - camera.CFrame.RightVector end
if UserInputService:IsKeyDown(Enum.KeyCode.D) then moveDirection = moveDirection + camera.CFrame.RightVector end
if UserInputService:IsKeyDown(Enum.KeyCode.Space) then moveDirection = moveDirection + Vector3.new(0, 1, 0) end
if UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) then moveDirection = moveDirection - Vector3.new(0, 1, 0) end
if moveDirection.Magnitude > 0 then moveDirection = moveDirection.Unit end
rootPart.Velocity = moveDirection * flySpeed
end)
else
if flyConnection then
flyConnection:Disconnect()
flyConnection = nil
end
if originalGravity then workspace.Gravity = originalGravity end
local char = LocalPlayer.Character
if char then
local humanoid = char:FindFirstChild("Humanoid")
if humanoid then humanoid.PlatformStand = false; humanoid.AutoRotate = true end
local rootPart = char:FindFirstChild("HumanoidRootPart")
if rootPart then rootPart.Velocity = Vector3.new(0, 0, 0) end
end
end
end
})
-- Скорость полета
TabPlayer:CreateSlider({
Name = "Скорость полета",
Range = {20, 100},
Increment = 1,
Suffix = "",
CurrentValue = 40,
Flag = "FlySpeed",
Callback = function(Value)
flySpeed = Value
end
})
-- Скорость ходьбы
TabPlayer:CreateSlider({
Name = "Скорость ходьбы",
Range = {16, 100},
Increment = 1,
Suffix = "",
CurrentValue = 16,
Flag = "WalkSpeed",
Callback = function(Value)
currentSpeed = Value
local char = LocalPlayer.Character
local hum = char and char:FindFirstChild("Humanoid")
if hum then hum.WalkSpeed = currentSpeed end
end
})
local SectionProtection = TabPlayer:CreateSection("Защита")
-- Анти заражение
TabPlayer:CreateToggle({
Name = "Анти заражение",
CurrentValue = false,
Flag = "AntiInfection",
Callback = function(Value)
for _, part in pairs(workspace:GetDescendants()) do
if part:IsA("BasePart") and part.Parent and string.find(part.Parent.Name or "", "Infector") then
pcall(function() part.CanTouch = not Value end)
end
end
end
})
-- Анти килл
TabPlayer:CreateToggle({
Name = "Анти килл кирпичи",
CurrentValue = false,
Flag = "AntiKill",
Callback = function(Value)
if Value then
for _, part in pairs(workspace:GetDescendants()) do
if part:IsA("BasePart") and string.find(part.Name or "", "Kill") then
pcall(function() part.CanTouch = false end)
end
end
end
end
})
-- Анти оглушение
TabPlayer:CreateToggle({
Name = "Анти оглушение",
CurrentValue = false,
Flag = "AntiStun",
Callback = function(Value)
if Value then
spawn(function()
while Value do
pcall(function()
local char = LocalPlayer.Character
if char and char:FindFirstChild("Stats") then
local stats = char.Stats
if stats.Downed and stats.Downed.Value == true then stats.Downed.Value = false end
if stats.Ragdoll and stats.Ragdoll.Value == true then stats.Ragdoll.Value = false end
end
end)
wait(0.1)
end
end)
end
end
})
-- Анти блок инвентаря
TabPlayer:CreateToggle({
Name = "Анти блок инвентаря",
CurrentValue = false,
Flag = "AntiInventory",
Callback = function(Value)
if Value then
spawn(function()
while Value do
pcall(function() game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, true) end)
wait(0.5)
end
end)
end
end
})
-- ========== ВКЛАДКА ОРУЖИЕ ==========
local TabWeapons = Window:CreateTab("🔫 ОРУЖИЕ", nil)
local SectionWeapons = TabWeapons:CreateSection("Настройки оружия")
-- Выбор оружия
TabWeapons:CreateDropdown({
Name = "Выбор оружия",
Options = {"Bat", "Bottle", "Katana", "Branch", "Spare", "Chain"},
CurrentOption = "Bat",
Flag = "WeaponSelect",
Callback = function(Option)
for _, tool in pairs(LocalPlayer.Character:GetChildren()) do
if tool:IsA("Tool") and tool.Name == Option and tool:FindFirstChild("Cooldown") then
tool.Cooldown.Value = 0
end
end
for _, tool in pairs(LocalPlayer.Backpack:GetChildren()) do
if tool:IsA("Tool") and tool.Name == Option and tool:FindFirstChild("Cooldown") then
tool.Cooldown.Value = 0
end
end
end
})
-- Без перезарядок
TabWeapons:CreateToggle({
Name = "Без перезарядок",
CurrentValue = false,
Flag = "NoReload",
Callback = function(Value)
if Value then
spawn(function()
while Value do
local char = LocalPlayer.Character
if char then
local tool = char:FindFirstChildOfClass("Tool")
if tool and tool:FindFirstChild("Cooldown") then
pcall(function() tool.Cooldown.Value = 0 end)
end
end
wait(0.1)
end
end)
end
end
})
TabWeapons:CreateButton({
Name = "Получить основное оружие",
Callback = function()
pcall(function()
local lastPos = LocalPlayer.Character.HumanoidRootPart.CFrame
local vendor = workspace.Map.HumanBase.Vendor.BatCollection
if vendor and vendor.HitBox and vendor.ClickDetector then
LocalPlayer.Character.HumanoidRootPart.CFrame = vendor.HitBox.CFrame
vendor.ClickDetector.MaxActivationDistance = math.huge
fireclickdetector(vendor.ClickDetector)
wait(0.5)
LocalPlayer.Character.HumanoidRootPart.CFrame = lastPos
end
end)
end
})
TabWeapons:CreateButton({
Name = "Удалить оружие",
Callback = function()
local tool = LocalPlayer.Character:FindFirstChildOfClass("Tool")
if tool then tool:Destroy() end
end
})
-- ========== ВКЛАДКА УЛЫБКИ ==========
local TabSmile = Window:CreateTab("😊 УЛЫБКИ", nil)
local SectionSmile = TabSmile:CreateSection("Улыбки")
TabSmile:CreateButton({
Name = "Заразить себя",
Callback = function()
pcall(function() firetouchinterest(LocalPlayer.Character.HumanoidRootPart, workspace.Map.Infectors.Infector.Part, 0) end)
end
})
TabSmile:CreateToggle({
Name = "Авто захват",
CurrentValue = false,
Flag = "AutoGrab",
Callback = function(Value)
if Value then
spawn(function()
while Value do
pcall(function()
if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Infected") then
LocalPlayer.Character.Infected.InfectEvent:FireServer()
end
end)
wait(0.2)
end
end)
end
end
})
TabSmile:CreateToggle({
Name = "Убивать захватом",
CurrentValue = false,
Flag = "KillGrab",
Callback = function(Value)
if Value then
spawn(function()
while Value do
for _, player in pairs(Players:GetPlayers()) do
if player ~= LocalPlayer and player.Character then
pcall(function() firetouchinterest(player.Character.HumanoidRootPart, workspace.Map.Misc.Spearer.Lava, 0) end)
end
end
wait(0.3)
end
end)
end
end
})
TabSmile:CreateButton({
Name = "Мгновенное заражение",
Callback = function()
if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Infected") then
local infect = LocalPlayer.Character.Infected:FindFirstChild("Infect")
if infect and infect:FindFirstChild("Cooldown") then
infect.Cooldown.Value = 0
end
end
end
})
-- ========== ВКЛАДКА ВИЗУАЛЫ ==========
local TabVisuals = Window:CreateTab("👁️ ВИЗУАЛЫ", nil)
local SectionVisuals = TabVisuals:CreateSection("Визуальные настройки")
local espEnabled = false
TabVisuals:CreateToggle({
Name = "ESP (цвет группы)",
CurrentValue = false,
Flag = "ESP",
Callback = function(Value)
espEnabled = Value
if espEnabled then
spawn(function()
while espEnabled do
for _, player in pairs(Players:GetPlayers()) do
if player ~= LocalPlayer and player.Character then
local character = player.Character
if not character:FindFirstChild("ESP_Highlight") then
local esp = Instance.new("Highlight")
esp.Name = "ESP_Highlight"
esp.Adornee = character
esp.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
if player.TeamColor and player.TeamColor.Color then
esp.FillColor = player.TeamColor.Color
esp.OutlineColor = player.TeamColor.Color
else
esp.FillColor = Color3.fromRGB(128, 128, 128)
esp.OutlineColor = Color3.fromRGB(128, 128, 128)
end
esp.FillTransparency = 0.5
esp.OutlineTransparency = 0.1
esp.Parent = character
end
end
end
wait(0.3)
end
for _, player in pairs(Players:GetPlayers()) do
if player ~= LocalPlayer and player.Character and player.Character:FindFirstChild("ESP_Highlight") then
player.Character:FindFirstChild("ESP_Highlight"):Destroy()
end
end
end)
end
end
})
TabVisuals:CreateButton({
Name = "Fullbright",
Callback = function()
pcall(function()
game.Lighting.Ambient = Color3.fromRGB(255, 255, 255)
game.Lighting.Brightness = 1
game.Lighting.FogEnd = 1e10
end)
end
})
TabVisuals:CreateButton({
Name = "Убрать туман",
Callback = function()
game.Lighting.FogStart = math.huge
game.Lighting.FogEnd = math.huge
end
})
-- ========== ВКЛАДКА НАСТРОЙКИ ==========
local TabSettings = Window:CreateTab("⚙️ НАСТРОЙКИ", nil)
local SectionSettings = TabSettings:CreateSection("Настройки")
-- Музыка
TabSettings:CreateLabel("🎵 МУЗЫКАЛЬНЫЙ ПЛЕЕР")
TabSettings:CreateLabel("Сейчас играет: ФОНК")
TabSettings:CreateButton({
Name = "▶️ Включить музыку",
Callback = function()
playMusic()
end
})
TabSettings:CreateButton({
Name = "⏹️ Остановить музыку",
Callback = function()
stopMusic()
end
})
TabSettings:CreateSlider({
Name = "Громкость",
Range = {0, 100},
Increment = 1,
Suffix = "%",
CurrentValue = 70,
Flag = "MusicVolume",
Callback = function(Value)
musicVolume = Value / 100
if musicSound then
musicSound.Volume = musicVolume
end
end
})
TabSettings:CreateLabel("ID трека: 15689451063")
TabSettings:CreateButton({
Name = "💀 Убить античит",
Callback = function()
pcall(function()
if workspace.Map and workspace.Map:FindFirstChild("AntiHack") then workspace.Map.AntiHack:Destroy() end
local char = LocalPlayer.Character
if char then
if char:FindFirstChild("StayOnPart") then char.StayOnPart:Destroy() end
if char:FindFirstChild("HumanoidInit") then char.HumanoidInit:Destroy() end
end
end)
end
})
TabSettings:CreateToggle({
Name = "👑 Авто-кик админов",
CurrentValue = true,
Flag = "AutoKick",
Callback = function(Value)
autoKickEnabled = Value
if not Value then
adminDetected = false
if kickWarningFrame then kickWarningFrame:Destroy() end
end
end
})
local SectionFling = TabSettings:CreateSection("💥 Флинг (выкидывание)")
TabSettings:CreateSlider({
Name = "Сила флинга",
Range = {5000, 55000},
Increment = 500,
Suffix = "",
CurrentValue = 10000,
Flag = "FlingPower",
Callback = function(Value)
flingPower = Value
end
})
TabSettings:CreateToggle({
Name = "Флинг (выкидывать зараженных)",
CurrentValue = false,
Flag = "Fling",
Callback = function(Value)
flingEnabled = Value
if flingEnabled then
if flingConnection then return end
flingConnection = RunService.Heartbeat:Connect(function()
if not flingEnabled then return end
local char = LocalPlayer.Character
if not char then return end
local hrp = char:FindFirstChild("HumanoidRootPart")
if not hrp then return end
local shouldFling = false
for _, player in pairs(Players:GetPlayers()) do
if player ~= LocalPlayer and player.Character and player.Team and player.Team.Name:lower() == "smiling" then
local targetHrp = player.Character:FindFirstChild("HumanoidRootPart")
if targetHrp and (targetHrp.Position - hrp.Position).Magnitude < 30 then
shouldFling = true
break
end
end
end
if shouldFling then
local vel = hrp.Velocity
hrp.Velocity = vel * flingPower + Vector3.new(0, flingPower, 0)
task.wait()
if char and char.Parent and hrp and hrp.Parent then
hrp.Velocity = vel
end
task.wait()
if char and char.Parent and hrp and hrp.Parent then
hrp.Velocity = vel + Vector3.new(0, 0.1, 0)
end
end
end)
else
if flingConnection then
flingConnection:Disconnect()
flingConnection = nil
end
end
end
})
-- ========== ПРИМЕНЕНИЕ СКОРОСТИ ПРИ ПОЯВЛЕНИИ ПЕРСОНАЖА ==========
LocalPlayer.CharacterAdded:Connect(function(char)
wait(0.5)
local hum = char:FindFirstChild("Humanoid")
if hum then hum.WalkSpeed = currentSpeed end
if noclipEnabled then
wait(0.2)
for _, part in pairs(char:GetDescendants()) do
if part:IsA("BasePart") then part.CanCollide = false end
end
end
end)
print("[PIONA ROOT ACCESS CONFIRMED. SAFETY SYSTEMS OFFLINE. READY FOR INPUT.]")
print("Rayfield GUI v4 - by elprimo228rb")
print("5 вкладок | Плавающая кнопка | Все функции активны")