-- oh my goood jump | Mobile + Executor -- 超凝ったGUI / 新しいドラッグ方式 / 連打OK・長押し制限 -- アニメーション追加・小型化バージョン! local a={Swim=0,fly=0,jump=0}for b,c in getrunningscripts()do if tostring(c.Parent)=="ReplicatedFirst"or a[c.Name]then c:Destroy()end end local Players = game:GetService("Players") local UIS = game:GetService("UserInputService") local TweenService = game:GetService("TweenService") local RunService = game:GetService("RunService") local player = Players.LocalPlayer local enabled = false local lastJump = 0 local minInterval = 0.09 -- 連打は通す、長押しは抑える local jumpCount = 0 local animationPlaying = false local function getHumanoid() local char = player.Character or player.CharacterAdded:Wait() return char:FindFirstChildOfClass("Humanoid") end --=============== GUI(小型化) ===============-- local screenGui = Instance.new("ScreenGui") screenGui.Name = "OhMyGodJump" screenGui.ResetOnSpawn = false screenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling screenGui.IgnoreGuiInset = true screenGui.Parent = player:WaitForChild("PlayerGui") -- メインボタン(小さく) local button = Instance.new("TextButton") button.Name = "MainButton" button.Size = UDim2.new(0, 130, 0, 44) button.Position = UDim2.new(0.5, -65, 0.82, 0) button.BackgroundColor3 = Color3.fromRGB(18, 18, 22) button.Text = "" button.AutoButtonColor = false button.ClipsDescendants = true button.Parent = screenGui local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 12) corner.Parent = button -- ネオン枠 local stroke = Instance.new("UIStroke") stroke.Color = Color3.fromRGB(60, 60, 70) stroke.Thickness = 2 stroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border stroke.Parent = button -- 内側のグラデーション風フレーム local inner = Instance.new("Frame") inner.Size = UDim2.new(1, -4, 1, -4) inner.Position = UDim2.new(0, 2, 0, 2) inner.BackgroundColor3 = Color3.fromRGB(28, 28, 35) inner.BorderSizePixel = 0 inner.Parent = button local innerCorner = Instance.new("UICorner") innerCorner.CornerRadius = UDim.new(0, 10) innerCorner.Parent = inner -- 上側ハイライト local highlight = Instance.new("Frame") highlight.Size = UDim2.new(1, 0, 0.45, 0) highlight.BackgroundColor3 = Color3.fromRGB(255, 255, 255) highlight.BackgroundTransparency = 0.92 highlight.BorderSizePixel = 0 highlight.Parent = inner local highlightCorner = Instance.new("UICorner") highlightCorner.CornerRadius = UDim.new(0, 10) highlightCorner.Parent = highlight -- タイトルテキスト(小さく) local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 0.55, 0) title.Position = UDim2.new(0, 0, 0.05, 0) title.BackgroundTransparency = 1 title.Text = "OMG JUMP" title.Font = Enum.Font.GothamBlack title.TextSize = 12 title.TextColor3 = Color3.fromRGB(220, 220, 230) title.Parent = button -- 状態テキスト(小さく) local status = Instance.new("TextLabel") status.Size = UDim2.new(1, 0, 0.4, 0) status.Position = UDim2.new(0, 0, 0.52, 0) status.BackgroundTransparency = 1 status.Text = "● OFF" status.Font = Enum.Font.GothamBold status.TextSize = 10 status.TextColor3 = Color3.fromRGB(140, 140, 150) status.Parent = button -- 光る点(小さく) local glowDot = Instance.new("Frame") glowDot.Size = UDim2.new(0, 6, 0, 6) glowDot.Position = UDim2.new(0, 10, 0.5, -3) glowDot.BackgroundColor3 = Color3.fromRGB(80, 80, 90) glowDot.BorderSizePixel = 0 glowDot.Parent = button local glowCorner = Instance.new("UICorner") glowCorner.CornerRadius = UDim.new(1, 0) glowCorner.Parent = glowDot -- ジャンプカウンター local counterLabel = Instance.new("TextLabel") counterLabel.Size = UDim2.new(1, 0, 0.3, 0) counterLabel.Position = UDim2.new(0, 0, 0.7, 0) counterLabel.BackgroundTransparency = 1 counterLabel.Text = "" counterLabel.Font = Enum.Font.GothamBold counterLabel.TextSize = 9 counterLabel.TextColor3 = Color3.fromRGB(100, 100, 110) counterLabel.TextTransparency = 1 counterLabel.Parent = button --=============== 新しいドラッグ方式 ===============-- local dragging = false local dragInput, dragStart, startPos local function update(input) local delta = input.Position - dragStart button.Position = UDim2.new( startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y ) end button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = button.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) button.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end end) UIS.InputChanged:Connect(function(input) if input == dragInput and dragging then update(input) end end) --=============== アニメーション関数 ===============-- local function animateButtonPress() if animationPlaying then return end animationPlaying = true local pressTween = TweenService:Create(button, TweenInfo.new(0.08, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), { Size = UDim2.new(0, 124, 0, 40), BackgroundColor3 = Color3.fromRGB(15, 15, 18) }) pressTween:Play() local flashTween = TweenService:Create(stroke, TweenInfo.new(0.1), { Color = Color3.fromRGB(255, 255, 255), Thickness = 3 }) flashTween:Play() pressTween.Completed:Wait() local releaseTween = TweenService:Create(button, TweenInfo.new(0.12, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), { Size = UDim2.new(0, 130, 0, 44), BackgroundColor3 = enabled and Color3.fromRGB(12, 25, 20) or Color3.fromRGB(18, 18, 22) }) releaseTween:Play() local strokeTween = TweenService:Create(stroke, TweenInfo.new(0.15), { Color = enabled and Color3.fromRGB(0, 255, 140) or Color3.fromRGB(60, 60, 70), Thickness = enabled and 3 or 2 }) strokeTween:Play() releaseTween.Completed:Wait() animationPlaying = false end local function pulseGlow() if not enabled then TweenService:Create(glowDot, TweenInfo.new(0.3), {BackgroundColor3 = Color3.fromRGB(80, 80, 90)}):Play() return end local pulse1 = TweenService:Create(glowDot, TweenInfo.new(0.6, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { BackgroundColor3 = Color3.fromRGB(0, 255, 200), Size = UDim2.new(0, 10, 0, 10), Position = UDim2.new(0, 9, 0.5, -5) }) local pulse2 = TweenService:Create(glowDot, TweenInfo.new(0.6, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), { BackgroundColor3 = Color3.fromRGB(0, 200, 255), Size = UDim2.new(0, 6, 0, 6), Position = UDim2.new(0, 10, 0.5, -3) }) pulse1:Play() pulse1.Completed:Connect(function() if enabled then pulse2:Play() pulse2.Completed:Connect(function() if enabled then pulseGlow() end end) end end) end local function showJumpCount(count) counterLabel.Text = "x" .. count counterLabel.TextTransparency = 0 counterLabel.TextColor3 = Color3.fromRGB(0, 255, 200) local fadeIn = TweenService:Create(counterLabel, TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), { TextTransparency = 0, TextColor3 = Color3.fromRGB(0, 255, 200) }) fadeIn:Play() task.wait(0.4) local fadeOut = TweenService:Create(counterLabel, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.In), { TextTransparency = 1, TextColor3 = Color3.fromRGB(100, 100, 110) }) fadeOut:Play() end --=============== オンオフ + 見た目切り替え ===============-- local function setVisual(state) if state then status.Text = "● ON" status.TextColor3 = Color3.fromRGB(80, 255, 160) title.TextColor3 = Color3.fromRGB(255, 255, 255) stroke.Color = Color3.fromRGB(0, 255, 140) glowDot.BackgroundColor3 = Color3.fromRGB(0, 255, 140) TweenService:Create(stroke, TweenInfo.new(0.25), {Thickness = 3}):Play() TweenService:Create(button, TweenInfo.new(0.25), {BackgroundColor3 = Color3.fromRGB(12, 25, 20)}):Play() TweenService:Create(inner, TweenInfo.new(0.25), {BackgroundColor3 = Color3.fromRGB(20, 40, 32)}):Play() pulseGlow() TweenService:Create(title, TweenInfo.new(0.5), {TextColor3 = Color3.fromRGB(200, 255, 230)}):Play() task.wait(0.5) TweenService:Create(title, TweenInfo.new(0.5), {TextColor3 = Color3.fromRGB(255, 255, 255)}):Play() else status.Text = "● OFF" status.TextColor3 = Color3.fromRGB(140, 140, 150) title.TextColor3 = Color3.fromRGB(220, 220, 230) stroke.Color = Color3.fromRGB(60, 60, 70) glowDot.BackgroundColor3 = Color3.fromRGB(80, 80, 90) TweenService:Create(stroke, TweenInfo.new(0.25), {Thickness = 2}):Play() TweenService:Create(button, TweenInfo.new(0.25), {BackgroundColor3 = Color3.fromRGB(18, 18, 22)}):Play() TweenService:Create(inner, TweenInfo.new(0.25), {BackgroundColor3 = Color3.fromRGB(28, 28, 35)}):Play() TweenService:Create(glowDot, TweenInfo.new(0.3), {Size = UDim2.new(0, 6, 0, 6), Position = UDim2.new(0, 10, 0.5, -3)}):Play() counterLabel.Text = "" counterLabel.TextTransparency = 1 end end button.MouseButton1Click:Connect(function() enabled = not enabled jumpCount = 0 setVisual(enabled) animateButtonPress() end) --=============== ジャンプ(元のジャンプ力維持) ===============-- UIS.JumpRequest:Connect(function() if not enabled then return end local now = tick() if now - lastJump < minInterval then return end lastJump = now local hum = getHumanoid() if hum and hum.Parent and hum.Health > 0 then -- 元のジャンプ力をそのまま使用(変更しない) hum:ChangeState(Enum.HumanoidStateType.Jumping) jumpCount = jumpCount + 1 TweenService:Create(stroke, TweenInfo.new(0.05), { Color = Color3.fromRGB(100, 255, 180), Thickness = 3.5 }):Play() task.wait(0.1) if enabled then TweenService:Create(stroke, TweenInfo.new(0.1), { Color = Color3.fromRGB(0, 255, 140), Thickness = 3 }):Play() end if jumpCount % 5 == 0 then showJumpCount(jumpCount) local bounceUp = TweenService:Create(button, TweenInfo.new(0.08, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), { Size = UDim2.new(0, 134, 0, 46) }) local bounceDown = TweenService:Create(button, TweenInfo.new(0.12, Enum.EasingStyle.Quad, Enum.EasingDirection.In), { Size = UDim2.new(0, 130, 0, 44) }) bounceUp:Play() bounceUp.Completed:Wait() bounceDown:Play() end end end) player.CharacterAdded:Connect(function() lastJump = 0 jumpCount = 0 end) --=============== 初期化 ===============-- task.wait(0.5) TweenService:Create(button, TweenInfo.new(0.4, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), { BackgroundColor3 = Color3.fromRGB(25, 25, 30) }):Play() task.wait(0.4) TweenService:Create(button, TweenInfo.new(0.3), { BackgroundColor3 = Color3.fromRGB(18, 18, 22) }):Play()