Mr_3242

Noodle vr fake vr

Mar 14th, 2026 (edited)
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.50 KB | Gaming | 0 0
  1. local Players = game:GetService("Players")
  2. local Workspace = game:GetService("Workspace")
  3. local RunService = game:GetService("RunService")
  4. local UserInputService = game:GetService("UserInputService")
  5.  
  6. local player = Players.LocalPlayer
  7. local character = player.Character or player.CharacterAdded:Wait()
  8. local humanoid = character:WaitForChild("Humanoid")
  9. local hrp = character:WaitForChild("HumanoidRootPart")
  10. local head = character:FindFirstChild("Head")
  11. local leftArm = character:FindFirstChild("Left Arm") or character:FindFirstChild("LeftHand")
  12. local rightArm = character:FindFirstChild("Right Arm") or character:FindFirstChild("RightHand")
  13.  
  14. local cam = Workspace.CurrentCamera
  15.  
  16. -- ====================
  17. -- Hide original character
  18. -- ====================
  19. for _, part in ipairs(character:GetDescendants()) do
  20.     if part:IsA("BasePart") then
  21.         part.Transparency = 1
  22.         part.CanCollide = false
  23.     elseif part:IsA("Accessory") and part:FindFirstChild("Handle") then
  24.         part.Handle.Transparency = 1
  25.         part.Handle.CanCollide = false
  26.     end
  27. end
  28.  
  29. -- ====================
  30. -- Clone random VR character
  31. -- ====================
  32. local vrCharacters = Workspace:WaitForChild("VrCharacters"):GetChildren()
  33. local randomVR = vrCharacters[math.random(1,#vrCharacters)]
  34. local vrClone = randomVR:Clone()
  35.  
  36. -- Remove GUI and Screen parts
  37. for _, name in ipairs({"NameGui","HealthGui","DevGui","Screen"}) do
  38.     local obj = vrClone:FindFirstChild(name)
  39.     if obj then obj:Destroy() end
  40. end
  41.  
  42. -- Disable collisions and anchoring
  43. for _, part in ipairs(vrClone:GetDescendants()) do
  44.     if part:IsA("BasePart") then
  45.         part.Anchored = true
  46.         part.CanCollide = false
  47.     elseif part:IsA("AlignPosition") or part:IsA("AlignOrientation") or part:IsA("Motor6D") then
  48.         part:Destroy()
  49.     end
  50. end
  51.  
  52. -- Move VR rig to humanoid position and parent
  53. if vrClone.PrimaryPart == nil then
  54.     vrClone.PrimaryPart = vrClone:FindFirstChildWhichIsA("BasePart")
  55. end
  56. vrClone:SetPrimaryPartCFrame(hrp.CFrame)
  57. vrClone.Parent = Workspace
  58.  
  59. -- Continuous follow of humanoid
  60. RunService.RenderStepped:Connect(function()
  61.     if vrClone.PrimaryPart then
  62.         vrClone:SetPrimaryPartCFrame(hrp.CFrame)
  63.     end
  64. end)
  65.  
  66. -- Attach Left/Right folders to arms visually
  67. local function attachFolderToArm(folder, arm, offset)
  68.     if folder and arm then
  69.         for _, part in ipairs(folder:GetDescendants()) do
  70.             if part:IsA("BasePart") then
  71.                 part.Anchored = false
  72.                 part.CanCollide = false
  73.                 RunService.RenderStepped:Connect(function()
  74.                     part.CFrame = arm.CFrame * CFrame.new(offset)
  75.                 end)
  76.             end
  77.         end
  78.     end
  79. end
  80.  
  81. attachFolderToArm(vrClone:FindFirstChild("Left"), leftArm, Vector3.new(0.5,0,0))
  82. attachFolderToArm(vrClone:FindFirstChild("Right"), rightArm, Vector3.new(-0.5,0,0))
  83.  
  84. -- Reparent Noodle1 and Noodle2 to Left/Right folders
  85. local leftFolder = vrClone:FindFirstChild("Left")
  86. local rightFolder = vrClone:FindFirstChild("Right")
  87.  
  88. local noodle1 = vrClone:FindFirstChild("Noodle1", true)
  89. local noodle2 = vrClone:FindFirstChild("Noodle2", true)
  90.  
  91. if noodle1 and leftFolder then
  92.     noodle1.Parent = leftFolder
  93. end
  94. if noodle2 and rightFolder then
  95.     noodle2.Parent = rightFolder
  96. end
  97.  
  98. -- Camera follows humanoid
  99. cam.CameraSubject = humanoid
  100. cam.CameraType = Enum.CameraType.Custom
  101.  
  102. -- ====================
  103. -- FLOAT GUI
  104. -- ====================
  105. local gui = Instance.new("ScreenGui")
  106. gui.Name = "VRFloatGUI"
  107. gui.ResetOnSpawn = false
  108. gui.Parent = player:WaitForChild("PlayerGui")
  109.  
  110. -- Outer purple border
  111. local border = Instance.new("Frame")
  112. border.Size = UDim2.new(0,220,0,120)
  113. border.Position = UDim2.new(0.5,-110,0.5,-60)
  114. border.BackgroundColor3 = Color3.fromRGB(160,0,200)
  115. border.BackgroundTransparency = 0.5
  116. border.BorderSizePixel = 0
  117. border.Parent = gui
  118.  
  119. -- Inner dark panel
  120. local panel = Instance.new("Frame")
  121. panel.Size = UDim2.new(1,-10,1,-10)
  122. panel.Position = UDim2.new(0,5,0,5)
  123. panel.BackgroundColor3 = Color3.fromRGB(30,30,30)
  124. panel.Parent = border
  125.  
  126. -- Top bar for dragging
  127. local topBar = Instance.new("Frame")
  128. topBar.Size = UDim2.new(1,0,0,25)
  129. topBar.BackgroundColor3 = Color3.fromRGB(120,0,160)
  130. topBar.Parent = panel
  131.  
  132. local title = Instance.new("TextLabel")
  133. title.Size = UDim2.new(1,0,1,0)
  134. title.BackgroundTransparency = 1
  135. title.Text = "VR Float GUI"
  136. title.TextScaled = true
  137. title.TextColor3 = Color3.new(1,1,1)
  138. title.Parent = topBar
  139.  
  140. -- Buttons
  141. local floatButton = Instance.new("TextButton")
  142. floatButton.Size = UDim2.new(0,200,0,35)
  143. floatButton.Position = UDim2.new(0,10,0,35)
  144. floatButton.Text = "Float: OFF"
  145. floatButton.TextScaled = true
  146. floatButton.BackgroundColor3 = Color3.fromRGB(255,0,0)
  147. floatButton.TextColor3 = Color3.new(1,1,1)
  148. floatButton.Parent = panel
  149.  
  150. local destroyButton = Instance.new("TextButton")
  151. destroyButton.Size = UDim2.new(0,200,0,35)
  152. destroyButton.Position = UDim2.new(0,10,0,75)
  153. destroyButton.Text = "Destroy GUI"
  154. destroyButton.TextScaled = true
  155. destroyButton.BackgroundColor3 = Color3.fromRGB(255,70,70)
  156. destroyButton.TextColor3 = Color3.new(1,1,1)
  157. destroyButton.Parent = panel
  158.  
  159. -- Drag functionality
  160. local dragEnabled = true
  161. local dragging = false
  162. local dragStart, startPos
  163.  
  164. topBar.InputBegan:Connect(function(input)
  165.     if (input.UserInputType==Enum.UserInputType.MouseButton1 or input.UserInputType==Enum.UserInputType.Touch) and dragEnabled then
  166.         dragging = true
  167.         dragStart = input.Position
  168.         startPos = border.Position
  169.         input.Changed:Connect(function()
  170.             if input.UserInputState==Enum.UserInputState.End then dragging=false end
  171.         end)
  172.     end
  173. end)
  174.  
  175. topBar.InputChanged:Connect(function(input)
  176.     if dragging and (input.UserInputType==Enum.UserInputType.MouseMovement or input.UserInputType==Enum.UserInputType.Touch) then
  177.         local delta = input.Position - dragStart
  178.         border.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset+delta.X, startPos.Y.Scale, startPos.Y.Offset+delta.Y)
  179.     end
  180. end)
  181.  
  182. -- Float functionality
  183. local floating = false
  184. local floatSpeed = 25
  185.  
  186. floatButton.MouseButton1Click:Connect(function()
  187.     floating = not floating
  188.     if floating then
  189.         floatButton.Text = "Float: ON"
  190.         floatButton.BackgroundColor3 = Color3.fromRGB(0,255,0)
  191.         humanoid.PlatformStand = true
  192.     else
  193.         floatButton.Text = "Float: OFF"
  194.         floatButton.BackgroundColor3 = Color3.fromRGB(255,0,0)
  195.         humanoid.PlatformStand = false
  196.         hrp.Velocity = Vector3.new(0,0,0)
  197.     end
  198. end)
  199.  
  200. RunService.RenderStepped:Connect(function()
  201.     if floating then
  202.         hrp.Velocity = cam.CFrame.LookVector * floatSpeed
  203.     end
  204. end)
  205.  
  206. -- Destroy GUI
  207. destroyButton.MouseButton1Click:Connect(function()
  208.     floating = false
  209.     humanoid.PlatformStand = false
  210.     gui:Destroy()
  211. end)
Tags: delta
Advertisement
Add Comment
Please, Sign In to add comment