Advertisement
DaOMEGAa32

DH2

Jun 22nd, 2020
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 51.33 KB | None | 0 0
  1. wait (1)
  2. game:GetService("StarterGui"):SetCore("SendNotification", {
  3. Text = "Loading duckhub";
  4. Title = ".."
  5. })
  6. wait (2)
  7. game:GetService("StarterGui"):SetCore("SendNotification", {
  8. Text = "Enjoy";
  9. Title = "Duckhub loaded"
  10. })
  11. --Converted with ttyyuu12345's model to script plugin v4
  12. function sandbox(var,func)
  13. local env = getfenv(func)
  14. local newenv = setmetatable({},{
  15. __index = function(self,k)
  16. if k=="script" then
  17. return var
  18. else
  19. return env[k]
  20. end
  21. end,
  22. })
  23. setfenv(func,newenv)
  24. return func
  25. end
  26. cors = {}
  27. mas = Instance.new("Model",game:GetService("Lighting"))
  28. ScreenGui0 = Instance.new("ScreenGui")
  29. TextButton1 = Instance.new("TextButton")
  30. Script2 = Instance.new("Script")
  31. Frame3 = Instance.new("Frame")
  32. ScrollingFrame4 = Instance.new("ScrollingFrame")
  33. TextButton5 = Instance.new("TextButton")
  34. LocalScript6 = Instance.new("LocalScript")
  35. TextButton7 = Instance.new("TextButton")
  36. LocalScript8 = Instance.new("LocalScript")
  37. TextButton9 = Instance.new("TextButton")
  38. LocalScript10 = Instance.new("LocalScript")
  39. TextButton11 = Instance.new("TextButton")
  40. LocalScript12 = Instance.new("LocalScript")
  41. TextButton13 = Instance.new("TextButton")
  42. LocalScript14 = Instance.new("LocalScript")
  43. TextButton15 = Instance.new("TextButton")
  44. LocalScript16 = Instance.new("LocalScript")
  45. TextButton17 = Instance.new("TextButton")
  46. LocalScript18 = Instance.new("LocalScript")
  47. ImageLabel19 = Instance.new("ImageLabel")
  48. ScreenGui0.Name = "duckv2"
  49. ScreenGui0.Parent = mas
  50. ScreenGui0.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  51. TextButton1.Name = "TopBar"
  52. TextButton1.Parent = ScreenGui0
  53. TextButton1.Position = UDim2.new(0, -2, 0, 0)
  54. TextButton1.Size = UDim2.new(0, 440, 0, 60)
  55. TextButton1.BackgroundColor = BrickColor.new("CGA brown")
  56. TextButton1.BackgroundColor3 = Color3.new(0.52549, 0.52549, 0)
  57. TextButton1.BorderColor = BrickColor.new("New Yeller")
  58. TextButton1.BorderColor3 = Color3.new(1, 1, 0)
  59. TextButton1.Font = Enum.Font.Arcade
  60. TextButton1.Text = "!DUCK-HUB V2!"
  61. TextButton1.TextScaled = true
  62. TextButton1.TextTransparency = 0.20000000298023
  63. TextButton1.TextWrap = true
  64. TextButton1.TextWrapped = true
  65. Script2.Parent = TextButton1
  66. table.insert(cors,sandbox(Script2,function()
  67. bar = script.Parent
  68. vals = {}
  69. c = bar.Parent:GetChildren()
  70. for i = 1,#c do
  71. tab = {
  72. xs = c[i].Position.X.Scale,
  73. xo = c[i].Position.X.Offset,
  74. ys = c[i].Position.Y.Scale,
  75. yo = c[i].Position.X.Offset}
  76. vals[c[i].Name] = tab
  77. end
  78. held = false
  79.  
  80. function startDrag(xpos, ypos)
  81. for i = 1,#c do
  82. xoish = xpos - c[i].Position.X.Offset
  83. yoish = ypos - c[i].Position.Y.Offset
  84. vals[c[i].Name].xo = xoish
  85. vals[c[i].Name].yo = yoish
  86. end
  87. held = true
  88. end
  89.  
  90. function move(xpos, ypos)
  91. if held then
  92. for i = 1,#c do
  93. c[i].Position = UDim2.new(vals[c[i].Name].xs, xpos-vals[c[i].Name].xo, vals[c[i].Name].ys, ypos-vals[c[i].Name].yo)
  94. end
  95. end
  96. end
  97.  
  98. function stopDrag()
  99. held = false
  100. end
  101.  
  102. bar.MouseButton1Down:connect(startDrag)
  103. bar.MouseButton1Up:connect(stopDrag)
  104. bar.MouseMoved:connect(move)
  105. end))
  106. Frame3.Parent = TextButton1
  107. Frame3.Position = UDim2.new(0, 0, 1, 0)
  108. Frame3.Size = UDim2.new(0, 440, 0, 224)
  109. Frame3.BackgroundColor = BrickColor.new("New Yeller")
  110. Frame3.BackgroundColor3 = Color3.new(1, 1, 0)
  111. ScrollingFrame4.Parent = Frame3
  112. ScrollingFrame4.Position = UDim2.new(0.772727251, 0, -0.00446428591, 0)
  113. ScrollingFrame4.Size = UDim2.new(0, 100, 0, 225)
  114. ScrollingFrame4.Active = true
  115. ScrollingFrame4.BackgroundColor = BrickColor.new("New Yeller")
  116. ScrollingFrame4.BackgroundColor3 = Color3.new(0.905882, 0.905882, 0)
  117. TextButton5.Parent = Frame3
  118. TextButton5.Position = UDim2.new(0.0045454544, 0, -0.00571768638, 0)
  119. TextButton5.Size = UDim2.new(0, 106, 0, 65)
  120. TextButton5.BackgroundColor = BrickColor.new("Institutional white")
  121. TextButton5.BackgroundColor3 = Color3.new(1, 1, 1)
  122. TextButton5.BackgroundTransparency = 1
  123. TextButton5.Font = Enum.Font.Arcade
  124. TextButton5.FontSize = Enum.FontSize.Size28
  125. TextButton5.Text = "FE SEIZURE"
  126. TextButton5.TextColor = BrickColor.new("Really black")
  127. TextButton5.TextColor3 = Color3.new(0, 0, 0)
  128. TextButton5.TextScaled = true
  129. TextButton5.TextSize = 28
  130. TextButton5.TextWrap = true
  131. TextButton5.TextWrapped = true
  132. LocalScript6.Parent = TextButton5
  133. table.insert(cors,sandbox(LocalScript6,function()
  134. function onClick()
  135.  
  136. local A=Instance.new'Animation'
  137. A.AnimationId='rbxassetid://33796059'
  138. local P=game:GetService'Players'.LocalPlayer
  139. local C=P.Character or P.CharacterAdded:Wait()
  140. local H=C:WaitForChild'Humanoid':LoadAnimation(A)
  141. H:Play()
  142. H:AdjustSpeed(1000000)
  143.  
  144. end
  145.  
  146. script.Parent.MouseButton1Up:connect(onClick)
  147. end))
  148. TextButton7.Parent = Frame3
  149. TextButton7.Position = UDim2.new(0.245454535, 0, -0.00125340046, 0)
  150. TextButton7.Size = UDim2.new(0, 106, 0, 65)
  151. TextButton7.BackgroundColor = BrickColor.new("Institutional white")
  152. TextButton7.BackgroundColor3 = Color3.new(1, 1, 1)
  153. TextButton7.BackgroundTransparency = 1
  154. TextButton7.Font = Enum.Font.Arcade
  155. TextButton7.FontSize = Enum.FontSize.Size28
  156. TextButton7.Text = "FE HATS"
  157. TextButton7.TextColor = BrickColor.new("Really black")
  158. TextButton7.TextColor3 = Color3.new(0, 0, 0)
  159. TextButton7.TextScaled = true
  160. TextButton7.TextSize = 28
  161. TextButton7.TextWrap = true
  162. TextButton7.TextWrapped = true
  163. LocalScript8.Parent = TextButton7
  164. table.insert(cors,sandbox(LocalScript8,function()
  165. function onClick()
  166. loadstring(game:HttpGet("https://pastebin.com/raw/4B4fktPS", true))()
  167.  
  168. end
  169.  
  170. script.Parent.MouseButton1Up:connect(onClick)
  171. end))
  172. TextButton9.Parent = Frame3
  173. TextButton9.Position = UDim2.new(0.48636362, 0, -0.00125340046, 0)
  174. TextButton9.Size = UDim2.new(0, 106, 0, 65)
  175. TextButton9.BackgroundColor = BrickColor.new("Institutional white")
  176. TextButton9.BackgroundColor3 = Color3.new(1, 1, 1)
  177. TextButton9.BackgroundTransparency = 1
  178. TextButton9.Font = Enum.Font.Arcade
  179. TextButton9.FontSize = Enum.FontSize.Size28
  180. TextButton9.Text = "FE VR"
  181. TextButton9.TextColor = BrickColor.new("Really black")
  182. TextButton9.TextColor3 = Color3.new(0, 0, 0)
  183. TextButton9.TextScaled = true
  184. TextButton9.TextSize = 28
  185. TextButton9.TextWrap = true
  186. TextButton9.TextWrapped = true
  187. LocalScript10.Parent = TextButton9
  188. table.insert(cors,sandbox(LocalScript10,function()
  189. function onClick()
  190.  
  191.  
  192.  
  193.  
  194.  
  195. local StudsOffset = 0.1 -- Character height (negative if you're too high)
  196. local Smoothness = 1 -- Character interpolation (0.1 - 1 = smooth - rigid)
  197.  
  198. local AnchorCharacter = false -- Prevent physics from causing inconsistencies
  199. local HideCharacter = false -- Hide character on a platform
  200. local NoCollision = false -- Disable player collision
  201.  
  202. local ChatEnabled = true -- See chat on your left hand in-game
  203. local ChatLocalRange = 75 -- Local chat range
  204.  
  205. local ViewportEnabled = true -- View nearby players in a frame
  206. local ViewportRange = 100 -- Maximum distance players are updated
  207.  
  208. local RagdollEnabled = true -- Use your character instead of hats (NetworkOwner vulnerability)
  209. local RagdollHeadMovement = true -- Move your head separately from your body (+9 second wait)
  210.  
  211. local AutoRun = false -- Run script on respawn
  212. local AutoRespawn = true -- Kill your real body when your virtual body dies
  213.  
  214. local WearAllAccessories = true -- Use all leftover hats for the head
  215. local AccurateHandPosition = true -- Move your Roblox hands according to your real hands
  216.  
  217. local AccessorySettings = {
  218. LeftArm = "";
  219. RightArm = "";
  220. LeftLeg = "";
  221. RightLeg = "";
  222. Torso = "";
  223. Head = true;
  224.  
  225. BlockArms = true;
  226. BlockLegs = true;
  227. BlockTorso = true;
  228.  
  229. LimbOffset = CFrame.Angles(math.rad(90), 0, 0);
  230. }
  231.  
  232. local FootPlacementSettings = {
  233. RightOffset = Vector3.new(.5, 0, 0),
  234. LeftOffset = Vector3.new(-.5, 0, 0),
  235. }
  236.  
  237. --|| Script:
  238.  
  239. local Script = nil;
  240.  
  241. Script = function()
  242.  
  243. --[[
  244. Variables
  245. --]]
  246.  
  247. local Players = game:GetService("Players")
  248. local Client = Players.LocalPlayer
  249. local Character = Client.Character or Client.CharacterAdded:Wait()
  250. local WeldBase = Character:WaitForChild("HumanoidRootPart")
  251. local ArmBase = Character:FindFirstChild("RightHand") or Character:FindFirstChild("Right Arm") or WeldBase
  252. local Backpack = Client:WaitForChild("Backpack")
  253. local Mouse = Client:GetMouse()
  254.  
  255. local Camera = workspace.CurrentCamera
  256.  
  257. local VRService = game:GetService("VRService")
  258. local VRReady = VRService.VREnabled
  259.  
  260. local UserInputService = game:GetService("UserInputService")
  261. local RunService = game:GetService("RunService")
  262. local HttpService = game:GetService("HttpService")
  263. local StarterGui = game:GetService("StarterGui")
  264.  
  265. local HeadAccessories = {};
  266. local UsedAccessories = {};
  267.  
  268. local Pointer = false;
  269. local Point1 = false;
  270. local Point2 = false;
  271.  
  272. local VirtualRig = game:GetObjects("rbxassetid://4468539481")[1]
  273. local VirtualBody = game:GetObjects("rbxassetid://4464983829")[1]
  274.  
  275. local Anchor = Instance.new("Part")
  276.  
  277. Anchor.Anchored = true
  278. Anchor.Transparency = 1
  279. Anchor.CanCollide = false
  280. Anchor.Parent = workspace
  281.  
  282. if RagdollEnabled then
  283. print("RagdollEnabled, thank you for using CLOVR!")
  284. local NetworkAccess = coroutine.create(function()
  285. settings().Physics.AllowSleep = false
  286. while true do game:GetService("RunService").RenderStepped:Wait()
  287. for _,Players in next, game:GetService("Players"):GetChildren() do
  288. if Players ~= game:GetService("Players").LocalPlayer then
  289. Players.MaximumSimulationRadius = 0.1 Players.SimulationRadius = 0 end end
  290. game:GetService("Players").LocalPlayer.MaximumSimulationRadius = math.pow(math.huge,math.huge)
  291. game:GetService("Players").LocalPlayer.SimulationRadius = math.huge*math.huge end end)
  292. coroutine.resume(NetworkAccess)
  293. end
  294.  
  295.  
  296.  
  297. --[[
  298. Character Protection
  299. --]]
  300.  
  301. local CharacterCFrame = WeldBase.CFrame
  302.  
  303. if not RagdollEnabled then
  304. Character.Humanoid.AnimationPlayed:Connect(function(Animation)
  305. Animation:Stop()
  306. end)
  307.  
  308. for _, Track in next, Character.Humanoid:GetPlayingAnimationTracks() do
  309. Track:Stop()
  310. end
  311.  
  312. if HideCharacter then
  313. local Platform = Instance.new("Part")
  314.  
  315. Platform.Anchored = true
  316. Platform.Size = Vector3.new(100, 5, 100)
  317. Platform.CFrame = CFrame.new(0, 10000, 0)
  318. Platform.Transparency = 1
  319. Platform.Parent = workspace
  320.  
  321. Character:MoveTo(Platform.Position + Vector3.new(0, 5, 0))
  322.  
  323. wait(.5)
  324. end
  325.  
  326. if AnchorCharacter then
  327. for _, Part in pairs(Character:GetChildren()) do
  328. if Part:IsA("BasePart") then
  329. Part.Anchored = true
  330. end
  331. end
  332. end
  333. end
  334.  
  335. --[[
  336. Functions
  337. --]]
  338.  
  339. function Tween(Object, Style, Direction, Time, Goal)
  340. local tweenInfo = TweenInfo.new(Time, Enum.EasingStyle[Style], Enum.EasingDirection[Direction])
  341. local tween = game:GetService("TweenService"):Create(Object, tweenInfo, Goal)
  342.  
  343. tween.Completed:Connect(function()
  344. tween:Destroy()
  345. end)
  346.  
  347. tween:Play()
  348.  
  349. return tween
  350. end
  351.  
  352. local function GetMotorForLimb(Limb)
  353. for _, Motor in next, Character:GetDescendants() do
  354. if Motor:IsA("Motor6D") and Motor.Part1 == Limb then
  355. return Motor
  356. end
  357. end
  358. end
  359.  
  360. local function CreateAlignment(Limb, Part0)
  361. local Attachment0 = Instance.new("Attachment", Part0 or Anchor)
  362. local Attachment1 = Instance.new("Attachment", Limb)
  363.  
  364. local Orientation = Instance.new("AlignOrientation")
  365. local Position = Instance.new("AlignPosition")
  366.  
  367. Orientation.Attachment0 = Attachment1
  368. Orientation.Attachment1 = Attachment0
  369. Orientation.RigidityEnabled = false
  370. Orientation.MaxTorque = 20000
  371. Orientation.Responsiveness = 40
  372. Orientation.Parent = Character.HumanoidRootPart
  373.  
  374. Position.Attachment0 = Attachment1
  375. Position.Attachment1 = Attachment0
  376. Position.RigidityEnabled = false
  377. Position.MaxForce = 40000
  378. Position.Responsiveness = 40
  379. Position.Parent = Character.HumanoidRootPart
  380.  
  381. Limb.Massless = false
  382.  
  383. local Motor = GetMotorForLimb(Limb)
  384. if Motor then
  385. Motor:Destroy()
  386. end
  387.  
  388. return function(CF, Local)
  389. if Local then
  390. Attachment0.CFrame = CF
  391. else
  392. Attachment0.WorldCFrame = CF
  393. end
  394. end;
  395. end
  396.  
  397. local function GetExtraTool()
  398. for _, Tool in next, Character:GetChildren() do
  399. if Tool:IsA("Tool") and not Tool.Name:match("LIMB_TOOL") then
  400. return Tool
  401. end
  402. end
  403. end
  404.  
  405. local function GetGripForHandle(Handle)
  406. for _, Weld in next, Character:GetDescendants() do
  407. if Weld:IsA("Weld") and (Weld.Part0 == Handle or Weld.Part1 == Handle) then
  408. return Weld
  409. end
  410. end
  411.  
  412. wait(.2)
  413.  
  414. for _, Weld in next, Character:GetDescendants() do
  415. if Weld:IsA("Weld") and (Weld.Part0 == Handle or Weld.Part1 == Handle) then
  416. return Weld
  417. end
  418. end
  419. end
  420.  
  421. local function CreateRightGrip(Handle)
  422. local RightGrip = Instance.new("Weld")
  423.  
  424. RightGrip.Name = "RightGrip"
  425. RightGrip.Part1 = Handle
  426. RightGrip.Part0 = WeldBase
  427. RightGrip.Parent = WeldBase
  428.  
  429. return RightGrip
  430. end
  431.  
  432. local function CreateAccessory(Accessory, DeleteMeshes)
  433. if not Accessory then
  434. return
  435. end
  436.  
  437. local HatAttachment = Accessory.Handle:FindFirstChildWhichIsA("Attachment")
  438. local HeadAttachment = VirtualRig:FindFirstChild(HatAttachment.Name, true)
  439. local BasePart = HeadAttachment.Parent
  440.  
  441. local HatAtt = HatAttachment.CFrame
  442. local HeadAtt = HeadAttachment.CFrame
  443.  
  444. if DeleteMeshes then
  445. if Accessory.Handle:FindFirstChild("Mesh") then
  446. Accessory.Handle.Mesh:Destroy()
  447. end
  448. end
  449.  
  450. wait()
  451.  
  452. local Handle = Accessory:WaitForChild("Handle")
  453.  
  454. if Handle:FindFirstChildWhichIsA("Weld", true) then
  455. Handle:FindFirstChildWhichIsA("Weld", true):Destroy()
  456. Handle:BreakJoints()
  457. else
  458. Handle:BreakJoints()
  459. end
  460.  
  461. Handle.Massless = true
  462. Handle.Transparency = 0.5
  463.  
  464. UsedAccessories[Accessory] = true
  465.  
  466. local RightGrip = CreateRightGrip(Handle)
  467.  
  468. wait()
  469.  
  470. for _, Object in pairs(Handle:GetDescendants()) do
  471. if not Object:IsA("BasePart") then
  472. pcall(function()
  473. Object.Transparency = 1
  474. end)
  475.  
  476. pcall(function()
  477. Object.Enabled = false
  478. end)
  479. end
  480. end
  481.  
  482. return Handle, RightGrip, HatAtt, HeadAtt, BasePart;
  483. end
  484.  
  485. local function GetHeadAccessories()
  486. for _, Accessory in next, Character:GetChildren() do
  487. if Accessory:IsA("Accessory") and not UsedAccessories[Accessory] then
  488. local Handle, RightGrip, HatAtt, HeadAtt, BasePart = CreateAccessory(Accessory)
  489.  
  490. table.insert(HeadAccessories, {Handle, RightGrip, HatAtt, HeadAtt, BasePart})
  491.  
  492. do
  493. Handle.Transparency = 1
  494. end
  495.  
  496. if not WearAllAccessories then
  497. break
  498. end
  499. end
  500. end
  501. end
  502.  
  503. --[[
  504. VR Replication Setup
  505. --]]
  506.  
  507. if not RagdollEnabled then
  508. LeftHandle, LeftHandGrip = CreateAccessory(Character:FindFirstChild(AccessorySettings.LeftArm), AccessorySettings.BlockArms)
  509. RightHandle, RightHandGrip = CreateAccessory(Character:FindFirstChild(AccessorySettings.RightArm), AccessorySettings.BlockArms)
  510. LeftHipHandle, LeftLegGrip = CreateAccessory(Character:FindFirstChild(AccessorySettings.LeftLeg), AccessorySettings.BlockLegs)
  511. RightHipHandle, RightLegGrip = CreateAccessory(Character:FindFirstChild(AccessorySettings.RightLeg), AccessorySettings.BlockLegs)
  512. TorsoHandle, TorsoGrip = CreateAccessory(Character:FindFirstChild(AccessorySettings.Torso), AccessorySettings.BlockTorso)
  513. GetHeadAccessories()
  514.  
  515. elseif RagdollEnabled then
  516. if RagdollHeadMovement then
  517. Permadeath()
  518. MoveHead = CreateAlignment(Character["Head"])
  519. end
  520.  
  521. MoveRightArm = CreateAlignment(Character["Right Arm"])
  522. MoveLeftArm = CreateAlignment(Character["Left Arm"])
  523. MoveRightLeg = CreateAlignment(Character["Right Leg"])
  524. MoveLeftLeg = CreateAlignment(Character["Left Leg"])
  525. MoveTorso = CreateAlignment(Character["Torso"])
  526. MoveRoot = CreateAlignment(Character.HumanoidRootPart)
  527.  
  528. if RagdollHeadMovement then
  529. for _, Accessory in next, Character:GetChildren() do
  530. if Accessory:IsA("Accessory") and Accessory:FindFirstChild("Handle") then
  531. local Attachment1 = Accessory.Handle:FindFirstChildWhichIsA("Attachment")
  532. local Attachment0 = Character:FindFirstChild(tostring(Attachment1), true)
  533.  
  534. local Orientation = Instance.new("AlignOrientation")
  535. local Position = Instance.new("AlignPosition")
  536.  
  537. print(Attachment1, Attachment0, Accessory)
  538.  
  539. Orientation.Attachment0 = Attachment1
  540. Orientation.Attachment1 = Attachment0
  541. Orientation.RigidityEnabled = false
  542. Orientation.ReactionTorqueEnabled = true
  543. Orientation.MaxTorque = 20000
  544. Orientation.Responsiveness = 40
  545. Orientation.Parent = Character.Head
  546.  
  547. Position.Attachment0 = Attachment1
  548. Position.Attachment1 = Attachment0
  549. Position.RigidityEnabled = false
  550. Position.ReactionForceEnabled = true
  551. Position.MaxForce = 40000
  552. Position.Responsiveness = 40
  553. Position.Parent = Character.Head
  554. end
  555. end
  556. end
  557. end
  558.  
  559. --[[
  560. Movement
  561. --]]
  562.  
  563. VirtualRig.Name = "VirtualRig"
  564. VirtualRig.RightFoot.BodyPosition.Position = CharacterCFrame.p
  565. VirtualRig.LeftFoot.BodyPosition.Position = CharacterCFrame.p
  566. VirtualRig.Parent = workspace
  567. VirtualRig:SetPrimaryPartCFrame(CharacterCFrame)
  568.  
  569. VirtualRig.Humanoid.Health = 0
  570. VirtualRig:BreakJoints()
  571. --
  572.  
  573. VirtualBody.Parent = workspace
  574. VirtualBody.Name = "VirtualBody"
  575. VirtualBody.Humanoid.WalkSpeed = 8
  576. VirtualBody.Humanoid.CameraOffset = Vector3.new(0, StudsOffset, 0)
  577. VirtualBody:SetPrimaryPartCFrame(CharacterCFrame)
  578.  
  579. VirtualBody.Humanoid.Died:Connect(function()
  580. print("Virtual death")
  581. if AutoRespawn then
  582. Character:BreakJoints()
  583.  
  584. if RagdollHeadMovement and RagdollEnabled then
  585. Network:Unclaim()
  586. Respawn()
  587. end
  588. end
  589. end)
  590. --
  591.  
  592. Camera.CameraSubject = VirtualBody.Humanoid
  593.  
  594. Character.Humanoid.WalkSpeed = 0
  595. Character.Humanoid.JumpPower = 1
  596.  
  597. for _, Part in next, VirtualBody:GetChildren() do
  598. if Part:IsA("BasePart") then
  599. Part.Transparency = 1
  600. end
  601. end
  602.  
  603. for _, Part in next, VirtualRig:GetChildren() do
  604. if Part:IsA("BasePart") then
  605. Part.Transparency = 1
  606. end
  607. end
  608.  
  609. if not VRReady then
  610. VirtualRig.RightUpperArm.ShoulderConstraint.RigidityEnabled = true
  611. VirtualRig.LeftUpperArm.ShoulderConstraint.RigidityEnabled = true
  612. end
  613.  
  614.  
  615. local OnMoving = RunService.Stepped:Connect(function()
  616. local Direction = Character.Humanoid.MoveDirection
  617. local Start = VirtualBody.HumanoidRootPart.Position
  618. local Point = Start + Direction * 6
  619.  
  620. VirtualBody.Humanoid:MoveTo(Point)
  621. end)
  622.  
  623. Character.Humanoid.Jumping:Connect(function()
  624. VirtualBody.Humanoid.Jump = true
  625. end)
  626.  
  627. UserInputService.JumpRequest:Connect(function()
  628. VirtualBody.Humanoid.Jump = true
  629. end)
  630.  
  631. --[[
  632. VR Replication
  633. --]]
  634.  
  635. if RagdollEnabled then
  636. for _, Part in pairs(Character:GetDescendants()) do
  637. if Part:IsA("BasePart") and Part.Name == "Handle" and Part.Parent:IsA("Accessory") then
  638. Part.LocalTransparencyModifier = 1
  639. elseif Part:IsA("BasePart") and Part.Transparency < 0.5 and Part.Name ~= "Head" then
  640. Part.LocalTransparencyModifier = 0.5
  641. elseif Part:IsA("BasePart") and Part.Name == "Head" then
  642. Part.LocalTransparencyModifier = 1
  643. end
  644.  
  645. if not Part:IsA("BasePart") and not Part:IsA("AlignPosition") and not Part:IsA("AlignOrientation") then
  646. pcall(function()
  647. Part.Transparency = 1
  648. end)
  649.  
  650. pcall(function()
  651. Part.Enabled = false
  652. end)
  653. end
  654. end
  655. end
  656.  
  657. local FootUpdateDebounce = tick()
  658.  
  659. local function FloorRay(Part, Distance)
  660. local Position = Part.CFrame.p
  661. local Target = Position - Vector3.new(0, Distance, 0)
  662. local Line = Ray.new(Position, (Target - Position).Unit * Distance)
  663.  
  664. local FloorPart, FloorPosition, FloorNormal = workspace:FindPartOnRayWithIgnoreList(Line, {VirtualRig, VirtualBody, Character})
  665.  
  666. if FloorPart then
  667. return FloorPart, FloorPosition, FloorNormal, (FloorPosition - Position).Magnitude
  668. else
  669. return nil, Target, Vector3.new(), Distance
  670. end
  671. end
  672.  
  673. local function Flatten(CF)
  674. local X,Y,Z = CF.X,CF.Y,CF.Z
  675. local LX,LZ = CF.lookVector.X,CF.lookVector.Z
  676.  
  677. return CFrame.new(X,Y,Z) * CFrame.Angles(0,math.atan2(LX,LZ),0)
  678. end
  679.  
  680. local FootTurn = 1
  681.  
  682. local function FootReady(Foot, Target)
  683. local MaxDist
  684.  
  685. if Character.Humanoid.MoveDirection.Magnitude > 0 then
  686. MaxDist = .5
  687. else
  688. MaxDist = 1
  689. end
  690.  
  691. local PastThreshold = (Foot.Position - Target.Position).Magnitude > MaxDist
  692. local PastTick = tick() - FootUpdateDebounce >= 2
  693.  
  694. if PastThreshold or PastTick then
  695. FootUpdateDebounce = tick()
  696. end
  697.  
  698. return
  699. PastThreshold
  700. or
  701. PastTick
  702. end
  703.  
  704. local function FootYield()
  705. local RightFooting = VirtualRig.RightFoot.BodyPosition
  706. local LeftFooting = VirtualRig.LeftFoot.BodyPosition
  707. local LowerTorso = VirtualRig.LowerTorso
  708.  
  709. local Yield = tick()
  710.  
  711. repeat
  712. RunService.Stepped:Wait()
  713. if
  714. (LowerTorso.Position - RightFooting.Position).Y > 4
  715. or
  716. (LowerTorso.Position - LeftFooting.Position).Y > 4
  717. or
  718. ((LowerTorso.Position - RightFooting.Position) * Vector3.new(1, 0, 1)).Magnitude > 4
  719. or
  720. ((LowerTorso.Position - LeftFooting.Position) * Vector3.new(1, 0, 1)).Magnitude > 4
  721. then
  722. break
  723. end
  724. until tick() - Yield >= .17
  725. end
  726.  
  727. local function UpdateFooting()
  728. if not VirtualRig:FindFirstChild("LowerTorso") then
  729. wait()
  730. return
  731. end
  732.  
  733. local Floor, FloorPosition, FloorNormal, Dist = FloorRay(VirtualRig.LowerTorso, 3)
  734.  
  735. Dist = math.clamp(Dist, 0, 5)
  736.  
  737. local FootTarget =
  738. VirtualRig.LowerTorso.CFrame *
  739. CFrame.new(FootPlacementSettings.RightOffset) -
  740. Vector3.new(0, Dist, 0) +
  741. Character.Humanoid.MoveDirection * (VirtualBody.Humanoid.WalkSpeed / 8) * 2
  742.  
  743. if FootReady(VirtualRig.RightFoot, FootTarget) then
  744. VirtualRig.RightFoot.BodyPosition.Position = FootTarget.p
  745. VirtualRig.RightFoot.BodyGyro.CFrame = Flatten(VirtualRig.LowerTorso.CFrame)
  746. end
  747.  
  748. FootYield()
  749.  
  750. local FootTarget =
  751. VirtualRig.LowerTorso.CFrame *
  752. CFrame.new(FootPlacementSettings.LeftOffset) -
  753. Vector3.new(0, Dist, 0) +
  754. Character.Humanoid.MoveDirection * (VirtualBody.Humanoid.WalkSpeed / 8) * 2
  755.  
  756. if FootReady(VirtualRig.LeftFoot, FootTarget) then
  757. VirtualRig.LeftFoot.BodyPosition.Position = FootTarget.p
  758. VirtualRig.LeftFoot.BodyGyro.CFrame = Flatten(VirtualRig.LowerTorso.CFrame)
  759. end
  760. end
  761.  
  762. local function UpdateTorsoPosition()
  763. if not RagdollEnabled then
  764. if TorsoHandle then
  765. local Positioning = VirtualRig.UpperTorso.CFrame
  766.  
  767. if not TorsoGrip or not TorsoGrip.Parent then
  768. TorsoGrip = CreateRightGrip(TorsoHandle)
  769. end
  770.  
  771. local Parent = TorsoGrip.Parent
  772.  
  773. TorsoGrip.C1 = CFrame.new()
  774. TorsoGrip.C0 = TorsoGrip.C0:Lerp(WeldBase.CFrame:ToObjectSpace(Positioning * CFrame.new(0, -0.25, 0) * AccessorySettings.LimbOffset), Smoothness)
  775. TorsoGrip.Parent = nil
  776. TorsoGrip.Parent = Parent
  777. end
  778. else
  779. local Positioning = VirtualRig.UpperTorso.CFrame
  780.  
  781. MoveTorso(Positioning * CFrame.new(0, -0.25, 0))
  782. MoveRoot(Positioning * CFrame.new(0, -0.25, 0))
  783. end
  784. end
  785.  
  786. local function UpdateLegPosition()
  787. if not RagdollEnabled then
  788. if RightHipHandle then
  789. local Positioning =
  790. VirtualRig.RightLowerLeg.CFrame
  791. : Lerp(VirtualRig.RightFoot.CFrame, 0.5)
  792. + Vector3.new(0, 0.5, 0)
  793.  
  794. if not RightHipHandle or not RightHipHandle.Parent then
  795. RightLegGrip = CreateRightGrip(RightHipHandle)
  796. end
  797.  
  798. local Parent = RightLegGrip.Parent
  799.  
  800. RightLegGrip.C1 = CFrame.new()
  801. RightLegGrip.C0 = RightLegGrip.C0:Lerp(WeldBase.CFrame:ToObjectSpace(Positioning * AccessorySettings.LimbOffset), Smoothness)
  802. RightLegGrip.Parent = nil
  803. RightLegGrip.Parent = Parent
  804. end
  805.  
  806. if LeftHipHandle then
  807. local Positioning =
  808. VirtualRig.LeftLowerLeg.CFrame
  809. : Lerp(VirtualRig.LeftFoot.CFrame, 0.5)
  810. + Vector3.new(0, 0.5, 0)
  811.  
  812. if not LeftLegGrip or not LeftLegGrip.Parent then
  813. LeftLegGrip = CreateRightGrip(LeftHipHandle)
  814. end
  815.  
  816. local Parent = LeftLegGrip.Parent
  817.  
  818. LeftLegGrip.C1 = CFrame.new()
  819. LeftLegGrip.C0 = LeftLegGrip.C0:Lerp(WeldBase.CFrame:ToObjectSpace(Positioning * AccessorySettings.LimbOffset), Smoothness)
  820. LeftLegGrip.Parent = nil
  821. LeftLegGrip.Parent = Parent
  822. end
  823. else
  824. do
  825. local Positioning =
  826. VirtualRig.RightLowerLeg.CFrame
  827. : Lerp(VirtualRig.RightFoot.CFrame, 0.5)
  828. * CFrame.Angles(0, math.rad(180), 0)
  829. + Vector3.new(0, 0.5, 0)
  830.  
  831. MoveRightLeg(Positioning)
  832. end
  833.  
  834. do
  835. local Positioning =
  836. VirtualRig.LeftLowerLeg.CFrame
  837. : Lerp(VirtualRig.LeftFoot.CFrame, 0.5)
  838. * CFrame.Angles(0, math.rad(180), 0)
  839. + Vector3.new(0, 0.5, 0)
  840.  
  841. MoveLeftLeg(Positioning)
  842. end
  843. end
  844. end
  845.  
  846. warn("VRReady is", VRReady)
  847.  
  848. local function OnUserCFrameChanged(UserCFrame, Positioning, IgnoreTorso)
  849. local Positioning = Camera.CFrame * Positioning
  850.  
  851. if not IgnoreTorso then
  852. UpdateTorsoPosition()
  853. UpdateLegPosition()
  854. end
  855.  
  856. if not RagdollEnabled then
  857. if UserCFrame == Enum.UserCFrame.Head and AccessorySettings.Head then
  858. for _, Table in next, HeadAccessories do
  859. local Handle, RightGrip, HatAtt, HeadAtt, BasePart = unpack(Table)
  860. local LocalPositioning = Positioning
  861.  
  862. if not RightGrip or not RightGrip.Parent then
  863. RightGrip = CreateRightGrip(Handle)
  864. Table[2] = RightGrip
  865. end
  866.  
  867. local Parent = RightGrip.Parent
  868.  
  869. if BasePart then
  870. LocalPositioning = BasePart.CFrame * HeadAtt
  871. end
  872.  
  873. RightGrip.C1 = HatAtt
  874. RightGrip.C0 = RightGrip.C0:Lerp(WeldBase.CFrame:ToObjectSpace(LocalPositioning), Smoothness)
  875. RightGrip.Parent = nil
  876. RightGrip.Parent = Parent
  877. end
  878.  
  879. elseif RightHandle and UserCFrame == Enum.UserCFrame.RightHand and AccessorySettings.RightArm then
  880. local HandPosition = Positioning
  881. local LocalPositioning = Positioning
  882.  
  883. if not RightHandGrip or not RightHandGrip.Parent then
  884. RightHandGrip = CreateRightGrip(RightHandle)
  885. end
  886.  
  887. if AccurateHandPosition then
  888. HandPosition = HandPosition * CFrame.new(0, 0, 1)
  889. end
  890.  
  891. if not VRReady then
  892. local HeadRotation = Camera.CFrame - Camera.CFrame.p
  893.  
  894. HandPosition = VirtualRig.RightUpperArm.CFrame:Lerp(VirtualRig.RightLowerArm.CFrame, 0.5) * AccessorySettings.LimbOffset
  895.  
  896. --LocalPositioning = (HeadRotation + (HandPosition * CFrame.new(0, 0, 1)).p) * CFrame.Angles(math.rad(-45), 0, 0)
  897. LocalPositioning = HandPosition * CFrame.new(0, 0, 1) * CFrame.Angles(math.rad(-180), 0, 0)
  898.  
  899. if Point2 then
  900. VirtualRig.RightUpperArm.Aim.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
  901. VirtualRig.RightUpperArm.Aim.CFrame = Camera.CFrame * AccessorySettings.LimbOffset
  902. elseif VirtualRig.RightUpperArm.Aim.MaxTorque ~= Vector3.new(0, 0, 0) then
  903. VirtualRig.RightUpperArm.Aim.MaxTorque = Vector3.new(0, 0, 0)
  904. end
  905. elseif AccurateHandPosition then
  906. LocalPositioning = HandPosition
  907. end
  908.  
  909. local Parent = RightHandGrip.Parent
  910.  
  911. RightHandGrip.C1 = CFrame.new()
  912. RightHandGrip.C0 = RightHandGrip.C0:Lerp(WeldBase.CFrame:ToObjectSpace(HandPosition), Smoothness)
  913. RightHandGrip.Parent = nil
  914. RightHandGrip.Parent = Parent
  915.  
  916. --
  917.  
  918. local EquippedTool = GetExtraTool()
  919.  
  920. if EquippedTool and EquippedTool:FindFirstChild("Handle") then
  921. local EquippedGrip = GetGripForHandle(EquippedTool.Handle)
  922. local Parent = EquippedGrip.Parent
  923.  
  924. local ArmBaseCFrame = ArmBase.CFrame
  925. if ArmBase.Name == "Right Arm" then
  926. ArmBaseCFrame = ArmBaseCFrame
  927. end
  928.  
  929. EquippedGrip.C1 = EquippedTool.Grip
  930. EquippedGrip.C0 = EquippedGrip.C0:Lerp(ArmBaseCFrame:ToObjectSpace(LocalPositioning), Smoothness)
  931. EquippedGrip.Parent = nil
  932. EquippedGrip.Parent = Parent
  933. end
  934.  
  935. elseif LeftHandle and UserCFrame == Enum.UserCFrame.LeftHand and AccessorySettings.LeftArm then
  936. local HandPosition = Positioning
  937.  
  938. if not LeftHandGrip or not LeftHandGrip.Parent then
  939. LeftHandGrip = CreateRightGrip(LeftHandle)
  940. end
  941.  
  942. if AccurateHandPosition then
  943. HandPosition = HandPosition * CFrame.new(0, 0, 1)
  944. end
  945.  
  946. if not VRReady then
  947. HandPosition = VirtualRig.LeftUpperArm.CFrame:Lerp(VirtualRig.LeftLowerArm.CFrame, 0.5) * AccessorySettings.LimbOffset
  948. --warn("Setting HandPosition to hands")
  949. if Point1 then
  950. VirtualRig.LeftUpperArm.Aim.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
  951. VirtualRig.LeftUpperArm.Aim.CFrame = Camera.CFrame * AccessorySettings.LimbOffset
  952. elseif VirtualRig.LeftUpperArm.Aim.MaxTorque ~= Vector3.new(0, 0, 0) then
  953. VirtualRig.LeftUpperArm.Aim.MaxTorque = Vector3.new(0, 0, 0)
  954. end
  955. end
  956.  
  957. local Parent = LeftHandGrip.Parent
  958.  
  959. LeftHandGrip.C1 = CFrame.new()
  960. LeftHandGrip.C0 = LeftHandGrip.C0:Lerp(WeldBase.CFrame:ToObjectSpace(HandPosition), Smoothness)
  961. LeftHandGrip.Parent = nil
  962. LeftHandGrip.Parent = Parent
  963.  
  964. end
  965. end
  966.  
  967. if RagdollEnabled then
  968. if UserCFrame == Enum.UserCFrame.Head and RagdollHeadMovement then
  969. MoveHead(Positioning)
  970. elseif UserCFrame == Enum.UserCFrame.RightHand then
  971. local Positioning = Positioning
  972.  
  973. if not VRReady then
  974. Positioning = VirtualRig.RightUpperArm.CFrame:Lerp(VirtualRig.RightLowerArm.CFrame, 0.5)
  975. elseif AccurateHandPosition then
  976. Positioning = Positioning * CFrame.new(0, 0, 1)
  977. end
  978.  
  979. if VRReady then
  980. Positioning = Positioning * AccessorySettings.LimbOffset
  981. end
  982.  
  983. MoveRightArm(Positioning)
  984.  
  985. if Point2 then
  986. VirtualRig.RightUpperArm.Aim.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
  987. VirtualRig.RightUpperArm.Aim.CFrame = Camera.CFrame * AccessorySettings.LimbOffset
  988. elseif VirtualRig.RightUpperArm.Aim.MaxTorque ~= Vector3.new(0, 0, 0) then
  989. VirtualRig.RightUpperArm.Aim.MaxTorque = Vector3.new(0, 0, 0)
  990. end
  991. elseif UserCFrame == Enum.UserCFrame.LeftHand then
  992. local Positioning = Positioning
  993.  
  994. if not VRReady then
  995. Positioning = VirtualRig.LeftUpperArm.CFrame:Lerp(VirtualRig.LeftLowerArm.CFrame, 0.5)
  996. elseif AccurateHandPosition then
  997. Positioning = Positioning * CFrame.new(0, 0, 1)
  998. end
  999.  
  1000. if VRReady then
  1001. Positioning = Positioning * AccessorySettings.LimbOffset
  1002. end
  1003.  
  1004. MoveLeftArm(Positioning)
  1005.  
  1006. if Point1 then
  1007. VirtualRig.LeftUpperArm.Aim.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
  1008. VirtualRig.LeftUpperArm.Aim.CFrame = Camera.CFrame * AccessorySettings.LimbOffset
  1009. elseif VirtualRig.LeftUpperArm.Aim.MaxTorque ~= Vector3.new(0, 0, 0) then
  1010. VirtualRig.LeftUpperArm.Aim.MaxTorque = Vector3.new(0, 0, 0)
  1011. end
  1012. end
  1013. end
  1014.  
  1015. if UserCFrame == Enum.UserCFrame.Head then
  1016. VirtualRig.Head.CFrame = Positioning
  1017.  
  1018. elseif UserCFrame == Enum.UserCFrame.RightHand and VRReady then
  1019. VirtualRig.RightHand.CFrame = Positioning
  1020.  
  1021. elseif UserCFrame == Enum.UserCFrame.LeftHand and VRReady then
  1022. VirtualRig.LeftHand.CFrame = Positioning
  1023.  
  1024. end
  1025.  
  1026. if not VRReady and VirtualRig.LeftHand.Anchored then
  1027. VirtualRig.RightHand.Anchored = false
  1028. VirtualRig.LeftHand.Anchored = false
  1029. elseif VRReady and not VirtualRig.LeftHand.Anchored then
  1030. VirtualRig.RightHand.Anchored = true
  1031. VirtualRig.LeftHand.Anchored = true
  1032. end
  1033. end
  1034.  
  1035. local CFrameChanged = VRService.UserCFrameChanged:Connect(OnUserCFrameChanged)
  1036.  
  1037. local OnStepped = RunService.Stepped:Connect(function()
  1038. for _, Part in pairs(VirtualRig:GetChildren()) do
  1039. if Part:IsA("BasePart") then
  1040. Part.CanCollide = false
  1041. end
  1042. end
  1043.  
  1044. if RagdollEnabled then
  1045. for _, Part in pairs(Character:GetChildren()) do
  1046. if Part:IsA("BasePart") then
  1047. Part.CanCollide = false
  1048. end
  1049. end
  1050. end
  1051.  
  1052. if NoCollision then
  1053. for _, Player in pairs(Players:GetPlayers()) do
  1054. if Player ~= Client and Player.Character then
  1055. local Descendants = Player.Character:GetDescendants()
  1056. for i = 1, #Descendants do
  1057. local Part = Descendants[i]
  1058. if Part:IsA("BasePart") then
  1059. Part.CanCollide = false
  1060. Part.Velocity = Vector3.new()
  1061. Part.RotVelocity = Vector3.new()
  1062. end
  1063. end
  1064. end
  1065. end
  1066. end
  1067. end)
  1068.  
  1069. local OnRenderStepped = RunService.Stepped:Connect(function()
  1070. Camera.CameraSubject = VirtualBody.Humanoid
  1071.  
  1072. if RagdollEnabled then
  1073. Character.HumanoidRootPart.CFrame = VirtualRig.UpperTorso.CFrame
  1074. Character.HumanoidRootPart.Velocity = Vector3.new(0, 0, 0)
  1075. end
  1076.  
  1077. if not VRReady then
  1078. OnUserCFrameChanged(Enum.UserCFrame.Head, CFrame.new(0, 0, 0))
  1079.  
  1080. OnUserCFrameChanged(Enum.UserCFrame.RightHand, CFrame.new(0, 0, 0), true)
  1081. OnUserCFrameChanged(Enum.UserCFrame.LeftHand, CFrame.new(0, 0, 0), true)
  1082. end
  1083. end)
  1084.  
  1085. spawn(function()
  1086. while Character and Character.Parent do
  1087. FootYield()
  1088. UpdateFooting()
  1089. end
  1090. end)
  1091.  
  1092. --[[
  1093. Non-VR Support + VR Mechanics
  1094. --]]
  1095.  
  1096. local OnInput = UserInputService.InputBegan:Connect(function(Input, Processed)
  1097. if not Processed then
  1098. if Input.KeyCode == Enum.KeyCode.LeftControl or Input.KeyCode == Enum.KeyCode.ButtonL2 then
  1099. Tween(VirtualBody.Humanoid, "Elastic", "Out", 1, {
  1100. CameraOffset = Vector3.new(0, StudsOffset - 1.5, 0)
  1101. })
  1102. end
  1103.  
  1104. if Input.KeyCode == Enum.KeyCode.X then
  1105. if RagdollEnabled and RagdollHeadMovement then
  1106. Network:Unclaim()
  1107. Respawn()
  1108. end
  1109. end
  1110.  
  1111. if Input.KeyCode == Enum.KeyCode.C then
  1112. VirtualBody:MoveTo(Mouse.Hit.p)
  1113. VirtualRig:MoveTo(Mouse.Hit.p)
  1114. end
  1115. end
  1116.  
  1117. if Input.KeyCode == Enum.KeyCode.LeftShift or Input.KeyCode == Enum.KeyCode.ButtonR2 then
  1118. Tween(VirtualBody.Humanoid, "Sine", "Out", 1, {
  1119. WalkSpeed = 16
  1120. })
  1121. end
  1122.  
  1123. if not VRReady and Input.UserInputType == Enum.UserInputType.MouseButton1 then
  1124. Point1 = true
  1125. end
  1126.  
  1127. if not VRReady and Input.UserInputType == Enum.UserInputType.MouseButton2 then
  1128. Point2 = true
  1129. end
  1130.  
  1131. if VRReady and Input.KeyCode == Enum.KeyCode.ButtonY then
  1132. Character:BreakJoints()
  1133.  
  1134. if RagdollEnabled and RagdollHeadMovement then
  1135. Network:Unclaim()
  1136. Respawn()
  1137. end
  1138. end
  1139. end)
  1140.  
  1141. local OnInputEnded = UserInputService.InputEnded:Connect(function(Input, Processed)
  1142. if not Processed then
  1143. if Input.KeyCode == Enum.KeyCode.LeftControl or Input.KeyCode == Enum.KeyCode.ButtonL2 then
  1144. Tween(VirtualBody.Humanoid, "Elastic", "Out", 1, {
  1145. CameraOffset = Vector3.new(0, StudsOffset, 0)
  1146. })
  1147. end
  1148. end
  1149.  
  1150. if Input.KeyCode == Enum.KeyCode.LeftShift or Input.KeyCode == Enum.KeyCode.ButtonR2 then
  1151. Tween(VirtualBody.Humanoid, "Sine", "Out", 1, {
  1152. WalkSpeed = 8
  1153. })
  1154. end
  1155.  
  1156. if not VRReady and Input.UserInputType == Enum.UserInputType.MouseButton1 then
  1157. Point1 = false
  1158. end
  1159.  
  1160. if not VRReady and Input.UserInputType == Enum.UserInputType.MouseButton2 then
  1161. Point2 = false
  1162. end
  1163. end)
  1164.  
  1165. --[[
  1166. Proper Cleanup
  1167. --]]
  1168.  
  1169. local OnReset
  1170.  
  1171. OnReset = Client.CharacterAdded:Connect(function()
  1172. OnReset:Disconnect();
  1173. CFrameChanged:Disconnect();
  1174. OnStepped:Disconnect();
  1175. OnRenderStepped:Disconnect();
  1176. OnMoving:Disconnect();
  1177. OnInput:Disconnect();
  1178. OnInputEnded:Disconnect();
  1179.  
  1180. VirtualRig:Destroy();
  1181. VirtualBody:Destroy();
  1182.  
  1183. if RagdollEnabled then
  1184. Network:Unclaim();
  1185. end
  1186.  
  1187. if AutoRun then
  1188. delay(2, function()
  1189. Script()
  1190. end)
  1191. end
  1192. end)
  1193.  
  1194. if ChatEnabled then
  1195. spawn(ChatHUDFunc)
  1196. end
  1197.  
  1198. if ViewportEnabled then
  1199. spawn(ViewHUDFunc)
  1200. end
  1201.  
  1202. do
  1203. --[[
  1204. Functions
  1205. --]]
  1206.  
  1207. local Players = game:GetService("Players")
  1208. local Client = Players.LocalPlayer
  1209.  
  1210. local VRService = game:GetService("VRService")
  1211. local VRReady = VRService.VREnabled
  1212.  
  1213. local UserInputService = game:GetService("UserInputService")
  1214. local RunService = game:GetService("RunService")
  1215.  
  1216. local Camera = workspace.CurrentCamera
  1217.  
  1218. --[[
  1219. Code
  1220. --]]
  1221.  
  1222. if VRReady then
  1223. local Pointer = game:GetObjects("rbxassetid://4476173280")[1]
  1224.  
  1225. Pointer.Parent = workspace
  1226. Pointer.Beam.Enabled = false
  1227. Pointer.Target.ParticleEmitter.Enabled = false
  1228.  
  1229. local RenderStepped = RunService.RenderStepped:Connect(function()
  1230. if Pointer.Beam.Enabled then
  1231. local RightHand = Camera.CFrame * VRService:GetUserCFrame(Enum.UserCFrame.RightHand)
  1232. local Target = RightHand * CFrame.new(0, 0, -10)
  1233.  
  1234. local Line = Ray.new(RightHand.p, (Target.p - RightHand.p).Unit * 128)
  1235. local Part, Position = workspace:FindPartOnRayWithIgnoreList(Line, {VirtualRig, VirtualBody, Character, Pointer})
  1236.  
  1237. local Distance = (Position - RightHand.p).Magnitude
  1238.  
  1239. Pointer.Target.Position = Vector3.new(0, 0, -Distance)
  1240. Pointer.CFrame = RightHand
  1241. end
  1242. end)
  1243.  
  1244. local Input = UserInputService.InputBegan:Connect(function(Input)
  1245. if Input.KeyCode == Enum.KeyCode.ButtonB then
  1246. Pointer.Beam.Enabled = not Pointer.Beam.Enabled
  1247. Pointer.Target.ParticleEmitter.Enabled = not Pointer.Target.ParticleEmitter.Enabled
  1248. end
  1249. end)
  1250.  
  1251. --
  1252.  
  1253. local CharacterAdded
  1254.  
  1255. CharacterAdded = Client.CharacterAdded:Connect(function()
  1256. RenderStepped:Disconnect()
  1257. Input:Disconnect()
  1258. CharacterAdded:Disconnect()
  1259.  
  1260. Pointer:Destroy()
  1261. Pointer = nil
  1262. end)
  1263. else
  1264. return
  1265. end
  1266. end
  1267.  
  1268. end;
  1269.  
  1270. Permadeath = function()
  1271. local ch = game.Players.LocalPlayer.Character
  1272. local prt=Instance.new("Model", workspace)
  1273. local z1 = Instance.new("Part", prt)
  1274. z1.Name="Torso"
  1275. z1.CanCollide = false
  1276. z1.Anchored = true
  1277. local z2 =Instance.new("Part", prt)
  1278. z2.Name="Head"
  1279. z2.Anchored = true
  1280. z2.CanCollide = false
  1281. local z3 =Instance.new("Humanoid", prt)
  1282. z3.Name="Humanoid"
  1283. z1.Position = Vector3.new(0,9999,0)
  1284. z2.Position = Vector3.new(0,9991,0)
  1285. game.Players.LocalPlayer.Character=prt
  1286. wait(5)
  1287. warn("50%")
  1288. game.Players.LocalPlayer.Character=ch
  1289. wait(6)
  1290. warn("100%")
  1291. end;
  1292.  
  1293. Respawn = function()
  1294. local ch = game.Players.LocalPlayer.Character
  1295.  
  1296. local prt=Instance.new("Model", workspace)
  1297. local z1 = Instance.new("Part", prt)
  1298. z1.Name="Torso"
  1299. z1.CanCollide = false
  1300. z1.Anchored = true
  1301. local z2 =Instance.new("Part", prt)
  1302. z2.Name="Head"
  1303. z2.Anchored = true
  1304. z2.CanCollide = false
  1305. local z3 =Instance.new("Humanoid", prt)
  1306. z3.Name="Humanoid"
  1307. z1.Position = Vector3.new(0,9999,0)
  1308. z2.Position = Vector3.new(0,9991,0)
  1309. game.Players.LocalPlayer.Character=prt
  1310. wait(5)
  1311. game.Players.LocalPlayer.Character=ch
  1312. end;
  1313.  
  1314. ChatHUDFunc = function()
  1315. --[[
  1316. Variables
  1317. --]]
  1318.  
  1319. local UserInputService = game:GetService("UserInputService")
  1320. local RunService = game:GetService("RunService")
  1321.  
  1322. local VRService = game:GetService("VRService")
  1323. local VRReady = VRService.VREnabled
  1324.  
  1325. local Players = game:GetService("Players")
  1326. local Client = Players.LocalPlayer
  1327.  
  1328. local ChatHUD = game:GetObjects("rbxassetid://4476067885")[1]
  1329. local GlobalFrame = ChatHUD.GlobalFrame
  1330. local Template = GlobalFrame.Template
  1331. local LocalFrame = ChatHUD.LocalFrame
  1332. local Global = ChatHUD.Global
  1333. local Local = ChatHUD.Local
  1334.  
  1335. local Camera = workspace.CurrentCamera
  1336.  
  1337. Template.Parent = nil
  1338. ChatHUD.Parent = game:GetService("CoreGui")
  1339.  
  1340. --[[
  1341. Code
  1342. --]]
  1343.  
  1344. local Highlight = Global.Frame.BackgroundColor3
  1345. local Deselected = Local.Frame.BackgroundColor3
  1346.  
  1347. local OpenGlobalTab = function()
  1348. Global.Frame.BackgroundColor3 = Highlight
  1349. Local.Frame.BackgroundColor3 = Deselected
  1350.  
  1351. Global.Font = Enum.Font.SourceSansBold
  1352. Local.Font = Enum.Font.SourceSans
  1353.  
  1354. GlobalFrame.Visible = true
  1355. LocalFrame.Visible = false
  1356. end
  1357.  
  1358. local OpenLocalTab = function()
  1359. Global.Frame.BackgroundColor3 = Deselected
  1360. Local.Frame.BackgroundColor3 = Highlight
  1361.  
  1362. Global.Font = Enum.Font.SourceSans
  1363. Local.Font = Enum.Font.SourceSansBold
  1364.  
  1365. GlobalFrame.Visible = false
  1366. LocalFrame.Visible = true
  1367. end
  1368.  
  1369. Global.MouseButton1Down:Connect(OpenGlobalTab)
  1370. Local.MouseButton1Down:Connect(OpenLocalTab)
  1371. Global.MouseButton1Click:Connect(OpenGlobalTab)
  1372. Local.MouseButton1Click:Connect(OpenLocalTab)
  1373.  
  1374. OpenLocalTab()
  1375.  
  1376. --
  1377.  
  1378. local function GetPlayerDistance(Sender)
  1379. if Sender.Character and Sender.Character:FindFirstChild("Head") then
  1380. return math.floor((Sender.Character.Head.Position - Camera:GetRenderCFrame().p).Magnitude + 0.5)
  1381. end
  1382. end
  1383.  
  1384. local function NewGlobal(Message, Sender, Color)
  1385. local Frame = Template:Clone()
  1386.  
  1387. Frame.Text = ("[%s]: %s"):format(Sender.Name, Message)
  1388. Frame.User.Text = ("[%s]:"):format(Sender.Name)
  1389. Frame.User.TextColor3 = Color
  1390. Frame.BackgroundColor3 = Color
  1391. Frame.Parent = GlobalFrame
  1392.  
  1393. delay(60, function()
  1394. Frame:Destroy()
  1395. end)
  1396. end
  1397.  
  1398. local function NewLocal(Message, Sender, Color, Dist)
  1399. local Frame = Template:Clone()
  1400.  
  1401. Frame.Text = ("(%s) [%s]: %s"):format(tostring(Dist), Sender.Name, Message)
  1402. Frame.User.Text = ("(%s) [%s]:"):format(tostring(Dist), Sender.Name)
  1403. Frame.User.TextColor3 = Color
  1404. Frame.BackgroundColor3 = Color
  1405. Frame.Parent = LocalFrame
  1406.  
  1407. delay(60, function()
  1408. Frame:Destroy()
  1409. end)
  1410. end
  1411.  
  1412. local function OnNewChat(Message, Sender, Color)
  1413. if not ChatHUD or not ChatHUD.Parent then return end
  1414.  
  1415. NewGlobal(Message, Sender, Color)
  1416.  
  1417. local Distance = GetPlayerDistance(Sender)
  1418.  
  1419. if Distance and Distance <= ChatLocalRange then
  1420. NewLocal(Message, Sender, Color, Distance)
  1421. end
  1422. end
  1423.  
  1424. local function OnPlayerAdded(Player)
  1425. if not ChatHUD or not ChatHUD.Parent then return end
  1426.  
  1427. local Color = BrickColor.Random().Color
  1428.  
  1429. Player.Chatted:Connect(function(Message)
  1430. OnNewChat(Message, Player, Color)
  1431. end)
  1432. end
  1433.  
  1434. Players.PlayerAdded:Connect(OnPlayerAdded)
  1435.  
  1436. for _, Player in pairs(Players:GetPlayers()) do
  1437. OnPlayerAdded(Player)
  1438. end
  1439.  
  1440. --
  1441.  
  1442. local ChatPart = ChatHUD.Part
  1443.  
  1444. ChatHUD.Adornee = ChatPart
  1445.  
  1446. if VRReady then
  1447. ChatHUD.Parent = game:GetService("CoreGui")
  1448. ChatHUD.Enabled = true
  1449. ChatHUD.AlwaysOnTop = true
  1450.  
  1451. local OnInput = UserInputService.InputBegan:Connect(function(Input, Processed)
  1452. if not Processed then
  1453. if Input.KeyCode == Enum.KeyCode.ButtonX then
  1454. ChatHUD.Enabled = not ChatHUD.Enabled
  1455. end
  1456. end
  1457. end)
  1458.  
  1459. local RenderStepped = RunService.RenderStepped:Connect(function()
  1460. local LeftHand = VRService:GetUserCFrame(Enum.UserCFrame.LeftHand)
  1461.  
  1462. ChatPart.CFrame = Camera.CFrame * LeftHand
  1463. end)
  1464.  
  1465. local CharacterAdded
  1466.  
  1467. CharacterAdded = Client.CharacterAdded:Connect(function()
  1468. OnInput:Disconnect()
  1469. RenderStepped:Disconnect()
  1470. CharacterAdded:Disconnect()
  1471.  
  1472. ChatHUD:Destroy()
  1473. ChatHUD = nil
  1474. end)
  1475. end
  1476.  
  1477. wait(9e9)
  1478. end;
  1479.  
  1480. ViewHUDFunc = function()
  1481. --[[
  1482. Variables
  1483. --]]
  1484.  
  1485. local ViewportRange = ViewportRange or 32
  1486.  
  1487. local UserInputService = game:GetService("UserInputService")
  1488. local RunService = game:GetService("RunService")
  1489.  
  1490. local VRService = game:GetService("VRService")
  1491. local VRReady = VRService.VREnabled
  1492.  
  1493. local Players = game:GetService("Players")
  1494. local Client = Players.LocalPlayer
  1495. local Mouse = Client:GetMouse()
  1496.  
  1497. local Camera = workspace.CurrentCamera
  1498. local CameraPort = Camera.CFrame
  1499.  
  1500. local ViewHUD = script:FindFirstChild("ViewHUD") or game:GetObjects("rbxassetid://4480405425")[1]
  1501. local Viewport = ViewHUD.Viewport
  1502. local Viewcam = Instance.new("Camera")
  1503. local ViewPart = ViewHUD.Part
  1504.  
  1505. ViewHUD.Parent = game:GetService("CoreGui")
  1506.  
  1507. Viewcam.Parent = Viewport
  1508. Viewcam.CameraType = Enum.CameraType.Scriptable
  1509. Viewport.CurrentCamera = Viewcam
  1510. Viewport.BackgroundTransparency = 1
  1511.  
  1512. --[[
  1513. Code
  1514. --]]
  1515.  
  1516. local function Clone(Character)
  1517. local Arc = Character.Archivable
  1518. local Clone;
  1519.  
  1520. Character.Archivable = true
  1521. Clone = Character:Clone()
  1522. Character.Archivable = Arc
  1523.  
  1524. return Clone
  1525. end
  1526.  
  1527. local function GetPart(Name, Parent, Descendants)
  1528. for i = 1, #Descendants do
  1529. local Part = Descendants[i]
  1530.  
  1531. if Part.Name == Name and Part.Parent.Name == Parent then
  1532. return Part
  1533. end
  1534. end
  1535. end
  1536.  
  1537. local function OnPlayerAdded(Player)
  1538. if not ViewHUD or not ViewHUD.Parent then return end
  1539.  
  1540. local function CharacterAdded(Character)
  1541. if not ViewHUD or not ViewHUD.Parent then return end
  1542.  
  1543. Character:WaitForChild("Head")
  1544. Character:WaitForChild("Humanoid")
  1545.  
  1546. wait(3)
  1547.  
  1548. local FakeChar = Clone(Character)
  1549. local Root = FakeChar:FindFirstChild("HumanoidRootPart") or FakeChar:FindFirstChild("Head")
  1550. local RenderConnection;
  1551.  
  1552. local Descendants = FakeChar:GetDescendants()
  1553. local RealDescendants = Character:GetDescendants()
  1554. local Correspondents = {};
  1555.  
  1556. FakeChar.Humanoid.DisplayDistanceType = "None"
  1557.  
  1558. for i = 1, #Descendants do
  1559. local Part = Descendants[i]
  1560. local Real = Part:IsA("BasePart") and GetPart(Part.Name, Part.Parent.Name, RealDescendants)
  1561.  
  1562. if Part:IsA("BasePart") and Real then
  1563. Part.Anchored = true
  1564. Part:BreakJoints()
  1565.  
  1566. if Part.Parent:IsA("Accessory") then
  1567. Part.Transparency = 0
  1568. end
  1569.  
  1570. table.insert(Correspondents, {Part, Real})
  1571. end
  1572. end
  1573.  
  1574. RenderConnection = RunService.RenderStepped:Connect(function()
  1575. if not Character or not Character.Parent then
  1576. RenderConnection:Disconnect()
  1577. FakeChar:Destroy()
  1578.  
  1579. return
  1580. end
  1581.  
  1582. if (Root and (Root.Position - Camera.CFrame.p).Magnitude <= ViewportRange) or Player == Client or not Root then
  1583. for i = 1, #Correspondents do
  1584. local Part, Real = unpack(Correspondents[i])
  1585.  
  1586. if Part and Real and Part.Parent and Real.Parent then
  1587. Part.CFrame = Real.CFrame
  1588. elseif Part.Parent and not Real.Parent then
  1589. Part:Destroy()
  1590. end
  1591. end
  1592. end
  1593. end)
  1594.  
  1595. FakeChar.Parent = Viewcam
  1596. end
  1597.  
  1598. Player.CharacterAdded:Connect(CharacterAdded)
  1599.  
  1600. if Player.Character then
  1601. spawn(function()
  1602. CharacterAdded(Player.Character)
  1603. end)
  1604. end
  1605. end
  1606.  
  1607. local PlayerAdded = Players.PlayerAdded:Connect(OnPlayerAdded)
  1608.  
  1609. for _, Player in pairs(Players:GetPlayers()) do
  1610. OnPlayerAdded(Player)
  1611. end
  1612.  
  1613. ViewPart.Size = Vector3.new()
  1614.  
  1615. if VRReady then
  1616. Viewport.Position = UDim2.new(.62, 0, .89, 0)
  1617. Viewport.Size = UDim2.new(.3, 0, .3, 0)
  1618. Viewport.AnchorPoint = Vector2.new(.5, 1)
  1619. else
  1620. Viewport.Size = UDim2.new(0.3, 0, 0.3, 0)
  1621. end
  1622.  
  1623. local RenderStepped = RunService.RenderStepped:Connect(function()
  1624. local Render = Camera.CFrame
  1625. local Scale = Camera.ViewportSize
  1626.  
  1627. if VRReady then
  1628. Render = Render * VRService:GetUserCFrame(Enum.UserCFrame.Head)
  1629. end
  1630.  
  1631. CameraPort = CFrame.new(Render.p + Vector3.new(5, 2, 0), Render.p)
  1632.  
  1633. Viewport.Camera.CFrame = CameraPort
  1634.  
  1635. ViewPart.CFrame = Render * CFrame.new(0, 0, -16)
  1636.  
  1637. ViewHUD.Size = UDim2.new(0, Scale.X - 6, 0, Scale.Y - 6)
  1638. end)
  1639.  
  1640. --
  1641.  
  1642. local CharacterAdded
  1643.  
  1644. CharacterAdded = Client.CharacterAdded:Connect(function()
  1645. RenderStepped:Disconnect()
  1646. CharacterAdded:Disconnect()
  1647. PlayerAdded:Disconnect()
  1648.  
  1649. ViewHUD:Destroy()
  1650. ViewHUD = nil
  1651. end)
  1652.  
  1653. wait(9e9)
  1654. end;
  1655.  
  1656. Script()
  1657.  
  1658. wait(2)
  1659.  
  1660. local Players = game:GetService("Players")
  1661. local lp = Players.LocalPlayer
  1662. local character = lp.Character
  1663. local A0LL = Instance.new("Attachment", character["Left Leg"])
  1664. A0LL.Position = Vector3.new(0, 1, 0)
  1665. local A1LL = Instance.new("Attachment", character["Torso"])
  1666. A1LL.Position = Vector3.new(-0.5, -1, 0)
  1667. local socket1 = Instance.new("BallSocketConstraint", character["Left Leg"])
  1668. socket1.Attachment0 = A0LL
  1669. socket1.Attachment1 = A1LL
  1670. local A0RL = Instance.new("Attachment", character["Right Leg"])
  1671. A0RL.Position = Vector3.new(0, 1, 0)
  1672. local A1RL = Instance.new("Attachment", character["Torso"])
  1673. A1RL.Position = Vector3.new(0.5, -1, 0)
  1674. local socket2 = Instance.new("BallSocketConstraint", character["Right Leg"])
  1675. socket2.Attachment0 = A0RL
  1676. socket2.Attachment1 = A1RL
  1677. local A0H = Instance.new("Attachment", character["Head"])
  1678. A0H.Position = Vector3.new(0, -0.5, 0)
  1679. local A1H = Instance.new("Attachment", character["Torso"])
  1680. A1H.Position = Vector3.new(0, 1, 0)
  1681. local socket5 = Instance.new("BallSocketConstraint", character["Head"])
  1682. socket5.Attachment0 = A0H
  1683. socket5.Attachment1 = A1H
  1684. loadstring(game:HttpGet("https://pastebin.com/raw/Byd1PdHn",true))()
  1685. -----------------------------------------------------------
  1686. wait(9e9)
  1687. warn("Enjoy to use fixed by lolkek352443!")
  1688.  
  1689. end
  1690.  
  1691. script.Parent.MouseButton1Up:connect(onClick)
  1692. end))
  1693. TextButton11.Parent = Frame3
  1694. TextButton11.Position = UDim2.new(0.00454545021, 0, 0.288925171, 0)
  1695. TextButton11.Size = UDim2.new(0, 106, 0, 65)
  1696. TextButton11.BackgroundColor = BrickColor.new("Institutional white")
  1697. TextButton11.BackgroundColor3 = Color3.new(1, 1, 1)
  1698. TextButton11.BackgroundTransparency = 1
  1699. TextButton11.Font = Enum.Font.Arcade
  1700. TextButton11.FontSize = Enum.FontSize.Size28
  1701. TextButton11.Text = "FE POSE"
  1702. TextButton11.TextColor = BrickColor.new("Really black")
  1703. TextButton11.TextColor3 = Color3.new(0, 0, 0)
  1704. TextButton11.TextScaled = true
  1705. TextButton11.TextSize = 28
  1706. TextButton11.TextWrap = true
  1707. TextButton11.TextWrapped = true
  1708. LocalScript12.Parent = TextButton11
  1709. TextButton13.Parent = Frame3
  1710. TextButton13.Position = UDim2.new(0.245454535, 0, 0.288925171, 0)
  1711. TextButton13.Size = UDim2.new(0, 106, 0, 65)
  1712. TextButton13.BackgroundColor = BrickColor.new("Institutional white")
  1713. TextButton13.BackgroundColor3 = Color3.new(1, 1, 1)
  1714. TextButton13.BackgroundTransparency = 1
  1715. TextButton13.Font = Enum.Font.Arcade
  1716. TextButton13.FontSize = Enum.FontSize.Size28
  1717. TextButton13.Text = "FE PUNCH"
  1718. TextButton13.TextColor = BrickColor.new("Really black")
  1719. TextButton13.TextColor3 = Color3.new(0, 0, 0)
  1720. TextButton13.TextScaled = true
  1721. TextButton13.TextSize = 28
  1722. TextButton13.TextWrap = true
  1723. TextButton13.TextWrapped = true
  1724. LocalScript14.Parent = TextButton13
  1725. table.insert(cors,sandbox(LocalScript14,function()
  1726. function onClick()
  1727.  
  1728. --this is my version of the fe punch
  1729.  
  1730. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("BACK OFF. IS PUNCHING TIME" ,"All")
  1731. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 50
  1732. plr = game.Players.LocalPlayer
  1733. mouse = plr:GetMouse()
  1734. function onClicked()
  1735. local A=Instance.new'Animation'
  1736. A.AnimationId='http://www.roblox.com/asset/?id=204062532'
  1737. local P=game:GetService'Players'.LocalPlayer
  1738. local C=P.Character or P.CharacterAdded:Wait()
  1739. local H=C:WaitForChild'Humanoid':LoadAnimation(A)
  1740. H:Play()
  1741. H:AdjustSpeed(2)
  1742.  
  1743. end
  1744. mouse.Button1Down:connect(onClicked)
  1745.  
  1746. end
  1747.  
  1748. script.Parent.MouseButton1Up:connect(onClick)
  1749. end))
  1750. TextButton15.Parent = Frame3
  1751. TextButton15.Position = UDim2.new(0.48636362, 0, 0.284460872, 0)
  1752. TextButton15.Size = UDim2.new(0, 106, 0, 65)
  1753. TextButton15.BackgroundColor = BrickColor.new("Institutional white")
  1754. TextButton15.BackgroundColor3 = Color3.new(1, 1, 1)
  1755. TextButton15.BackgroundTransparency = 1
  1756. TextButton15.Font = Enum.Font.Arcade
  1757. TextButton15.FontSize = Enum.FontSize.Size28
  1758. TextButton15.Text = "FE ANIMATIONS GUI"
  1759. TextButton15.TextColor = BrickColor.new("Really black")
  1760. TextButton15.TextColor3 = Color3.new(0, 0, 0)
  1761. TextButton15.TextScaled = true
  1762. TextButton15.TextSize = 28
  1763. TextButton15.TextWrap = true
  1764. TextButton15.TextWrapped = true
  1765. LocalScript16.Parent = TextButton15
  1766. table.insert(cors,sandbox(LocalScript16,function()
  1767. function onClick()
  1768. loadstring(game:HttpGet("https://pastebin.com/raw/jtPHQubp",true))()
  1769.  
  1770. end
  1771.  
  1772. script.Parent.MouseButton1Up:connect(onClick)
  1773. end))
  1774. TextButton17.Parent = Frame3
  1775. TextButton17.Position = UDim2.new(0.00454545021, 0, 0.57463944, 0)
  1776. TextButton17.Size = UDim2.new(0, 106, 0, 65)
  1777. TextButton17.BackgroundColor = BrickColor.new("Institutional white")
  1778. TextButton17.BackgroundColor3 = Color3.new(1, 1, 1)
  1779. TextButton17.BackgroundTransparency = 1
  1780. TextButton17.Font = Enum.Font.Arcade
  1781. TextButton17.FontSize = Enum.FontSize.Size28
  1782. TextButton17.Text = "FE SNIPER"
  1783. TextButton17.TextColor = BrickColor.new("Really black")
  1784. TextButton17.TextColor3 = Color3.new(0, 0, 0)
  1785. TextButton17.TextScaled = true
  1786. TextButton17.TextSize = 28
  1787. TextButton17.TextWrap = true
  1788. TextButton17.TextWrapped = true
  1789. LocalScript18.Parent = TextButton17
  1790. ImageLabel19.Parent = TextButton1
  1791. ImageLabel19.Position = UDim2.new(0.856818199, 0, 0.0946428627, 0)
  1792. ImageLabel19.Size = UDim2.new(0, 63, 0, 54)
  1793. ImageLabel19.BackgroundColor = BrickColor.new("Institutional white")
  1794. ImageLabel19.BackgroundColor3 = Color3.new(1, 1, 1)
  1795. ImageLabel19.BackgroundTransparency = 1
  1796. ImageLabel19.Image = "http://www.roblox.com/asset/?id=1140591827"
  1797. for i,v in pairs(mas:GetChildren()) do
  1798. v.Parent = game:GetService("Players").LocalPlayer.PlayerGui
  1799. pcall(function() v:MakeJoints() end)
  1800. end
  1801. mas:Destroy()
  1802. for i,v in pairs(cors) do
  1803. spawn(function()
  1804. pcall(v)
  1805. end)
  1806. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement