Advertisement
43Bullets

ragv2

Apr 16th, 2021
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 56.55 KB | None | 0 0
  1. --Scripted by 43Bullets aka ARedbidderr
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local Frame = Instance.new("Frame")
  5. local UICorner = Instance.new("UICorner")
  6. local TextLabel = Instance.new("TextLabel")
  7. local UICorner_2 = Instance.new("UICorner")
  8. local TextButton = Instance.new("TextButton")
  9. local UICorner_3 = Instance.new("UICorner")
  10. local TextButton_2 = Instance.new("TextButton")
  11. local UICorner_4 = Instance.new("UICorner")
  12. local VR = Instance.new("TextButton")
  13. local UICorner_5 = Instance.new("UICorner")
  14. local TextButton_3 = Instance.new("TextButton")
  15. local UICorner_6 = Instance.new("UICorner")
  16. local TextButton_4 = Instance.new("TextButton")
  17. local UICorner_7 = Instance.new("UICorner")
  18. local TextButton_5 = Instance.new("TextButton")
  19. local UICorner_8 = Instance.new("UICorner")
  20.  
  21. --2
  22.  
  23. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  24. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  25. ScreenGui.ResetOnSpawn = false
  26.  
  27. Frame.Parent = ScreenGui
  28. Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  29. Frame.Position = UDim2.new(0.0414129123, 0, 0.263671875, 0)
  30. Frame.Size = UDim2.new(0, 513, 0, 257)
  31.  
  32. UICorner.Parent = Frame
  33.  
  34. TextLabel.Parent = Frame
  35. TextLabel.BackgroundColor3 = Color3.fromRGB(121, 121, 121)
  36. TextLabel.Size = UDim2.new(0, 513, 0, 50)
  37. TextLabel.Font = Enum.Font.SourceSans
  38. TextLabel.Text = "Synxo's Ragdoll Engine GUI"
  39. TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
  40. TextLabel.TextSize = 25.000
  41.  
  42. UICorner_2.Parent = TextLabel
  43.  
  44. TextButton.Parent = Frame
  45. TextButton.BackgroundColor3 = Color3.fromRGB(211, 211, 211)
  46. TextButton.Position = UDim2.new(0.0175438598, 0, 0.252918273, 0)
  47. TextButton.Size = UDim2.new(0, 200, 0, 50)
  48. TextButton.AutoButtonColor = false
  49. TextButton.Font = Enum.Font.SourceSans
  50. TextButton.Text = "Vynixiu"
  51. TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  52. TextButton.TextSize = 20.000
  53.  
  54. UICorner_3.Parent = TextButton
  55.  
  56. TextButton_2.Parent = Frame
  57. TextButton_2.BackgroundColor3 = Color3.fromRGB(211, 211, 211)
  58. TextButton_2.Position = UDim2.new(0.569200754, 0, 0.252918273, 0)
  59. TextButton_2.Size = UDim2.new(0, 200, 0, 50)
  60. TextButton_2.AutoButtonColor = false
  61. TextButton_2.Font = Enum.Font.SourceSans
  62. TextButton_2.Text = "Tsuniox"
  63. TextButton_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  64. TextButton_2.TextSize = 20.000
  65.  
  66. UICorner_4.Parent = TextButton_2
  67.  
  68. VR.Name = "VR"
  69. VR.Parent = Frame
  70. VR.BackgroundColor3 = Color3.fromRGB(211, 211, 211)
  71. VR.Position = UDim2.new(0.0175438523, 0, 0.509727597, 0)
  72. VR.Size = UDim2.new(0, 200, 0, 50)
  73. VR.AutoButtonColor = false
  74. VR.Font = Enum.Font.SourceSans
  75. VR.Text = "VR"
  76. VR.TextColor3 = Color3.fromRGB(0, 0, 0)
  77. VR.TextSize = 25.000
  78.  
  79. UICorner_5.Parent = VR
  80.  
  81. TextButton_3.Parent = Frame
  82. TextButton_3.BackgroundColor3 = Color3.fromRGB(211, 211, 211)
  83. TextButton_3.Position = UDim2.new(0.569200754, 0, 0.509727597, 0)
  84. TextButton_3.Size = UDim2.new(0, 200, 0, 50)
  85. TextButton_3.AutoButtonColor = false
  86. TextButton_3.Font = Enum.Font.SourceSans
  87. TextButton_3.Text = "No Ragdoll"
  88. TextButton_3.TextColor3 = Color3.fromRGB(0, 0, 0)
  89. TextButton_3.TextSize = 20.000
  90.  
  91. UICorner_6.Parent = TextButton_3
  92.  
  93. TextButton_4.Parent = Frame
  94. TextButton_4.BackgroundColor3 = Color3.fromRGB(211, 211, 211)
  95. TextButton_4.Position = UDim2.new(0.0175438598, 0, 0.774319053, 0)
  96. TextButton_4.Size = UDim2.new(0, 200, 0, 50)
  97. TextButton_4.AutoButtonColor = false
  98. TextButton_4.Font = Enum.Font.SourceSans
  99. TextButton_4.Text = "Bruh Hub"
  100. TextButton_4.TextColor3 = Color3.fromRGB(0, 0, 0)
  101. TextButton_4.TextSize = 20.000
  102.  
  103. UICorner_7.Parent = TextButton_4
  104.  
  105. TextButton_5.Parent = Frame
  106. TextButton_5.BackgroundColor3 = Color3.fromRGB(211, 211, 211)
  107. TextButton_5.Position = UDim2.new(0.569200754, 0, 0.774319053, 0)
  108. TextButton_5.Size = UDim2.new(0, 200, 0, 50)
  109. TextButton_5.AutoButtonColor = false
  110. TextButton_5.Font = Enum.Font.SourceSans
  111. TextButton_5.Text = "GUI 1"
  112. TextButton_5.TextColor3 = Color3.fromRGB(0, 0, 0)
  113. TextButton_5.TextSize = 20.000
  114.  
  115. UICorner_8.Parent = TextButton_5
  116.  
  117. -- Scripts:
  118.  
  119. local function VTEM_fake_script() -- Frame.LocalScript
  120. local script = Instance.new('LocalScript', Frame)
  121.  
  122. while true do
  123. for a = 1,360,1 do
  124. wait(0.1)
  125. script.Parent.BackgroundColor3 = Color3.fromHSV(a/360,1,1)
  126. end
  127. end
  128.  
  129. end
  130. coroutine.wrap(VTEM_fake_script)()
  131. local function QTCOIH_fake_script() -- TextButton.LocalScript
  132. local script = Instance.new('LocalScript', TextButton)
  133.  
  134. while true do
  135. for a = 1,360,1 do
  136. wait(0.01)
  137. script.Parent.BackgroundColor3 = Color3.fromHSV(a/360,1,1)
  138. end
  139. end
  140.  
  141. end
  142. coroutine.wrap(QTCOIH_fake_script)()
  143. local function LQVP_fake_script() -- TextButton.Script
  144. local script = Instance.new('Script', TextButton)
  145.  
  146. script.Parent.MouseButton1Click:Connect(function()
  147. loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/Scripts/master/Vynixius%20Ragdoll%20Engine%20Loader"))()
  148. end)
  149. end
  150. coroutine.wrap(LQVP_fake_script)()
  151. local function NXEHB_fake_script() -- Frame.Dragify
  152. local script = Instance.new('LocalScript', Frame)
  153.  
  154. local UIS = game:GetService("UserInputService")
  155. function dragify(Frame)
  156. dragToggle = nil
  157. local dragSpeed = 0.50
  158. dragInput = nil
  159. dragStart = nil
  160. local dragPos = nil
  161. function updateInput(input)
  162. local Delta = input.Position - dragStart
  163. local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
  164. game:GetService("TweenService"):Create(Frame, TweenInfo.new(0.30), {Position = Position}):Play()
  165. end
  166. Frame.InputBegan:Connect(function(input)
  167. if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) and UIS:GetFocusedTextBox() == nil then
  168. dragToggle = true
  169. dragStart = input.Position
  170. startPos = Frame.Position
  171. input.Changed:Connect(function()
  172. if input.UserInputState == Enum.UserInputState.End then
  173. dragToggle = false
  174. end
  175. end)
  176. end
  177. end)
  178. Frame.InputChanged:Connect(function(input)
  179. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  180. dragInput = input
  181. end
  182. end)
  183. game:GetService("UserInputService").InputChanged:Connect(function(input)
  184. if input == dragInput and dragToggle then
  185. updateInput(input)
  186. end
  187. end)
  188. end
  189.  
  190. dragify(script.Parent)
  191. end
  192. coroutine.wrap(NXEHB_fake_script)()
  193. local function QEHETXV_fake_script() -- TextButton_2.LocalScript
  194. local script = Instance.new('LocalScript', TextButton_2)
  195.  
  196. while true do
  197. for a = 1,360,1 do
  198. wait(0.01)
  199. script.Parent.BackgroundColor3 = Color3.fromHSV(a/360,1,1)
  200. end
  201. end
  202.  
  203. end
  204. coroutine.wrap(QEHETXV_fake_script)()
  205. local function TPNU_fake_script() -- TextButton_2.Script
  206. local script = Instance.new('Script', TextButton_2)
  207.  
  208. script.Parent.MouseButton1Click:Connect(function()
  209. loadstring(game:HttpGet(('https://pastebin.com/raw/T7weKqag'),true))()
  210. end)
  211. end
  212. coroutine.wrap(TPNU_fake_script)()
  213. local function LIRPZE_fake_script() -- VR.LocalScript
  214. local script = Instance.new('LocalScript', VR)
  215.  
  216. while true do
  217. for a = 1,360,1 do
  218. wait(0.01)
  219. script.Parent.BackgroundColor3 = Color3.fromHSV(a/360,1,1)
  220. end
  221. end
  222.  
  223. end
  224. coroutine.wrap(LIRPZE_fake_script)()
  225. local function VDIEN_fake_script() -- VR.Script
  226. local script = Instance.new('Script', VR)
  227.  
  228. script.Parent.MouseButton1Click:Connect(function()
  229. -- CLOVR - FE FULL-BODY VR SCRIPT
  230.  
  231. -- April 21st Update - TOOL HOLDING ADDED
  232.  
  233. -- | made by 0866 and Abacaxl
  234. -- | tysm unverified
  235.  
  236.  
  237. --RagDollEnabled is set to true, DON'T set it to false or CLOVR won't work. Feel free to change the other settings though. -Abacaxl
  238.  
  239.  
  240. --|| Settings:
  241. local StudsOffset = 0 -- Character height (negative if you're too high)
  242. local Smoothness = .5 -- Character interpolation (0.1 - 1 = smooth - rigid)
  243. local AnchorCharacter = true -- Prevent physics from causing inconsistencies
  244. local HideCharacter = false -- Hide character on a platform
  245. local NoCollision = true -- Disable player collision
  246. local ChatEnabled = true -- See chat on your left hand in-game
  247. local ChatLocalRange = 75 -- Local chat range
  248. local ViewportEnabled = true -- View nearby players in a frame
  249. local ViewportRange = 30 -- Maximum distance players are updated
  250. local RagdollEnabled = true -- Use your character instead of hats (NetworkOwner vulnerability)
  251. local RagdollHeadMovement = true -- Move your head separately from your body (+9 second wait)
  252. local AutoRun = false -- Run script on respawn
  253. local AutoRespawn = true -- Kill your real body when your virtual body dies
  254. local WearAllAccessories = true -- Use all leftover hats for the head
  255. local AccurateHandPosition = true -- Move your Roblox hands according to your real hands
  256. local AccessorySettings = {
  257. LeftArm = "";
  258. RightArm = "";
  259. LeftLeg = "";
  260. RightLeg = "";
  261. Torso = "";
  262. Head = true;
  263. BlockArms = true;
  264. BlockLegs = true;
  265. BlockTorso = true;
  266. LimbOffset = CFrame.Angles(math.rad(90), 0, 0);
  267. }
  268. local FootPlacementSettings = {
  269. RightOffset = Vector3.new(.5, 0, 0),
  270. LeftOffset = Vector3.new(-.5, 0, 0),
  271. }
  272. --|| Script:
  273. local Script = nil;
  274. Script = function()
  275. --[[
  276. Variables
  277. --]]
  278. local Players = game:GetService("Players")
  279. local Client = Players.LocalPlayer
  280. local Character = Client.Character or Client.CharacterAdded:Wait()
  281. local WeldBase = Character:WaitForChild("HumanoidRootPart")
  282. local ArmBase = Character:FindFirstChild("RightHand") or Character:FindFirstChild("Right Arm") or WeldBase
  283. local Backpack = Client:WaitForChild("Backpack")
  284. local Mouse = Client:GetMouse()
  285. local Camera = workspace.CurrentCamera
  286. local VRService = game:GetService("VRService")
  287. local VRReady = VRService.VREnabled
  288. local UserInputService = game:GetService("UserInputService")
  289. local RunService = game:GetService("RunService")
  290. local HttpService = game:GetService("HttpService")
  291. local StarterGui = game:GetService("StarterGui")
  292. local HeadAccessories = {};
  293. local UsedAccessories = {};
  294. local Pointer = false;
  295. local Point1 = false;
  296. local Point2 = false;
  297. local VirtualRig = game:GetObjects("rbxassetid://4468539481")[1]
  298. local VirtualBody = game:GetObjects("rbxassetid://4464983829")[1]
  299. local Anchor = Instance.new("Part")
  300. Anchor.Anchored = true
  301. Anchor.Transparency = 1
  302. Anchor.CanCollide = false
  303. Anchor.Parent = workspace
  304. if RagdollEnabled then
  305. print("RagdollEnabled, thank you for using CLOVR!")
  306. local NetworkAccess = coroutine.create(function()
  307. settings().Physics.AllowSleep = false
  308. while true do game:GetService("RunService").RenderStepped:Wait()
  309. for _,Players in next, game:GetService("Players"):GetChildren() do
  310. if Players ~= game:GetService("Players").LocalPlayer then
  311. Players.MaximumSimulationRadius = 0.1 Players.SimulationRadius = 0 end end
  312. game:GetService("Players").LocalPlayer.MaximumSimulationRadius = math.pow(math.huge,math.huge)
  313. game:GetService("Players").LocalPlayer.SimulationRadius = math.huge*math.huge end end)
  314. coroutine.resume(NetworkAccess)
  315. end
  316. StarterGui:SetCore("VRLaserPointerMode", 3)
  317. --[[
  318. Character Protection
  319. --]]
  320. local CharacterCFrame = WeldBase.CFrame
  321. if not RagdollEnabled then
  322. Character.Humanoid.AnimationPlayed:Connect(function(Animation)
  323. Animation:Stop()
  324. end)
  325. for _, Track in next, Character.Humanoid:GetPlayingAnimationTracks() do
  326. Track:Stop()
  327. end
  328. if HideCharacter then
  329. local Platform = Instance.new("Part")
  330. Platform.Anchored = true
  331. Platform.Size = Vector3.new(100, 5, 100)
  332. Platform.CFrame = CFrame.new(0, 10000, 0)
  333. Platform.Transparency = 1
  334. Platform.Parent = workspace
  335. Character:MoveTo(Platform.Position + Vector3.new(0, 5, 0))
  336. wait(.5)
  337. end
  338. if AnchorCharacter then
  339. for _, Part in pairs(Character:GetChildren()) do
  340. if Part:IsA("BasePart") then
  341. Part.Anchored = true
  342. end
  343. end
  344. end
  345. end
  346. --[[
  347. Functions
  348. --]]
  349. function Tween(Object, Style, Direction, Time, Goal)
  350. local tweenInfo = TweenInfo.new(Time, Enum.EasingStyle[Style], Enum.EasingDirection[Direction])
  351. local tween = game:GetService("TweenService"):Create(Object, tweenInfo, Goal)
  352. tween.Completed:Connect(function()
  353. tween:Destroy()
  354. end)
  355. tween:Play()
  356. return tween
  357. end
  358. local function GetMotorForLimb(Limb)
  359. for _, Motor in next, Character:GetDescendants() do
  360. if Motor:IsA("Motor6D") and Motor.Part1 == Limb then
  361. return Motor
  362. end
  363. end
  364. end
  365. local function CreateAlignment(Limb, Part0)
  366. local Attachment0 = Instance.new("Attachment", Part0 or Anchor)
  367. local Attachment1 = Instance.new("Attachment", Limb)
  368. local Orientation = Instance.new("AlignOrientation")
  369. local Position = Instance.new("AlignPosition")
  370. Orientation.Attachment0 = Attachment1
  371. Orientation.Attachment1 = Attachment0
  372. Orientation.RigidityEnabled = false
  373. Orientation.MaxTorque = 20000
  374. Orientation.Responsiveness = 40
  375. Orientation.Parent = Character.HumanoidRootPart
  376. Position.Attachment0 = Attachment1
  377. Position.Attachment1 = Attachment0
  378. Position.RigidityEnabled = false
  379. Position.MaxForce = 40000
  380. Position.Responsiveness = 40
  381. Position.Parent = Character.HumanoidRootPart
  382. Limb.Massless = false
  383. local Motor = GetMotorForLimb(Limb)
  384. if Motor then
  385. Motor:Destroy()
  386. end
  387. return function(CF, Local)
  388. if Local then
  389. Attachment0.CFrame = CF
  390. else
  391. Attachment0.WorldCFrame = CF
  392. end
  393. end;
  394. end
  395. local function GetExtraTool()
  396. for _, Tool in next, Character:GetChildren() do
  397. if Tool:IsA("Tool") and not Tool.Name:match("LIMB_TOOL") then
  398. return Tool
  399. end
  400. end
  401. end
  402. local function GetGripForHandle(Handle)
  403. for _, Weld in next, Character:GetDescendants() do
  404. if Weld:IsA("Weld") and (Weld.Part0 == Handle or Weld.Part1 == Handle) then
  405. return Weld
  406. end
  407. end
  408. wait(.2)
  409. for _, Weld in next, Character:GetDescendants() do
  410. if Weld:IsA("Weld") and (Weld.Part0 == Handle or Weld.Part1 == Handle) then
  411. return Weld
  412. end
  413. end
  414. end
  415. local function CreateRightGrip(Handle)
  416. local RightGrip = Instance.new("Weld")
  417. RightGrip.Name = "RightGrip"
  418. RightGrip.Part1 = Handle
  419. RightGrip.Part0 = WeldBase
  420. RightGrip.Parent = WeldBase
  421. return RightGrip
  422. end
  423. local function CreateAccessory(Accessory, DeleteMeshes)
  424. if not Accessory then
  425. return
  426. end
  427. local HatAttachment = Accessory.Handle:FindFirstChildWhichIsA("Attachment")
  428. local HeadAttachment = VirtualRig:FindFirstChild(HatAttachment.Name, true)
  429. local BasePart = HeadAttachment.Parent
  430. local HatAtt = HatAttachment.CFrame
  431. local HeadAtt = HeadAttachment.CFrame
  432. if DeleteMeshes then
  433. if Accessory.Handle:FindFirstChild("Mesh") then
  434. Accessory.Handle.Mesh:Destroy()
  435. end
  436. end
  437. wait()
  438. local Handle = Accessory:WaitForChild("Handle")
  439. if Handle:FindFirstChildWhichIsA("Weld", true) then
  440. Handle:FindFirstChildWhichIsA("Weld", true):Destroy()
  441. Handle:BreakJoints()
  442. else
  443. Handle:BreakJoints()
  444. end
  445. Handle.Massless = true
  446. Handle.Transparency = 0.5
  447. UsedAccessories[Accessory] = true
  448. local RightGrip = CreateRightGrip(Handle)
  449. wait()
  450. for _, Object in pairs(Handle:GetDescendants()) do
  451. if not Object:IsA("BasePart") then
  452. pcall(function()
  453. Object.Transparency = 1
  454. end)
  455. pcall(function()
  456. Object.Enabled = false
  457. end)
  458. end
  459. end
  460. return Handle, RightGrip, HatAtt, HeadAtt, BasePart;
  461. end
  462. local function GetHeadAccessories()
  463. for _, Accessory in next, Character:GetChildren() do
  464. if Accessory:IsA("Accessory") and not UsedAccessories[Accessory] then
  465. local Handle, RightGrip, HatAtt, HeadAtt, BasePart = CreateAccessory(Accessory)
  466. table.insert(HeadAccessories, {Handle, RightGrip, HatAtt, HeadAtt, BasePart})
  467. do
  468. Handle.Transparency = 1
  469. end
  470. if not WearAllAccessories then
  471. break
  472. end
  473. end
  474. end
  475. end
  476. --[[
  477. VR Replication Setup
  478. --]]
  479. if not RagdollEnabled then
  480. LeftHandle, LeftHandGrip = CreateAccessory(Character:FindFirstChild(AccessorySettings.LeftArm), AccessorySettings.BlockArms)
  481. RightHandle, RightHandGrip = CreateAccessory(Character:FindFirstChild(AccessorySettings.RightArm), AccessorySettings.BlockArms)
  482. LeftHipHandle, LeftLegGrip = CreateAccessory(Character:FindFirstChild(AccessorySettings.LeftLeg), AccessorySettings.BlockLegs)
  483. RightHipHandle, RightLegGrip = CreateAccessory(Character:FindFirstChild(AccessorySettings.RightLeg), AccessorySettings.BlockLegs)
  484. TorsoHandle, TorsoGrip = CreateAccessory(Character:FindFirstChild(AccessorySettings.Torso), AccessorySettings.BlockTorso)
  485. GetHeadAccessories()
  486. elseif RagdollEnabled then
  487. if RagdollHeadMovement then
  488. Permadeath()
  489. MoveHead = CreateAlignment(Character["Head"])
  490. end
  491. MoveRightArm = CreateAlignment(Character["Right Arm"])
  492. MoveLeftArm = CreateAlignment(Character["Left Arm"])
  493. MoveRightLeg = CreateAlignment(Character["Right Leg"])
  494. MoveLeftLeg = CreateAlignment(Character["Left Leg"])
  495. MoveTorso = CreateAlignment(Character["Torso"])
  496. MoveRoot = CreateAlignment(Character.HumanoidRootPart)
  497. if RagdollHeadMovement then
  498. for _, Accessory in next, Character:GetChildren() do
  499. if Accessory:IsA("Accessory") and Accessory:FindFirstChild("Handle") then
  500. local Attachment1 = Accessory.Handle:FindFirstChildWhichIsA("Attachment")
  501. local Attachment0 = Character:FindFirstChild(tostring(Attachment1), true)
  502. local Orientation = Instance.new("AlignOrientation")
  503. local Position = Instance.new("AlignPosition")
  504. print(Attachment1, Attachment0, Accessory)
  505. Orientation.Attachment0 = Attachment1
  506. Orientation.Attachment1 = Attachment0
  507. Orientation.RigidityEnabled = false
  508. Orientation.ReactionTorqueEnabled = true
  509. Orientation.MaxTorque = 20000
  510. Orientation.Responsiveness = 40
  511. Orientation.Parent = Character.Head
  512. Position.Attachment0 = Attachment1
  513. Position.Attachment1 = Attachment0
  514. Position.RigidityEnabled = false
  515. Position.ReactionForceEnabled = true
  516. Position.MaxForce = 40000
  517. Position.Responsiveness = 40
  518. Position.Parent = Character.Head
  519. end
  520. end
  521. end
  522. end
  523. --[[
  524. Movement
  525. --]]
  526. VirtualRig.Name = "VirtualRig"
  527. VirtualRig.RightFoot.BodyPosition.Position = CharacterCFrame.p
  528. VirtualRig.LeftFoot.BodyPosition.Position = CharacterCFrame.p
  529. VirtualRig.Parent = workspace
  530. VirtualRig:SetPrimaryPartCFrame(CharacterCFrame)
  531. VirtualRig.Humanoid.Health = 0
  532. VirtualRig:BreakJoints()
  533. --
  534. VirtualBody.Parent = workspace
  535. VirtualBody.Name = "VirtualBody"
  536. VirtualBody.Humanoid.WalkSpeed = 8
  537. VirtualBody.Humanoid.CameraOffset = Vector3.new(0, StudsOffset, 0)
  538. VirtualBody:SetPrimaryPartCFrame(CharacterCFrame)
  539. VirtualBody.Humanoid.Died:Connect(function()
  540. print("Virtual death")
  541. if AutoRespawn then
  542. Character:BreakJoints()
  543. if RagdollHeadMovement and RagdollEnabled then
  544. Network:Unclaim()
  545. Respawn()
  546. end
  547. end
  548. end)
  549. --
  550. Camera.CameraSubject = VirtualBody.Humanoid
  551. Character.Humanoid.WalkSpeed = 0
  552. Character.Humanoid.JumpPower = 1
  553. for _, Part in next, VirtualBody:GetChildren() do
  554. if Part:IsA("BasePart") then
  555. Part.Transparency = 1
  556. end
  557. end
  558. for _, Part in next, VirtualRig:GetChildren() do
  559. if Part:IsA("BasePart") then
  560. Part.Transparency = 1
  561. end
  562. end
  563. if not VRReady then
  564. VirtualRig.RightUpperArm.ShoulderConstraint.RigidityEnabled = true
  565. VirtualRig.LeftUpperArm.ShoulderConstraint.RigidityEnabled = true
  566. end
  567. local OnMoving = RunService.Stepped:Connect(function()
  568. local Direction = Character.Humanoid.MoveDirection
  569. local Start = VirtualBody.HumanoidRootPart.Position
  570. local Point = Start + Direction * 6
  571. VirtualBody.Humanoid:MoveTo(Point)
  572. end)
  573. Character.Humanoid.Jumping:Connect(function()
  574. VirtualBody.Humanoid.Jump = true
  575. end)
  576. UserInputService.JumpRequest:Connect(function()
  577. VirtualBody.Humanoid.Jump = true
  578. end)
  579. --[[
  580. VR Replication
  581. --]]
  582. if RagdollEnabled then
  583. for _, Part in pairs(Character:GetDescendants()) do
  584. if Part:IsA("BasePart") and Part.Name == "Handle" and Part.Parent:IsA("Accessory") then
  585. Part.LocalTransparencyModifier = 1
  586. elseif Part:IsA("BasePart") and Part.Transparency < 0.5 and Part.Name ~= "Head" then
  587. Part.LocalTransparencyModifier = 0.5
  588. elseif Part:IsA("BasePart") and Part.Name == "Head" then
  589. Part.LocalTransparencyModifier = 1
  590. end
  591. if not Part:IsA("BasePart") and not Part:IsA("AlignPosition") and not Part:IsA("AlignOrientation") then
  592. pcall(function()
  593. Part.Transparency = 1
  594. end)
  595. pcall(function()
  596. Part.Enabled = false
  597. end)
  598. end
  599. end
  600. end
  601. local FootUpdateDebounce = tick()
  602. local function FloorRay(Part, Distance)
  603. local Position = Part.CFrame.p
  604. local Target = Position - Vector3.new(0, Distance, 0)
  605. local Line = Ray.new(Position, (Target - Position).Unit * Distance)
  606. local FloorPart, FloorPosition, FloorNormal = workspace:FindPartOnRayWithIgnoreList(Line, {VirtualRig, VirtualBody, Character})
  607. if FloorPart then
  608. return FloorPart, FloorPosition, FloorNormal, (FloorPosition - Position).Magnitude
  609. else
  610. return nil, Target, Vector3.new(), Distance
  611. end
  612. end
  613. local function Flatten(CF)
  614. local X,Y,Z = CF.X,CF.Y,CF.Z
  615. local LX,LZ = CF.lookVector.X,CF.lookVector.Z
  616. return CFrame.new(X,Y,Z) * CFrame.Angles(0,math.atan2(LX,LZ),0)
  617. end
  618. local FootTurn = 1
  619. local function FootReady(Foot, Target)
  620. local MaxDist
  621. if Character.Humanoid.MoveDirection.Magnitude > 0 then
  622. MaxDist = .5
  623. else
  624. MaxDist = 1
  625. end
  626. local PastThreshold = (Foot.Position - Target.Position).Magnitude > MaxDist
  627. local PastTick = tick() - FootUpdateDebounce >= 2
  628. if PastThreshold or PastTick then
  629. FootUpdateDebounce = tick()
  630. end
  631. return
  632. PastThreshold
  633. or
  634. PastTick
  635. end
  636. local function FootYield()
  637. local RightFooting = VirtualRig.RightFoot.BodyPosition
  638. local LeftFooting = VirtualRig.LeftFoot.BodyPosition
  639. local LowerTorso = VirtualRig.LowerTorso
  640. local Yield = tick()
  641. repeat
  642. RunService.Stepped:Wait()
  643. if
  644. (LowerTorso.Position - RightFooting.Position).Y > 4
  645. or
  646. (LowerTorso.Position - LeftFooting.Position).Y > 4
  647. or
  648. ((LowerTorso.Position - RightFooting.Position) * Vector3.new(1, 0, 1)).Magnitude > 4
  649. or
  650. ((LowerTorso.Position - LeftFooting.Position) * Vector3.new(1, 0, 1)).Magnitude > 4
  651. then
  652. break
  653. end
  654. until tick() - Yield >= .17
  655. end
  656. local function UpdateFooting()
  657. if not VirtualRig:FindFirstChild("LowerTorso") then
  658. wait()
  659. return
  660. end
  661. local Floor, FloorPosition, FloorNormal, Dist = FloorRay(VirtualRig.LowerTorso, 3)
  662. Dist = math.clamp(Dist, 0, 5)
  663. local FootTarget =
  664. VirtualRig.LowerTorso.CFrame *
  665. CFrame.new(FootPlacementSettings.RightOffset) -
  666. Vector3.new(0, Dist, 0) +
  667. Character.Humanoid.MoveDirection * (VirtualBody.Humanoid.WalkSpeed / 8) * 2
  668. if FootReady(VirtualRig.RightFoot, FootTarget) then
  669. VirtualRig.RightFoot.BodyPosition.Position = FootTarget.p
  670. VirtualRig.RightFoot.BodyGyro.CFrame = Flatten(VirtualRig.LowerTorso.CFrame)
  671. end
  672. FootYield()
  673. local FootTarget =
  674. VirtualRig.LowerTorso.CFrame *
  675. CFrame.new(FootPlacementSettings.LeftOffset) -
  676. Vector3.new(0, Dist, 0) +
  677. Character.Humanoid.MoveDirection * (VirtualBody.Humanoid.WalkSpeed / 8) * 2
  678. if FootReady(VirtualRig.LeftFoot, FootTarget) then
  679. VirtualRig.LeftFoot.BodyPosition.Position = FootTarget.p
  680. VirtualRig.LeftFoot.BodyGyro.CFrame = Flatten(VirtualRig.LowerTorso.CFrame)
  681. end
  682. end
  683. local function UpdateTorsoPosition()
  684. if not RagdollEnabled then
  685. if TorsoHandle then
  686. local Positioning = VirtualRig.UpperTorso.CFrame
  687. if not TorsoGrip or not TorsoGrip.Parent then
  688. TorsoGrip = CreateRightGrip(TorsoHandle)
  689. end
  690. local Parent = TorsoGrip.Parent
  691. TorsoGrip.C1 = CFrame.new()
  692. TorsoGrip.C0 = TorsoGrip.C0:Lerp(WeldBase.CFrame:ToObjectSpace(Positioning * CFrame.new(0, -0.25, 0) * AccessorySettings.LimbOffset), Smoothness)
  693. TorsoGrip.Parent = nil
  694. TorsoGrip.Parent = Parent
  695. end
  696. else
  697. local Positioning = VirtualRig.UpperTorso.CFrame
  698. MoveTorso(Positioning * CFrame.new(0, -0.25, 0))
  699. MoveRoot(Positioning * CFrame.new(0, -0.25, 0))
  700. end
  701. end
  702. local function UpdateLegPosition()
  703. if not RagdollEnabled then
  704. if RightHipHandle then
  705. local Positioning =
  706. VirtualRig.RightLowerLeg.CFrame
  707. : Lerp(VirtualRig.RightFoot.CFrame, 0.5)
  708. + Vector3.new(0, 0.5, 0)
  709. if not RightHipHandle or not RightHipHandle.Parent then
  710. RightLegGrip = CreateRightGrip(RightHipHandle)
  711. end
  712. local Parent = RightLegGrip.Parent
  713. RightLegGrip.C1 = CFrame.new()
  714. RightLegGrip.C0 = RightLegGrip.C0:Lerp(WeldBase.CFrame:ToObjectSpace(Positioning * AccessorySettings.LimbOffset), Smoothness)
  715. RightLegGrip.Parent = nil
  716. RightLegGrip.Parent = Parent
  717. end
  718. if LeftHipHandle then
  719. local Positioning =
  720. VirtualRig.LeftLowerLeg.CFrame
  721. : Lerp(VirtualRig.LeftFoot.CFrame, 0.5)
  722. + Vector3.new(0, 0.5, 0)
  723. if not LeftLegGrip or not LeftLegGrip.Parent then
  724. LeftLegGrip = CreateRightGrip(LeftHipHandle)
  725. end
  726. local Parent = LeftLegGrip.Parent
  727. LeftLegGrip.C1 = CFrame.new()
  728. LeftLegGrip.C0 = LeftLegGrip.C0:Lerp(WeldBase.CFrame:ToObjectSpace(Positioning * AccessorySettings.LimbOffset), Smoothness)
  729. LeftLegGrip.Parent = nil
  730. LeftLegGrip.Parent = Parent
  731. end
  732. else
  733. do
  734. local Positioning =
  735. VirtualRig.RightLowerLeg.CFrame
  736. : Lerp(VirtualRig.RightFoot.CFrame, 0.5)
  737. * CFrame.Angles(0, math.rad(180), 0)
  738. + Vector3.new(0, 0.5, 0)
  739. MoveRightLeg(Positioning)
  740. end
  741. do
  742. local Positioning =
  743. VirtualRig.LeftLowerLeg.CFrame
  744. : Lerp(VirtualRig.LeftFoot.CFrame, 0.5)
  745. * CFrame.Angles(0, math.rad(180), 0)
  746. + Vector3.new(0, 0.5, 0)
  747. MoveLeftLeg(Positioning)
  748. end
  749. end
  750. end
  751. warn("VRReady is", VRReady)
  752. local function OnUserCFrameChanged(UserCFrame, Positioning, IgnoreTorso)
  753. local Positioning = Camera.CFrame * Positioning
  754. if not IgnoreTorso then
  755. UpdateTorsoPosition()
  756. UpdateLegPosition()
  757. end
  758. if not RagdollEnabled then
  759. if UserCFrame == Enum.UserCFrame.Head and AccessorySettings.Head then
  760. for _, Table in next, HeadAccessories do
  761. local Handle, RightGrip, HatAtt, HeadAtt, BasePart = unpack(Table)
  762. local LocalPositioning = Positioning
  763. if not RightGrip or not RightGrip.Parent then
  764. RightGrip = CreateRightGrip(Handle)
  765. Table[2] = RightGrip
  766. end
  767. local Parent = RightGrip.Parent
  768. if BasePart then
  769. LocalPositioning = BasePart.CFrame * HeadAtt
  770. end
  771. RightGrip.C1 = HatAtt
  772. RightGrip.C0 = RightGrip.C0:Lerp(WeldBase.CFrame:ToObjectSpace(LocalPositioning), Smoothness)
  773. RightGrip.Parent = nil
  774. RightGrip.Parent = Parent
  775. end
  776. elseif RightHandle and UserCFrame == Enum.UserCFrame.RightHand and AccessorySettings.RightArm then
  777. local HandPosition = Positioning
  778. local LocalPositioning = Positioning
  779. if not RightHandGrip or not RightHandGrip.Parent then
  780. RightHandGrip = CreateRightGrip(RightHandle)
  781. end
  782. if AccurateHandPosition then
  783. HandPosition = HandPosition * CFrame.new(0, 0, 1)
  784. end
  785. if not VRReady then
  786. local HeadRotation = Camera.CFrame - Camera.CFrame.p
  787. HandPosition = VirtualRig.RightUpperArm.CFrame:Lerp(VirtualRig.RightLowerArm.CFrame, 0.5) * AccessorySettings.LimbOffset
  788. --LocalPositioning = (HeadRotation + (HandPosition * CFrame.new(0, 0, 1)).p) * CFrame.Angles(math.rad(-45), 0, 0)
  789. LocalPositioning = HandPosition * CFrame.new(0, 0, 1) * CFrame.Angles(math.rad(-180), 0, 0)
  790. if Point2 then
  791. VirtualRig.RightUpperArm.Aim.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
  792. VirtualRig.RightUpperArm.Aim.CFrame = Camera.CFrame * AccessorySettings.LimbOffset
  793. elseif VirtualRig.RightUpperArm.Aim.MaxTorque ~= Vector3.new(0, 0, 0) then
  794. VirtualRig.RightUpperArm.Aim.MaxTorque = Vector3.new(0, 0, 0)
  795. end
  796. elseif AccurateHandPosition then
  797. LocalPositioning = HandPosition
  798. end
  799. local Parent = RightHandGrip.Parent
  800. RightHandGrip.C1 = CFrame.new()
  801. RightHandGrip.C0 = RightHandGrip.C0:Lerp(WeldBase.CFrame:ToObjectSpace(HandPosition), Smoothness)
  802. RightHandGrip.Parent = nil
  803. RightHandGrip.Parent = Parent
  804. --
  805. local EquippedTool = GetExtraTool()
  806. if EquippedTool and EquippedTool:FindFirstChild("Handle") then
  807. local EquippedGrip = GetGripForHandle(EquippedTool.Handle)
  808. local Parent = EquippedGrip.Parent
  809. local ArmBaseCFrame = ArmBase.CFrame
  810. if ArmBase.Name == "Right Arm" then
  811. ArmBaseCFrame = ArmBaseCFrame
  812. end
  813. EquippedGrip.C1 = EquippedTool.Grip
  814. EquippedGrip.C0 = EquippedGrip.C0:Lerp(ArmBaseCFrame:ToObjectSpace(LocalPositioning), Smoothness)
  815. EquippedGrip.Parent = nil
  816. EquippedGrip.Parent = Parent
  817. end
  818. elseif LeftHandle and UserCFrame == Enum.UserCFrame.LeftHand and AccessorySettings.LeftArm then
  819. local HandPosition = Positioning
  820. if not LeftHandGrip or not LeftHandGrip.Parent then
  821. LeftHandGrip = CreateRightGrip(LeftHandle)
  822. end
  823. if AccurateHandPosition then
  824. HandPosition = HandPosition * CFrame.new(0, 0, 1)
  825. end
  826. if not VRReady then
  827. HandPosition = VirtualRig.LeftUpperArm.CFrame:Lerp(VirtualRig.LeftLowerArm.CFrame, 0.5) * AccessorySettings.LimbOffset
  828. --warn("Setting HandPosition to hands")
  829. if Point1 then
  830. VirtualRig.LeftUpperArm.Aim.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
  831. VirtualRig.LeftUpperArm.Aim.CFrame = Camera.CFrame * AccessorySettings.LimbOffset
  832. elseif VirtualRig.LeftUpperArm.Aim.MaxTorque ~= Vector3.new(0, 0, 0) then
  833. VirtualRig.LeftUpperArm.Aim.MaxTorque = Vector3.new(0, 0, 0)
  834. end
  835. end
  836. local Parent = LeftHandGrip.Parent
  837. LeftHandGrip.C1 = CFrame.new()
  838. LeftHandGrip.C0 = LeftHandGrip.C0:Lerp(WeldBase.CFrame:ToObjectSpace(HandPosition), Smoothness)
  839. LeftHandGrip.Parent = nil
  840. LeftHandGrip.Parent = Parent
  841. end
  842. end
  843. if RagdollEnabled then
  844. if UserCFrame == Enum.UserCFrame.Head and RagdollHeadMovement then
  845. MoveHead(Positioning)
  846. elseif UserCFrame == Enum.UserCFrame.RightHand then
  847. local Positioning = Positioning
  848. if not VRReady then
  849. Positioning = VirtualRig.RightUpperArm.CFrame:Lerp(VirtualRig.RightLowerArm.CFrame, 0.5)
  850. elseif AccurateHandPosition then
  851. Positioning = Positioning * CFrame.new(0, 0, 1)
  852. end
  853. if VRReady then
  854. Positioning = Positioning * AccessorySettings.LimbOffset
  855. end
  856. MoveRightArm(Positioning)
  857. if Point2 then
  858. VirtualRig.RightUpperArm.Aim.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
  859. VirtualRig.RightUpperArm.Aim.CFrame = Camera.CFrame * AccessorySettings.LimbOffset
  860. elseif VirtualRig.RightUpperArm.Aim.MaxTorque ~= Vector3.new(0, 0, 0) then
  861. VirtualRig.RightUpperArm.Aim.MaxTorque = Vector3.new(0, 0, 0)
  862. end
  863. elseif UserCFrame == Enum.UserCFrame.LeftHand then
  864. local Positioning = Positioning
  865. if not VRReady then
  866. Positioning = VirtualRig.LeftUpperArm.CFrame:Lerp(VirtualRig.LeftLowerArm.CFrame, 0.5)
  867. elseif AccurateHandPosition then
  868. Positioning = Positioning * CFrame.new(0, 0, 1)
  869. end
  870. if VRReady then
  871. Positioning = Positioning * AccessorySettings.LimbOffset
  872. end
  873. MoveLeftArm(Positioning)
  874. if Point1 then
  875. VirtualRig.LeftUpperArm.Aim.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
  876. VirtualRig.LeftUpperArm.Aim.CFrame = Camera.CFrame * AccessorySettings.LimbOffset
  877. elseif VirtualRig.LeftUpperArm.Aim.MaxTorque ~= Vector3.new(0, 0, 0) then
  878. VirtualRig.LeftUpperArm.Aim.MaxTorque = Vector3.new(0, 0, 0)
  879. end
  880. end
  881. end
  882. if UserCFrame == Enum.UserCFrame.Head then
  883. VirtualRig.Head.CFrame = Positioning
  884. elseif UserCFrame == Enum.UserCFrame.RightHand and VRReady then
  885. VirtualRig.RightHand.CFrame = Positioning
  886. elseif UserCFrame == Enum.UserCFrame.LeftHand and VRReady then
  887. VirtualRig.LeftHand.CFrame = Positioning
  888. end
  889. if not VRReady and VirtualRig.LeftHand.Anchored then
  890. VirtualRig.RightHand.Anchored = false
  891. VirtualRig.LeftHand.Anchored = false
  892. elseif VRReady and not VirtualRig.LeftHand.Anchored then
  893. VirtualRig.RightHand.Anchored = true
  894. VirtualRig.LeftHand.Anchored = true
  895. end
  896. end
  897. local CFrameChanged = VRService.UserCFrameChanged:Connect(OnUserCFrameChanged)
  898. local OnStepped = RunService.Stepped:Connect(function()
  899. for _, Part in pairs(VirtualRig:GetChildren()) do
  900. if Part:IsA("BasePart") then
  901. Part.CanCollide = false
  902. end
  903. end
  904. if RagdollEnabled then
  905. for _, Part in pairs(Character:GetChildren()) do
  906. if Part:IsA("BasePart") then
  907. Part.CanCollide = false
  908. end
  909. end
  910. end
  911. if NoCollision then
  912. for _, Player in pairs(Players:GetPlayers()) do
  913. if Player ~= Client and Player.Character then
  914. local Descendants = Player.Character:GetDescendants()
  915. for i = 1, #Descendants do
  916. local Part = Descendants[i]
  917. if Part:IsA("BasePart") then
  918. Part.CanCollide = false
  919. Part.Velocity = Vector3.new()
  920. Part.RotVelocity = Vector3.new()
  921. end
  922. end
  923. end
  924. end
  925. end
  926. end)
  927. local OnRenderStepped = RunService.Stepped:Connect(function()
  928. Camera.CameraSubject = VirtualBody.Humanoid
  929. if RagdollEnabled then
  930. Character.HumanoidRootPart.CFrame = VirtualRig.UpperTorso.CFrame
  931. Character.HumanoidRootPart.Velocity = Vector3.new(0, 0, 0)
  932. end
  933. if not VRReady then
  934. OnUserCFrameChanged(Enum.UserCFrame.Head, CFrame.new(0, 0, 0))
  935. OnUserCFrameChanged(Enum.UserCFrame.RightHand, CFrame.new(0, 0, 0), true)
  936. OnUserCFrameChanged(Enum.UserCFrame.LeftHand, CFrame.new(0, 0, 0), true)
  937. end
  938. end)
  939. spawn(function()
  940. while Character and Character.Parent do
  941. FootYield()
  942. UpdateFooting()
  943. end
  944. end)
  945. --[[
  946. Non-VR Support + VR Mechanics
  947. --]]
  948. local OnInput = UserInputService.InputBegan:Connect(function(Input, Processed)
  949. if not Processed then
  950. if Input.KeyCode == Enum.KeyCode.LeftControl or Input.KeyCode == Enum.KeyCode.ButtonL2 then
  951. Tween(VirtualBody.Humanoid, "Elastic", "Out", 1, {
  952. CameraOffset = Vector3.new(0, StudsOffset - 1.5, 0)
  953. })
  954. end
  955. if Input.KeyCode == Enum.KeyCode.X then
  956. if RagdollEnabled and RagdollHeadMovement then
  957. Network:Unclaim()
  958. Respawn()
  959. end
  960. end
  961. if Input.KeyCode == Enum.KeyCode.C then
  962. VirtualBody:MoveTo(Mouse.Hit.p)
  963. VirtualRig:MoveTo(Mouse.Hit.p)
  964. end
  965. end
  966. if Input.KeyCode == Enum.KeyCode.LeftShift or Input.KeyCode == Enum.KeyCode.ButtonR2 then
  967. Tween(VirtualBody.Humanoid, "Sine", "Out", 1, {
  968. WalkSpeed = 16
  969. })
  970. end
  971. if not VRReady and Input.UserInputType == Enum.UserInputType.MouseButton1 then
  972. Point1 = true
  973. end
  974. if not VRReady and Input.UserInputType == Enum.UserInputType.MouseButton2 then
  975. Point2 = true
  976. end
  977. if VRReady and Input.KeyCode == Enum.KeyCode.ButtonY then
  978. Character:BreakJoints()
  979. if RagdollEnabled and RagdollHeadMovement then
  980. Network:Unclaim()
  981. Respawn()
  982. end
  983. end
  984. end)
  985. local OnInputEnded = UserInputService.InputEnded:Connect(function(Input, Processed)
  986. if not Processed then
  987. if Input.KeyCode == Enum.KeyCode.LeftControl or Input.KeyCode == Enum.KeyCode.ButtonL2 then
  988. Tween(VirtualBody.Humanoid, "Elastic", "Out", 1, {
  989. CameraOffset = Vector3.new(0, StudsOffset, 0)
  990. })
  991. end
  992. end
  993. if Input.KeyCode == Enum.KeyCode.LeftShift or Input.KeyCode == Enum.KeyCode.ButtonR2 then
  994. Tween(VirtualBody.Humanoid, "Sine", "Out", 1, {
  995. WalkSpeed = 8
  996. })
  997. end
  998. if not VRReady and Input.UserInputType == Enum.UserInputType.MouseButton1 then
  999. Point1 = false
  1000. end
  1001. if not VRReady and Input.UserInputType == Enum.UserInputType.MouseButton2 then
  1002. Point2 = false
  1003. end
  1004. end)
  1005. --[[
  1006. Proper Cleanup
  1007. --]]
  1008. local OnReset
  1009. OnReset = Client.CharacterAdded:Connect(function()
  1010. OnReset:Disconnect();
  1011. CFrameChanged:Disconnect();
  1012. OnStepped:Disconnect();
  1013. OnRenderStepped:Disconnect();
  1014. OnMoving:Disconnect();
  1015. OnInput:Disconnect();
  1016. OnInputEnded:Disconnect();
  1017. VirtualRig:Destroy();
  1018. VirtualBody:Destroy();
  1019. if RagdollEnabled then
  1020. Network:Unclaim();
  1021. end
  1022. if AutoRun then
  1023. delay(2, function()
  1024. Script()
  1025. end)
  1026. end
  1027. end)
  1028. if ChatEnabled then
  1029. spawn(ChatHUDFunc)
  1030. end
  1031. if ViewportEnabled then
  1032. spawn(ViewHUDFunc)
  1033. end
  1034. do
  1035. --[[
  1036. Functions
  1037. --]]
  1038. local Players = game:GetService("Players")
  1039. local Client = Players.LocalPlayer
  1040. local VRService = game:GetService("VRService")
  1041. local VRReady = VRService.VREnabled
  1042. local UserInputService = game:GetService("UserInputService")
  1043. local RunService = game:GetService("RunService")
  1044. local Camera = workspace.CurrentCamera
  1045. --[[
  1046. Code
  1047. --]]
  1048. if VRReady then
  1049. local Pointer = game:GetObjects("rbxassetid://4476173280")[1]
  1050. Pointer.Parent = workspace
  1051. Pointer.Beam.Enabled = false
  1052. Pointer.Target.ParticleEmitter.Enabled = false
  1053. local RenderStepped = RunService.RenderStepped:Connect(function()
  1054. if Pointer.Beam.Enabled then
  1055. local RightHand = Camera.CFrame * VRService:GetUserCFrame(Enum.UserCFrame.RightHand)
  1056. local Target = RightHand * CFrame.new(0, 0, -10)
  1057. local Line = Ray.new(RightHand.p, (Target.p - RightHand.p).Unit * 128)
  1058. local Part, Position = workspace:FindPartOnRayWithIgnoreList(Line, {VirtualRig, VirtualBody, Character, Pointer})
  1059. local Distance = (Position - RightHand.p).Magnitude
  1060. Pointer.Target.Position = Vector3.new(0, 0, -Distance)
  1061. Pointer.CFrame = RightHand
  1062. end
  1063. end)
  1064. local Input = UserInputService.InputBegan:Connect(function(Input)
  1065. if Input.KeyCode == Enum.KeyCode.ButtonB then
  1066. Pointer.Beam.Enabled = not Pointer.Beam.Enabled
  1067. Pointer.Target.ParticleEmitter.Enabled = not Pointer.Target.ParticleEmitter.Enabled
  1068. end
  1069. end)
  1070. --
  1071. local CharacterAdded
  1072. CharacterAdded = Client.CharacterAdded:Connect(function()
  1073. RenderStepped:Disconnect()
  1074. Input:Disconnect()
  1075. CharacterAdded:Disconnect()
  1076. Pointer:Destroy()
  1077. Pointer = nil
  1078. end)
  1079. else
  1080. return
  1081. end
  1082. end
  1083. end;
  1084. Permadeath = function()
  1085. local ch = game.Players.LocalPlayer.Character
  1086. local prt=Instance.new("Model", workspace)
  1087. local z1 = Instance.new("Part", prt)
  1088. z1.Name="Torso"
  1089. z1.CanCollide = false
  1090. z1.Anchored = true
  1091. local z2 =Instance.new("Part", prt)
  1092. z2.Name="Head"
  1093. z2.Anchored = true
  1094. z2.CanCollide = false
  1095. local z3 =Instance.new("Humanoid", prt)
  1096. z3.Name="Humanoid"
  1097. z1.Position = Vector3.new(0,9999,0)
  1098. z2.Position = Vector3.new(0,9991,0)
  1099. game.Players.LocalPlayer.Character=prt
  1100. wait(5)
  1101. warn("50%")
  1102. game.Players.LocalPlayer.Character=ch
  1103. wait(6)
  1104. warn("100%")
  1105. end;
  1106. Respawn = function()
  1107. local ch = game.Players.LocalPlayer.Character
  1108. local prt=Instance.new("Model", workspace)
  1109. local z1 = Instance.new("Part", prt)
  1110. z1.Name="Torso"
  1111. z1.CanCollide = false
  1112. z1.Anchored = true
  1113. local z2 =Instance.new("Part", prt)
  1114. z2.Name="Head"
  1115. z2.Anchored = true
  1116. z2.CanCollide = false
  1117. local z3 =Instance.new("Humanoid", prt)
  1118. z3.Name="Humanoid"
  1119. z1.Position = Vector3.new(0,9999,0)
  1120. z2.Position = Vector3.new(0,9991,0)
  1121. game.Players.LocalPlayer.Character=prt
  1122. wait(5)
  1123. game.Players.LocalPlayer.Character=ch
  1124. end;
  1125. ChatHUDFunc = function()
  1126. --[[
  1127. Variables
  1128. --]]
  1129. local UserInputService = game:GetService("UserInputService")
  1130. local RunService = game:GetService("RunService")
  1131. local VRService = game:GetService("VRService")
  1132. local VRReady = VRService.VREnabled
  1133. local Players = game:GetService("Players")
  1134. local Client = Players.LocalPlayer
  1135. local ChatHUD = game:GetObjects("rbxassetid://4476067885")[1]
  1136. local GlobalFrame = ChatHUD.GlobalFrame
  1137. local Template = GlobalFrame.Template
  1138. local LocalFrame = ChatHUD.LocalFrame
  1139. local Global = ChatHUD.Global
  1140. local Local = ChatHUD.Local
  1141. local Camera = workspace.CurrentCamera
  1142. Template.Parent = nil
  1143. ChatHUD.Parent = game:GetService("CoreGui")
  1144. --[[
  1145. Code
  1146. --]]
  1147. local Highlight = Global.Frame.BackgroundColor3
  1148. local Deselected = Local.Frame.BackgroundColor3
  1149. local OpenGlobalTab = function()
  1150. Global.Frame.BackgroundColor3 = Highlight
  1151. Local.Frame.BackgroundColor3 = Deselected
  1152. Global.Font = Enum.Font.SourceSansBold
  1153. Local.Font = Enum.Font.SourceSans
  1154. GlobalFrame.Visible = true
  1155. LocalFrame.Visible = false
  1156. end
  1157. local OpenLocalTab = function()
  1158. Global.Frame.BackgroundColor3 = Deselected
  1159. Local.Frame.BackgroundColor3 = Highlight
  1160. Global.Font = Enum.Font.SourceSans
  1161. Local.Font = Enum.Font.SourceSansBold
  1162. GlobalFrame.Visible = false
  1163. LocalFrame.Visible = true
  1164. end
  1165. Global.MouseButton1Down:Connect(OpenGlobalTab)
  1166. Local.MouseButton1Down:Connect(OpenLocalTab)
  1167. Global.MouseButton1Click:Connect(OpenGlobalTab)
  1168. Local.MouseButton1Click:Connect(OpenLocalTab)
  1169. OpenLocalTab()
  1170. --
  1171. local function GetPlayerDistance(Sender)
  1172. if Sender.Character and Sender.Character:FindFirstChild("Head") then
  1173. return math.floor((Sender.Character.Head.Position - Camera:GetRenderCFrame().p).Magnitude + 0.5)
  1174. end
  1175. end
  1176. local function NewGlobal(Message, Sender, Color)
  1177. local Frame = Template:Clone()
  1178. Frame.Text = ("[%s]: %s"):format(Sender.Name, Message)
  1179. Frame.User.Text = ("[%s]:"):format(Sender.Name)
  1180. Frame.User.TextColor3 = Color
  1181. Frame.BackgroundColor3 = Color
  1182. Frame.Parent = GlobalFrame
  1183. delay(60, function()
  1184. Frame:Destroy()
  1185. end)
  1186. end
  1187. local function NewLocal(Message, Sender, Color, Dist)
  1188. local Frame = Template:Clone()
  1189. Frame.Text = ("(%s) [%s]: %s"):format(tostring(Dist), Sender.Name, Message)
  1190. Frame.User.Text = ("(%s) [%s]:"):format(tostring(Dist), Sender.Name)
  1191. Frame.User.TextColor3 = Color
  1192. Frame.BackgroundColor3 = Color
  1193. Frame.Parent = LocalFrame
  1194. delay(60, function()
  1195. Frame:Destroy()
  1196. end)
  1197. end
  1198. local function OnNewChat(Message, Sender, Color)
  1199. if not ChatHUD or not ChatHUD.Parent then return end
  1200. NewGlobal(Message, Sender, Color)
  1201. local Distance = GetPlayerDistance(Sender)
  1202. if Distance and Distance <= ChatLocalRange then
  1203. NewLocal(Message, Sender, Color, Distance)
  1204. end
  1205. end
  1206. local function OnPlayerAdded(Player)
  1207. if not ChatHUD or not ChatHUD.Parent then return end
  1208. local Color = BrickColor.Random().Color
  1209. Player.Chatted:Connect(function(Message)
  1210. OnNewChat(Message, Player, Color)
  1211. end)
  1212. end
  1213. Players.PlayerAdded:Connect(OnPlayerAdded)
  1214. for _, Player in pairs(Players:GetPlayers()) do
  1215. OnPlayerAdded(Player)
  1216. end
  1217. --
  1218. local ChatPart = ChatHUD.Part
  1219. ChatHUD.Adornee = ChatPart
  1220. if VRReady then
  1221. ChatHUD.Parent = game:GetService("CoreGui")
  1222. ChatHUD.Enabled = true
  1223. ChatHUD.AlwaysOnTop = true
  1224. local OnInput = UserInputService.InputBegan:Connect(function(Input, Processed)
  1225. if not Processed then
  1226. if Input.KeyCode == Enum.KeyCode.ButtonX then
  1227. ChatHUD.Enabled = not ChatHUD.Enabled
  1228. end
  1229. end
  1230. end)
  1231. local RenderStepped = RunService.RenderStepped:Connect(function()
  1232. local LeftHand = VRService:GetUserCFrame(Enum.UserCFrame.LeftHand)
  1233. ChatPart.CFrame = Camera.CFrame * LeftHand
  1234. end)
  1235. local CharacterAdded
  1236. CharacterAdded = Client.CharacterAdded:Connect(function()
  1237. OnInput:Disconnect()
  1238. RenderStepped:Disconnect()
  1239. CharacterAdded:Disconnect()
  1240. ChatHUD:Destroy()
  1241. ChatHUD = nil
  1242. end)
  1243. end
  1244. wait(9e9)
  1245. end;
  1246. ViewHUDFunc = function()
  1247. --[[
  1248. Variables
  1249. --]]
  1250. local ViewportRange = ViewportRange or 32
  1251. local UserInputService = game:GetService("UserInputService")
  1252. local RunService = game:GetService("RunService")
  1253. local VRService = game:GetService("VRService")
  1254. local VRReady = VRService.VREnabled
  1255. local Players = game:GetService("Players")
  1256. local Client = Players.LocalPlayer
  1257. local Mouse = Client:GetMouse()
  1258. local Camera = workspace.CurrentCamera
  1259. local CameraPort = Camera.CFrame
  1260. local ViewHUD = script:FindFirstChild("ViewHUD") or game:GetObjects("rbxassetid://4480405425")[1]
  1261. local Viewport = ViewHUD.Viewport
  1262. local Viewcam = Instance.new("Camera")
  1263. local ViewPart = ViewHUD.Part
  1264. ViewHUD.Parent = game:GetService("CoreGui")
  1265. Viewcam.Parent = Viewport
  1266. Viewcam.CameraType = Enum.CameraType.Scriptable
  1267. Viewport.CurrentCamera = Viewcam
  1268. Viewport.BackgroundTransparency = 1
  1269. --[[
  1270. Code
  1271. --]]
  1272. local function Clone(Character)
  1273. local Arc = Character.Archivable
  1274. local Clone;
  1275. Character.Archivable = true
  1276. Clone = Character:Clone()
  1277. Character.Archivable = Arc
  1278. return Clone
  1279. end
  1280. local function GetPart(Name, Parent, Descendants)
  1281. for i = 1, #Descendants do
  1282. local Part = Descendants[i]
  1283. if Part.Name == Name and Part.Parent.Name == Parent then
  1284. return Part
  1285. end
  1286. end
  1287. end
  1288. local function OnPlayerAdded(Player)
  1289. if not ViewHUD or not ViewHUD.Parent then return end
  1290. local function CharacterAdded(Character)
  1291. if not ViewHUD or not ViewHUD.Parent then return end
  1292. Character:WaitForChild("Head")
  1293. Character:WaitForChild("Humanoid")
  1294. wait(3)
  1295. local FakeChar = Clone(Character)
  1296. local Root = FakeChar:FindFirstChild("HumanoidRootPart") or FakeChar:FindFirstChild("Head")
  1297. local RenderConnection;
  1298. local Descendants = FakeChar:GetDescendants()
  1299. local RealDescendants = Character:GetDescendants()
  1300. local Correspondents = {};
  1301. FakeChar.Humanoid.DisplayDistanceType = "None"
  1302. for i = 1, #Descendants do
  1303. local Part = Descendants[i]
  1304. local Real = Part:IsA("BasePart") and GetPart(Part.Name, Part.Parent.Name, RealDescendants)
  1305. if Part:IsA("BasePart") and Real then
  1306. Part.Anchored = true
  1307. Part:BreakJoints()
  1308. if Part.Parent:IsA("Accessory") then
  1309. Part.Transparency = 0
  1310. end
  1311. table.insert(Correspondents, {Part, Real})
  1312. end
  1313. end
  1314. RenderConnection = RunService.RenderStepped:Connect(function()
  1315. if not Character or not Character.Parent then
  1316. RenderConnection:Disconnect()
  1317. FakeChar:Destroy()
  1318. return
  1319. end
  1320. if (Root and (Root.Position - Camera.CFrame.p).Magnitude <= ViewportRange) or Player == Client or not Root then
  1321. for i = 1, #Correspondents do
  1322. local Part, Real = unpack(Correspondents[i])
  1323. if Part and Real and Part.Parent and Real.Parent then
  1324. Part.CFrame = Real.CFrame
  1325. elseif Part.Parent and not Real.Parent then
  1326. Part:Destroy()
  1327. end
  1328. end
  1329. end
  1330. end)
  1331. FakeChar.Parent = Viewcam
  1332. end
  1333. Player.CharacterAdded:Connect(CharacterAdded)
  1334. if Player.Character then
  1335. spawn(function()
  1336. CharacterAdded(Player.Character)
  1337. end)
  1338. end
  1339. end
  1340. local PlayerAdded = Players.PlayerAdded:Connect(OnPlayerAdded)
  1341. for _, Player in pairs(Players:GetPlayers()) do
  1342. OnPlayerAdded(Player)
  1343. end
  1344. ViewPart.Size = Vector3.new()
  1345. if VRReady then
  1346. Viewport.Position = UDim2.new(.62, 0, .89, 0)
  1347. Viewport.Size = UDim2.new(.3, 0, .3, 0)
  1348. Viewport.AnchorPoint = Vector2.new(.5, 1)
  1349. else
  1350. Viewport.Size = UDim2.new(0.3, 0, 0.3, 0)
  1351. end
  1352. local RenderStepped = RunService.RenderStepped:Connect(function()
  1353. local Render = Camera.CFrame
  1354. local Scale = Camera.ViewportSize
  1355. if VRReady then
  1356. Render = Render * VRService:GetUserCFrame(Enum.UserCFrame.Head)
  1357. end
  1358. CameraPort = CFrame.new(Render.p + Vector3.new(5, 2, 0), Render.p)
  1359. Viewport.Camera.CFrame = CameraPort
  1360. ViewPart.CFrame = Render * CFrame.new(0, 0, -16)
  1361. ViewHUD.Size = UDim2.new(0, Scale.X - 6, 0, Scale.Y - 6)
  1362. end)
  1363. --
  1364. local CharacterAdded
  1365. CharacterAdded = Client.CharacterAdded:Connect(function()
  1366. RenderStepped:Disconnect()
  1367. CharacterAdded:Disconnect()
  1368. PlayerAdded:Disconnect()
  1369. ViewHUD:Destroy()
  1370. ViewHUD = nil
  1371. end)
  1372. wait(9e9)
  1373. end;
  1374. Script()
  1375. wait(2)
  1376. local Players = game:GetService("Players")
  1377. local lp = Players.LocalPlayer
  1378. local character = lp.Character
  1379. local A0LL = Instance.new("Attachment", character["Left Leg"])
  1380. A0LL.Position = Vector3.new(0, 1, 0)
  1381. local A1LL = Instance.new("Attachment", character["Torso"])
  1382. A1LL.Position = Vector3.new(-0.5, -1, 0)
  1383. local socket1 = Instance.new("BallSocketConstraint", character["Left Leg"])
  1384. socket1.Attachment0 = A0LL
  1385. socket1.Attachment1 = A1LL
  1386. local A0RL = Instance.new("Attachment", character["Right Leg"])
  1387. A0RL.Position = Vector3.new(0, 1, 0)
  1388. local A1RL = Instance.new("Attachment", character["Torso"])
  1389. A1RL.Position = Vector3.new(0.5, -1, 0)
  1390. local socket2 = Instance.new("BallSocketConstraint", character["Right Leg"])
  1391. socket2.Attachment0 = A0RL
  1392. socket2.Attachment1 = A1RL
  1393. local A0H = Instance.new("Attachment", character["Head"])
  1394. A0H.Position = Vector3.new(0, -0.5, 0)
  1395. local A1H = Instance.new("Attachment", character["Torso"])
  1396. A1H.Position = Vector3.new(0, 1, 0)
  1397. local socket5 = Instance.new("BallSocketConstraint", character["Head"])
  1398. socket5.Attachment0 = A0H
  1399. socket5.Attachment1 = A1H
  1400. loadstring(game:HttpGet("https://ghostbin.co/paste/krmyf/raw",true))()
  1401. -----------------------------------------------------------
  1402. wait(9e9)
  1403. end)
  1404. end
  1405. coroutine.wrap(VDIEN_fake_script)()
  1406. local function JCJQ_fake_script() -- VR.LocalScript
  1407. local script = Instance.new('LocalScript', VR)
  1408.  
  1409. game:GetService("StarterGui"):SetCore("SendNotification",{
  1410. Title = "Just so you know";
  1411. Text = "Run simradius on Infinite Yield before executing VR and also be on R6";
  1412. })
  1413. end
  1414. coroutine.wrap(JCJQ_fake_script)()
  1415. local function MQJG_fake_script() -- TextButton_3.LocalScript
  1416. local script = Instance.new('LocalScript', TextButton_3)
  1417.  
  1418. while true do
  1419. for a = 1,360,1 do
  1420. wait(0.01)
  1421. script.Parent.BackgroundColor3 = Color3.fromHSV(a/360,1,1)
  1422. end
  1423. end
  1424.  
  1425. end
  1426. coroutine.wrap(MQJG_fake_script)()
  1427. local function KKKRX_fake_script() -- TextButton_3.Script
  1428. local script = Instance.new('Script', TextButton_3)
  1429.  
  1430. script.Parent.MouseButton1Click:Connect(function()
  1431. spawn(function()
  1432. while game:GetService("RunService").Heartbeat:Wait() do
  1433. local chr = game.Players.LocalPlayer.Character
  1434.  
  1435. for _,v in pairs(chr:GetChildren()) do
  1436. if v:IsA("BallSocketConstraint") or v:IsA("HingeConstraint") or v.Name == "Controls" or v.Name == "Local Ragdoll" or v.Name == "State Handler" or v.Name == "FirstPerson" or v.Name == "FakeAdmin" then
  1437. v:Destroy()
  1438. end
  1439. end
  1440. end
  1441. end)
  1442. end)
  1443. end
  1444. coroutine.wrap(KKKRX_fake_script)()
  1445. local function JNQPSW_fake_script() -- TextButton_4.LocalScript
  1446. local script = Instance.new('LocalScript', TextButton_4)
  1447.  
  1448. while true do
  1449. for a = 1,360,1 do
  1450. wait(0.01)
  1451. script.Parent.BackgroundColor3 = Color3.fromHSV(a/360,1,1)
  1452. end
  1453. end
  1454.  
  1455. end
  1456. coroutine.wrap(JNQPSW_fake_script)()
  1457. local function GTWOW_fake_script() -- TextButton_4.Script
  1458. local script = Instance.new('Script', TextButton_4)
  1459.  
  1460. script.Parent.MouseButton1Click:Connect(function()
  1461. loadstring(game:HttpGet("https://bruh.keshhub.com/main.lua"))()
  1462. end)
  1463. end
  1464. coroutine.wrap(GTWOW_fake_script)()
  1465. local function MWPQE_fake_script() -- TextButton_5.LocalScript
  1466. local script = Instance.new('LocalScript', TextButton_5)
  1467.  
  1468. while true do
  1469. for a = 1,360,1 do
  1470. wait(0.01)
  1471. script.Parent.BackgroundColor3 = Color3.fromHSV(a/360,1,1)
  1472. end
  1473. end
  1474.  
  1475. end
  1476. coroutine.wrap(MWPQE_fake_script)()
  1477. local function WQQYLK_fake_script() -- TextButton_5.Script
  1478. local script = Instance.new('Script', TextButton_5)
  1479.  
  1480. script.Parent.MouseButton1Click:Connect(function()
  1481. local Logger = Instance.new("ScreenGui")
  1482. local TopBar = Instance.new("Frame")
  1483. local LowerInstance = Instance.new("Frame")
  1484. local Veripic = Instance.new("ImageLabel")
  1485. local Veribox = Instance.new("TextBox")
  1486. local TextButton = Instance.new("TextButton")
  1487. local Exit = Instance.new("TextButton")
  1488. local Header = Instance.new("TextLabel")
  1489. Logger.Name = "Logger"
  1490. Logger.Parent = game.CoreGui
  1491. Logger.ResetOnSpawn = false
  1492. TopBar.Name = "TopBar"
  1493. TopBar.Parent = Logger
  1494. TopBar.Active = true
  1495. TopBar.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  1496. TopBar.BorderColor3 = Color3.new(0, 0, 0)
  1497. TopBar.Position = UDim2.new(0.380474448, 0, 0.206831127, 0)
  1498. TopBar.Size = UDim2.new(0, 261, 0, 48)
  1499. LowerInstance.Name = "LowerInstance"
  1500. LowerInstance.Parent = TopBar
  1501. LowerInstance.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  1502. LowerInstance.BorderColor3 = Color3.new(0, 0, 0)
  1503. LowerInstance.Position = UDim2.new(0, 0, 1, 0)
  1504. LowerInstance.Size = UDim2.new(0, 261, 0, 175)
  1505. Veripic.Name = "Veripic"
  1506. Veripic.Parent = LowerInstance
  1507. Veripic.BackgroundColor3 = Color3.new(1, 1, 1)
  1508. Veripic.Position = UDim2.new(0.160919547, 0, 0.108571425, 0)
  1509. Veripic.Size = UDim2.new(0, 176, 0, 45)
  1510. Veripic.Image = "http://www.roblox.com/asset/?id=3887473842"
  1511. Veribox.Name = "Veribox"
  1512. Veribox.Parent = LowerInstance
  1513. Veribox.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  1514. Veribox.BorderColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  1515. Veribox.Position = UDim2.new(0.272030652, 0, 0.462857157, 0)
  1516. Veribox.Size = UDim2.new(0, 119, 0, 35)
  1517. Veribox.Font = Enum.Font.Gotham
  1518. Veribox.PlaceholderColor3 = Color3.new(1, 1, 1)
  1519. Veribox.PlaceholderText = "Key..."
  1520. Veribox.Text = ""
  1521. Veribox.TextColor3 = Color3.new(1, 1, 1)
  1522. Veribox.TextSize = 22
  1523. Veribox.TextWrapped = true
  1524. TextButton.Parent = LowerInstance
  1525. TextButton.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  1526. TextButton.BorderColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  1527. TextButton.Position = UDim2.new(0.118773997, 0, 0.731428623, 0)
  1528. TextButton.Size = UDim2.new(0, 200, 0, 35)
  1529. TextButton.Font = Enum.Font.Gotham
  1530. TextButton.Text = "Proceed"
  1531. TextButton.TextColor3 = Color3.new(1, 1, 1)
  1532. TextButton.TextSize = 22
  1533. Exit.Name = "Exit"
  1534. Exit.Parent = TopBar
  1535. Exit.BackgroundColor3 = Color3.new(0.666667, 0, 0)
  1536. Exit.BorderColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  1537. Exit.Position = UDim2.new(0.835249066, 0, 0.125, 0)
  1538. Exit.Size = UDim2.new(0, 37, 0, 36)
  1539. Exit.Font = Enum.Font.Gotham
  1540. Exit.Text = "X"
  1541. Exit.TextColor3 = Color3.new(1, 1, 1)
  1542. Exit.TextSize = 32
  1543. Header.Name = "Header"
  1544. Header.Parent = TopBar
  1545. Header.Active = true
  1546. Header.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  1547. Header.BackgroundTransparency = 1
  1548. Header.BorderColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  1549. Header.BorderSizePixel = 0
  1550. Header.Size = UDim2.new(0, 208, 0, 48)
  1551. Header.Font = Enum.Font.Gotham
  1552. Header.Text = "Ragdoll Engine Gui"
  1553. Header.TextColor3 = Color3.new(1, 1, 1)
  1554. Header.TextSize = 22
  1555. TopBar.Draggable = true
  1556. TopBar.Active = true
  1557. LowerInstance.Active = true
  1558. Exit.MouseButton1Click:connect(function()
  1559. TopBar.Visible = false
  1560. TopBar.Active = false
  1561. Logger.Enabled = false
  1562. end)
  1563. TextButton.MouseButton1Click:connect(function()
  1564. if Veribox.Text == "7wX1" then
  1565. loadstring(game:HttpGet("https://pastebin.com/raw/s2VeV6AY"))()
  1566. TopBar.Visible = false
  1567. TopBar.Active = false
  1568. Logger.Enabled = false
  1569. print("Login successful! my guy")
  1570. else
  1571. warn("Login unsuccessful! you are mental")
  1572. end
  1573. end)
  1574. end)
  1575. end
  1576. coroutine.wrap(WQQYLK_fake_script)()
  1577.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement