Advertisement
Totia01

criminality script

Jan 11th, 2025
5,458
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 36.12 KB | None | 1 1
  1. --criminality
  2.  
  3. local Fluent = loadstring(game:HttpGet("https://github.com/dawid-scripts/Fluent/releases/latest/download/main.lua"))()
  4. local SaveManager = loadstring(game:HttpGet("https://raw.githubusercontent.com/dawid-scripts/Fluent/master/Addons/SaveManager.lua"))()
  5. local InterfaceManager = loadstring(game:HttpGet("https://raw.githubusercontent.com/dawid-scripts/Fluent/master/Addons/InterfaceManager.lua"))()
  6.  
  7. local Window = Fluent:CreateWindow({
  8. Title = "Criminality Scripts " .. Fluent.Version,
  9. SubTitle = "by TheMeetly [CRIMINALITY]",
  10. TabWidth = 160,
  11. Size = UDim2.fromOffset(580, 460),
  12. Acrylic = true, -- The blur may be detectable, setting this to false disables blur entirely
  13. Theme = "Rose",
  14. MinimizeKey = Enum.KeyCode.LeftAlt-- Used when theres no MinimizeKeybind
  15. })
  16.  
  17. --Fluent provides Lucide Icons https://lucide.dev/icons/ for the tabs, icons are optional
  18. local Tabs = {
  19. Main = Window:AddTab({ Title = "Main", Icon = "" }),
  20. Visual = Window:AddTab({ Title = "Visual", Icon = "" }),
  21. Updates = Window:AddTab({ Title = "Updates", Icon = "" }),
  22. Settings = Window:AddTab({ Title = "Settings", Icon = "settings" })
  23. }
  24.  
  25. local Options = Fluent.Options
  26.  
  27. do
  28. Fluent:Notify({
  29. Title = "CRIMINALITY",
  30. Content = "Script By Meetly",
  31. SubContent = "Ezz", -- Optional
  32. Duration = 5 -- Set to nil to make the notification not disappear
  33. })
  34.  
  35. Tabs.Main:AddButton({
  36. Title = "AimBot UI",
  37. Description = "AimBot Criminality",
  38. Callback = function()
  39. loadstring(game:HttpGet('https://raw.githubusercontent.com/Mick-gordon/Hyper-Escape/main/DeleteMobCheatEngine.lua'))()
  40. end
  41. })
  42.  
  43. Tabs.Visual:AddButton({
  44. Title = "ESP",
  45. Description = "Esp",
  46. Callback = function(esp)
  47. loadstring(game:HttpGet('https://raw.githubusercontent.com/Lucasfin000/SpaceHub/main/UESP'))()
  48. end
  49. })
  50.  
  51. local Toggle = Tabs.Visual:AddToggle("Chams", {Title = "Chams", Default = false })
  52.  
  53. Toggle:OnChanged(function(Value)
  54. _G.highlightEnabled = Value
  55. end)
  56.  
  57.  
  58. _G.highlightEnabled = false
  59.  
  60. local function getRoleColor(plr)
  61. if (plr.Backpack:FindFirstChild("Knife") or plr.Character:FindFirstChild("Knife")) then
  62. return Color3.new(1, 0, 0)
  63. elseif (plr.Backpack:FindFirstChild("Gun") or plr.Character:FindFirstChild("Gun")) then
  64. return Color3.new(0, 0, 1)
  65. else
  66. return Color3.new(186,85,211)
  67. end
  68. end
  69.  
  70. local function handleHighlight()
  71. while true do
  72. if _G.highlightEnabled then
  73. for _, v in pairs(game.Players:GetChildren()) do
  74. if v ~= game.Players.LocalPlayer and v.Character then
  75. if not v.Character:FindFirstChild("Highlight") then
  76. local highlight = Instance.new("Highlight", v.Character)
  77. highlight.FillTransparency = 0.5
  78. highlight.OutlineTransparency = 0.5
  79. highlight.FillColor = getRoleColor(v)
  80. else
  81. v.Character.Highlight.FillColor = getRoleColor(v)
  82. end
  83. end
  84. end
  85. else
  86. for _, v in pairs(game.Players:GetChildren()) do
  87. if v ~= game.Players.LocalPlayer and v.Character and v.Character:FindFirstChild("Highlight") then
  88. v.Character.Highlight:Destroy()
  89. end
  90. end
  91. end
  92. wait(0.1)
  93. end
  94. end
  95.  
  96. spawn(handleHighlight)
  97.  
  98. local Camera = game.Workspace.CurrentCamera
  99. local RunService = game:GetService("RunService")
  100.  
  101. local Slider = Tabs.Visual:AddSlider("Slider", {
  102. Title = "FOV changer",
  103. Description = "FOV",
  104. Default = 60,
  105. Min = 60,
  106. Max = 120,
  107. Rounding = 1,
  108. Callback = function(Value)
  109.  
  110. Camera.FieldOfView = Value
  111. end
  112. })
  113.  
  114.  
  115. RunService.RenderStepped:Connect(function()
  116.  
  117. if Camera.FieldOfView ~= Slider.Value then
  118. Camera.FieldOfView = Slider.Value
  119. end
  120. end)
  121.  
  122. Tabs.Visual:AddButton({
  123. Title = "FullBright",
  124. Description = "FullBright",
  125. Callback = function(esp)
  126. pcall(function()
  127. local lighting = game:GetService("Lighting");
  128. lighting.Ambient = Color3.fromRGB(255, 255, 255);
  129. lighting.Brightness = 1;
  130. lighting.FogEnd = 1e10;
  131. for i, v in pairs(lighting:GetDescendants()) do
  132. if v:IsA("BloomEffect") or v:IsA("BlurEffect") or v:IsA("ColorCorrectionEffect") or v:IsA("SunRaysEffect") then
  133. v.Enabled = false;
  134. end;
  135. end;
  136. lighting.Changed:Connect(function()
  137. lighting.Ambient = Color3.fromRGB(255, 255, 255);
  138. lighting.Brightness = 1;
  139. lighting.FogEnd = 1e10;
  140. end);
  141. spawn(function()
  142. local character = game:GetService("Players").LocalPlayer.Character;
  143. while wait() do
  144. repeat wait() until character ~= nil;
  145. if not character.HumanoidRootPart:FindFirstChildWhichIsA("PointLight") then
  146. local headlight = Instance.new("PointLight", character.HumanoidRootPart);
  147. headlight.Brightness = 1;
  148. headlight.Range = 60;
  149. end;
  150. end;
  151. end);
  152. end)
  153. end
  154. })
  155.  
  156. Tabs.Visual:AddButton({
  157. Title = "Show Chat",
  158. Description = "Show Chat",
  159. Callback = function()
  160. -- // Services
  161. local Players = game:GetService("Players")
  162.  
  163. -- // Vars
  164. local ChatFrame = Players.LocalPlayer.PlayerGui.Chat.Frame
  165.  
  166. -- //
  167. ChatFrame.ChatChannelParentFrame.Visible = true
  168. ChatFrame.ChatBarParentFrame.Position = UDim2.new(0, 0, 1, -42)
  169. end
  170. })
  171.  
  172. Tabs.Visual:AddButton({
  173. Title = "KeyStrokes",
  174. Description = "KeyStrokes",
  175. Callback = function(esp)
  176. getgenv().k1 = "W"
  177. getgenv().k2 = "A"
  178. getgenv().k3 = "S"
  179. getgenv().k4 = "D"
  180.  
  181. getgenv().backdrop = false -- only if you want the shadow bg.
  182. getgenv().showms = true -- only if you want to have your ms shown.
  183. getgenv().showfps = true -- only if you want to have your fps shown.
  184. getgenv().showkps = true -- only if you want to have your kps shown.
  185. getgenv().animated = true -- only if you want the GUI to have the animated shadow.
  186. getgenv().showarrows = false -- only if you want arrow keys to be shown.
  187. getgenv().keydrag = false -- only if you want the keys to be draggable, can also be buggy, will be worked on in the future.
  188.  
  189. loadstring(game:HttpGet("https://raw.githubusercontent.com/Zirmith/Util-Tools/main/keyStrokes.lua"))()
  190.  
  191. end
  192. })
  193.  
  194. Tabs.Visual:AddButton({
  195. Title = "Free-cam",
  196. Description = "toggel shift + p",
  197. Callback = function()
  198. function sandbox(var,func)
  199. local env = getfenv(func)
  200. local newenv = setmetatable({},{
  201. __index = function(self,k)
  202. if k=="script" then
  203. return var
  204. else
  205. return env[k]
  206. end
  207. end,
  208. })
  209. setfenv(func,newenv)
  210. return func
  211. end
  212. cors = {}
  213. mas = Instance.new("Model",game:GetService("Lighting"))
  214. LocalScript0 = Instance.new("LocalScript")
  215. LocalScript0.Name = "FreeCamera"
  216. LocalScript0.Parent = mas
  217. table.insert(cors,sandbox(LocalScript0,function()
  218.  
  219. local pi = math.pi
  220. local abs = math.abs
  221. local clamp = math.clamp
  222. local exp = math.exp
  223. local rad = math.rad
  224. local sign = math.sign
  225. local sqrt = math.sqrt
  226. local tan = math.tan
  227.  
  228. local ContextActionService = game:GetService("ContextActionService")
  229. local Players = game:GetService("Players")
  230. local RunService = game:GetService("RunService")
  231. local StarterGui = game:GetService("StarterGui")
  232. local UserInputService = game:GetService("UserInputService")
  233.  
  234. local LocalPlayer = Players.LocalPlayer
  235. if not LocalPlayer then
  236. Players:GetPropertyChangedSignal("LocalPlayer"):Wait()
  237. LocalPlayer = Players.LocalPlayer
  238. end
  239.  
  240. local Camera = workspace.CurrentCamera
  241. workspace:GetPropertyChangedSignal("CurrentCamera"):Connect(function()
  242. local newCamera = workspace.CurrentCamera
  243. if newCamera then
  244. Camera = newCamera
  245. end
  246. end)
  247.  
  248. ------------------------------------------------------------------------
  249.  
  250. local TOGGLE_INPUT_PRIORITY = Enum.ContextActionPriority.Low.Value
  251. local INPUT_PRIORITY = Enum.ContextActionPriority.High.Value
  252. local FREECAM_MACRO_KB = {Enum.KeyCode.LeftShift, Enum.KeyCode.P}
  253.  
  254. local NAV_GAIN = Vector3.new(1, 1, 1)*64
  255. local PAN_GAIN = Vector2.new(0.75, 1)*8
  256. local FOV_GAIN = 300
  257.  
  258. local PITCH_LIMIT = rad(90)
  259.  
  260. local VEL_STIFFNESS = 1.5
  261. local PAN_STIFFNESS = 1.0
  262. local FOV_STIFFNESS = 4.0
  263.  
  264. ------------------------------------------------------------------------
  265.  
  266. local Spring = {} do
  267. Spring.__index = Spring
  268.  
  269. function Spring.new(freq, pos)
  270. local self = setmetatable({}, Spring)
  271. self.f = freq
  272. self.p = pos
  273. self.v = pos*0
  274. return self
  275. end
  276.  
  277. function Spring:Update(dt, goal)
  278. local f = self.f*2*pi
  279. local p0 = self.p
  280. local v0 = self.v
  281.  
  282. local offset = goal - p0
  283. local decay = exp(-f*dt)
  284.  
  285. local p1 = goal + (v0*dt - offset*(f*dt + 1))*decay
  286. local v1 = (f*dt*(offset*f - v0) + v0)*decay
  287.  
  288. self.p = p1
  289. self.v = v1
  290.  
  291. return p1
  292. end
  293.  
  294. function Spring:Reset(pos)
  295. self.p = pos
  296. self.v = pos*0
  297. end
  298. end
  299.  
  300. ------------------------------------------------------------------------
  301.  
  302. local cameraPos = Vector3.new()
  303. local cameraRot = Vector2.new()
  304. local cameraFov = 0
  305.  
  306. local velSpring = Spring.new(VEL_STIFFNESS, Vector3.new())
  307. local panSpring = Spring.new(PAN_STIFFNESS, Vector2.new())
  308. local fovSpring = Spring.new(FOV_STIFFNESS, 0)
  309.  
  310. ------------------------------------------------------------------------
  311.  
  312. local Input = {} do
  313. local thumbstickCurve do
  314. local K_CURVATURE = 2.0
  315. local K_DEADZONE = 0.15
  316.  
  317. local function fCurve(x)
  318. return (exp(K_CURVATURE*x) - 1)/(exp(K_CURVATURE) - 1)
  319. end
  320.  
  321. local function fDeadzone(x)
  322. return fCurve((x - K_DEADZONE)/(1 - K_DEADZONE))
  323. end
  324.  
  325. function thumbstickCurve(x)
  326. return sign(x)*clamp(fDeadzone(abs(x)), 0, 1)
  327. end
  328. end
  329.  
  330. local gamepad = {
  331. ButtonX = 0,
  332. ButtonY = 0,
  333. DPadDown = 0,
  334. DPadUp = 0,
  335. ButtonL2 = 0,
  336. ButtonR2 = 0,
  337. Thumbstick1 = Vector2.new(),
  338. Thumbstick2 = Vector2.new(),
  339. }
  340.  
  341. local keyboard = {
  342. W = 0,
  343. A = 0,
  344. S = 0,
  345. D = 0,
  346. E = 0,
  347. Q = 0,
  348. U = 0,
  349. H = 0,
  350. J = 0,
  351. K = 0,
  352. I = 0,
  353. Y = 0,
  354. Up = 0,
  355. Down = 0,
  356. LeftShift = 0,
  357. RightShift = 0,
  358. }
  359.  
  360. local mouse = {
  361. Delta = Vector2.new(),
  362. MouseWheel = 0,
  363. }
  364.  
  365. local NAV_GAMEPAD_SPEED = Vector3.new(1, 1, 1)
  366. local NAV_KEYBOARD_SPEED = Vector3.new(1, 1, 1)
  367. local PAN_MOUSE_SPEED = Vector2.new(1, 1)*(pi/64)
  368. local PAN_GAMEPAD_SPEED = Vector2.new(1, 1)*(pi/8)
  369. local FOV_WHEEL_SPEED = 1.0
  370. local FOV_GAMEPAD_SPEED = 0.25
  371. local NAV_ADJ_SPEED = 0.75
  372. local NAV_SHIFT_MUL = 0.25
  373.  
  374. local navSpeed = 1
  375.  
  376. function Input.Vel(dt)
  377. navSpeed = clamp(navSpeed + dt*(keyboard.Up - keyboard.Down)*NAV_ADJ_SPEED, 0.01, 4)
  378.  
  379. local kGamepad = Vector3.new(
  380. thumbstickCurve(gamepad.Thumbstick1.x),
  381. thumbstickCurve(gamepad.ButtonR2) - thumbstickCurve(gamepad.ButtonL2),
  382. thumbstickCurve(-gamepad.Thumbstick1.y)
  383. )*NAV_GAMEPAD_SPEED
  384.  
  385. local kKeyboard = Vector3.new(
  386. keyboard.D - keyboard.A + keyboard.K - keyboard.H,
  387. keyboard.E - keyboard.Q + keyboard.I - keyboard.Y,
  388. keyboard.S - keyboard.W + keyboard.J - keyboard.U
  389. )*NAV_KEYBOARD_SPEED
  390.  
  391. local shift = UserInputService:IsKeyDown(Enum.KeyCode.LeftShift) or UserInputService:IsKeyDown(Enum.KeyCode.RightShift)
  392.  
  393. return (kGamepad + kKeyboard)*(navSpeed*(shift and NAV_SHIFT_MUL or 1))
  394. end
  395.  
  396. function Input.Pan(dt)
  397. local kGamepad = Vector2.new(
  398. thumbstickCurve(gamepad.Thumbstick2.y),
  399. thumbstickCurve(-gamepad.Thumbstick2.x)
  400. )*PAN_GAMEPAD_SPEED
  401. local kMouse = mouse.Delta*PAN_MOUSE_SPEED
  402. mouse.Delta = Vector2.new()
  403. return kGamepad + kMouse
  404. end
  405.  
  406. function Input.Fov(dt)
  407. local kGamepad = (gamepad.ButtonX - gamepad.ButtonY)*FOV_GAMEPAD_SPEED
  408. local kMouse = mouse.MouseWheel*FOV_WHEEL_SPEED
  409. mouse.MouseWheel = 0
  410. return kGamepad + kMouse
  411. end
  412.  
  413. do
  414. local function Keypress(action, state, input)
  415. keyboard[input.KeyCode.Name] = state == Enum.UserInputState.Begin and 1 or 0
  416. return Enum.ContextActionResult.Sink
  417. end
  418.  
  419. local function GpButton(action, state, input)
  420. gamepad[input.KeyCode.Name] = state == Enum.UserInputState.Begin and 1 or 0
  421. return Enum.ContextActionResult.Sink
  422. end
  423.  
  424. local function MousePan(action, state, input)
  425. local delta = input.Delta
  426. mouse.Delta = Vector2.new(-delta.y, -delta.x)
  427. return Enum.ContextActionResult.Sink
  428. end
  429.  
  430. local function Thumb(action, state, input)
  431. gamepad[input.KeyCode.Name] = input.Position
  432. return Enum.ContextActionResult.Sink
  433. end
  434.  
  435. local function Trigger(action, state, input)
  436. gamepad[input.KeyCode.Name] = input.Position.z
  437. return Enum.ContextActionResult.Sink
  438. end
  439.  
  440. local function MouseWheel(action, state, input)
  441. mouse[input.UserInputType.Name] = -input.Position.z
  442. return Enum.ContextActionResult.Sink
  443. end
  444.  
  445. local function Zero(t)
  446. for k, v in pairs(t) do
  447. t[k] = v*0
  448. end
  449. end
  450.  
  451. function Input.StartCapture()
  452. ContextActionService:BindActionAtPriority("FreecamKeyboard", Keypress, false, INPUT_PRIORITY,
  453. Enum.KeyCode.W, Enum.KeyCode.U,
  454. Enum.KeyCode.A, Enum.KeyCode.H,
  455. Enum.KeyCode.S, Enum.KeyCode.J,
  456. Enum.KeyCode.D, Enum.KeyCode.K,
  457. Enum.KeyCode.E, Enum.KeyCode.I,
  458. Enum.KeyCode.Q, Enum.KeyCode.Y,
  459. Enum.KeyCode.Up, Enum.KeyCode.Down
  460. )
  461. ContextActionService:BindActionAtPriority("FreecamMousePan", MousePan, false, INPUT_PRIORITY, Enum.UserInputType.MouseMovement)
  462. ContextActionService:BindActionAtPriority("FreecamMouseWheel", MouseWheel, false, INPUT_PRIORITY, Enum.UserInputType.MouseWheel)
  463. ContextActionService:BindActionAtPriority("FreecamGamepadButton", GpButton, false, INPUT_PRIORITY, Enum.KeyCode.ButtonX, Enum.KeyCode.ButtonY)
  464. ContextActionService:BindActionAtPriority("FreecamGamepadTrigger", Trigger, false, INPUT_PRIORITY, Enum.KeyCode.ButtonR2, Enum.KeyCode.ButtonL2)
  465. ContextActionService:BindActionAtPriority("FreecamGamepadThumbstick", Thumb, false, INPUT_PRIORITY, Enum.KeyCode.Thumbstick1, Enum.KeyCode.Thumbstick2)
  466. end
  467.  
  468. function Input.StopCapture()
  469. navSpeed = 1
  470. Zero(gamepad)
  471. Zero(keyboard)
  472. Zero(mouse)
  473. ContextActionService:UnbindAction("FreecamKeyboard")
  474. ContextActionService:UnbindAction("FreecamMousePan")
  475. ContextActionService:UnbindAction("FreecamMouseWheel")
  476. ContextActionService:UnbindAction("FreecamGamepadButton")
  477. ContextActionService:UnbindAction("FreecamGamepadTrigger")
  478. ContextActionService:UnbindAction("FreecamGamepadThumbstick")
  479. end
  480. end
  481. end
  482.  
  483. local function GetFocusDistance(cameraFrame)
  484. local znear = 0.1
  485. local viewport = Camera.ViewportSize
  486. local projy = 2*tan(cameraFov/2)
  487. local projx = viewport.x/viewport.y*projy
  488. local fx = cameraFrame.rightVector
  489. local fy = cameraFrame.upVector
  490. local fz = cameraFrame.lookVector
  491.  
  492. local minVect = Vector3.new()
  493. local minDist = 512
  494.  
  495. for x = 0, 1, 0.5 do
  496. for y = 0, 1, 0.5 do
  497. local cx = (x - 0.5)*projx
  498. local cy = (y - 0.5)*projy
  499. local offset = fx*cx - fy*cy + fz
  500. local origin = cameraFrame.p + offset*znear
  501. local part, hit = workspace:FindPartOnRay(Ray.new(origin, offset.unit*minDist))
  502. local dist = (hit - origin).magnitude
  503. if minDist > dist then
  504. minDist = dist
  505. minVect = offset.unit
  506. end
  507. end
  508. end
  509.  
  510. return fz:Dot(minVect)*minDist
  511. end
  512.  
  513. ------------------------------------------------------------------------
  514.  
  515. local function StepFreecam(dt)
  516. local vel = velSpring:Update(dt, Input.Vel(dt))
  517. local pan = panSpring:Update(dt, Input.Pan(dt))
  518. local fov = fovSpring:Update(dt, Input.Fov(dt))
  519.  
  520. local zoomFactor = sqrt(tan(rad(70/2))/tan(rad(cameraFov/2)))
  521.  
  522. cameraFov = clamp(cameraFov + fov*FOV_GAIN*(dt/zoomFactor), 1, 120)
  523. cameraRot = cameraRot + pan*PAN_GAIN*(dt/zoomFactor)
  524. cameraRot = Vector2.new(clamp(cameraRot.x, -PITCH_LIMIT, PITCH_LIMIT), cameraRot.y%(2*pi))
  525.  
  526. local cameraCFrame = CFrame.new(cameraPos)*CFrame.fromOrientation(cameraRot.x, cameraRot.y, 0)*CFrame.new(vel*NAV_GAIN*dt)
  527. cameraPos = cameraCFrame.p
  528.  
  529. Camera.CFrame = cameraCFrame
  530. Camera.Focus = cameraCFrame*CFrame.new(0, 0, -GetFocusDistance(cameraCFrame))
  531. Camera.FieldOfView = cameraFov
  532. end
  533.  
  534. ------------------------------------------------------------------------
  535.  
  536. local PlayerState = {} do
  537. local mouseIconEnabled
  538. local cameraSubject
  539. local cameraType
  540. local cameraFocus
  541. local cameraCFrame
  542. local cameraFieldOfView
  543. local screenGuis = {}
  544. local coreGuis = {
  545. Backpack = true,
  546. Chat = true,
  547. Health = true,
  548. PlayerList = true,
  549. }
  550. local setCores = {
  551. BadgesNotificationsActive = true,
  552. PointsNotificationsActive = true,
  553. }
  554.  
  555. -- Save state and set up for freecam
  556. function PlayerState.Push()
  557. for name in pairs(coreGuis) do
  558. coreGuis[name] = StarterGui:GetCoreGuiEnabled(Enum.CoreGuiType[name])
  559. StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType[name], false)
  560. end
  561. for name in pairs(setCores) do
  562. setCores[name] = StarterGui:GetCore(name)
  563. StarterGui:SetCore(name, false)
  564. end
  565. local playergui = LocalPlayer:FindFirstChildOfClass("PlayerGui")
  566. if playergui then
  567. for _, gui in pairs(playergui:GetChildren()) do
  568. if gui:IsA("ScreenGui") and gui.Enabled then
  569. screenGuis[#screenGuis + 1] = gui
  570. gui.Enabled = false
  571. end
  572. end
  573. end
  574.  
  575. cameraFieldOfView = Camera.FieldOfView
  576. Camera.FieldOfView = 70
  577.  
  578. cameraType = Camera.CameraType
  579. Camera.CameraType = Enum.CameraType.Custom
  580.  
  581. cameraSubject = Camera.CameraSubject
  582. Camera.CameraSubject = nil
  583.  
  584. cameraCFrame = Camera.CFrame
  585. cameraFocus = Camera.Focus
  586.  
  587. mouseIconEnabled = UserInputService.MouseIconEnabled
  588. UserInputService.MouseIconEnabled = false
  589.  
  590. mouseBehavior = UserInputService.MouseBehavior
  591. UserInputService.MouseBehavior = Enum.MouseBehavior.Default
  592. end
  593.  
  594. -- Restore state
  595. function PlayerState.Pop()
  596. for name, isEnabled in pairs(coreGuis) do
  597. StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType[name], isEnabled)
  598. end
  599. for name, isEnabled in pairs(setCores) do
  600. StarterGui:SetCore(name, isEnabled)
  601. end
  602. for _, gui in pairs(screenGuis) do
  603. if gui.Parent then
  604. gui.Enabled = true
  605. end
  606. end
  607.  
  608. Camera.FieldOfView = cameraFieldOfView
  609. cameraFieldOfView = nil
  610.  
  611. Camera.CameraType = cameraType
  612. cameraType = nil
  613.  
  614. Camera.CameraSubject = cameraSubject
  615. cameraSubject = nil
  616.  
  617. Camera.CFrame = cameraCFrame
  618. cameraCFrame = nil
  619.  
  620. Camera.Focus = cameraFocus
  621. cameraFocus = nil
  622.  
  623. UserInputService.MouseIconEnabled = mouseIconEnabled
  624. mouseIconEnabled = nil
  625.  
  626. UserInputService.MouseBehavior = mouseBehavior
  627. mouseBehavior = nil
  628. end
  629. end
  630.  
  631. local function StartFreecam()
  632. local cameraCFrame = Camera.CFrame
  633. cameraRot = Vector2.new(cameraCFrame:toEulerAnglesYXZ())
  634. cameraPos = cameraCFrame.p
  635. cameraFov = Camera.FieldOfView
  636.  
  637. velSpring:Reset(Vector3.new())
  638. panSpring:Reset(Vector2.new())
  639. fovSpring:Reset(0)
  640.  
  641. PlayerState.Push()
  642. RunService:BindToRenderStep("Freecam", Enum.RenderPriority.Camera.Value, StepFreecam)
  643. Input.StartCapture()
  644. end
  645.  
  646. local function StopFreecam()
  647. Input.StopCapture()
  648. RunService:UnbindFromRenderStep("Freecam")
  649. PlayerState.Pop()
  650. end
  651.  
  652. ------------------------------------------------------------------------
  653.  
  654. do
  655. local enabled = false
  656.  
  657. local function ToggleFreecam()
  658. if enabled then
  659. StopFreecam()
  660. else
  661. StartFreecam()
  662. end
  663. enabled = not enabled
  664. end
  665.  
  666. local function CheckMacro(macro)
  667. for i = 1, #macro - 1 do
  668. if not UserInputService:IsKeyDown(macro[i]) then
  669. return
  670. end
  671. end
  672. ToggleFreecam()
  673. end
  674.  
  675. local function HandleActivationInput(action, state, input)
  676. if state == Enum.UserInputState.Begin then
  677. if input.KeyCode == FREECAM_MACRO_KB[#FREECAM_MACRO_KB] then
  678. CheckMacro(FREECAM_MACRO_KB)
  679. end
  680. end
  681. return Enum.ContextActionResult.Pass
  682. end
  683.  
  684. ContextActionService:BindActionAtPriority("FreecamToggle", HandleActivationInput, false, TOGGLE_INPUT_PRIORITY, FREECAM_MACRO_KB[#FREECAM_MACRO_KB])
  685. end
  686. end))
  687. for i,v in pairs(mas:GetChildren()) do
  688. v.Parent = game:GetService("Players").LocalPlayer.PlayerGui
  689. pcall(function() v:MakeJoints() end)
  690. end
  691. mas:Destroy()
  692. for i,v in pairs(cors) do
  693. spawn(function()
  694. pcall(v)
  695. end)
  696. end
  697. end
  698. })
  699.  
  700. Tabs.Main:AddButton({
  701. Title = "Glide Fly",
  702. Description = "Flight Bind: B - Fly/Speed; U - Only Speed",
  703. Callback = function(esp)
  704. togglekey = "b" -- fly toggle
  705. upkey = "=" -- makes speed faster
  706. downkey = "-" -- makes speed slower
  707. enablepart = "u" -- enables part fly
  708. speed = -0.5 -- changes set speed
  709. updown = false -- true if you want to go up
  710. notify = true -- true if you want notifcations
  711. flypart = true -- true for part fly
  712. local user = game:GetService("UserInputService")
  713. local player = game:GetService("Players").LocalPlayer
  714. local GuiService = game:GetService("StarterGui")
  715. local mouse = game.Players.LocalPlayer:GetMouse()
  716. local holdingWKey = false
  717. local holdingSKey = false
  718. local holdingAKey = false
  719. local holdingDKey = false
  720. local holdingSpaceKey = false
  721. local holdingShiftKey = false
  722. local check = false
  723. GuiService:SetCore("SendNotification", {Title = "Speed", Text = "Script made by TheMeetly";})
  724. mouse.KeyDown:connect(function(key)
  725. if key == enablepart then
  726. if flypart then
  727. flypart = false
  728. if notify then
  729. GuiService:SetCore("SendNotification", {Title = "Speed", Text = "Disabled part fly";})
  730. end
  731. else
  732. flypart = true
  733. if notify then
  734. GuiService:SetCore("SendNotification", {Title = "Speed", Text = "Enabled part fly";})
  735. end
  736. end
  737. end
  738. end)
  739. mouse.KeyDown:connect(function(key)
  740. if key == upkey then
  741. speed = speed + -0.1
  742. if notify then
  743. GuiService:SetCore("SendNotification", {Title = "Speed", Text = "Speed is now set to " .. speed;})
  744. end
  745. end
  746. end)
  747. mouse.KeyDown:connect(function(key)
  748. if key == downkey then
  749. speed = speed - -0.1
  750. if notify then
  751. GuiService:SetCore("SendNotification", {Title = "Speed", Text = "Speed is now set to " .. speed;})
  752. end
  753. end
  754. end)
  755. mouse.KeyDown:connect(function(key)
  756. if key == togglekey then
  757. if check == true then
  758. check = false
  759. if notify then
  760. GuiService:SetCore("SendNotification", {Title = "Speed", Text = "Speed is now disabled";})
  761. end
  762. game.Workspace.fly:Destroy()
  763. else
  764. check = true
  765. if notify then
  766. GuiService:SetCore("SendNotification", {Title = "Speed", Text = "Speed is now enabled";})
  767. end
  768. if flypart then
  769. local brick = Instance.new("Part", workspace)
  770. brick.Size = Vector3.new(8, 2, 8)
  771. brick.CFrame = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(0, -4, 0)
  772. brick.Transparency = 1 brick.Anchored = true brick.Name = "fly"
  773. game:GetService('RunService').Stepped:connect(function()
  774. brick.CFrame = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(0, -4, 0)
  775. brick.Size = Vector3.new(8+-speed, 2, 8+-speed)
  776. end)
  777. end
  778. end
  779. end
  780. end)
  781. game:GetService('RunService').Stepped:connect(function()
  782. if check then
  783. if holdingWKey == true then
  784. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0,0,speed)
  785. end
  786. if holdingSKey == true then
  787. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0,0,-speed)
  788. end
  789. if holdingAKey == true then
  790. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(speed,0,0)
  791. end
  792. if holdingDKey == true then
  793. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(-speed,0,0)
  794. end
  795. if holdingShiftKey == true then
  796. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0,speed,0)
  797. end
  798. if updown then
  799. if holdingSpaceKey == true then
  800. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0,-speed,0)
  801. end
  802. end
  803. end
  804. end)
  805. user.InputBegan:Connect(function(inputObject)
  806. if (inputObject.KeyCode == Enum.KeyCode.W) then
  807. holdingWKey = true
  808. end
  809. if (inputObject.KeyCode == Enum.KeyCode.S) then
  810. holdingSKey = true
  811. end
  812. if (inputObject.KeyCode == Enum.KeyCode.A) then
  813. holdingAKey = true
  814. end
  815. if (inputObject.KeyCode == Enum.KeyCode.D) then
  816. holdingDKey = true
  817. end
  818. if (inputObject.KeyCode == Enum.KeyCode.LeftControl) then
  819. holdingShiftKey = true
  820. end
  821. if (inputObject.KeyCode == Enum.KeyCode.Space) then
  822. holdingSpaceKey = true
  823. end
  824. end)
  825. user.InputEnded:Connect(function(inputObject)
  826. if (inputObject.KeyCode == Enum.KeyCode.W) then
  827. holdingWKey = false
  828. end
  829. if( inputObject.KeyCode == Enum.KeyCode.S) then
  830. holdingSKey = false
  831. end
  832. if (inputObject.KeyCode == Enum.KeyCode.A) then
  833. holdingAKey = false
  834. end
  835. if (inputObject.KeyCode == Enum.KeyCode.D) then
  836. holdingDKey = false
  837. end
  838. if (inputObject.KeyCode == Enum.KeyCode.LeftControl) then
  839. holdingShiftKey = false
  840. end
  841. if (inputObject.KeyCode == Enum.KeyCode.Space) then
  842. holdingSpaceKey = false
  843. end
  844. end)
  845. end
  846. })
  847.  
  848. Tabs.Main:AddButton({
  849. Title = "Jump-Boost",
  850. Description = "Gravity",
  851. Callback = function()
  852. game.workspace.Gravity = 80
  853. end
  854. })
  855.  
  856. Tabs.Main:AddButton({
  857. Title = "Spin (P)",
  858. Description = "SpinBot",
  859. Callback = function()
  860. local player = game.Players.LocalPlayer
  861. local character = player.Character or player.CharacterAdded:Wait()
  862. local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
  863.  
  864. local rotationSpeed = 200
  865. local rotating = false
  866.  
  867. local function toggleRotation()
  868. rotating = not rotating
  869.  
  870. while rotating do
  871.  
  872. humanoidRootPart.CFrame = humanoidRootPart.CFrame * CFrame.Angles(0, math.rad(rotationSpeed), 0)
  873. wait(0.1)
  874. end
  875. end
  876.  
  877. local UserInputService = game:GetService("UserInputService")
  878.  
  879. UserInputService.InputBegan:Connect(function(input, gameProcessed)
  880. if not gameProcessed and input.KeyCode == Enum.KeyCode.P then
  881. toggleRotation()
  882. end
  883. end)
  884. end
  885. })
  886.  
  887. Tabs.Main:AddButton({
  888. Title = "CLICK TO COPY MY DISCORD, Im from Russia!",
  889. Description = "my discord, HE_BACOK8, mojesh napisat mne",
  890. Callback = function()
  891. setclipboard("TheMeetly")
  892. end
  893. })
  894.  
  895. Tabs.Updates:AddParagraph({
  896. Title = "[+] Add Free-Cam",
  897. Content = "Visual"
  898. })
  899.  
  900. Tabs.Updates:AddParagraph({
  901. Title = "[+] KeyStrokes",
  902. Content = "Visual"
  903. })
  904.  
  905. Tabs.Updates:AddParagraph({
  906. Title = "[+] Show Chat",
  907. Content = "Visual"
  908. })
  909.  
  910. -- Addons:
  911. -- SaveManager (Allows you to have a configuration system)
  912. -- InterfaceManager (Allows you to have a interface managment system)
  913.  
  914. -- Hand the library over to our managers
  915. SaveManager:SetLibrary(Fluent)
  916. InterfaceManager:SetLibrary(Fluent)
  917.  
  918. -- Ignore keys that are used by ThemeManager.
  919. -- (we dont want configs to save themes, do we?)
  920. SaveManager:IgnoreThemeSettings()
  921.  
  922. -- You can add indexes of elements the save manager should ignore
  923. SaveManager:SetIgnoreIndexes({})
  924.  
  925. -- use case for doing it this way:
  926. -- a script hub could have themes in a global folder
  927. -- and game configs in a separate folder per game
  928. InterfaceManager:SetFolder("FluentScriptHub")
  929. SaveManager:SetFolder("FluentScriptHub/specific-game")
  930.  
  931. InterfaceManager:BuildInterfaceSection(Tabs.Settings)
  932. SaveManager:BuildConfigSection(Tabs.Settings)
  933.  
  934.  
  935. Window:SelectTab(1)
  936.  
  937. Fluent:Notify({
  938. Title = "Fluent",
  939. Content = "The script has been loaded.",
  940. Duration = 8
  941. })
  942.  
  943. -- You can use the SaveManager:LoadAutoloadConfig() to load a config
  944. -- which has been marked to be one that auto loads!
  945. SaveManager:LoadAutoloadConfig()
  946. end
Tags: Roblox
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement