local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local Workspace = game:GetService("Workspace") local Teams = game:GetService("Teams") local TweenService = game:GetService("TweenService") local CoreGui = game:GetService("CoreGui") local LocalPlayer = Players.LocalPlayer -- 既存UIの削除 if CoreGui:FindFirstChild("RivalsUltimate") then CoreGui.RivalsUltimate:Destroy() end local Settings = { ESP = true, Hitbox = true, Spin = false, HitboxSize = 25, SpinSpeed = 150, SavedPos = nil } -- --- 1. GUI構築 --- local MainGui = Instance.new("ScreenGui", CoreGui) MainGui.Name = "RivalsUltimate" local Frame = Instance.new("Frame", MainGui) Frame.Size = UDim2.new(0, 180, 0, 380) Frame.Position = UDim2.new(0, 20, 0.3, 0) Frame.BackgroundColor3 = Color3.fromRGB(10, 10, 10) Frame.BorderSizePixel = 2 Frame.Active = true Frame.Draggable = true Instance.new("UICorner", Frame) local Title = Instance.new("TextLabel", Frame) Title.Size = UDim2.new(1, 0, 0, 40) Title.Text = "Rivals VIP" Title.TextColor3 = Color3.new(1, 1, 1) Title.BackgroundTransparency = 1 Title.Font = Enum.Font.GothamBold local function CreateBtn(text, y, var, isToggle, callback) local b = Instance.new("TextButton", Frame) b.Size = UDim2.new(0, 160, 0, 35) b.Position = UDim2.new(0, 10, 0, y) b.BackgroundColor3 = Color3.fromRGB(40, 40, 40) b.TextColor3 = Color3.new(1, 1, 1) b.Text = text Instance.new("UICorner", b) b.MouseButton1Click:Connect(function() if isToggle then Settings[var] = not Settings[var] b.BackgroundColor3 = Settings[var] and Color3.fromRGB(200, 0, 100) or Color3.fromRGB(40, 40, 40) end if callback then callback() end end) end CreateBtn("ESP & Trace", 50, "ESP", true) CreateBtn("Big Hitbox", 95, "Hitbox", true) CreateBtn("XYZ Spinbot", 140, "Spin", true) CreateBtn("Save Position", 200, nil, false, function() if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then Settings.SavedPos = LocalPlayer.Character.HumanoidRootPart.CFrame end end) CreateBtn("TP to Saved", 245, nil, false, function() if Settings.SavedPos and LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then -- 瞬間移動すると弾かれることがあるので少し浮かせて移動 LocalPlayer.Character.HumanoidRootPart.CFrame = Settings.SavedPos + Vector3.new(0, 2, 0) end end) -- --- 2. 丸ESP (絶対出るUI方式) --- local Circle = Instance.new("Frame", MainGui) Circle.Size = UDim2.new(0, 200, 0, 200) Circle.Position = UDim2.new(0.5, 0, 0.5, 0) Circle.AnchorPoint = Vector2.new(0.5, 0.5) Circle.BackgroundTransparency = 1 local Stroke = Instance.new("UIStroke", Circle) Stroke.Thickness = 2 Instance.new("UICorner", Circle).CornerRadius = UDim.new(1, 0) -- --- 3. メインループ --- local angle = 0 RunService.RenderStepped:Connect(function() local rainbow = Color3.fromHSV(tick() % 5 / 5, 1, 1) Stroke.Color = rainbow Frame.BorderColor3 = rainbow -- ★ ぶっ飛ばないXYZスピン修正 if Settings.Spin and LocalPlayer.Character then local root = LocalPlayer.Character:FindFirstChild("HumanoidRootPart") local hum = LocalPlayer.Character:FindFirstChild("Humanoid") if root and hum then angle = angle + Settings.SpinSpeed -- 物理的な力を加えず、見た目の向き(CFrame)だけを上書き -- これにより地面との衝突判定を狂わせずに歩行可能 root.CFrame = CFrame.new(root.Position) * CFrame.Angles(math.rad(angle), math.rad(angle), math.rad(angle/2)) end end -- ESP & ヒットボックス local myRoot = LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") local myAtt = myRoot and (myRoot:FindFirstChild("X_Origin") or Instance.new("Attachment", myRoot)) if myAtt then myAtt.Name = "X_Origin" end for _, p in pairs(Players:GetPlayers()) do if p ~= LocalPlayer and p.Character then local eroot = p.Character:FindFirstChild("HumanoidRootPart") local ehead = p.Character:FindFirstChild("Head") if eroot and ehead and p.Team ~= LocalPlayer.Team then local folder = p.Character:FindFirstChild("X_Folder") or Instance.new("Folder", p.Character) folder.Name = "X_Folder" -- ヒットボックス if Settings.Hitbox then eroot.Size = Vector3.new(Settings.HitboxSize, Settings.HitboxSize, Settings.HitboxSize) eroot.Transparency = 0.8 eroot.Color = rainbow else eroot.Size = Vector3.new(2, 2, 1) eroot.Transparency = 1 end -- ESP 名前とビーム if Settings.ESP then local beam = folder:FindFirstChild("X_Beam") or Instance.new("Beam", folder) if myAtt then local tAtt = eroot:FindFirstChild("X_Target") or Instance.new("Attachment", eroot) tAtt.Name = "X_Target" beam.Attachment0 = myAtt beam.Attachment1 = tAtt beam.Color = ColorSequence.new(rainbow) beam.Width0, beam.Width1 = 0.5, 0.5 beam.Enabled = true end local tag = folder:FindFirstChild("X_Name") or Instance.new("BillboardGui", folder) tag.Adornee = ehead tag.AlwaysOnTop = true tag.Size = UDim2.new(0, 100, 0, 50) local txt = tag:FindFirstChild("T") or Instance.new("TextLabel", tag) txt.Size = UDim2.new(1, 0, 1, 0) txt.BackgroundTransparency = 1 txt.Text = p.Name txt.TextColor3 = rainbow txt.Font = Enum.Font.GothamBold else if p.Character:FindFirstChild("X_Folder") then p.Character.X_Folder:Destroy() end end end end end end)