Advertisement
Guest User

Brookhaven RP Roblox Script 2024

a guest
Oct 6th, 2024
15,836
6
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 39.04 KB | Gaming | 6 0
  1. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/Robojini/Tuturial_UI_Library/main/UI_Template_1"))()
  2. local Window = Library.CreateLib("DmitryHack | Brookhaven RP | CHEATER.FUN", "RJTheme3")
  3. local Tab = Window:NewTab("Movement")
  4. local Section = Tab:NewSection("Movement")
  5.  
  6.  
  7.  
  8.  
  9. Section:NewSlider("WalkSpeed", "", 500, 0, function(s) -- 500 (Макс. значение) | 0 (Мин. значение)
  10. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = s
  11. end)
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20. Section:NewSlider("JumpPower", "", 500, 0, function(s) -- 500 (Макс. значение) | 0 (Мин. значение)
  21. game.Players.LocalPlayer.Character.Humanoid.JumpPower = s
  22. end)
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32. Section:NewSlider("SpeenBot", "", 50, 0, function(s) -- 500 (Макс. значение) | 0 (Мин. значение)
  33. local speed = s
  34.  
  35. local plr = game:GetService("Players").LocalPlayer
  36. repeat task.wait() until plr.Character
  37. local humRoot = plr.Character:WaitForChild("HumanoidRootPart")
  38. plr.Character:WaitForChild("Humanoid").AutoRotate = false
  39. local velocity = Instance.new("AngularVelocity")
  40. velocity.Attachment0 = humRoot:WaitForChild("RootAttachment")
  41. velocity.MaxTorque = math.huge
  42. velocity.AngularVelocity = Vector3.new(0, speed, 0)
  43. velocity.Parent = humRoot
  44. velocity.Name = "Spinbot"
  45. end)
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53. Section:NewButton("Fly", "", function()
  54. local main = Instance.new("ScreenGui")
  55. local Frame = Instance.new("Frame")
  56. local up = Instance.new("TextButton")
  57. local down = Instance.new("TextButton")
  58. local onof = Instance.new("TextButton")
  59. local TextLabel = Instance.new("TextLabel")
  60. local plus = Instance.new("TextButton")
  61. local speed = Instance.new("TextLabel")
  62. local mine = Instance.new("TextButton")
  63. local closebutton = Instance.new("TextButton")
  64. local mini = Instance.new("TextButton")
  65. local mini2 = Instance.new("TextButton")
  66.  
  67. main.Name = "main"
  68. main.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  69. main.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  70. main.ResetOnSpawn = false
  71.  
  72. Frame.Parent = main
  73. Frame.BackgroundColor3 = Color3.fromRGB(163, 255, 137)
  74. Frame.BorderColor3 = Color3.fromRGB(103, 221, 213)
  75. Frame.Position = UDim2.new(0.100320168, 0, 0.379746825, 0)
  76. Frame.Size = UDim2.new(0, 190, 0, 57)
  77.  
  78. up.Name = "up"
  79. up.Parent = Frame
  80. up.BackgroundColor3 = Color3.fromRGB(79, 255, 152)
  81. up.Size = UDim2.new(0, 44, 0, 28)
  82. up.Font = Enum.Font.SourceSans
  83. up.Text = "UP"
  84. up.TextColor3 = Color3.fromRGB(0, 0, 0)
  85. up.TextSize = 14.000
  86.  
  87. down.Name = "down"
  88. down.Parent = Frame
  89. down.BackgroundColor3 = Color3.fromRGB(215, 255, 121)
  90. down.Position = UDim2.new(0, 0, 0.491228074, 0)
  91. down.Size = UDim2.new(0, 44, 0, 28)
  92. down.Font = Enum.Font.SourceSans
  93. down.Text = "DOWN"
  94. down.TextColor3 = Color3.fromRGB(0, 0, 0)
  95. down.TextSize = 14.000
  96.  
  97. onof.Name = "onof"
  98. onof.Parent = Frame
  99. onof.BackgroundColor3 = Color3.fromRGB(255, 249, 74)
  100. onof.Position = UDim2.new(0.702823281, 0, 0.491228074, 0)
  101. onof.Size = UDim2.new(0, 56, 0, 28)
  102. onof.Font = Enum.Font.SourceSans
  103. onof.Text = "fly"
  104. onof.TextColor3 = Color3.fromRGB(0, 0, 0)
  105. onof.TextSize = 14.000
  106.  
  107. TextLabel.Parent = Frame
  108. TextLabel.BackgroundColor3 = Color3.fromRGB(242, 60, 255)
  109. TextLabel.Position = UDim2.new(0.469327301, 0, 0, 0)
  110. TextLabel.Size = UDim2.new(0, 100, 0, 28)
  111. TextLabel.Font = Enum.Font.SourceSans
  112. TextLabel.Text = "DmitryHack"
  113. TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
  114. TextLabel.TextScaled = true
  115. TextLabel.TextSize = 14.000
  116. TextLabel.TextWrapped = true
  117.  
  118. plus.Name = "plus"
  119. plus.Parent = Frame
  120. plus.BackgroundColor3 = Color3.fromRGB(133, 145, 255)
  121. plus.Position = UDim2.new(0.231578946, 0, 0, 0)
  122. plus.Size = UDim2.new(0, 45, 0, 28)
  123. plus.Font = Enum.Font.SourceSans
  124. plus.Text = "+"
  125. plus.TextColor3 = Color3.fromRGB(0, 0, 0)
  126. plus.TextScaled = true
  127. plus.TextSize = 14.000
  128. plus.TextWrapped = true
  129.  
  130. speed.Name = "speed"
  131. speed.Parent = Frame
  132. speed.BackgroundColor3 = Color3.fromRGB(255, 85, 0)
  133. speed.Position = UDim2.new(0.468421042, 0, 0.491228074, 0)
  134. speed.Size = UDim2.new(0, 44, 0, 28)
  135. speed.Font = Enum.Font.SourceSans
  136. speed.Text = "1"
  137. speed.TextColor3 = Color3.fromRGB(0, 0, 0)
  138. speed.TextScaled = true
  139. speed.TextSize = 14.000
  140. speed.TextWrapped = true
  141.  
  142. mine.Name = "mine"
  143. mine.Parent = Frame
  144. mine.BackgroundColor3 = Color3.fromRGB(123, 255, 247)
  145. mine.Position = UDim2.new(0.231578946, 0, 0.491228074, 0)
  146. mine.Size = UDim2.new(0, 45, 0, 29)
  147. mine.Font = Enum.Font.SourceSans
  148. mine.Text = "-"
  149. mine.TextColor3 = Color3.fromRGB(0, 0, 0)
  150. mine.TextScaled = true
  151. mine.TextSize = 14.000
  152. mine.TextWrapped = true
  153.  
  154. closebutton.Name = "Close"
  155. closebutton.Parent = main.Frame
  156. closebutton.BackgroundColor3 = Color3.fromRGB(225, 25, 0)
  157. closebutton.Font = "SourceSans"
  158. closebutton.Size = UDim2.new(0, 45, 0, 28)
  159. closebutton.Text = "X"
  160. closebutton.TextSize = 30
  161. closebutton.Position = UDim2.new(0, 0, -1, 27)
  162.  
  163. mini.Name = "minimize"
  164. mini.Parent = main.Frame
  165. mini.BackgroundColor3 = Color3.fromRGB(192, 150, 230)
  166. mini.Font = "SourceSans"
  167. mini.Size = UDim2.new(0, 45, 0, 28)
  168. mini.Text = "-"
  169. mini.TextSize = 40
  170. mini.Position = UDim2.new(0, 44, -1, 27)
  171.  
  172. mini2.Name = "minimize2"
  173. mini2.Parent = main.Frame
  174. mini2.BackgroundColor3 = Color3.fromRGB(192, 150, 230)
  175. mini2.Font = "SourceSans"
  176. mini2.Size = UDim2.new(0, 45, 0, 28)
  177. mini2.Text = "+"
  178. mini2.TextSize = 40
  179. mini2.Position = UDim2.new(0, 44, -1, 57)
  180. mini2.Visible = false
  181.  
  182. speeds = 1
  183.  
  184. local speaker = game:GetService("Players").LocalPlayer
  185.  
  186. local chr = game.Players.LocalPlayer.Character
  187. local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
  188.  
  189. nowe = false
  190.  
  191. game:GetService("StarterGui"):SetCore("SendNotification", {
  192. Title = "Fly GUI V3";
  193. Text = "By me_ozone and Quandale The Dinglish XII#3550";
  194. Icon = "rbxthumb://type=Asset&id=5107182114&w=150&h=150"})
  195. Duration = 5;
  196.  
  197. Frame.Active = true -- main = gui
  198. Frame.Draggable = true
  199.  
  200. onof.MouseButton1Down:connect(function()
  201.  
  202. if nowe == true then
  203. nowe = false
  204.  
  205. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Climbing,true)
  206. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown,true)
  207. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Flying,true)
  208. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Freefall,true)
  209. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp,true)
  210. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping,true)
  211. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Landed,true)
  212. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Physics,true)
  213. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding,true)
  214. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,true)
  215. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Running,true)
  216. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.RunningNoPhysics,true)
  217. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated,true)
  218. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.StrafingNoPhysics,true)
  219. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming,true)
  220. speaker.Character.Humanoid:ChangeState(Enum.HumanoidStateType.RunningNoPhysics)
  221. else
  222. nowe = true
  223.  
  224.  
  225.  
  226. for i = 1, speeds do
  227. spawn(function()
  228.  
  229. local hb = game:GetService("RunService").Heartbeat
  230.  
  231.  
  232. tpwalking = true
  233. local chr = game.Players.LocalPlayer.Character
  234. local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
  235. while tpwalking and hb:Wait() and chr and hum and hum.Parent do
  236. if hum.MoveDirection.Magnitude > 0 then
  237. chr:TranslateBy(hum.MoveDirection)
  238. end
  239. end
  240.  
  241. end)
  242. end
  243. game.Players.LocalPlayer.Character.Animate.Disabled = true
  244. local Char = game.Players.LocalPlayer.Character
  245. local Hum = Char:FindFirstChildOfClass("Humanoid") or Char:FindFirstChildOfClass("AnimationController")
  246.  
  247. for i,v in next, Hum:GetPlayingAnimationTracks() do
  248. v:AdjustSpeed(0)
  249. end
  250. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Climbing,false)
  251. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown,false)
  252. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Flying,false)
  253. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Freefall,false)
  254. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp,false)
  255. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping,false)
  256. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Landed,false)
  257. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Physics,false)
  258. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding,false)
  259. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,false)
  260. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Running,false)
  261. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.RunningNoPhysics,false)
  262. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated,false)
  263. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.StrafingNoPhysics,false)
  264. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming,false)
  265. speaker.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Swimming)
  266. end
  267.  
  268.  
  269.  
  270.  
  271. if game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R6 then
  272.  
  273.  
  274.  
  275. local plr = game.Players.LocalPlayer
  276. local torso = plr.Character.Torso
  277. local flying = true
  278. local deb = true
  279. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  280. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  281. local maxspeed = 50
  282. local speed = 0
  283.  
  284.  
  285. local bg = Instance.new("BodyGyro", torso)
  286. bg.P = 9e4
  287. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  288. bg.cframe = torso.CFrame
  289. local bv = Instance.new("BodyVelocity", torso)
  290. bv.velocity = Vector3.new(0,0.1,0)
  291. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  292. if nowe == true then
  293. plr.Character.Humanoid.PlatformStand = true
  294. end
  295. while nowe == true or game:GetService("Players").LocalPlayer.Character.Humanoid.Health == 0 do
  296. game:GetService("RunService").RenderStepped:Wait()
  297.  
  298. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  299. speed = speed+.5+(speed/maxspeed)
  300. if speed > maxspeed then
  301. speed = maxspeed
  302. end
  303. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  304. speed = speed-1
  305. if speed < 0 then
  306. speed = 0
  307. end
  308. end
  309. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  310. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  311. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  312. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  313. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  314. else
  315. bv.velocity = Vector3.new(0,0,0)
  316. end
  317. --game.Players.LocalPlayer.Character.Animate.Disabled = true
  318. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  319. end
  320. ctrl = {f = 0, b = 0, l = 0, r = 0}
  321. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  322. speed = 0
  323. bg:Destroy()
  324. bv:Destroy()
  325. plr.Character.Humanoid.PlatformStand = false
  326. game.Players.LocalPlayer.Character.Animate.Disabled = false
  327. tpwalking = false
  328.  
  329.  
  330.  
  331.  
  332. else
  333. local plr = game.Players.LocalPlayer
  334. local UpperTorso = plr.Character.UpperTorso
  335. local flying = true
  336. local deb = true
  337. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  338. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  339. local maxspeed = 50
  340. local speed = 0
  341.  
  342.  
  343. local bg = Instance.new("BodyGyro", UpperTorso)
  344. bg.P = 9e4
  345. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  346. bg.cframe = UpperTorso.CFrame
  347. local bv = Instance.new("BodyVelocity", UpperTorso)
  348. bv.velocity = Vector3.new(0,0.1,0)
  349. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  350. if nowe == true then
  351. plr.Character.Humanoid.PlatformStand = true
  352. end
  353. while nowe == true or game:GetService("Players").LocalPlayer.Character.Humanoid.Health == 0 do
  354. wait()
  355.  
  356. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  357. speed = speed+.5+(speed/maxspeed)
  358. if speed > maxspeed then
  359. speed = maxspeed
  360. end
  361. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  362. speed = speed-1
  363. if speed < 0 then
  364. speed = 0
  365. end
  366. end
  367. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  368. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  369. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  370. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  371. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  372. else
  373. bv.velocity = Vector3.new(0,0,0)
  374. end
  375.  
  376. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  377. end
  378. ctrl = {f = 0, b = 0, l = 0, r = 0}
  379. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  380. speed = 0
  381. bg:Destroy()
  382. bv:Destroy()
  383. plr.Character.Humanoid.PlatformStand = false
  384. game.Players.LocalPlayer.Character.Animate.Disabled = false
  385. tpwalking = false
  386.  
  387.  
  388.  
  389. end
  390.  
  391.  
  392.  
  393.  
  394.  
  395. end)
  396.  
  397. local tis
  398.  
  399. up.MouseButton1Down:connect(function()
  400. tis = up.MouseEnter:connect(function()
  401. while tis do
  402. wait()
  403. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0,1,0)
  404. end
  405. end)
  406. end)
  407.  
  408. up.MouseLeave:connect(function()
  409. if tis then
  410. tis:Disconnect()
  411. tis = nil
  412. end
  413. end)
  414.  
  415. local dis
  416.  
  417. down.MouseButton1Down:connect(function()
  418. dis = down.MouseEnter:connect(function()
  419. while dis do
  420. wait()
  421. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0,-1,0)
  422. end
  423. end)
  424. end)
  425.  
  426. down.MouseLeave:connect(function()
  427. if dis then
  428. dis:Disconnect()
  429. dis = nil
  430. end
  431. end)
  432.  
  433.  
  434. game:GetService("Players").LocalPlayer.CharacterAdded:Connect(function(char)
  435. wait(0.7)
  436. game.Players.LocalPlayer.Character.Humanoid.PlatformStand = false
  437. game.Players.LocalPlayer.Character.Animate.Disabled = false
  438.  
  439. end)
  440.  
  441.  
  442. plus.MouseButton1Down:connect(function()
  443. speeds = speeds + 1
  444. speed.Text = speeds
  445. if nowe == true then
  446.  
  447.  
  448. tpwalking = false
  449. for i = 1, speeds do
  450. spawn(function()
  451.  
  452. local hb = game:GetService("RunService").Heartbeat
  453.  
  454.  
  455. tpwalking = true
  456. local chr = game.Players.LocalPlayer.Character
  457. local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
  458. while tpwalking and hb:Wait() and chr and hum and hum.Parent do
  459. if hum.MoveDirection.Magnitude > 0 then
  460. chr:TranslateBy(hum.MoveDirection)
  461. end
  462. end
  463.  
  464. end)
  465. end
  466. end
  467. end)
  468. mine.MouseButton1Down:connect(function()
  469. if speeds == 1 then
  470. speed.Text = 'cannot be less than 1'
  471. wait(1)
  472. speed.Text = speeds
  473. else
  474. speeds = speeds - 1
  475. speed.Text = speeds
  476. if nowe == true then
  477. tpwalking = false
  478. for i = 1, speeds do
  479. spawn(function()
  480.  
  481. local hb = game:GetService("RunService").Heartbeat
  482.  
  483.  
  484. tpwalking = true
  485. local chr = game.Players.LocalPlayer.Character
  486. local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
  487. while tpwalking and hb:Wait() and chr and hum and hum.Parent do
  488. if hum.MoveDirection.Magnitude > 0 then
  489. chr:TranslateBy(hum.MoveDirection)
  490. end
  491. end
  492.  
  493. end)
  494. end
  495. end
  496. end
  497. end)
  498.  
  499. closebutton.MouseButton1Click:Connect(function()
  500. main:Destroy()
  501. end)
  502.  
  503. mini.MouseButton1Click:Connect(function()
  504. up.Visible = false
  505. down.Visible = false
  506. onof.Visible = false
  507. plus.Visible = false
  508. speed.Visible = false
  509. mine.Visible = false
  510. mini.Visible = false
  511. mini2.Visible = true
  512. main.Frame.BackgroundTransparency = 1
  513. closebutton.Position = UDim2.new(0, 0, -1, 57)
  514. end)
  515.  
  516. mini2.MouseButton1Click:Connect(function()
  517. up.Visible = true
  518. down.Visible = true
  519. onof.Visible = true
  520. plus.Visible = true
  521. speed.Visible = true
  522. mine.Visible = true
  523. mini.Visible = true
  524. mini2.Visible = false
  525. main.Frame.BackgroundTransparency = 0
  526. closebutton.Position = UDim2.new(0, 0, -1, 27)
  527. end)
  528. end)
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535. Section:NewButton("no clip", "", function()
  536.  
  537. local Noclip = nil
  538. local Clip = nil
  539.  
  540. function noclip()
  541. Clip = false
  542. local function Nocl()
  543. if Clip == false and game.Players.LocalPlayer.Character ~= nil then
  544. for _,v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
  545. if v:IsA('BasePart') and v.CanCollide and v.Name ~= floatName then
  546. v.CanCollide = false
  547. end
  548. end
  549. end
  550. wait(0.21) -- basic optimization
  551. end
  552. Noclip = game:GetService('RunService').Stepped:Connect(Nocl)
  553. end
  554.  
  555. function clip()
  556. if Noclip then Noclip:Disconnect() end
  557. Clip = true
  558. end
  559.  
  560. noclip() -- to toggle noclip() and clip()
  561. end)
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568. Section:NewButton("InfinityJump", "ButtonInfo", function()
  569. local InfiniteJumpEnabled = true
  570. game:GetService("UserInputService").JumpRequest:connect(function()
  571. if InfiniteJumpEnabled then
  572. game:GetService"Players".LocalPlayer.Character:FindFirstChildOfClass'Humanoid':ChangeState("Jumping")
  573. end
  574. end)
  575. end)
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585. local Tab = Window:NewTab("Teleport")
  586. local Section = Tab:NewSection("Teleport")
  587.  
  588.  
  589.  
  590. Section:NewButton("tp to the player", "", function()
  591. for i,v in ipairs(getconnections(game.ScriptContext.Error)) do
  592. v:Disable();
  593. end;
  594.  
  595. local Lib = loadstring(game:HttpGet("https://raw.githubusercontent.com/Drifter0507/Shamrock/main/MainLibrary", true))();
  596.  
  597. local Players = game:GetService("Players");
  598. local Client = Players.LocalPlayer;
  599. local RunService = game:GetService("RunService");
  600. local ReplicatedStorage = game:GetService("ReplicatedStorage");
  601. local Camera = workspace.CurrentCamera;
  602. local Mouse = Client:GetMouse();
  603.  
  604. for i,v in pairs(getconnections(Client.Idled)) do
  605. v:Disable();
  606. end;
  607.  
  608. local hook
  609. hook = hookmetamethod(game.Players.LocalPlayer,"__namecall",function(...)
  610. if getnamecallmethod() == "Kick" then
  611. return wait(9e8);
  612. end;
  613. return hook(...);
  614. end);
  615.  
  616. function SetCharVars()
  617. Character = Client.Character;
  618. Humanoid = Character:WaitForChild("Humanoid");
  619. RootPart = Character:WaitForChild("HumanoidRootPart");
  620. end
  621. SetCharVars();
  622. Client.CharacterAdded:Connect(SetCharVars);
  623.  
  624. local Window = Lib:CreateWindow({Title = "DmitryHack | tp to the player "});
  625. local Tab1 = Window:CreateTab({Title = "tp", ScrollBar = false});
  626.  
  627. local Section1 = Tab1:CreateSection({
  628. Title = "tp"
  629. });
  630.  
  631.  
  632.  
  633.  
  634. local function isPointVisible(worldPoint)
  635. local camera = workspace.CurrentCamera;
  636. local vector, onScreen = camera:WorldToViewportPoint(worldPoint);
  637.  
  638. if onScreen then
  639. local origin = camera.CFrame.p;
  640. local ray = Ray.new(origin, worldPoint - origin);
  641. local hit = workspace:FindPartOnRay(ray);
  642. if hit then
  643. return false;
  644. end;
  645. else
  646. return false;
  647. end;
  648. return true;
  649. end;
  650.  
  651. local function GetClosest(Fov)
  652. local Target, Closest = nil, math.huge;
  653.  
  654. for i,v in pairs(Players:GetPlayers()) do
  655. if (v.Name ~= Client.Name and v.Character and v.Character.HumanoidRootPart and not table.find(getgenv().Whitelisted,v.Name)) then
  656. local ScreenPos, OnScreen = Camera:WorldToScreenPoint(v.Character.HumanoidRootPart.Position);
  657. if OnScreen then
  658. local Distance = (Vector2.new(ScreenPos.X, ScreenPos.Y) - Vector2.new(Mouse.X, Mouse.Y)).Magnitude;
  659.  
  660. if (Distance < Closest) then
  661. Closest = Distance;
  662. Target = v;
  663. end;
  664. end;
  665. end;
  666. end;
  667. return Target;
  668. end;
  669.  
  670.  
  671. local Target;
  672. local OuterLine = Drawing.new("Circle");
  673. RunService.Stepped:Connect(function()
  674. OuterLine.Radius = getgenv().FOV or 80;
  675. OuterLine.Thickness = 4;
  676. OuterLine.Position = Vector2.new(Mouse.X, Mouse.Y + 36);
  677. OuterLine.Transparency = 1;
  678. OuterLine.Color = getgenv().CircleColor or Color3.new(255,255,255);
  679. OuterLine.Visible = getgenv().Circle or false;
  680. OuterLine.ZIndex = 1;
  681.  
  682. if getgenv().SilentAim then
  683. Target = GetClosest(getgenv().FOV);
  684. end;
  685. end);
  686.  
  687. local Old;
  688. Old = hookmetamethod(game, "__namecall", function(Self, ...)
  689. local Args = {...};
  690. local Method = getnamecallmethod();
  691.  
  692. if (not checkcaller() and Method == "FireServer") then
  693. if (Self.Name == "RemoteEvent" and Args[2] == "Bullet" and Args[7] ~= "Knife" and Method == "FireServer") then
  694. if (Target and Target.Character and Target.Character.Humanoid and Target.Character.Humanoid.Health ~= 0) then
  695. local Hitbox = Target.Character[getgenv().Part or "Head"];
  696.  
  697. if (Hitbox and getgenv().SilentAim) then
  698. Args[3] = Target.Character;
  699. Args[4] = Hitbox;
  700. Args[5] = Hitbox.Position;
  701. end;
  702. end;
  703. end;
  704. end;
  705. return Old(Self, unpack(Args));
  706. end);
  707. end)
  708.  
  709.  
  710.  
  711.  
  712. Section:NewButton("ctrl + click left tp", "", function()
  713. local UIS = game:GetService("UserInputService")
  714.  
  715. local Player = game.Players.LocalPlayer
  716. local Mouse = Player:GetMouse()
  717.  
  718.  
  719. function GetCharacter()
  720. return game.Players.LocalPlayer.Character
  721. end
  722.  
  723. function Teleport(pos)
  724. local Char = GetCharacter()
  725. if Char then
  726. Char:MoveTo(pos)
  727. end
  728. end
  729.  
  730.  
  731. UIS.InputBegan:Connect(function(input)
  732. if input.UserInputType == Enum.UserInputType.MouseButton1 and UIS:IsKeyDown(Enum.KeyCode.LeftControl) then
  733. Teleport(Mouse.Hit.p)
  734. end
  735. end)
  736. end)
  737.  
  738.  
  739.  
  740.  
  741.  
  742.  
  743.  
  744.  
  745. Section:NewButton("drones", "ButtonInfo", function()
  746. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").Model.DroneFakeNew.c.CFrame
  747. end)
  748.  
  749.  
  750.  
  751.  
  752.  
  753. Section:NewButton("school", "ButtonInfo", function()
  754. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").Model.Desks.Desks.Seat.CFrame
  755. end)
  756.  
  757.  
  758.  
  759.  
  760. Section:NewButton("aqua park", "ButtonInfo", function()
  761. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").Model["002_StaysWhiteWinterTime/GreenSummer/NoScriptInvolved"]["WhiteWinterTime/GreenSummer/LightGreenSpring"].CFrame
  762. end)
  763.  
  764.  
  765.  
  766. Section:NewButton("spawn", "ButtonInfo", function()
  767. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace")["Spawns!SkyDive"].Spawn.CFrame
  768. end)
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775. local Tab = Window:NewTab("Render")
  776. local Section = Tab:NewSection("Render")
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786. Section:NewButton("RTX", "ButtonInfo", function()
  787. local a = game.Lighting
  788. a.Ambient = Color3.fromRGB(33, 33, 33)
  789. a.Brightness = 6.67
  790. a.ColorShift_Bottom = Color3.fromRGB(0, 0, 0)
  791. a.ColorShift_Top = Color3.fromRGB(255, 247, 237)
  792. a.EnvironmentDiffuseScale = 0.105
  793. a.EnvironmentSpecularScale = 0.522
  794. a.GlobalShadows = true
  795. a.OutdoorAmbient = Color3.fromRGB(51, 54, 67)
  796. a.ShadowSoftness = 0.04
  797. a.GeographicLatitude = -15.525
  798. a.ExposureCompensation = 0.75
  799. local b = Instance.new("BloomEffect", a)
  800. b.Enabled = true
  801. b.Intensity = 0.04
  802. b.Size = 1900
  803. b.Threshold = 0.915
  804. local c = Instance.new("ColorCorrectionEffect", a)
  805. c.Brightness = 0.176
  806. c.Contrast = 0.39
  807. c.Enabled = true
  808. c.Saturation = 0.2
  809. c.TintColor = Color3.fromRGB(217, 145, 57)
  810. if getgenv().mode == "Summer" then
  811. c.TintColor = Color3.fromRGB(255, 220, 148)
  812. elseif getgenv().mode == "Autumn" then
  813. c.TintColor = Color3.fromRGB(217, 145, 57)
  814. else
  815. warn("No mode selected!")
  816. print("Please select a mode")
  817. b:Destroy()
  818. c:Destroy()
  819. end
  820. local d = Instance.new("DepthOfFieldEffect", a)
  821. d.Enabled = true
  822. d.FarIntensity = 0.077
  823. d.FocusDistance = 21.54
  824. d.InFocusRadius = 20.77
  825. d.NearIntensity = 0.277
  826. local e = Instance.new("ColorCorrectionEffect", a)
  827. e.Brightness = 0
  828. e.Contrast = -0.07
  829. e.Saturation = 0
  830. e.Enabled = true
  831. e.TintColor = Color3.fromRGB(255, 247, 239)
  832. local e2 = Instance.new("ColorCorrectionEffect", a)
  833. e2.Brightness = 0.2
  834. e2.Contrast = 0.45
  835. e2.Saturation = -0.1
  836. e2.Enabled = true
  837. e2.TintColor = Color3.fromRGB(255, 255, 255)
  838. local s = Instance.new("SunRaysEffect", a)
  839. s.Enabled = true
  840. s.Intensity = 0.01
  841. s.Spread = 0.146
  842. end)
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852. Section:NewButton("ESP", "ButtonInfo", function()
  853. local workspace = game:GetService("Workspace")
  854. local player = game:GetService("Players").LocalPlayer
  855. local camera = workspace.CurrentCamera
  856.  
  857. --// Settings:
  858. local on = true -- Use this if your making gui
  859.  
  860. local Box_Color = Color3.fromRGB(255, 0, 43)
  861. local Box_Thickness = 1.4
  862. local Box_Transparency = 1 -- 1 Visible, 0 Not Visible
  863.  
  864. local Tracers = true
  865. local Tracer_Color = Color3.fromRGB(255, 0, 43)
  866. local Tracer_Thickness = 1.4
  867. local Tracer_Transparency = 1 -- 1 Visible, 0 Not Visible
  868.  
  869. local Autothickness = false -- Makes screen less encumbered
  870.  
  871. local Team_Check = false
  872. local red = Color3.fromRGB(227, 52, 52)
  873. local green = Color3.fromRGB(255, 0, 43) ----------rgb
  874.  
  875. local function NewLine()
  876. local line = Drawing.new("Line")
  877. line.Visible = false
  878. line.From = Vector2.new(0, 0)
  879. line.To = Vector2.new(1, 1)
  880. line.Color = Box_Color
  881. line.Thickness = Box_Thickness
  882. line.Transparency = Box_Transparency
  883. return line
  884. end
  885.  
  886. --// Main Function:
  887. for i, v in pairs(game.Players:GetChildren()) do
  888. --// Lines for 3D box (12)
  889. local lines = {
  890. line1 = NewLine(),
  891. line2 = NewLine(),
  892. line3 = NewLine(),
  893. line4 = NewLine(),
  894. line5 = NewLine(),
  895. line6 = NewLine(),
  896. line7 = NewLine(),
  897. line8 = NewLine(),
  898. line9 = NewLine(),
  899. line10 = NewLine(),
  900. line11 = NewLine(),
  901. line12 = NewLine(),
  902. Tracer = NewLine()
  903. }
  904.  
  905. lines.Tracer.Color = Tracer_Color
  906. lines.Tracer.Thickness = Tracer_Thickness
  907. lines.Tracer.Transparency = Tracer_Transparency
  908.  
  909. --// Updates ESP (lines) in render loop
  910. local function ESP()
  911. local connection
  912. connection = game:GetService("RunService").RenderStepped:Connect(function()
  913. if on and v.Character ~= nil and v.Character:FindFirstChild("Humanoid") ~= nil and v.Character:FindFirstChild("HumanoidRootPart") ~= nil and v.Name ~= player.Name and v.Character.Humanoid.Health > 0 and v.Character:FindFirstChild("Head") ~= nil then
  914. local pos, vis = camera:WorldToViewportPoint(v.Character.HumanoidRootPart.Position)
  915. if vis then
  916. local Scale = v.Character.Head.Size.Y/2
  917. local Size = Vector3.new(2, 3, 1.5) * (Scale * 2) -- Change this for different box size
  918.  
  919. local Top1 = camera:WorldToViewportPoint((v.Character.HumanoidRootPart.CFrame * CFrame.new(-Size.X, Size.Y, -Size.Z)).p)
  920. local Top2 = camera:WorldToViewportPoint((v.Character.HumanoidRootPart.CFrame * CFrame.new(-Size.X, Size.Y, Size.Z)).p)
  921. local Top3 = camera:WorldToViewportPoint((v.Character.HumanoidRootPart.CFrame * CFrame.new(Size.X, Size.Y, Size.Z)).p)
  922. local Top4 = camera:WorldToViewportPoint((v.Character.HumanoidRootPart.CFrame * CFrame.new(Size.X, Size.Y, -Size.Z)).p)
  923.  
  924. local Bottom1 = camera:WorldToViewportPoint((v.Character.HumanoidRootPart.CFrame * CFrame.new(-Size.X, -Size.Y, -Size.Z)).p)
  925. local Bottom2 = camera:WorldToViewportPoint((v.Character.HumanoidRootPart.CFrame * CFrame.new(-Size.X, -Size.Y, Size.Z)).p)
  926. local Bottom3 = camera:WorldToViewportPoint((v.Character.HumanoidRootPart.CFrame * CFrame.new(Size.X, -Size.Y, Size.Z)).p)
  927. local Bottom4 = camera:WorldToViewportPoint((v.Character.HumanoidRootPart.CFrame * CFrame.new(Size.X, -Size.Y, -Size.Z)).p)
  928.  
  929. --// Top:
  930. lines.line1.From = Vector2.new(Top1.X, Top1.Y)
  931. lines.line1.To = Vector2.new(Top2.X, Top2.Y)
  932.  
  933. lines.line2.From = Vector2.new(Top2.X, Top2.Y)
  934. lines.line2.To = Vector2.new(Top3.X, Top3.Y)
  935.  
  936. lines.line3.From = Vector2.new(Top3.X, Top3.Y)
  937. lines.line3.To = Vector2.new(Top4.X, Top4.Y)
  938.  
  939. lines.line4.From = Vector2.new(Top4.X, Top4.Y)
  940. lines.line4.To = Vector2.new(Top1.X, Top1.Y)
  941.  
  942. --// Bottom:
  943. lines.line5.From = Vector2.new(Bottom1.X, Bottom1.Y)
  944. lines.line5.To = Vector2.new(Bottom2.X, Bottom2.Y)
  945.  
  946. lines.line6.From = Vector2.new(Bottom2.X, Bottom2.Y)
  947. lines.line6.To = Vector2.new(Bottom3.X, Bottom3.Y)
  948.  
  949. lines.line7.From = Vector2.new(Bottom3.X, Bottom3.Y)
  950. lines.line7.To = Vector2.new(Bottom4.X, Bottom4.Y)
  951.  
  952. lines.line8.From = Vector2.new(Bottom4.X, Bottom4.Y)
  953. lines.line8.To = Vector2.new(Bottom1.X, Bottom1.Y)
  954.  
  955. --//S ides:
  956. lines.line9.From = Vector2.new(Bottom1.X, Bottom1.Y)
  957. lines.line9.To = Vector2.new(Top1.X, Top1.Y)
  958.  
  959. lines.line10.From = Vector2.new(Bottom2.X, Bottom2.Y)
  960. lines.line10.To = Vector2.new(Top2.X, Top2.Y)
  961.  
  962. lines.line11.From = Vector2.new(Bottom3.X, Bottom3.Y)
  963. lines.line11.To = Vector2.new(Top3.X, Top3.Y)
  964.  
  965. lines.line12.From = Vector2.new(Bottom4.X, Bottom4.Y)
  966. lines.line12.To = Vector2.new(Top4.X, Top4.Y)
  967.  
  968. --// Tracer:
  969. if Tracers then
  970. local trace = camera:WorldToViewportPoint((v.Character.HumanoidRootPart.CFrame * CFrame.new(0, -Size.Y, 0)).p)
  971.  
  972. lines.Tracer.From = Vector2.new(camera.ViewportSize.X/2, camera.ViewportSize.Y)
  973. lines.Tracer.To = Vector2.new(trace.X, trace.Y)
  974. end
  975.  
  976. --// Teamcheck:
  977. if Team_Check then
  978. if v.TeamColor == player.TeamColor then
  979. for u, x in pairs(lines) do
  980. x.Color = red
  981. end
  982. else
  983. for u, x in pairs(lines) do
  984. x.Color = green
  985. end
  986. end
  987. end
  988.  
  989. --// Autothickness:
  990. if Autothickness then
  991. local distance = (player.Character.HumanoidRootPart.Position - v.Character.HumanoidRootPart.Position).magnitude
  992. local value = math.clamp(1/distance*100, 0.1, 4) --0.1 is min thickness, 6 is max
  993. for u, x in pairs(lines) do
  994. x.Thickness = value
  995. end
  996. else
  997. for u, x in pairs(lines) do
  998. x.Thickness = Box_Thickness
  999. end
  1000. end
  1001.  
  1002. for u, x in pairs(lines) do
  1003. if x ~= lines.Tracer then
  1004. x.Visible = true
  1005. end
  1006. end
  1007. if Tracers then
  1008. lines.Tracer.Visible = true
  1009. end
  1010. else
  1011. for u, x in pairs(lines) do
  1012. x.Visible = false
  1013. end
  1014. end
  1015. else
  1016. for u, x in pairs(lines) do
  1017. x.Visible = false
  1018. end
  1019. if game.Players:FindFirstChild(v.Name) == nil then
  1020. connection:Disconnect()
  1021. end
  1022. end
  1023. end)
  1024. end
  1025. coroutine.wrap(ESP)()
  1026. end
  1027.  
  1028. game.Players.PlayerAdded:Connect(function(newplr)
  1029. --// Lines for 3D box (12)
  1030. local lines = {
  1031. line1 = NewLine(),
  1032. line2 = NewLine(),
  1033. line3 = NewLine(),
  1034. line4 = NewLine(),
  1035. line5 = NewLine(),
  1036. line6 = NewLine(),
  1037. line7 = NewLine(),
  1038. line8 = NewLine(),
  1039. line9 = NewLine(),
  1040. line10 = NewLine(),
  1041. line11 = NewLine(),
  1042. line12 = NewLine(),
  1043. Tracer = NewLine()
  1044. }
  1045.  
  1046. lines.Tracer.Color = Tracer_Color
  1047. lines.Tracer.Thickness = Tracer_Thickness
  1048. lines.Tracer.Transparency = Tracer_Transparency
  1049.  
  1050. --// Updates ESP (lines) in render loop
  1051. local function ESP()
  1052. local connection
  1053. connection = game:GetService("RunService").RenderStepped:Connect(function()
  1054. if on and newplr.Character ~= nil and newplr.Character:FindFirstChild("Humanoid") ~= nil and newplr.Character:FindFirstChild("HumanoidRootPart") ~= nil and newplr.Name ~= player.Name and newplr.Character.Humanoid.Health > 0 and newplr.Character:FindFirstChild("Head") ~= nil then
  1055. local pos, vis = camera:WorldToViewportPoint(newplr.Character.HumanoidRootPart.Position)
  1056. if vis then
  1057. local Scale = newplr.Character.Head.Size.Y/2
  1058. local Size = Vector3.new(2, 3, 1.5) * (Scale * 2) -- Change this for different box size
  1059.  
  1060. local Top1 = camera:WorldToViewportPoint((newplr.Character.HumanoidRootPart.CFrame * CFrame.new(-Size.X, Size.Y, -Size.Z)).p)
  1061. local Top2 = camera:WorldToViewportPoint((newplr.Character.HumanoidRootPart.CFrame * CFrame.new(-Size.X, Size.Y, Size.Z)).p)
  1062. local Top3 = camera:WorldToViewportPoint((newplr.Character.HumanoidRootPart.CFrame * CFrame.new(Size.X, Size.Y, Size.Z)).p)
  1063. local Top4 = camera:WorldToViewportPoint((newplr.Character.HumanoidRootPart.CFrame * CFrame.new(Size.X, Size.Y, -Size.Z)).p)
  1064.  
  1065. local Bottom1 = camera:WorldToViewportPoint((newplr.Character.HumanoidRootPart.CFrame * CFrame.new(-Size.X, -Size.Y, -Size.Z)).p)
  1066. local Bottom2 = camera:WorldToViewportPoint((newplr.Character.HumanoidRootPart.CFrame * CFrame.new(-Size.X, -Size.Y, Size.Z)).p)
  1067. local Bottom3 = camera:WorldToViewportPoint((newplr.Character.HumanoidRootPart.CFrame * CFrame.new(Size.X, -Size.Y, Size.Z)).p)
  1068. local Bottom4 = camera:WorldToViewportPoint((newplr.Character.HumanoidRootPart.CFrame * CFrame.new(Size.X, -Size.Y, -Size.Z)).p)
  1069.  
  1070. --// Top:
  1071. lines.line1.From = Vector2.new(Top1.X, Top1.Y)
  1072. lines.line1.To = Vector2.new(Top2.X, Top2.Y)
  1073.  
  1074. lines.line2.From = Vector2.new(Top2.X, Top2.Y)
  1075. lines.line2.To = Vector2.new(Top3.X, Top3.Y)
  1076.  
  1077. lines.line3.From = Vector2.new(Top3.X, Top3.Y)
  1078. lines.line3.To = Vector2.new(Top4.X, Top4.Y)
  1079.  
  1080. lines.line4.From = Vector2.new(Top4.X, Top4.Y)
  1081. lines.line4.To = Vector2.new(Top1.X, Top1.Y)
  1082.  
  1083. --// Bottom:
  1084. lines.line5.From = Vector2.new(Bottom1.X, Bottom1.Y)
  1085. lines.line5.To = Vector2.new(Bottom2.X, Bottom2.Y)
  1086.  
  1087. lines.line6.From = Vector2.new(Bottom2.X, Bottom2.Y)
  1088. lines.line6.To = Vector2.new(Bottom3.X, Bottom3.Y)
  1089.  
  1090. lines.line7.From = Vector2.new(Bottom3.X, Bottom3.Y)
  1091. lines.line7.To = Vector2.new(Bottom4.X, Bottom4.Y)
  1092.  
  1093. lines.line8.From = Vector2.new(Bottom4.X, Bottom4.Y)
  1094. lines.line8.To = Vector2.new(Bottom1.X, Bottom1.Y)
  1095.  
  1096. --//S ides:
  1097. lines.line9.From = Vector2.new(Bottom1.X, Bottom1.Y)
  1098. lines.line9.To = Vector2.new(Top1.X, Top1.Y)
  1099.  
  1100. lines.line10.From = Vector2.new(Bottom2.X, Bottom2.Y)
  1101. lines.line10.To = Vector2.new(Top2.X, Top2.Y)
  1102.  
  1103. lines.line11.From = Vector2.new(Bottom3.X, Bottom3.Y)
  1104. lines.line11.To = Vector2.new(Top3.X, Top3.Y)
  1105.  
  1106. lines.line12.From = Vector2.new(Bottom4.X, Bottom4.Y)
  1107. lines.line12.To = Vector2.new(Top4.X, Top4.Y)
  1108.  
  1109. --// Tracer:
  1110. if Tracers then
  1111. local trace = camera:WorldToViewportPoint((newplr.Character.HumanoidRootPart.CFrame * CFrame.new(0, -Size.Y, 0)).p)
  1112. lines.Tracer.From = Vector2.new(camera.ViewportSize.X/2, camera.ViewportSize.Y)
  1113. lines.Tracer.To = Vector2.new(trace.X, trace.Y)
  1114. end
  1115.  
  1116. --// Teamcheck:
  1117. if Team_Check then
  1118. if newplr.TeamColor == player.TeamColor then
  1119. for u, x in pairs(lines) do
  1120. x.Color = green
  1121. end
  1122. else
  1123. for u, x in pairs(lines) do
  1124. x.Color = red
  1125. end
  1126. end
  1127. end
  1128.  
  1129. --// Autothickness:
  1130. if Autothickness then
  1131. local distance = (player.Character.HumanoidRootPart.Position - newplr.Character.HumanoidRootPart.Position).magnitude
  1132. local value = math.clamp(1/distance*100, 0.1, 4) --0.1 is min thickness, 6 is max
  1133. for u, x in pairs(lines) do
  1134. x.Thickness = value
  1135. end
  1136. else
  1137. for u, x in pairs(lines) do
  1138. x.Thickness = Box_Thickness
  1139. end
  1140. end
  1141.  
  1142. for u, x in pairs(lines) do
  1143. if x ~= lines.Tracer then
  1144. x.Visible = true
  1145. end
  1146. end
  1147. if Tracers then
  1148. lines.Tracer.Visible = true
  1149. end
  1150. else
  1151. for u, x in pairs(lines) do
  1152. x.Visible = false
  1153. end
  1154. end
  1155. else
  1156. for u, x in pairs(lines) do
  1157. x.Visible = false
  1158. end
  1159. if game.Players:FindFirstChild(newplr.Name) == nil then
  1160. connection:Disconnect()
  1161. end
  1162. end
  1163. end)
  1164. end
  1165. coroutine.wrap(ESP)()
  1166. end)
  1167. end)
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement