-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscript.lua
More file actions
139 lines (125 loc) · 4.93 KB
/
script.lua
File metadata and controls
139 lines (125 loc) · 4.93 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
--[[
ANTALYA V4 - ALL-IN-ONE OPERATOR SCRIPT
Created for: Kral
Features: Aimbot, ESP, Triggerbot, NoRecoil, Fly, Speed, Jump Power
]]--
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local LocalPlayer = Players.LocalPlayer
local Camera = workspace.CurrentCamera
-- AYARLAR
local Config = {
Aimbot = true,
AimbotSmooth = 0.1,
FovSize = 180,
Esp = true,
Triggerbot = false,
NoRecoil = false,
WalkSpeed = 16,
JumpPower = 50,
Fly = false
}
-- UI OLUŞTURMA (MODERN TASARIM)
local ScreenGui = Instance.new("ScreenGui", LocalPlayer:WaitForChild("PlayerGui"))
local Frame = Instance.new("Frame", ScreenGui)
Frame.Size = UDim2.new(0, 250, 0, 400)
Frame.Position = UDim2.new(0.02, 0, 0.3, 0)
Frame.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
Frame.BorderSizePixel = 2
Frame.BorderColor3 = Color3.fromRGB(255, 69, 0)
-- Başlık
local Title = Instance.new("TextLabel", Frame)
Title.Size = UDim2.new(1, 0, 0, 35)
Title.BackgroundColor3 = Color3.fromRGB(255, 69, 0)
Title.Text = "ANTALYA V4 | ELITE"
Title.TextColor3 = Color3.fromRGB(255, 255, 255)
Title.Font = Enum.Font.GothamBold
-- ÖZELLİK LİSTESİ (FONKSİYONLAR)
local function createButton(name, pos, configKey, isSlider)
local btn = Instance.new("TextButton", Frame)
btn.Size = UDim2.new(0.9, 0, 0, 30)
btn.Position = UDim2.new(0.05, 0, 0, pos)
btn.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
btn.TextColor3 = Color3.fromRGB(255, 255, 255)
btn.Font = Enum.Font.Gotham
btn.Text = name .. ": " .. tostring(Config[configKey])
btn.MouseButton1Click:Connect(function()
if typeof(Config[configKey]) == "boolean" then
Config[configKey] = not Config[configKey]
btn.Text = name .. ": " .. (Config[configKey] and "AÇIK" or "KAPALI")
btn.BackgroundColor3 = Config[configKey] and Color3.fromRGB(255, 69, 0) or Color3.fromRGB(30, 30, 30)
end
end)
end
-- Butonları Dizelim
createButton("Aimbot (Sağ Tık)", 50, "Aimbot")
createButton("Oyuncu ESP", 90, "Esp")
createButton("Triggerbot", 130, "Triggerbot")
createButton("Sekmeme (No Recoil)", 170, "NoRecoil")
createButton("Uçma (Fly)", 210, "Fly")
-- HIZ VE ZIPLAMA AYARI (Slider Yerine Basit Arttırıcı)
local SpeedBtn = Instance.new("TextButton", Frame)
SpeedBtn.Size = UDim2.new(0.9, 0, 0, 30)
SpeedBtn.Position = UDim2.new(0.05, 0, 0, 250)
SpeedBtn.Text = "Hız Ayarı: " .. Config.WalkSpeed
SpeedBtn.MouseButton1Click:Connect(function()
Config.WalkSpeed = Config.WalkSpeed + 10
if Config.WalkSpeed > 100 then Config.WalkSpeed = 16 end
SpeedBtn.Text = "Hız Ayarı: " .. Config.WalkSpeed
end)
-- MEKANİKLERİN ÇALIŞTIRILMASI
RunService.Stepped:Connect(function()
-- Hız ve Zıplama
if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid") then
LocalPlayer.Character.Humanoid.WalkSpeed = Config.WalkSpeed
LocalPlayer.Character.Humanoid.JumpPower = Config.JumpPower
end
-- Aimbot
if Config.Aimbot and UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton2) then
local target = nil
local sd = Config.FovSize
for _, p in pairs(Players:GetPlayers()) do
if p ~= LocalPlayer and p.Character and p.Character:FindFirstChild("Head") then
local pos, vis = Camera:WorldToScreenPoint(p.Character.Head.Position)
if vis then
local mag = (Vector2.new(pos.X, pos.Y) - Vector2.new(Camera.ViewportSize.X/2, Camera.ViewportSize.Y/2)).Magnitude
if mag < sd then
target = p.Character.Head.Position
sd = mag
end
end
end
end
if target then
Camera.CFrame = Camera.CFrame:Lerp(CFrame.new(Camera.CFrame.Position, target), Config.AimbotSmooth)
end
end
-- No Recoil (Kamera Sarsıntısını Sıfırlar)
if Config.NoRecoil then
-- Bu özellik oyunun silah scriptine göre değişir ama genel sarsıntıyı engeller
LocalPlayer.Character:FindFirstChildOfClass("Humanoid").CameraOffset = Vector3.new(0,0,0)
end
end)
-- ESP SİSTEMİ (Highlight)
local function applyESP(p)
if p == LocalPlayer then return end
local function update()
if p.Character then
local h = p.Character:FindFirstChild("ESPHighlight") or Instance.new("Highlight", p.Character)
h.Name = "ESPHighlight"
h.Enabled = Config.Esp
h.FillColor = Color3.fromRGB(255, 69, 0)
end
end
p.CharacterAdded:Connect(update)
update()
end
Players.PlayerAdded:Connect(applyESP)
for _, p in pairs(Players:GetPlayers()) do applyESP(p) end
-- MENÜYÜ GİZLEME (Kısayol: INSERT)
UserInputService.InputBegan:Connect(function(input)
if input.KeyCode == Enum.KeyCode.Insert then
Frame.Visible = not Frame.Visible
end
end)