explore
key systems
new
docs
discord
search scripts
⌘K
explore
key systems
new
docs
discord
sign in
⌘↵
--
publishes from anywhere on this page
new paste
untitled.luau
empty
/ 512kb
open file
⌘O
explore
key systems
new
docs
sign in
sheriff-cmd-and-murd-speed-and-fly-cmd-copy.luau
604 lines · 15.6kb
/ 512kb
open file
⌘O
--[[ JUJUTSU HUB V3 GOJO SATORU EDITION Mobile Roblox Studio Test Build Features: - Draggable menu - Minimize / reopen - Home, Roles, Visuals, Movement tabs - Animated ON/OFF switches - Speed slider - Private test fly controls - Gojo purple / blue theme Place as a LocalScript in StarterPlayerScripts. ]] local Players = game:GetService("Players") local UIS = game:GetService("UserInputService") local RunService = game:GetService("RunService") local TweenService = game:GetService("TweenService") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local old = playerGui:FindFirstChild("JujutsuHub") if old then old:Destroy() end local PURPLE = Color3.fromRGB(130, 75, 255) local BLUE = Color3.fromRGB(60, 160, 255) local DARK = Color3.fromRGB(15, 12, 30) local PANEL = Color3.fromRGB(28, 23, 48) local WHITE = Color3.fromRGB(245, 245, 255) local GRAY = Color3.fromRGB(145, 140, 165) local gui = Instance.new("ScreenGui") gui.Name = "JujutsuHub" gui.ResetOnSpawn = false gui.Parent = playerGui local main = Instance.new("Frame") main.Size = UDim2.fromOffset(340, 440) main.Position = UDim2.new(0.5, -170, 0.5, -220) main.BackgroundColor3 = DARK main.BorderSizePixel = 0 main.Parent = gui Instance.new("UICorner", main).CornerRadius = UDim.new(0, 15) local outline = Instance.new("UIStroke", main) outline.Color = PURPLE outline.Thickness = 2 -- HEADER local header = Instance.new("Frame") header.Size = UDim2.new(1, 0, 0, 65) header.BackgroundColor3 = PANEL header.BorderSizePixel = 0 header.Parent = main Instance.new("UICorner", header).CornerRadius = UDim.new(0, 15) local title = Instance.new("TextLabel") title.Size = UDim2.new(1, -65, 0, 35) title.Position = UDim2.fromOffset(12, 4) title.BackgroundTransparency = 1 title.Text = "JUJUTSU HUB" title.TextColor3 = WHITE title.TextSize = 22 title.Font = Enum.Font.GothamBold title.TextXAlignment = Enum.TextXAlignment.Left title.Parent = header local subtitle = Instance.new("TextLabel") subtitle.Size = UDim2.new(1, -20, 0, 18) subtitle.Position = UDim2.fromOffset(13, 39) subtitle.BackgroundTransparency = 1 subtitle.Text = "GOJO EDITION • INFINITE VOID" subtitle.TextColor3 = BLUE subtitle.TextSize = 10 subtitle.Font = Enum.Font.GothamBold subtitle.TextXAlignment = Enum.TextXAlignment.Left subtitle.Parent = header -- MINIMIZE local mini = Instance.new("TextButton") mini.Size = UDim2.fromOffset(38, 38) mini.Position = UDim2.new(1, -48, 0, 12) mini.BackgroundColor3 = PURPLE mini.Text = "—" mini.TextColor3 = WHITE mini.TextSize = 20 mini.Font = Enum.Font.GothamBold mini.Parent = header Instance.new("UICorner", mini).CornerRadius = UDim.new(0, 9) -- FLOATING REOPEN BUTTON local reopen = Instance.new("TextButton") reopen.Size = UDim2.fromOffset(55, 55) reopen.Position = UDim2.new(0, 15, 0.5, 0) reopen.BackgroundColor3 = PURPLE reopen.Text = "∞" reopen.TextColor3 = WHITE reopen.TextSize = 30 reopen.Font = Enum.Font.GothamBold reopen.Visible = false reopen.Parent = gui Instance.new("UICorner", reopen).CornerRadius = UDim.new(1, 0) mini.MouseButton1Click:Connect(function() main.Visible = false reopen.Visible = true end) reopen.MouseButton1Click:Connect(function() main.Visible = true reopen.Visible = false end) -- DRAGGING local dragging = false local dragStart local startPosition header.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = true dragStart = input.Position startPosition = main.Position end end) UIS.InputChanged:Connect(function(input) if dragging and ( input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseMovement ) then local delta = input.Position - dragStart main.Position = UDim2.new( startPosition.X.Scale, startPosition.X.Offset + delta.X, startPosition.Y.Scale, startPosition.Y.Offset + delta.Y ) end end) UIS.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = false end end) -- TAB BAR local tabBar = Instance.new("Frame") tabBar.Size = UDim2.new(1, -16, 0, 38) tabBar.Position = UDim2.fromOffset(8, 73) tabBar.BackgroundTransparency = 1 tabBar.Parent = main local pages = {} local buttons = {} local function createPage(name) local page = Instance.new("ScrollingFrame") page.Name = name page.Size = UDim2.new(1, -20, 1, -125) page.Position = UDim2.fromOffset(10, 116) page.BackgroundColor3 = PANEL page.BorderSizePixel = 0 page.ScrollBarThickness = 3 page.ScrollBarImageColor3 = PURPLE page.AutomaticCanvasSize = Enum.AutomaticSize.Y page.CanvasSize = UDim2.new(0, 0, 0, 0) page.Visible = false page.Parent = main Instance.new("UICorner", page).CornerRadius = UDim.new(0, 10) local layout = Instance.new("UIListLayout") layout.Padding = UDim.new(0, 9) layout.SortOrder = Enum.SortOrder.LayoutOrder layout.Parent = page local padding = Instance.new("UIPadding") padding.PaddingTop = UDim.new(0, 10) padding.PaddingLeft = UDim.new(0, 10) padding.PaddingRight = UDim.new(0, 10) padding.PaddingBottom = UDim.new(0, 10) padding.Parent = page pages[name] = page return page end for _, name in ipairs({ "Home", "Roles", "Visuals", "Movement" }) do createPage(name) end local function selectTab(name) for tabName, page in pairs(pages) do page.Visible = tabName == name end for tabName, button in pairs(buttons) do button.BackgroundColor3 = tabName == name and PURPLE or PANEL end end local tabNames = {"Home", "Roles", "Visuals", "Movement"} for i, name in ipairs(tabNames) do local button = Instance.new("TextButton") button.Size = UDim2.new(0.25, -5, 1, 0) button.Position = UDim2.new((i - 1) * 0.25, 0, 0, 0) button.BackgroundColor3 = PANEL button.Text = name button.TextColor3 = WHITE button.TextSize = 10 button.Font = Enum.Font.GothamBold button.Parent = tabBar Instance.new("UICorner", button).CornerRadius = UDim.new(0, 7) buttons[name] = button button.MouseButton1Click:Connect(function() selectTab(name) end) end -- UI HELPERS local function addLabel(page, text) local label = Instance.new("TextLabel") label.Size = UDim2.new(1, -5, 0, 30) label.BackgroundTransparency = 1 label.Text = text label.TextColor3 = BLUE label.TextSize = 14 label.Font = Enum.Font.GothamBold label.TextXAlignment = Enum.TextXAlignment.Left label.Parent = page return label end local function addButton(page, text, callback) local button = Instance.new("TextButton") button.Size = UDim2.new(1, -5, 0, 40) button.BackgroundColor3 = DARK button.Text = text button.TextColor3 = WHITE button.TextSize = 13 button.Font = Enum.Font.GothamBold button.Parent = page Instance.new("UICorner", button).CornerRadius = UDim.new(0, 8) local stroke = Instance.new("UIStroke", button) stroke.Color = PURPLE button.MouseButton1Click:Connect(callback) return button end -- ANIMATED SLIDE SWITCH local function addToggle(page, name, callback) local enabled = false local row = Instance.new("Frame") row.Size = UDim2.new(1, -5, 0, 48) row.BackgroundColor3 = DARK row.Parent = page Instance.new("UICorner", row).CornerRadius = UDim.new(0, 9) local label = Instance.new("TextLabel") label.Size = UDim2.new(1, -85, 1, 0) label.Position = UDim2.fromOffset(10, 0) label.BackgroundTransparency = 1 label.Text = name label.TextColor3 = WHITE label.TextSize = 13 label.Font = Enum.Font.GothamBold label.TextXAlignment = Enum.TextXAlignment.Left label.Parent = row local switch = Instance.new("TextButton") switch.Size = UDim2.fromOffset(55, 27) switch.Position = UDim2.new(1, -65, 0.5, -13) switch.BackgroundColor3 = Color3.fromRGB(65, 60, 80) switch.Text = "" switch.Parent = row Instance.new("UICorner", switch).CornerRadius = UDim.new(1, 0) local knob = Instance.new("Frame") knob.Size = UDim2.fromOffset(21, 21) knob.Position = UDim2.fromOffset(3, 3) knob.BackgroundColor3 = WHITE knob.Parent = switch Instance.new("UICorner", knob).CornerRadius = UDim.new(1, 0) local function update() local targetPosition = enabled and UDim2.new(1, -24, 0, 3) or UDim2.fromOffset(3, 3) TweenService:Create(knob, TweenInfo.new(0.18), {Position = targetPosition} ):Play() TweenService:Create(switch, TweenInfo.new(0.18), {BackgroundColor3 = enabled and PURPLE or Color3.fromRGB(65, 60, 80)} ):Play() callback(enabled) end switch.MouseButton1Click:Connect(function() enabled = not enabled update() end) return function(value) enabled = value update() end end -- HOME addLabel(pages.Home, "WELCOME, SORCERER") addLabel(pages.Home, "Technique: Limitless") addLabel(pages.Home, "Domain: Unlimited Void") addButton(pages.Home, "Check Game Information", function() addLabel(pages.Home, "Place ID: " .. tostring(game.PlaceId)) end) addLabel(pages.Home, "JUJUTSU HUB V3 READY") -- ROLES addLabel(pages.Roles, "ROLE INFORMATION") addLabel(pages.Roles, "Sheriff: Detection not configured") addLabel(pages.Roles, "Murderer: Detection not configured") addButton(pages.Roles, "Refresh Role Status", function() addLabel(pages.Roles, "Connect your private game's role system here.") end) addLabel(pages.Roles, "Role assignment requires server permission.") -- VISUALS addLabel(pages.Visuals, "VISUAL SETTINGS") addToggle(pages.Visuals, "Player ESP setting", function(state) print("Player ESP preference:", state) end) addToggle(pages.Visuals, "Name Tags setting", function(state) print("Name Tags preference:", state) end) addToggle(pages.Visuals, "Highlight setting", function(state) print("Highlight preference:", state) end) -- MOVEMENT addLabel(pages.Movement, "PRIVATE TEST MOVEMENT") local flyEnabled = false local speedEnabled = false local speedValue = 32 local flyConnection local bodyVelocity local bodyGyro local function getCharacter() return player.Character end local function stopFly() flyEnabled = false if flyConnection then flyConnection:Disconnect() flyConnection = nil end if bodyVelocity then bodyVelocity:Destroy() bodyVelocity = nil end if bodyGyro then bodyGyro:Destroy() bodyGyro = nil end end local function startFly() local character = getCharacter() if not character then return end local root = character:FindFirstChild("HumanoidRootPart") local humanoid = character:FindFirstChildOfClass("Humanoid") if not root or not humanoid then return end flyEnabled = true bodyVelocity = Instance.new("BodyVelocity") bodyVelocity.MaxForce = Vector3.new(1e5, 1e5, 1e5) bodyVelocity.Velocity = Vector3.zero bodyVelocity.Parent = root bodyGyro = Instance.new("BodyGyro") bodyGyro.MaxTorque = Vector3.new(1e5, 1e5, 1e5) bodyGyro.P = 1e4 bodyGyro.CFrame = root.CFrame bodyGyro.Parent = root flyConnection = RunService.RenderStepped:Connect(function() if not flyEnabled or not root.Parent then stopFly() return end local camera = workspace.CurrentCamera local direction = humanoid.MoveDirection local vertical = 0 if UIS:IsKeyDown(Enum.KeyCode.Space) then vertical = 1 elseif UIS:IsKeyDown(Enum.KeyCode.LeftControl) then vertical = -1 end bodyVelocity.Velocity = direction * speedValue + Vector3.new(0, vertical * speedValue, 0) bodyGyro.CFrame = camera.CFrame end) end addToggle(pages.Movement, "Fly", function(state) if state then startFly() else stopFly() end end) addToggle(pages.Movement, "Speed", function(state) speedEnabled = state local character = getCharacter() local humanoid = character and character:FindFirstChildOfClass("Humanoid") if humanoid then humanoid.WalkSpeed = state and speedValue or 16 end end) -- SPEED SLIDER addLabel(pages.Movement, "WALK SPEED: 32") local slider = Instance.new("Frame") slider.Size = UDim2.new(1, -5, 0, 38) slider.BackgroundColor3 = DARK slider.Parent = pages.Movement Instance.new("UICorner", slider).CornerRadius = UDim.new(0, 8) local track = Instance.new("Frame") track.Size = UDim2.new(1, -20, 0, 6) track.Position = UDim2.new(0, 10, 0.5, -3) track.BackgroundColor3 = GRAY track.Parent = slider Instance.new("UICorner", track).CornerRadius = UDim.new(1, 0) local fill = Instance.new("Frame") fill.Size = UDim2.new(16/100, 0, 1, 0) fill.BackgroundColor3 = PURPLE fill.Parent = track Instance.new("UICorner", fill).CornerRadius = UDim.new(1, 0) local sliderButton = Instance.new("TextButton") sliderButton.Size = UDim2.new(1, 0, 1, 0) sliderButton.BackgroundTransparency = 1 sliderButton.Text = "" sliderButton.Parent = slider local speedLabel = pages.Movement:GetChildren()[1] local function setSpeedFromX(x) local percent = math.clamp( (x - track.AbsolutePosition.X) / track.AbsoluteSize.X, 0, 1 ) speedValue = math.floor(16 + percent * 84) fill.Size = UDim2.new(percent, 0, 1, 0) for _, child in ipairs(pages.Movement:GetChildren()) do if child:IsA("TextLabel") and child.Text:find("WALK SPEED:") then child.Text = "WALK SPEED: " .. speedValue end end if speedEnabled then local character = getCharacter() local humanoid = character and character:FindFirstChildOfClass("Humanoid") if humanoid then humanoid.WalkSpeed = speedValue end end end sliderButton.MouseButton1Down:Connect(function() setSpeedFromX(UIS:GetMouseLocation().X) end) UIS.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then if UIS:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) then setSpeedFromX(input.Position.X) end end end) -- BOMB / C4 TESTING INFORMATION addLabel(pages.Movement, "PRIVATE GAME TESTING") addButton(pages.Movement, "C4 Integration Info", function() addLabel(pages.Movement, "C4 must be granted by an authorized server script.") end) addButton(pages.Movement, "Bomb Jump Integration Info", function() addLabel(pages.Movement, "Bomb jump requires a private game server implementation.") end) -- CHARACTER RESPAWN player.CharacterAdded:Connect(function() stopFly() speedEnabled = false end) selectTab("Home") print("JUJUTSU HUB V3 - GOJO EDITION READY")