
Key Required Patched

-- ===================================================
-- ✨ [PREMIUM] Neo-Glassmorphism Clean White GUI (Whitelist Added) ✨
-- ===================================================
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local CoreGui = game:GetService("CoreGui")
local Workspace = game:GetService("Workspace")
local UserInputService = game:GetService("UserInputService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Lighting = game:GetService("Lighting")
local TweenService = game:GetService("TweenService")
local LocalPlayer = Players.LocalPlayer
local Camera = Workspace.CurrentCamera
local EXCLUDED_PLAYER = "gitab170"
-- ホワイトリスト管理用テーブル(フレンドや手動選択したプレイヤーを格納)
local Whitelist = {}
-- フレンド自動除外が有効かどうか
local autoExcludeFriends = false
-- フレンドかどうかを判定する関数
local function isFriend(player)
local success, result = pcall(function()
return LocalPlayer:IsFriendsWith(player.UserId)
end)
return success and result
end
-- ターゲットとして有効かチェックする関数(ホワイトリスト・フレンド除外を反映)
local function getValidTargets()
local targets = {}
for _, p in ipairs(Players:GetPlayers()) do
if p ~= LocalPlayer and p.Name ~= EXCLUDED_PLAYER and not Whitelist[p.Name] then
if not (autoExcludeFriends and isFriend(p)) then
table.insert(targets, p)
end
end
end
return targets
end
local SlashRemote
pcall(function()
SlashRemote = ReplicatedStorage:WaitForChild("lol", 5)
end)
-- 既存GUIのクリーンアップ
if CoreGui:FindFirstChild("NeoWhiteGui") then
CoreGui.NeoWhiteGui:Destroy()
end
-- メインGUI
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "NeoWhiteGui"
ScreenGui.Parent = CoreGui
ScreenGui.ResetOnSpawn = false
-- トグルボタン(清潔感のあるホワイト・ピル型)
local ToggleButton = Instance.new("TextButton")
ToggleButton.Name = "ToggleButton"
ToggleButton.Parent = ScreenGui
ToggleButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ToggleButton.Position = UDim2.new(0, 20, 0.4, 0)
ToggleButton.Size = UDim2.new(0, 110, 0, 48)
ToggleButton.Font = Enum.Font.GothamBold
ToggleButton.Text = "💎 MENU"
ToggleButton.TextColor3 = Color3.fromRGB(30, 30, 45)
ToggleButton.TextSize = 14
ToggleButton.Active = true
ToggleButton.Draggable = true
local ToggleCorner = Instance.new("UICorner", ToggleButton)
ToggleCorner.CornerRadius = UDim.new(1, 0)
local ToggleStroke = Instance.new("UIStroke", ToggleButton)
ToggleStroke.Thickness = 2
ToggleStroke.Color = Color3.fromRGB(0, 160, 255)
local ToggleGlow = Instance.new("ImageLabel", ToggleButton)
ToggleGlow.Name = "Glow"
ToggleGlow.BackgroundTransparency = 1
ToggleGlow.Position = UDim2.new(0, -15, 0, -15)
ToggleGlow.Size = UDim2.new(1, 30, 1, 30)
ToggleGlow.Image = "rbxassetid://6014261993"
ToggleGlow.ImageColor3 = Color3.fromRGB(0, 160, 255)
ToggleGlow.ImageTransparency = 0.7
ToggleGlow.ZIndex = ToggleButton.ZIndex - 1
-- メインフレーム(高級感のあるホワイト・ガラスモーフィズム)
local MainFrame = Instance.new("Frame")
MainFrame.Name = "MainFrame"
MainFrame.Parent = ScreenGui
MainFrame.BackgroundColor3 = Color3.fromRGB(245, 247, 252)
MainFrame.BackgroundTransparency = 0.1
MainFrame.Position = UDim2.new(0.5, -190, 0.5, -220)
MainFrame.Size = UDim2.new(0, 380, 0, 440)
MainFrame.Visible = false
MainFrame.Active = true
MainFrame.Draggable = true
local MainCorner = Instance.new("UICorner", MainFrame)
MainCorner.CornerRadius = UDim.new(0, 18)
local MainStroke = Instance.new("UIStroke", MainFrame)
MainStroke.Thickness = 2
MainStroke.Color = Color3.fromRGB(0, 160, 255)
-- グラデーション背景演出(ホワイトトーン)
local MainGradient = Instance.new("UIGradient", MainFrame)
MainGradient.Color = ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)),
ColorSequenceKeypoint.new(1, Color3.fromRGB(230, 235, 245))
})
MainGradient.Rotation = 45
-- ヘッダー
local TitleLabel = Instance.new("TextLabel", MainFrame)
TitleLabel.BackgroundTransparency = 1
TitleLabel.Position = UDim2.new(0, 20, 0, 14)
TitleLabel.Size = UDim2.new(1, -40, 0, 30)
TitleLabel.Font = Enum.Font.GothamBold
TitleLabel.Text = "⚡ NEXUS CONTROL HUB"
TitleLabel.TextColor3 = Color3.fromRGB(20, 25, 35)
TitleLabel.TextSize = 15
TitleLabel.TextXAlignment = Enum.TextXAlignment.Left
local HeaderBar = Instance.new("Frame", MainFrame)
HeaderBar.BackgroundColor3 = Color3.fromRGB(0, 160, 255)
HeaderBar.Position = UDim2.new(0, 20, 0, 50)
HeaderBar.Size = UDim2.new(1, -40, 0, 2)
HeaderBar.BorderSizePixel = 0
-- スクロールエリア
local ScrollingFrame = Instance.new("ScrollingFrame", MainFrame)
ScrollingFrame.BackgroundTransparency = 1
ScrollingFrame.Position = UDim2.new(0, 14, 0, 62)
ScrollingFrame.Size = UDim2.new(1, -28, 1, -74)
ScrollingFrame.CanvasSize = UDim2.new(0, 0, 0, 3500)
ScrollingFrame.ScrollBarThickness = 3
ScrollingFrame.ScrollBarImageColor3 = Color3.fromRGB(0, 160, 255)
local UIListLayout = Instance.new("UIListLayout", ScrollingFrame)
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
UIListLayout.Padding = UDim.new(0, 10)
-- ホバーアニメーション付き共通トグル(白背景用)
local function createToggle(name, desc, callback)
local btn = Instance.new("TextButton", ScrollingFrame)
btn.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
btn.BackgroundTransparency = 0.4
btn.Size = UDim2.new(1, 0, 0, 46)
btn.Font = Enum.Font.GothamMedium
btn.Text = " " .. name .. " [ OFF ]"
btn.TextColor3 = Color3.fromRGB(80, 90, 110)
btn.TextSize = 13
btn.TextXAlignment = Enum.TextXAlignment.Left
local corner = Instance.new("UICorner", btn)
corner.CornerRadius = UDim.new(0, 12)
local stroke = Instance.new("UIStroke", btn)
stroke.Thickness = 1
stroke.Color = Color3.fromRGB(210, 220, 235)
local enabled = false
btn.MouseButton1Click:Connect(function()
enabled = not enabled
local tweenInfo = TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
if enabled then
btn.Text = " " .. name .. " [ ON ]"
TweenService:Create(btn, tweenInfo, {BackgroundColor3 = Color3.fromRGB(220, 240, 255)}):Play()
stroke.Color = Color3.fromRGB(0, 160, 255)
btn.TextColor3 = Color3.fromRGB(10, 30, 60)
else
btn.Text = " " .. name .. " [ OFF ]"
TweenService:Create(btn, tweenInfo, {BackgroundColor3 = Color3.fromRGB(255, 255, 255)}):Play()
stroke.Color = Color3.fromRGB(210, 220, 235)
btn.TextColor3 = Color3.fromRGB(80, 90, 110)
end
callback(enabled)
end)
end
-- 共通ボタン
local function createButton(name, desc, callback)
local btn = Instance.new("TextButton", ScrollingFrame)
btn.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
btn.BackgroundTransparency = 0.4
btn.Size = UDim2.new(1, 0, 0, 46)
btn.Font = Enum.Font.GothamMedium
btn.Text = " ✨ " .. name
btn.TextColor3 = Color3.fromRGB(50, 60, 80)
btn.TextSize = 13
btn.TextXAlignment = Enum.TextXAlignment.Left
local corner = Instance.new("UICorner", btn)
corner.CornerRadius = UDim.new(0, 12)
local stroke = Instance.new("UIStroke", btn)
stroke.Thickness = 1
stroke.Color = Color3.fromRGB(210, 220, 235)
btn.MouseButton1Click:Connect(function()
callback()
end)
end
-- スライダー
local function createSlider(label, minVal, maxVal, defaultVal)
local container = Instance.new("Frame", ScrollingFrame)
container.BackgroundTransparency = 1
container.Size = UDim2.new(1, 0, 0, 62)
local lbl = Instance.new("TextLabel", container)
lbl.Size = UDim2.new(1, 0, 0, 22)
lbl.BackgroundTransparency = 1
lbl.Text = " " .. label .. ": " .. defaultVal
lbl.TextColor3 = Color3.fromRGB(80, 90, 110)
lbl.TextSize = 13
lbl.Font = Enum.Font.GothamMedium
lbl.TextXAlignment = Enum.TextXAlignment.Left
local sld = Instance.new("TextBox", container)
sld.Size = UDim2.new(1, 0, 0, 34)
sld.Position = UDim2.new(0, 0, 0, 24)
sld.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
sld.BackgroundTransparency = 0.4
sld.TextColor3 = Color3.fromRGB(0, 120, 220)
sld.Text = tostring(defaultVal)
sld.Font = Enum.Font.GothamBold
sld.TextSize = 13
sld.BorderSizePixel = 0
local corner = Instance.new("UICorner", sld)
corner.CornerRadius = UDim.new(0, 10)
local stroke = Instance.new("UIStroke", sld)
stroke.Thickness = 1
stroke.Color = Color3.fromRGB(210, 220, 235)
sld.FocusLost:Connect(function()
local num = tonumber(sld.Text)
if num then
num = math.clamp(num, minVal, maxVal)
sld.Text = tostring(num)
lbl.Text = " " .. label .. ": " .. num
end
end)
return {
GetValue = function()
local num = tonumber(sld.Text)
return num or defaultVal
end
}
end
-- アクセントカラーアニメーション
RunService.RenderStepped:Connect(function()
local hue = (tick() * 0.1) % 1
local accentColor = Color3.fromHSV(hue, 0.7, 0.9)
ToggleStroke.Color = accentColor
ToggleGlow.ImageColor3 = accentColor
MainStroke.Color = accentColor
HeaderBar.BackgroundColor3 = accentColor
end)
local menuOpen = false
ToggleButton.MouseButton1Click:Connect(function()
menuOpen = not menuOpen
MainFrame.Visible = menuOpen
end)
-- ---------------------------------------------------
-- ホワイトリスト設定メニューの実装
-- ---------------------------------------------------
createToggle("フレンド自動除外", "フレンド登録されているプレイヤーを自動的に攻撃・追尾対象から外す", function(state)
autoExcludeFriends = state
end)
local WhitelistFrame = Instance.new("Frame", ScreenGui)
WhitelistFrame.Name = "WhitelistFrame"
WhitelistFrame.BackgroundColor3 = Color3.fromRGB(245, 247, 252)
WhitelistFrame.BackgroundTransparency = 0.1
WhitelistFrame.Position = UDim2.new(0.5, -140, 0.5, -160)
WhitelistFrame.Size = UDim2.new(0, 280, 0, 320)
WhitelistFrame.Visible = false
WhitelistFrame.Active = true
WhitelistFrame.Draggable = true
Instance.new("UICorner", WhitelistFrame).CornerRadius = UDim.new(0, 16)
local wListStroke = Instance.new("UIStroke", WhitelistFrame)
wListStroke.Thickness = 2
wListStroke.Color = Color3.fromRGB(0, 160, 255)
local WhitelistTitle = Instance.new("TextLabel", WhitelistFrame)
WhitelistTitle.BackgroundTransparency = 1
WhitelistTitle.Position = UDim2.new(0, 18, 0, 12)
WhitelistTitle.Size = UDim2.new(1, -36, 0, 30)
WhitelistTitle.Font = Enum.Font.GothamBold
WhitelistTitle.Text = "🛡️ ホワイトリスト管理 (個別選択)"
WhitelistTitle.TextColor3 = Color3.fromRGB(20, 25, 35)
WhitelistTitle.TextSize = 13
local WhitelistScroll = Instance.new("ScrollingFrame", WhitelistFrame)
WhitelistScroll.BackgroundTransparency = 1
WhitelistScroll.Position = UDim2.new(0, 14, 0, 50)
WhitelistScroll.Size = UDim2.new(1, -28, 1, -60)
WhitelistScroll.CanvasSize = UDim2.new(0, 0, 0, 0)
WhitelistScroll.ScrollBarThickness = 3
WhitelistScroll.ScrollBarImageColor3 = Color3.fromRGB(0, 160, 255)
local WhitelistLayout = Instance.new("UIListLayout", WhitelistScroll)
WhitelistLayout.SortOrder = Enum.SortOrder.LayoutOrder
WhitelistLayout.Padding = UDim.new(0, 6)
local openWhitelistBtn = Instance.new("TextButton", ScrollingFrame)
openWhitelistBtn.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
openWhitelistBtn.BackgroundTransparency = 0.4
openWhitelistBtn.Size = UDim2.new(1, 0, 0, 46)
openWhitelistBtn.Font = Enum.Font.GothamMedium
openWhitelistBtn.Text = " 🛡️ ホワイトリスト設定を開く"
openWhitelistBtn.TextColor3 = Color3.fromRGB(50, 60, 80)
openWhitelistBtn.TextSize = 13
openWhitelistBtn.TextXAlignment = Enum.TextXAlignment.Left
Instance.new("UICorner", openWhitelistBtn).CornerRadius = UDim.new(0, 12)
local owStroke = Instance.new("UIStroke", openWhitelistBtn)
owStroke.Thickness = 1
owStroke.Color = Color3.fromRGB(210, 220, 235)
local function openWhitelistManager()
for _, child in pairs(WhitelistScroll:GetChildren()) do
if child:IsA("TextButton") then child:Destroy() end
end
local players = Players:GetPlayers()
WhitelistScroll.CanvasSize = UDim2.new(0, 0, 0, #players * 42)
for _, p in pairs(players) do
if p ~= LocalPlayer then
local pBtn = Instance.new("TextButton", WhitelistScroll)
pBtn.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
pBtn.BackgroundTransparency = 0.4
pBtn.Size = UDim2.new(1, 0, 0, 38)
pBtn.Font = Enum.Font.GothamMedium
local statusText = Whitelist[p.Name] and " [ 除外中 / ON ]" or " [ 対象 / OFF ]"
pBtn.Text = " 👤 " .. p.Name .. statusText
pBtn.TextColor3 = Whitelist[p.Name] and Color3.fromRGB(0, 120, 220) or Color3.fromRGB(50, 60, 80)
pBtn.TextSize = 13
pBtn.TextXAlignment = Enum.TextXAlignment.Left
Instance.new("UICorner", pBtn).CornerRadius = UDim.new(0, 10)
local pBtnStroke = Instance.new("UIStroke", pBtn)
pBtnStroke.Thickness = 1
pBtnStroke.Color = Whitelist[p.Name] and Color3.fromRGB(0, 160, 255) or Color3.fromRGB(210, 220, 235)
pBtn.MouseButton1Click:Connect(function()
if Whitelist[p.Name] then
Whitelist[p.Name] = nil
pBtn.Text = " 👤 " .. p.Name .. " [ 対象 / OFF ]"
pBtn.TextColor3 = Color3.fromRGB(50, 60, 80)
pBtnStroke.Color = Color3.fromRGB(210, 220, 235)
else
Whitelist[p.Name] = true
pBtn.Text = " 👤 " .. p.Name .. " [ 除外中 / ON ]"
pBtn.TextColor3 = Color3.fromRGB(0, 120, 220)
pBtnStroke.Color = Color3.fromRGB(0, 160, 255)
end
end)
end
end
WhitelistFrame.Visible = not WhitelistFrame.Visible
end
openWhitelistBtn.MouseButton1Click:Connect(openWhitelistManager)
-- ---------------------------------------------------
-- 各種機能の実装
-- ---------------------------------------------------
-- Fullbright (夜でも明るくなる機能)
local fullbrightEnabled = false
local originalClockTime = Lighting.ClockTime
local originalBrightness = Lighting.Brightness
local originalAmbient = Lighting.Ambient
local originalOutdoorAmbient = Lighting.OutdoorAmbient
local fullbrightConn = nil
createToggle("Fullbright (夜でも明るくする)", "暗い場所や夜間でも視界を常に明るく保つ", function(state)
fullbrightEnabled = state
if state then
originalClockTime = Lighting.ClockTime
originalBrightness = Lighting.Brightness
originalAmbient = Lighting.Ambient
originalOutdoorAmbient = Lighting.OutdoorAmbient
Lighting.ClockTime = 14
Lighting.Brightness = 2
Lighting.Ambient = Color3.fromRGB(200, 200, 200)
Lighting.OutdoorAmbient = Color3.fromRGB(200, 200, 200)
fullbrightConn = RunService.RenderStepped:Connect(function()
if fullbrightEnabled then
Lighting.ClockTime = 14
Lighting.Brightness = 2
Lighting.Ambient = Color3.fromRGB(200, 200, 200)
Lighting.OutdoorAmbient = Color3.fromRGB(200, 200, 200)
end
end)
else
if fullbrightConn then
fullbrightConn:Disconnect()
fullbrightConn = nil
end
Lighting.ClockTime = originalClockTime
Lighting.Brightness = originalBrightness
Lighting.Ambient = originalAmbient
Lighting.OutdoorAmbient = originalOutdoorAmbient
end
end)
-- 1. God Mode
local godModeEnabled = false
local addedConn = nil
createToggle("God Mode (物理接触・ダメージ完全無効)", "危険・ダメージパーツの接触判定を無効化", function(state)
godModeEnabled = state
local function processPart(obj)
if obj:IsA("BasePart") then
local lname = string.lower(obj.Name)
local parentName = obj.Parent and string.lower(obj.Parent.Name) or ""
if string.find(lname, "lava") or string.find(lname, "kill") or string.find(lname, "hurt") or string.find(lname, "death") or string.find(lname, "danger") or string.find(lname, "damage") or string.find(lname, "trap") or string.find(parentName, "lava") or string.find(parentName, "kill") or obj:FindFirstChildOfClass("Script") or obj:FindFirstChildOfClass("LocalScript") then
obj.CanTouch = not state
if state then
for _, child in pairs(obj:GetChildren()) do
if child.ClassName == "TouchTransmitter" then
child:Destroy()
end
end
end
end
end
end
if state then
for _, obj in pairs(Workspace:GetDescendants()) do
processPart(obj)
end
addedConn = Workspace.DescendantAdded:Connect(function(obj)
if godModeEnabled then
task.defer(function() processPart(obj) end)
end
end)
else
if addedConn then
addedConn:Destroy()
addedConn = nil
end
end
end)
-- 2. Noclip
local noclipEnabled = false
local noclipConn = nil
createToggle("Noclip (壁貫通)", "壁をすり抜ける", function(state)
noclipEnabled = state
if state then
noclipConn = RunService.Stepped:Connect(function()
if LocalPlayer.Character then
for _, part in pairs(LocalPlayer.Character:GetDescendants()) do
if part:IsA("BasePart") then part.CanCollide = false end
end
end
end)
else
if noclipConn then noclipConn:Disconnect() end
end
end)
-- 3. Air Walk
local airWalkEnabled = false
local airPart = nil
local airConn = nil
createToggle("Air Walk (空中歩行)", "空中を歩く", function(state)
airWalkEnabled = state
if state then
airPart = Instance.new("Part")
airPart.Size = Vector3.new(6, 1, 6)
airPart.Transparency = 1
airPart.Anchored = true
airPart.Parent = Workspace
airConn = RunService.RenderStepped:Connect(function()
local char = LocalPlayer.Character
if char and char:FindFirstChild("HumanoidRootPart") and airPart then
airPart.CFrame = char.HumanoidRootPart.CFrame - Vector3.new(0, 3.5, 0)
end
end)
else
if airConn then airConn:Disconnect() end
if airPart then airPart:Destroy() end
end
end)
-- 4. Infinity Jump
local infJumpEnabled = false
createToggle("Infinity Jump (3回制限完全バイパス)", "ジャンプ回数の上限値をリセット", function(state)
infJumpEnabled = state
end)
UserInputService.JumpRequest:Connect(function()
if infJumpEnabled then
local character = LocalPlayer.Character
if character then
local rootPart = character:FindFirstChild("HumanoidRootPart")
local humanoid = character:FindFirstChildOfClass("Humanoid")
if rootPart and humanoid then
local currentVel = rootPart.AssemblyLinearVelocity
rootPart.AssemblyLinearVelocity = Vector3.new(currentVel.X, 50, currentVel.Z)
end
end
end
end)
-- 5. Anti-Slap
local antiSlapEnabled = false
local antiSlapConn = nil
createToggle("Anti-Slap (完全吹き飛ばし防止)", "スラップによる吹っ飛びを防ぐ", function(state)
antiSlapEnabled = state
local lastValidCFrame = nil
local function setupAntiSlap(char)
local root = char:WaitForChild("HumanoidRootPart", 5)
if not root then return end
lastValidCFrame = root.CFrame
if antiSlapConn then antiSlapConn:Disconnect() end
antiSlapConn = RunService.Heartbeat:Connect(function()
if not antiSlapEnabled or not char or not char.Parent or not root.Parent then return end
if not exerciseEnabled and not followEnabled then
local currentVel = root.AssemblyLinearVelocity
if math.abs(currentVel.X) > 30 or math.abs(currentVel.Z) > 30 or currentVel.Y > 50 then
root.AssemblyLinearVelocity = Vector3.new(0, 0, 0)
root.AssemblyAngularVelocity = Vector3.new(0, 0, 0)
if lastValidCFrame then
root.CFrame = lastValidCFrame
end
else
lastValidCFrame = root.CFrame
end
end
end)
end
if state then
if LocalPlayer.Character then setupAntiSlap(LocalPlayer.Character) end
LocalPlayer.CharacterAdded:Connect(setupAntiSlap)
else
if antiSlapConn then antiSlapConn:Disconnect() antiSlapConn = nil end
end
end)
-- 6. Strong Pull
local autoPullEnabled = false
local pullConn = nil
local trackedBodyPositions = {}
createToggle("Strong Pull (パーツ引き寄せ)", "パーツを手元へ引き寄せ", function(state)
autoPullEnabled = state
if state then
pullConn = RunService.Heartbeat:Connect(function()
local char = LocalPlayer.Character
if not char or not char:FindFirstChild("HumanoidRootPart") then return end
local root = char.HumanoidRootPart
local targetPos = root.Position + (root.CFrame.LookVector * 3) + Vector3.new(0, 1, 0)
for _, obj in pairs(Workspace:GetDescendants()) do
if obj:IsA("BasePart") and not obj.Anchored and not obj:IsDescendantOf(char) then
local ancestorModel = obj:FindFirstAncestorOfClass("Model")
local isPlayerPart = false
if ancestorModel then
local _, p = pcall(function()
for _, pl in pairs(Players:GetPlayers()) do
if pl.Character == ancestorModel then return true end
end
end)
if p then isPlayerPart = true end
end
if not isPlayerPart then
local distance = (obj.Position - root.Position).Magnitude
if distance <= 50 then
obj.CanCollide = false
local bp = trackedBodyPositions[obj]
if not bp or bp.Parent ~= obj then
bp = Instance.new("BodyPosition")
bp.Name = "StrongPullForce"
bp.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
bp.P = 20000
bp.D = 600
bp.Position = targetPos
bp.Parent = obj
trackedBodyPositions[obj] = bp
else
bp.Position = targetPos
end
else
if trackedBodyPositions[obj] then
trackedBodyPositions[obj]:Destroy()
trackedBodyPositions[obj] = nil
obj.CanCollide = true
end
end
end
end
end
end)
else
if pullConn then pullConn:Disconnect() end
for obj, bp in pairs(trackedBodyPositions) do
if bp then bp:Destroy() end
if obj and obj.Parent then obj.CanCollide = true end
end
table.clear(trackedBodyPositions)
end
end)
-- オーラモード・高速連射機能
local auraActive = false
local auraConnection = nil
local auraParts = {}
createToggle("オーラモード (範囲内弱めスラップ)", "周囲にエフェクトと弱めスラップを展開", function(state)
auraActive = state
if state then
local AURA_RADIUS = 8
local AURA_INTERVAL = 0.5
local function createAuraRing()
local ring = Instance.new("Part")
ring.Name = "AuraRing"
ring.Shape = Enum.PartType.Cylinder
ring.Size = Vector3.new(AURA_RADIUS * 2, 0.3, AURA_RADIUS * 2)
ring.Anchored = true
ring.CanCollide = false
ring.Transparency = 0.6
ring.Color = Color3.fromRGB(0, 160, 255)
ring.Material = Enum.Material.Neon
ring.Parent = Workspace
table.insert(auraParts, ring)
return ring
end
local lastSlashTime = 0
auraConnection = RunService.Heartbeat:Connect(function()
local char = LocalPlayer.Character
if not char or not char:FindFirstChild("HumanoidRootPart") then return end
local myPos = char.HumanoidRootPart.Position
local now = tick()
for _, ring in ipairs(auraParts) do
if ring and ring.Parent then
ring.CFrame = CFrame.new(myPos)
ring.Transparency = 0.5 + math.sin(now * 3) * 0.2
end
end
if now - lastSlashTime >= AURA_INTERVAL and SlashRemote then
for _, target in ipairs(getValidTargets()) do
local tChar = target.Character
if tChar and tChar:FindFirstChild("Head") then
local dist = (tChar.Head.Position - myPos).Magnitude
if dist <= AURA_RADIUS then
pcall(function()
SlashRemote:FireServer("slash", tChar, tChar.Head.Position)
end)
end
end
end
lastSlashTime = now
end
end)
for _ = 1, 3 do createAuraRing() end
else
if auraConnection then
auraConnection:Disconnect()
auraConnection = nil
end
for _, part in ipairs(auraParts) do
if part and part.Parent then part:Destroy() end
end
auraParts = {}
end
end)
local SliderSpeed = createSlider("⚡ 1秒間の攻撃回数", 1, 100, 20)
local SliderDuration = createSlider("⏱️ 連射時間(秒)", 1, 999, 3)
local isFiring = false
local fireButtonRef = Instance.new("TextButton", ScrollingFrame)
fireButtonRef.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
fireButtonRef.BackgroundTransparency = 0.4
fireButtonRef.Size = UDim2.new(1, 0, 0, 46)
fireButtonRef.Font = Enum.Font.GothamMedium
fireButtonRef.Text = " 🔥 連射スタート"
fireButtonRef.TextColor3 = Color3.fromRGB(50, 60, 80)
fireButtonRef.TextSize = 13
fireButtonRef.TextXAlignment = Enum.TextXAlignment.Left
Instance.new("UICorner", fireButtonRef).CornerRadius = UDim.new(0, 12)
local fireStroke = Instance.new("UIStroke", fireButtonRef)
fireStroke.Thickness = 1
fireStroke.Color = Color3.fromRGB(210, 220, 235)
fireButtonRef.MouseButton1Click:Connect(function()
if not isFiring then
isFiring = true
local sps = SliderSpeed.GetValue()
local dur = SliderDuration.GetValue()
local interval = 1 / sps
local startTime = tick()
task.spawn(function()
while tick() - startTime < dur do
local remaining = math.ceil(dur - (tick() - startTime))
fireButtonRef.Text = " 🔥 連射中... [ 残り " .. remaining .. "秒 ]"
if SlashRemote then
for _, target in ipairs(getValidTargets()) do
local tChar = target.Character
if tChar and tChar:FindFirstChild("Head") then
pcall(function()
SlashRemote:FireServer("slash", tChar, tChar.Head.Position)
end)
end
end
end
task.wait(interval)
end
fireButtonRef.Text = " 🔥 連射スタート"
isFiring = false
end)
end
end)
exerciseEnabled = false
exerciseTime = 0
createToggle("運動 (3歩往復動作)", "その場で細かく3歩往復する動作", function(state)
exerciseEnabled = state
end)
createButton("Teleport to Start (スタート地点へ)", "最下部へテレポート", function()
local lowestY = 9999
local targetCFrame = nil
local char = LocalPlayer.Character
for _, part in pairs(Workspace:GetDescendants()) do
if part:IsA("BasePart") and not part:IsDescendantOf(char) and part.CanCollide then
if part.Position.Y < lowestY then
lowestY = part.Position.Y
targetCFrame = part.CFrame + Vector3.new(0, 10, 0)
end
end
end
if targetCFrame and char and char:FindFirstChild("HumanoidRootPart") then
char.HumanoidRootPart.CFrame = targetCFrame
char.HumanoidRootPart.AssemblyLinearVelocity = Vector3.new(0, 0, 0)
end
end)
createButton("Teleport to Top (ゴールへ)", "最上部へテレポート", function()
local highestY = -9999
local targetCFrame = nil
local char = LocalPlayer.Character
for _, part in pairs(Workspace:GetDescendants()) do
if part:IsA("BasePart") and not part:IsDescendantOf(char) and part.CanCollide then
if part.Position.Y > highestY then
highestY = part.Position.Y
targetCFrame = part.CFrame + Vector3.new(0, 4, 0)
end
end
end
if targetCFrame and char and char:FindFirstChild("HumanoidRootPart") then
char.HumanoidRootPart.CFrame = targetCFrame
char.HumanoidRootPart.AssemblyLinearVelocity = Vector3.new(0, 0, 0)
end
end)
-- ---------------------------------------------------
-- プレイヤー追尾・ターゲット選択
-- ---------------------------------------------------
local selectedTarget = nil
followEnabled = false
local SelectorFrame = Instance.new("Frame", ScreenGui)
SelectorFrame.Name = "SelectorFrame"
SelectorFrame.BackgroundColor3 = Color3.fromRGB(245, 247, 252)
SelectorFrame.BackgroundTransparency = 0.1
SelectorFrame.Position = UDim2.new(0.5, -140, 0.5, -160)
SelectorFrame.Size = UDim2.new(0, 280, 0, 320)
SelectorFrame.Visible = false
SelectorFrame.Active = true
SelectorFrame.Draggable = true
Instance.new("UICorner", SelectorFrame).CornerRadius = UDim.new(0, 16)
local selStroke = Instance.new("UIStroke", SelectorFrame)
selStroke.Thickness = 2
selStroke.Color = Color3.fromRGB(0, 160, 255)
local SelectorTitle = Instance.new("TextLabel", SelectorFrame)
SelectorTitle.BackgroundTransparency = 1
SelectorTitle.Position = UDim2.new(0, 18, 0, 12)
SelectorTitle.Size = UDim2.new(1, -36, 0, 30)
SelectorTitle.Font = Enum.Font.GothamBold
SelectorTitle.Text = "🎯 ターゲットを選択"
SelectorTitle.TextColor3 = Color3.fromRGB(20, 25, 35)
SelectorTitle.TextSize = 14
local SelectorScroll = Instance.new("ScrollingFrame", SelectorFrame)
SelectorScroll.BackgroundTransparency = 1
SelectorScroll.Position = UDim2.new(0, 14, 0, 50)
SelectorScroll.Size = UDim2.new(1, -28, 1, -60)
SelectorScroll.CanvasSize = UDim2.new(0, 0, 0, 0)
SelectorScroll.ScrollBarThickness = 3
SelectorScroll.ScrollBarImageColor3 = Color3.fromRGB(0, 160, 255)
local SelectorLayout = Instance.new("UIListLayout", SelectorScroll)
SelectorLayout.SortOrder = Enum.SortOrder.LayoutOrder
SelectorLayout.Padding = UDim.new(0, 6)
local targetSelectButton = Instance.new("TextButton", ScrollingFrame)
targetSelectButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
targetSelectButton.BackgroundTransparency = 0.4
targetSelectButton.Size = UDim2.new(1, 0, 0, 46)
targetSelectButton.Font = Enum.Font.GothamMedium
targetSelectButton.Text = " Target: [ タップして選択 ]"
targetSelectButton.TextColor3 = Color3.fromRGB(50, 60, 80)
targetSelectButton.TextSize = 13
targetSelectButton.TextXAlignment = Enum.TextXAlignment.Left
Instance.new("UICorner", targetSelectButton).CornerRadius = UDim.new(0, 12)
local tSelStroke = Instance.new("UIStroke", targetSelectButton)
tSelStroke.Thickness = 1
tSelStroke.Color = Color3.fromRGB(210, 220, 235)
local function openPlayerSelector()
for _, child in pairs(SelectorScroll:GetChildren()) do
if child:IsA("TextButton") then child:Destroy() end
end
local players = Players:GetPlayers()
SelectorScroll.CanvasSize = UDim2.new(0, 0, 0, #players * 42)
for _, p in pairs(players) do
if p ~= LocalPlayer then
local pBtn = Instance.new("TextButton", SelectorScroll)
pBtn.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
pBtn.BackgroundTransparency = 0.4
pBtn.Size = UDim2.new(1, 0, 0, 38)
pBtn.Font = Enum.Font.GothamMedium
pBtn.Text = " 👤 " .. p.Name
pBtn.TextColor3 = Color3.fromRGB(50, 60, 80)
pBtn.TextSize = 13
pBtn.TextXAlignment = Enum.TextXAlignment.Left
Instance.new("UICorner", pBtn).CornerRadius = UDim.new(0, 10)
local pBtnStroke = Instance.new("UIStroke", pBtn)
pBtnStroke.Thickness = 1
pBtnStroke.Color = Color3.fromRGB(210, 220, 235)
pBtn.MouseButton1Click:Connect(function()
selectedTarget = p.Name
targetSelectButton.Text = " Target: " .. selectedTarget
SelectorFrame.Visible = false
end)
end
end
SelectorFrame.Visible = not SelectorFrame.Visible
end
targetSelectButton.MouseButton1Click:Connect(openPlayerSelector)
local followButton = Instance.new("TextButton", ScrollingFrame)
followButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
followButton.BackgroundTransparency = 0.4
followButton.Size = UDim2.new(1, 0, 0, 46)
followButton.Font = Enum.Font.GothamMedium
followButton.Text = " Player Follow (追尾) [ OFF ]"
followButton.TextColor3 = Color3.fromRGB(80, 90, 110)
followButton.TextSize = 13
followButton.TextXAlignment = Enum.TextXAlignment.Left
local fCorner = Instance.new("UICorner", followButton)
fCorner.CornerRadius = UDim.new(0, 12)
local fStroke = Instance.new("UIStroke", followButton)
fStroke.Thickness = 1
fStroke.Color = Color3.fromRGB(210, 220, 235)
followButton.MouseButton1Click:Connect(function()
followEnabled = not followEnabled
local tweenInfo = TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
if followEnabled then
followButton.Text = " Player Follow (追尾) [ ON ]"
TweenService:Create(followButton, tweenInfo, {BackgroundColor3 = Color3.fromRGB(220, 240, 255)}):Play()
fStroke.Color = Color3.fromRGB(0, 160, 255)
followButton.TextColor3 = Color3.fromRGB(10, 30, 60)
else
followButton.Text = " Player Follow (追尾) [ OFF ]"
TweenService:Create(followButton, tweenInfo, {BackgroundColor3 = Color3.fromRGB(255, 255, 255)}):Play()
fStroke.Color = Color3.fromRGB(210, 220, 235)
followButton.TextColor3 = Color3.fromRGB(80, 90, 110)
end
end)
createButton("Teleport to Selected Player", "選択したプレイヤーへワープ", function()
if selectedTarget then
local targetP = Players:FindFirstChild(selectedTarget)
if targetP and targetP.Character and targetP.Character:FindFirstChild("HumanoidRootPart") then
local char = LocalPlayer.Character
if char and char:FindFirstChild("HumanoidRootPart") then
char.HumanoidRootPart.CFrame = targetP.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 2)
char.HumanoidRootPart.AssemblyLinearVelocity = Vector3.new(0, 0, 0)
end
end
end
end)
RunService.RenderStepped:Connect(function(dt)
local char = LocalPlayer.Character
if not char or not char:FindFirstChild("HumanoidRootPart") then return end
local root = char.HumanoidRootPart
local desiredCFrame = root.CFrame
if followEnabled and selectedTarget then
local targetP = Players:FindFirstChild(selectedTarget)
if targetP and targetP.Character and targetP.Character:FindFirstChild("HumanoidRootPart") then
desiredCFrame = targetP.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 2)
end
end
if exerciseEnabled then
exerciseTime = exerciseTime + (dt * 12)
local moveOffset = math.sin(exerciseTime) * 0.5
desiredCFrame = desiredCFrame + (desiredCFrame.LookVector * moveOffset)
end
if exerciseEnabled or followEnabled then
root.AssemblyLinearVelocity = Vector3.new(0, 0, 0)
root.CFrame = root.CFrame:Lerp(desiredCFrame, math.clamp(dt * 20, 0, 1))
end
end)
スラップオーラのソースコードありがとー笑笑盗んで参考にしますね笑