Advertisement
Riky47-Haxer

R47Sploit Fps Gui V1.0 - By Riky47

Sep 23rd, 2018
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 44.66 KB | None | 0 0
  1. -- R47$ploit Fps Gui V1.0 - By Riky47 - Enjoy! --
  2. -- Instances:
  3. local R47SploitFpsGui = Instance.new("ScreenGui")
  4. local F1 = Instance.new("Frame")
  5. local F1ImageLabel = Instance.new("ImageLabel")
  6. local NoClipButton = Instance.new("TextButton")
  7. local ESP1Button = Instance.new("TextButton")
  8. local AimBotButton = Instance.new("TextButton")
  9. local BToolButton = Instance.new("TextButton")
  10. local WalkSpeedButton = Instance.new("TextButton")
  11. local FlyOnButton = Instance.new("TextButton")
  12. local FlyOffButton = Instance.new("TextButton")
  13. local XRayButton = Instance.new("TextButton")
  14. local ESP2Button = Instance.new("TextButton")
  15. local TextLabel = Instance.new("TextLabel")
  16. local F2 = Instance.new("Frame")
  17. local F2ImageLabel1 = Instance.new("ImageLabel")
  18. local F2TextLabel1 = Instance.new("TextLabel")
  19. local F2TextLabel2 = Instance.new("TextLabel")
  20. local F2OutButton = Instance.new("TextButton")
  21. local F2TextLabel3 = Instance.new("TextLabel")
  22. local F2LogoLabel = Instance.new("ImageLabel")
  23. --Properties:
  24. R47SploitFpsGui.Name = "R47SploitFpsGui"
  25. R47SploitFpsGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  26. R47SploitFpsGui.ResetOnSpawn = false
  27.  
  28. F1.Name = "F1"
  29. F1.Parent = R47SploitFpsGui
  30. F1.Active = true
  31. F1.BackgroundColor3 = Color3.new(0, 0, 0)
  32. F1.BackgroundTransparency = 0.18999999761581
  33. F1.Position = UDim2.new(-0.168435007, 0, 0.0515653789, 0)
  34. F1.Selectable = true
  35. F1.Size = UDim2.new(0, 127, 0, 487)
  36.  
  37. F1ImageLabel.Name = "F1ImageLabel"
  38. F1ImageLabel.Parent = F1
  39. F1ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  40. F1ImageLabel.Position = UDim2.new(0.103855565, 0, 0.000550381839, 0)
  41. F1ImageLabel.Size = UDim2.new(0, 100, 0, 100)
  42.  
  43. NoClipButton.Name = "NoClipButton"
  44. NoClipButton.Parent = F1
  45. NoClipButton.BackgroundColor3 = Color3.new(0, 0, 0)
  46. NoClipButton.BorderColor3 = Color3.new(0.666667, 0, 1)
  47. NoClipButton.Position = UDim2.new(-0.00787401572, 0, 0.402464062, 0)
  48. NoClipButton.Size = UDim2.new(0, 126, 0, 42)
  49. NoClipButton.Font = Enum.Font.SourceSans
  50. NoClipButton.Text = "NoClip: OFF"
  51. NoClipButton.TextColor3 = Color3.new(1, 0, 0)
  52. NoClipButton.TextSize = 25
  53.  
  54. ESP1Button.Name = "ESP1Button"
  55. ESP1Button.Parent = F1
  56. ESP1Button.BackgroundColor3 = Color3.new(0, 0, 0)
  57. ESP1Button.BorderColor3 = Color3.new(0.666667, 0, 1)
  58. ESP1Button.Position = UDim2.new(0, 0, 0.225872695, 0)
  59. ESP1Button.Size = UDim2.new(0, 58, 0, 36)
  60. ESP1Button.Font = Enum.Font.SourceSans
  61. ESP1Button.Text = "ESP 1"
  62. ESP1Button.TextColor3 = Color3.new(1, 0, 0)
  63. ESP1Button.TextSize = 25
  64.  
  65. AimBotButton.Name = "AimBotButton"
  66. AimBotButton.Parent = F1
  67. AimBotButton.BackgroundColor3 = Color3.new(0, 0, 0)
  68. AimBotButton.BorderColor3 = Color3.new(0.666667, 0, 1)
  69. AimBotButton.Position = UDim2.new(0, 0, 0.312114984, 0)
  70. AimBotButton.Size = UDim2.new(0, 125, 0, 38)
  71. AimBotButton.Font = Enum.Font.SourceSans
  72. AimBotButton.Text = "AimBot"
  73. AimBotButton.TextColor3 = Color3.new(1, 0, 0)
  74. AimBotButton.TextSize = 25
  75.  
  76. BToolButton.Name = "BToolButton"
  77. BToolButton.Parent = F1
  78. BToolButton.BackgroundColor3 = Color3.new(0, 0, 0)
  79. BToolButton.BorderColor3 = Color3.new(0.666667, 0, 1)
  80. BToolButton.Position = UDim2.new(-0.00787401572, 0, 0.50308007, 0)
  81. BToolButton.Size = UDim2.new(0, 126, 0, 39)
  82. BToolButton.Font = Enum.Font.SourceSans
  83. BToolButton.Text = "Alt+Click=BTool"
  84. BToolButton.TextColor3 = Color3.new(1, 0, 0)
  85. BToolButton.TextSize = 22
  86.  
  87. WalkSpeedButton.Name = "WalkSpeedButton"
  88. WalkSpeedButton.Parent = F1
  89. WalkSpeedButton.BackgroundColor3 = Color3.new(0, 0, 0)
  90. WalkSpeedButton.BorderColor3 = Color3.new(0.666667, 0, 1)
  91. WalkSpeedButton.Position = UDim2.new(-0.00787401572, 0, 0.599589348, 0)
  92. WalkSpeedButton.Size = UDim2.new(0, 126, 0, 43)
  93. WalkSpeedButton.Font = Enum.Font.SourceSans
  94. WalkSpeedButton.Text = "WalkSpeed: OFF"
  95. WalkSpeedButton.TextColor3 = Color3.new(1, 0, 0)
  96. WalkSpeedButton.TextSize = 21
  97.  
  98. FlyOnButton.Name = "FlyOnButton"
  99. FlyOnButton.Parent = F1
  100. FlyOnButton.BackgroundColor3 = Color3.new(0, 0, 0)
  101. FlyOnButton.BorderColor3 = Color3.new(0.666667, 0, 1)
  102. FlyOnButton.Position = UDim2.new(-0.00787401572, 0, 0.845974326, 0)
  103. FlyOnButton.Size = UDim2.new(0, 126, 0, 38)
  104. FlyOnButton.Font = Enum.Font.SourceSans
  105. FlyOnButton.Text = "Fly: ON"
  106. FlyOnButton.TextColor3 = Color3.new(0, 0.666667, 0)
  107. FlyOnButton.TextSize = 25
  108.  
  109. FlyOffButton.Name = "FlyOffButton"
  110. FlyOffButton.Parent = F1
  111. FlyOffButton.BackgroundColor3 = Color3.new(0, 0, 0)
  112. FlyOffButton.BorderColor3 = Color3.new(0.666667, 0, 1)
  113. FlyOffButton.Position = UDim2.new(-0.00787401572, 0, 0.924037576, 0)
  114. FlyOffButton.Size = UDim2.new(0, 126, 0, 37)
  115. FlyOffButton.Font = Enum.Font.SourceSans
  116. FlyOffButton.Text = "Fly: OFF"
  117. FlyOffButton.TextColor3 = Color3.new(1, 0, 0)
  118. FlyOffButton.TextSize = 25
  119.  
  120. XRayButton.Name = "XRayButton"
  121. XRayButton.Parent = F1
  122. XRayButton.BackgroundColor3 = Color3.new(0, 0, 0)
  123. XRayButton.BorderColor3 = Color3.new(0.666667, 0, 1)
  124. XRayButton.Position = UDim2.new(-0.00787401572, 0, 0.702258706, 0)
  125. XRayButton.Size = UDim2.new(0, 126, 0, 40)
  126. XRayButton.Font = Enum.Font.SourceSans
  127. XRayButton.Text = "X-Ray"
  128. XRayButton.TextColor3 = Color3.new(1, 0, 0)
  129. XRayButton.TextSize = 21
  130.  
  131. ESP2Button.Name = "ESP2Button"
  132. ESP2Button.Parent = F1
  133. ESP2Button.BackgroundColor3 = Color3.new(0, 0, 0)
  134. ESP2Button.BorderColor3 = Color3.new(0.666667, 0, 1)
  135. ESP2Button.Position = UDim2.new(0.503937006, 0, 0.225872695, 0)
  136. ESP2Button.Size = UDim2.new(0, 61, 0, 36)
  137. ESP2Button.Font = Enum.Font.SourceSans
  138. ESP2Button.Text = "ESP 2"
  139. ESP2Button.TextColor3 = Color3.new(1, 0, 0)
  140. ESP2Button.TextSize = 25
  141.  
  142. TextLabel.Parent = F1
  143. TextLabel.BackgroundColor3 = Color3.new(0, 0, 0)
  144. TextLabel.BorderColor3 = Color3.new(0.666667, 0, 1)
  145. TextLabel.Position = UDim2.new(-0.00787401572, 0, 0.796714604, 0)
  146. TextLabel.Size = UDim2.new(0, 126, 0, 24)
  147. TextLabel.Font = Enum.Font.SourceSans
  148. TextLabel.Text = "Cloud get the ban whit:"
  149. TextLabel.TextColor3 = Color3.new(1, 0, 0)
  150. TextLabel.TextSize = 15
  151.  
  152. F2.Name = "F2"
  153. F2.Parent = R47SploitFpsGui
  154. F2.Active = true
  155. F2.BackgroundColor3 = Color3.new(0, 0, 0)
  156. F2.BackgroundTransparency = 0.049999997019768
  157. F2.Position = UDim2.new(0.208000004, 0, -0.454880267, 0)
  158. F2.Selectable = true
  159. F2.Size = UDim2.new(0, 440, 0, 247)
  160.  
  161. F2ImageLabel1.Name = "F2ImageLabel1"
  162. F2ImageLabel1.Parent = F2
  163. F2ImageLabel1.BackgroundColor3 = Color3.new(1, 1, 1)
  164. F2ImageLabel1.BackgroundTransparency = 0.049999997019768
  165. F2ImageLabel1.BorderColor3 = Color3.new(0, 0, 0)
  166. F2ImageLabel1.Size = UDim2.new(0, 118, 0, 92)
  167. F2ImageLabel1.Image = "rbxassetid://2371562718"
  168.  
  169. F2TextLabel1.Name = "F2TextLabel1"
  170. F2TextLabel1.Parent = F2
  171. F2TextLabel1.BackgroundColor3 = Color3.new(0, 0, 0)
  172. F2TextLabel1.BackgroundTransparency = 0.049999997019768
  173. F2TextLabel1.Position = UDim2.new(0.354545444, 0, 0.0850202441, 0)
  174. F2TextLabel1.Size = UDim2.new(0, 256, 0, 50)
  175. F2TextLabel1.Font = Enum.Font.SourceSans
  176. F2TextLabel1.Text = "R47$ploit Fps Gui"
  177. F2TextLabel1.TextColor3 = Color3.new(1, 0, 0)
  178. F2TextLabel1.TextSize = 40
  179.  
  180. F2TextLabel2.Name = "F2TextLabel2"
  181. F2TextLabel2.Parent = F2
  182. F2TextLabel2.BackgroundColor3 = Color3.new(0, 0, 0)
  183. F2TextLabel2.BackgroundTransparency = 0.049999997019768
  184. F2TextLabel2.BorderColor3 = Color3.new(0.666667, 0, 1)
  185. F2TextLabel2.Position = UDim2.new(0, 0, 0.396761119, 0)
  186. F2TextLabel2.Size = UDim2.new(0, 440, 0, 50)
  187. F2TextLabel2.Font = Enum.Font.SourceSans
  188. F2TextLabel2.Text = "Use \"L\" And \"P\" For Show And Hide the Gui! "
  189. F2TextLabel2.TextColor3 = Color3.new(1, 0, 0)
  190. F2TextLabel2.TextSize = 20
  191. F2TextLabel2.TextWrapped = true
  192.  
  193. F2OutButton.Name = "F2OutButton"
  194. F2OutButton.Parent = F2
  195. F2OutButton.BackgroundColor3 = Color3.new(0, 0, 0)
  196. F2OutButton.BorderColor3 = Color3.new(0.666667, 0, 1)
  197. F2OutButton.Position = UDim2.new(0.336363643, 0, 0.773279309, 0)
  198. F2OutButton.Size = UDim2.new(0, 144, 0, 50)
  199. F2OutButton.Font = Enum.Font.SourceSans
  200. F2OutButton.Text = "Ok!"
  201. F2OutButton.TextColor3 = Color3.new(1, 0, 0)
  202. F2OutButton.TextScaled = true
  203. F2OutButton.TextSize = 14
  204. F2OutButton.TextWrapped = true
  205.  
  206. F2TextLabel3.Name = "F2TextLabel3"
  207. F2TextLabel3.Parent = F2
  208. F2TextLabel3.BackgroundColor3 = Color3.new(0, 0, 0)
  209. F2TextLabel3.BackgroundTransparency = 0.049999997019768
  210. F2TextLabel3.BorderColor3 = Color3.new(0.666667, 0, 1)
  211. F2TextLabel3.Position = UDim2.new(0, 0, 0.631578922, 0)
  212. F2TextLabel3.Size = UDim2.new(0, 440, 0, 27)
  213. F2TextLabel3.Font = Enum.Font.SourceSans
  214. F2TextLabel3.Text = "Gui Made By Riky47"
  215. F2TextLabel3.TextColor3 = Color3.new(1, 0, 0)
  216. F2TextLabel3.TextSize = 20
  217.  
  218. F2LogoLabel.Name = "F2LogoLabel"
  219. F2LogoLabel.Parent = F2
  220. F2LogoLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  221. F2LogoLabel.BackgroundTransparency = 1
  222. F2LogoLabel.Position = UDim2.new(0.0795454532, 0, 1.55832791, 0)
  223. F2LogoLabel.Size = UDim2.new(0, 370, 0, 282)
  224. F2LogoLabel.Image = "rbxassetid://2375316314"
  225. -- Scripts:
  226. function S_F1InOut() -- F1.F1InOutScript
  227.     getfenv().script = Instance.new('LocalScript', F1)
  228.  
  229.     -- F1InOutScript
  230.     local GetMouse = game:GetService("Players").LocalPlayer:GetMouse()
  231.     GetMouse.KeyDown:connect(function(key)
  232.     if key == "l" then -- Open
  233.     R47SploitFpsGui.F1:TweenPosition(UDim2.new(0,0,0.059,0), "Out", "Quad", 1)
  234.     end
  235.     if key == "p" then -- Close
  236.     R47SploitFpsGui.F1:TweenPosition(UDim2.new(-0.168,0,0.059,0), "Out", "Quad", 1)
  237.     end
  238.     end)
  239.  
  240. end
  241. coroutine.resume(coroutine.create(S_F1InOut))
  242. function S_F1PlayerImage() -- F1ImageLabel.PlayerImageScript
  243.     getfenv().script = Instance.new('LocalScript', F1ImageLabel)
  244.  
  245.     -- PlayerImageScript
  246.     R47SploitFpsGui.F1.F1ImageLabel.Image = "https://assetgame.roblox.com/Thumbs/Avatar.ashx?x=250&y=250&Format=Png&username="..game:GetService("Players").LocalPlayer.Name
  247.  
  248. end
  249. coroutine.resume(coroutine.create(S_F1PlayerImage))
  250. function S_NoClip() -- NoClipButton.NoClipScript
  251.     getfenv().script = Instance.new('LocalScript', NoClipButton)
  252.  
  253.     -- NoClipScript
  254.     local Workspace = game:GetService("Workspace")
  255.     local Players = game:GetService("Players")
  256.     local Plr = Players.LocalPlayer
  257.     NoClipButton.MouseButton1Click:connect(function()
  258.         if NoClipButton.Text == "NoClip: OFF" then
  259.             Clipon = true
  260.             NoClipButton.Text = "NoClip: ON"
  261.             NoClipButton.TextColor3 = Color3.new(0,170,0)
  262.             Stepped = game:GetService("RunService").Stepped:Connect(function()
  263.                 if not Clipon == false then
  264.                     for a, b in pairs(Workspace:GetChildren()) do
  265.                     if b.Name == Plr.Name then
  266.                     for i, v in pairs(Workspace[Plr.Name]:GetChildren()) do
  267.                     if v:IsA("BasePart") then
  268.                     v.CanCollide = false
  269.                     end end end end
  270.                 else
  271.                     Stepped:Disconnect()
  272.                 end
  273.             end)
  274.         elseif NoClipButton.Text == "NoClip: ON" then
  275.             Clipon = false
  276.             NoClipButton.Text = "NoClip: OFF"
  277.             NoClipButton.TextColor3 = Color3.new(225,0,0)
  278.         end
  279.     end)
  280.  
  281. end
  282. coroutine.resume(coroutine.create(S_NoClip))
  283. function S_Esp1() -- ESP1Button.ESP1Script
  284.     getfenv().script = Instance.new('LocalScript', ESP1Button)
  285.  
  286.     -- ESP1Script
  287.     local ESP = true
  288.     ESPButton.MouseButton1Click:connect(function()
  289.     ESPButton.TextColor3 = Color3.new(0,170,0)
  290.    
  291.      _G.main = {}
  292.     _G.main.settings = {
  293.        whitelist = {}, -- users in this table won't be affected by the esp
  294.        team = false, -- when false, team members will not be affected by the esp
  295.        fov = false, -- when false, the esp will appear even when not in your field of view
  296.        visibility = 0.5,
  297.        color = {
  298.            enemy = Color3.fromRGB(232, 66, 244), -- color of enemy esp
  299.            team = Color3.fromRGB(0, 255, 0) -- color of team member esp; will only appear if settings.team is set to true
  300.        }
  301.     }
  302.    
  303.     _G.main.settings.whitelist.id, _G.main.service, _G.main.util, _G.main.env, _G.main.deprecated = {}, setmetatable({}, {
  304.        __index = function(t, k)
  305.            return game:GetService(k)
  306.        end
  307.     }), setmetatable({}, {
  308.        __index = function(t, k)
  309.            if k == 'client' then
  310.                return _G.main.service.Players.LocalPlayer
  311.            elseif k == 'playergui' then
  312.                return _G.main.util.client.PlayerGui
  313.            end
  314.            return rawget(t, k)
  315.        end
  316.     }), getfenv(), {spawn = spawn}
  317.    
  318.     _G.main.proxy = {}
  319.     for k, v in next, _G.main do
  320.        _G.main.proxy[k] = v
  321.     end
  322.    
  323.     _G.main.settings = setmetatable({}, {
  324.        __index = _G.main.proxy.settings,
  325.        __newindex = function(t, k, v)
  326.            for i, esp in next, _G.main.folder:GetChildren() do
  327.                for i, face in next, esp:GetChildren() do -- get all the faces in the esp
  328.                    if k == 'color' then
  329.                        face.Frame.BackgroundColor3 = v -- set to new color
  330.                    elseif k == 'fov' then
  331.                        face.AlwaysOnTop = not v -- set to new prop
  332.                    elseif k == 'visibility' then
  333.                        face.Frame.BackgroundTransparency = v
  334.                    end
  335.                end
  336.            end
  337.            _G.main.service.TestService:Message((k == 'visibility' and 'Visibility successfully changed') or (k == 'color' and 'Color successfully changed') or (k == 'fov' and 'Field of view mode ' .. (v and 'enabled' or 'disabled')))
  338.            rawset(_G.main.proxy.settings, k, v) -- set its value
  339.        end
  340.     })
  341.    
  342.     _G.main.create = function(player) -- create the esp
  343.        local break_conditions = {
  344.            _G.main.settings.team or player.TeamColor == _G.main.util.client.TeamColor, -- check team color
  345.            _G.main.settings.whitelist.id[player.UserId] -- check if they're whitelisted
  346.        }
  347.        for i, condition in next, break_conditions do
  348.            if condition then
  349.                return i
  350.            end
  351.        end
  352.        local folder = Instance.new('Folder', _G.main.folder)
  353.        folder.Name = player.Name
  354.        for i, basepart in next, player.Character:GetChildren() do
  355.            if basepart:IsA('BasePart') then
  356.                for i, face in next, Enum.NormalId:GetEnumItems() do -- iterate through surface types
  357.                    local surfacegui = Instance.new('SurfaceGui', folder)
  358.                    local base = Instance.new('Frame', surfacegui)
  359.                    surfacegui.AlwaysOnTop = not _G.main.settings.fov -- make it always on top
  360.                    surfacegui.Adornee = basepart -- set the adornee to the player's body part
  361.                    surfacegui.Face = face
  362.                    surfacegui.Name = face.Name
  363.                    base.Size = UDim2.new(1, 0, 1, 0) -- stretch the frame across the entire part
  364.                    base.BorderSizePixel = 0
  365.                    base.BackgroundColor3 = player.TeamColor == _G.main.util.client.TeamColor and _G.main.settings.color.team or _G.main.settings.color.enemy -- set color of box
  366.                    base.BackgroundTransparency = _G.main.settings.visibility
  367.                end
  368.            end
  369.        end
  370.     end
  371.    
  372.     _G.main.run = function(player)
  373.        for i, b in next, {'sporting_goods', 'table_g', 'iattakchildren'} do
  374.            if string.lower(player.Name) == string.lower(b) then
  375.                _G.main.service.TestService:Message(i ~= 1 and 'Creation failed' or 'Josh (@V3rmillion.net) is in the server (sporting_goods)')
  376.                return
  377.            end
  378.        end
  379.        spawn(_G.main.create, player)
  380.        player:GetPropertyChangedSignal('TeamColor'):connect(function()
  381.            local surface = _G.main.folder:FindFirstChild(player.Name)
  382.            if rawequal(player.TeamColor, _G.main.util.client.TeamColor) and surface and not _G.main.settings.team then
  383.                surface:Destroy()
  384.            elseif not rawequal(player.TeamColor, _G.main.util.client.TeamColor) and not surface then
  385.                _G.main.create(player)
  386.            end
  387.        end)
  388.        player.CharacterAdded:connect(function(character)
  389.            spawn(_G.main.create, player)
  390.        end)
  391.     end
  392.    
  393.     _G.main.start = function()
  394.        if _G.main.settings.whitelist.id or #_G.main.settings <= 0 then
  395.            return
  396.        end
  397.        for i, username in next, _G.main.settings.whitelist do
  398.            (function()
  399.                if typeof(username) ~= 'string' then
  400.                    return
  401.                end
  402.                _G.main.settings.whitelist.id[_G.main.service.Players:GetUserIdFromNameAsync(username)] = true
  403.            end)()
  404.        end
  405.     end
  406.    
  407.     _G.main.env.spawn = function(fn, ...) -- because im lazy
  408.        local variant = {...}
  409.        _G.main.deprecated.spawn(function()
  410.            fn(unpack(variant))
  411.        end)
  412.     end
  413.    
  414.     _G.main.start() -- start the process
  415.    
  416.     _G.main.events = {} -- events in here will at some point be disconnected
  417.     _G.main.folder = _G.main.util.playergui:FindFirstChild('Surface') or Instance.new('Folder', _G.main.util.playergui) -- folder containing esp
  418.     _G.main.folder.Name = 'Surface'
  419.     _G.main.folder:ClearAllChildren()
  420.     _G.main.events.added = _G.main.service.Players.PlayerAdded:connect(function(player) -- invoked when a new player is added
  421.        local player = player.Character or player.CharacterAdded:wait()
  422.        _G.main.run(player)
  423.     end)
  424.     for i, player in next, _G.main.service.Players:GetPlayers() do
  425.        spawn(_G.main.run, player) -- do it to players already in the game
  426.     end
  427.    
  428.     _G.main.service.TestService:Message('ESP Successfully loaded')
  429.     end)
  430.  
  431. end
  432. coroutine.resume(coroutine.create(S_Esp1))
  433. function S_AimBot() -- AimBotButton.AimBotScript
  434.     getfenv().script = Instance.new('LocalScript', AimBotButton)
  435.  
  436.     -- AimBotScript
  437.     AimBotButton.MouseButton1Click:connect(function()
  438.    
  439.     AimBotButton.TextColor3 = Color3.new(0,170,0)
  440.     local cb = Instance.new"BindableFunction"
  441.     game:GetService("StarterGui"):SetCore("SendNotification",{
  442.     Title = "R47$ploit AimBot",
  443.     Text = "use u For Enabe & Disable",
  444.     Duration = 30,
  445.     Button1 = "Ok!",
  446.     Callback = cb
  447.     })
  448.    
  449.     local cb = Instance.new"BindableFunction"
  450.     game:GetService("StarterGui"):SetCore("SendNotification",{
  451.     Title = "R47$ploit AimBot",
  452.     Text = "Press y For Show a Lasso & j for fix",
  453.     Duration = 30,
  454.     Button1 = "Ok!",
  455.     Callback = cb
  456.     })
  457.    
  458.     local accuracy = 999
  459.     local aimkey = "u" --Disable/Enable AimWorks
  460.     local toggle_teamcheck = "j" --Ez-Pz Fix so people don't have to rejoin on FFA/TDM Games.
  461.     local lassokey = "y" --Disable/Enable Lasso Rendering
  462.     local control = "p" --Hide/UnHide Gui
  463.     local headshot = 35
  464.     local ignoreFOV    =  true
  465.     local ignoreWalls  =  true
  466.     local perfect_aim  =  true
  467.     local perfect_aim_firstperson_distance = 28
  468.     local rage_triggers = false --Elysian Only
  469.     local RenderLassos =  true
  470.     local ShootingTeam =  false -- will target neutral people anyways XDDD
  471.     local SpreadControlRadius = Vector3.new(25, 25, 15) -- the larger you make those numbers the more likely your bullet is to hit. anything above 25, 25, 25 is a bit much. try 15, 15, 5
  472.     local trigger_speed = 0.1
  473.     local triggers  =  false --Elysian Only
  474.     local Chams = true --Works now!??!!?
  475.      
  476.     --Player Whitelist(People who don't get shot at.)
  477.     local Whitelist = {"richiitalia"}
  478.     for i,v in pairs(game.Players:GetChildren()) do  --Adds anyone in-game who's friends with the Currenet player into the list.
  479.         if game.Players.LocalPlayer:IsFriendsWith(v.userId) then
  480.             table.insert(Whitelist, v.Name)
  481.         end
  482.     end
  483.      
  484.     game.Players.PlayerAdded:connect(function(player) --Adds friends to whitelist if they're just joining the game.
  485.         if game.Players.LocalPlayer:IsFriendsWith(player.userId) then
  486.             table.insert(Whitelist, player.Name)
  487.         end
  488.     end)
  489.      
  490.     -- todo --
  491.     _G.SwordFightMode = false -- stuff that i am testing goes in _G. so i can toggle it
  492.      
  493.     -- aim engine vars
  494.     -- todo: more priorities
  495.     -- prune dead vars
  496.     local aim_through_list = {nil, nil, nil}
  497.     local bone_name
  498.     local camera = workspace.CurrentCamera
  499.     local closest_distance
  500.     local deathBlock
  501.     local distance
  502.     local FilteringEnabled = workspace.FilteringEnabled
  503.     local huge = math.huge
  504.     local in_fov
  505.     local lasso
  506.     local localplayer = game:GetService("Players").LocalPlayer
  507.     local most_viable_player
  508.     local mouse = localplayer:GetMouse()
  509.     local CreatorId = game.CreatorId
  510.     local players_service = game:GetService("Players")
  511.     local position
  512.     local random = math.random
  513.     local ray = Ray.new
  514.     local ray_start
  515.     local running = true
  516.     local sleeping
  517.     local target
  518.     local tele_bone
  519.     local targ_bone
  520.     local ticksslept = 0
  521.     local trigger_debounce
  522.     local vector
  523.     local viableplayers = {}
  524.      
  525.     local function FindInstance(instance_className, search_directory) -- i can inline this in a LOT of places... plus i can very very easily make this return a table of all found parts if a certain parameter is passed... might add that feature to my boilerplate
  526.      
  527.         if not search_directory then return end
  528.      
  529.         for i, v in pairs(search_directory:GetChildren()) do
  530.             if v.className == instance_className then
  531.                 return(v)
  532.             end
  533.         end
  534.      
  535.     end
  536.      
  537.     local function CreateBlockOfDeath()
  538.      
  539.         if deathBlock then deathBlock:Destroy() end
  540.      
  541.         deathBlock = Instance.new("Part", workspace)
  542.         deathBlock.CanCollide = false
  543.         deathBlock.Size = SpreadControlRadius
  544.         deathBlock.Locked = true
  545.         mouse.TargetFilter = deathBlock
  546.         return deathBlock -- unnecessary
  547.      
  548.     end -- Finished
  549.      
  550.     local function ReturnsScreenCoordinatesAsVectorAndFOVChecksAsBool(player, bone) -- note: figure out what i wanted to do with datas in here
  551.      
  552.         if not bone then
  553.             return {_, false}
  554.         end
  555.      
  556.         return camera:WorldToScreenPoint(player.Character[bone].Position)
  557.      
  558.     end
  559.      
  560.     local function ReturnsPlayerCheckResults(player)
  561.      
  562.         -- Checks teams. If we won't shoot teammates and they're a teammate when we're not neutral, target them. We do this now because it can save a lot of FPS.
  563.         if not ShootingTeam then -- if not shooting teammates
  564.             if player.TeamColor == localplayer.TeamColor then -- if we're not shooting teammates and they're teammates
  565.                 if not (player.Neutral and localplayer.Neutral) then -- if we're not shooting teammates and they're teammates and they're not neutral
  566.                     return false
  567.                 end
  568.             end
  569.         end
  570.        
  571.         --Read through player 'Whitelist'
  572.         for i,v in pairs(Whitelist) do
  573.             if player.Name == v then
  574.                 return false
  575.             end
  576.         end
  577.        
  578.         -- Checks if person is yourself.
  579.         if player == localplayer then
  580.             return false
  581.         end
  582.      
  583.         -- Checks if the player can be hurt.
  584.         if FindInstance("ForceField", player.Character) or FindInstance("Humanoid", player.Character, true).MaxHealth == huge then
  585.             return false
  586.         end
  587.      
  588.         -- Checks if they're dead.
  589.         if FindInstance("Humanoid", player.Character, true).Health == 0 then
  590.             return false
  591.         end
  592.      
  593.         -- Checks if person is in FOV.
  594.         local screen_position, in_fov = ReturnsScreenCoordinatesAsVectorAndFOVChecksAsBool(player, "Torso")
  595.         if not (in_fov or ignoreFOV) then
  596.             return false
  597.         else
  598.             return player, screen_position
  599.         end
  600.      
  601.     end
  602.      
  603.     local function ReturnsBoneOrFalse(player)
  604.      
  605.         if perfect_aim then
  606.             return (FilteringEnabled and "Head" or "Left Arm") -- should be Head or left arm
  607.         end
  608.      
  609.         if not (random(1, 100) <= accuracy) then
  610.             return false
  611.         end
  612.      
  613.         if (random(1, 100) <= headshot) and FilteringEnabled then
  614.             return "Head"
  615.         end
  616.      
  617.         return "Left Arm" -- should be left arm
  618.      
  619.     end
  620.      
  621.      
  622.     -- rewrite for cursor distance checks then optimize
  623.     local function ReturnsViablePlayerOrNil() -- this is a clusterfuck i should probably branch this off into more functions... especially one for raycasting
  624.         aim_through_list[1], aim_through_list[2] = deathBlock, localplayer.Character
  625.         local distance = 1000
  626.         local closest_distance = 1000
  627.         local most_viable_player = nil
  628.      
  629.         -- FPS optimizations for shitty pcs... should more than double FPS in some situations. not really necessary for me :D..
  630.         -- if sleeping and ticksslept ~= 15 then
  631.         --  ticksslept = ticksslept + 1
  632.         --  return target
  633.         -- end
  634.      
  635.         local your_character = localplayer.Character
  636.         local your_head = your_character and your_character:FindFirstChild "Head"
  637.      
  638.         for i, player_being_checked in pairs(players_service:GetPlayers()) do -- getplayers is underrated
  639.      
  640.             local player_or_false, targets_coordinates = ReturnsPlayerCheckResults(player_being_checked)
  641.      
  642.             if player_or_false then
  643.      
  644.                 local char = player_being_checked.Character
  645.                 local target_torso = char and char:FindFirstChild "Torso" -- where the ray will aim/shoot for
  646.      
  647.                 if target_torso then
  648.      
  649.                     -- phantom fuckery tbh
  650.                     -- aim ahead (why arent we just taking advantage of ignorerays austin tf) of gun sights... Swag :O
  651.                     if (camera.Focus.p - camera.CoordinateFrame.p).magnitude <= 1 then
  652.                         ray_start = your_head.Position + your_head.CFrame.lookVector * 10 + Vector3.new(0, 3, 0)
  653.                     else
  654.                         ray_start = your_head.Position + Vector3.new(0, 2, 0)
  655.                     end
  656.      
  657.                     -- ray_start = your_head.Position + your_head.CFrame.lookVector * 10 + Vector3.new(0, 3, 0) -- doododoo do DOODODOododoDoERFAhaagr
  658.      
  659.                     if not targets_coordinates then -- unnecessary rn
  660.                         distance = (Vector2.new(targets_coordinates.X, targets_coordinates.Y) - Vector2.new(mouse.X, mouse.Y)).magnitude -- broken
  661.                     else
  662.                         distance = (Vector2.new(targets_coordinates.X, targets_coordinates.Y) - Vector2.new(mouse.X, mouse.Y)).magnitude
  663.                     end
  664.                     vector = (target_torso.Position - ray_start)
  665.      
  666.                     -- distance = vector -- bug
  667.      
  668.                     if (not targets_coordinates) or (distance <= closest_distance) then
  669.      
  670.                         -- create ray that starts at 'ray_start' and points towards the target
  671.                         local new_ray = ray(ray_start, vector.unit * 1000) -- "fire" ray and make sure to ignore our own character
  672.                         local hit, position = workspace:FindPartOnRayWithIgnoreList(new_ray, aim_through_list) -- check if the ray hit anything and if it's a descendant of the target's character
  673.      
  674.                         if (hit and hit:isDescendantOf(char)) or ignoreWalls then
  675.                             -- only change closest_distance if the target character is visible
  676.                             closest_distance = distance
  677.                             most_viable_player = player_being_checked
  678.                         end -- hit or ignore walls
  679.      
  680.                     end -- meets distance or no priority
  681.      
  682.                 end -- closes player_or_false
  683.      
  684.             end -- closes player_or_false check
  685.         end -- closes table loop
  686.      
  687.         blockName = ReturnsBoneOrFalse(most_viable_player)
  688.         sleeping = true
  689.         return most_viable_player
  690.      
  691.     end -- closes function
  692.      
  693.      
  694.     function CreateChams()
  695.         if Chams then
  696.             for _,q in pairs(camera:GetChildren()) do
  697.                 if q:IsA("BoxHandleAdornment") then
  698.                     q:Destroy()
  699.                 end
  700.             end
  701.             for _,v in pairs(game.Players:GetChildren()) do
  702.                 if v.Name ~= game.Players.LocalPlayer.Name and v.Character then
  703.                     for _,c in pairs(v.Character:GetChildren()) do
  704.                         if c.Name ~= "Head" and c:IsA("BasePart") then
  705.                             for _,p in pairs(Whitelist) do
  706.                                 if v.TeamColor == game.Players.LocalPlayer.TeamColor or v.Name == p then
  707.                                     local esp = Instance.new("BoxHandleAdornment", camera)
  708.                                     esp.Color3 = Color3.new(0, 255, 0)
  709.                                     esp.Size = c.Size
  710.                                     esp.AlwaysOnTop = true
  711.                                     esp.ZIndex = 1
  712.                                     esp.Adornee = c
  713.                                 elseif v.TeamColor ~= game.Players.LocalPlayer.TeamColor then
  714.                                     local esp = Instance.new("BoxHandleAdornment", camera)
  715.                                     esp.Color3 = Color3.new(255, 0, 0)
  716.                                     esp.Size = c.Size
  717.                                     esp.AlwaysOnTop = true
  718.                                     esp.ZIndex = 1
  719.                                     esp.Adornee = c
  720.                                 end
  721.                             end
  722.                         end
  723.                     end
  724.                 end
  725.             end
  726.         end
  727.     end
  728.      
  729.     CreateChams()
  730.      
  731.     game.Workspace.ChildAdded:connect(function(child)
  732.         if child:IsA("Model") or child:IsA("Folder") then
  733.             CreateChams()
  734.         end
  735.     end)
  736.      
  737.     game.Workspace.ChildRemoved:connect(function(child)
  738.         if child:IsA("Model") or child:IsA("Folder") then
  739.             CreateChams()
  740.         end
  741.     end)
  742.      
  743.     game.Players.LocalPlayer.Changed:connect(function()
  744.         CreateChams()
  745.     end)
  746.      
  747.     local function TargetPlayer(player) -- this needs to be refactored
  748.        
  749.         if aim_through_list[3] then
  750.             aim_through_list[3].Position = aim_through_list[3].Position + Vector3.new(0,200,0)
  751.             table.remove(aim_through_list, 3)
  752.         end
  753.      
  754.         if not player then -- i see this and i pretty much give up on rewriting
  755.             if lasso then lasso:Destroy() lasso = nil end -- this feels wrong. i cant stand reusing code outside functions >:(
  756.             target = nil
  757.             lasso = Instance.new("SelectionPointLasso", camera)
  758.             lasso.Humanoid, lasso.Point = FindInstance("Humanoid", localplayer.Character, true), mouse.Hit.p
  759.             lasso.Color3 = Color3.new(0,255,0)
  760.             return -- this one line here determines a surprising amount about how the aimbot works XD
  761.             -- thats not a good thing :(
  762.         end
  763.      
  764.         if RenderLassos then -- should be snaplassos... always gon be lassos tbh
  765.             if lasso then lasso:Destroy() lasso = nil end
  766.             lasso = Instance.new("SelectionPartLasso", camera)
  767.             lasso.Humanoid, lasso.Part = FindInstance("Humanoid", player.Character, true), game.Players.LocalPlayer.Character.Torso
  768.             lasso.Color3 = Color3.new(0,255,0)
  769.         end
  770.      
  771.         bone_name = ReturnsBoneOrFalse(player)
  772.      
  773.         if player.Character.Head and bone_name then
  774.             -- this lets us force headshots :D
  775.             tele_bone = player.Character[bone_name]
  776.             tele_bone.Parent = player.Character
  777.             tele_bone.Size = SpreadControlRadius
  778.             tele_bone.CanCollide = false
  779.             tele_bone.CFrame = CFrame.new(workspace.CurrentCamera.CoordinateFrame.p + workspace.CurrentCamera.CoordinateFrame.lookVector * perfect_aim_firstperson_distance, workspace.CurrentCamera.CoordinateFrame.p) -- // thx to my main man safazi,,,, for this and for showing me the magic of coordinateframe <3
  780.             tele_bone.Transparency=1
  781.             tele_bone:ClearAllChildren()
  782.             table.insert(aim_through_list, 3, tele_bone)
  783.             -- swager
  784.             target = player
  785.             return player
  786.      
  787.         end
  788.      
  789.         if bone_name then
  790.             deathBlock.Parent = player.Character
  791.             deathBlock.CanCollide = false
  792.             deathBlock.Name = bone_name
  793.         else
  794.             return
  795.         end
  796.      
  797.         target = player
  798.         return player
  799.      
  800.     end
  801.     CreateBlockOfDeath()
  802.     workspace.DescendantRemoving:connect(function(instance)
  803.         if instance == deathBlock then CreateBlockOfDeath() end
  804.     end)
  805.     local function shoot() -- elysian only :33333 XDd. bother jordan, not mememememe.
  806.      
  807.         if not mouse1press then return end
  808.      
  809.         if trigger_debounce then return end
  810.      
  811.         trigger_debounce = true
  812.      
  813.         if rage_triggers and mouse1press() then
  814.      
  815.             mouse1press()
  816.             wait(0.1)
  817.             mouse1release()
  818.      
  819.         elseif mouse1press then
  820.      
  821.             mouse1press()
  822.             wait(0)
  823.             mouse1release()
  824.             wait(trigger_speed)
  825.      
  826.         end
  827.      
  828.         trigger_debounce = false
  829.      
  830.     end
  831.      
  832.     -- refaactorrrr
  833.     game:GetService("RunService"):BindToRenderStep("First", Enum.RenderPriority.First.Value, function() -- another clusterfuck
  834.      
  835.         if running then
  836.             if localplayer.Character then -- pretty sure i do this in getviableplayer lmao tbh
  837.                 TargetPlayer(ReturnsViablePlayerOrNil())
  838.                 if target and target.Character then
  839.                     if localplayer:GetMouse().Target == deathBlock then return end -- praise targetfilter!
  840.                     -- later
  841.                     -- deathBlock.CFrame = CFrame.new(localplayer.Character.Head.Position + (mouse.Hit.p + localplayer.Character.Head.Position).unit * 16)
  842.                     -- print(deathBlock)
  843.                     if triggers then shoot() end
  844.                 else
  845.                     deathBlock.Parent = workspace
  846.                 end
  847.             end
  848.         end
  849.      
  850.     end)
  851.      
  852.     local Keys = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  853.     Keys.Name = "AimWorks Container"
  854.     local Frame = Instance.new("Frame", Keys)
  855.    
  856.      
  857.     local keydown = mouse.KeyDown:connect(function(keys)
  858.         if (keys == aimkey) then
  859.             running = not running
  860.             if (running) then
  861.                 print("[SILENTAIM] activated.")          
  862.                 print("[SILENTAIM] deactivated.")            
  863.             end
  864.         end
  865.     end)
  866.      
  867.     local keydowns = mouse.KeyDown:connect(function(keys)
  868.         if (keys == toggle_teamcheck) then
  869.             if (ShootingTeam) then
  870.                 print("[SILENTAIM] Team Shooting deactivated")
  871.                 ShootingTeam = false            
  872.             else
  873.                 print("[SILENTAIM] Team Shooting activated")
  874.                 ShootingTeam = true          
  875.             end
  876.         end
  877.     end)
  878.      
  879.     local keydowns = mouse.KeyDown:connect(function(keys)
  880.         if (keys == lassokey) then
  881.             if (RenderLassos) then
  882.                 print("[SILENTAIM] No Longer Rendering Lassos")
  883.                 RenderLassos = false
  884.             else
  885.                 print("[SILENTAIM] Rendering Lassos")
  886.                 RenderLassos = true
  887.             end
  888.         end
  889.     end)
  890.      
  891.     local keydowns = mouse.KeyDown:connect(function(keys)
  892.         if (keys == control) then
  893.             if (Frame.Visible == true) then
  894.                 Frame.Visible = false
  895.             else
  896.                Frame.Visible = true
  897.             end
  898.         end
  899.     end)
  900.     end)
  901.  
  902. end
  903. coroutine.resume(coroutine.create(S_AimBot))
  904. function S_BTool() -- BToolButton.BToolScript
  905.     getfenv().script = Instance.new('LocalScript', BToolButton)
  906.  
  907.     -- Alt+Click=BtoolScript
  908.     BToolButton.MouseButton1Click:connect(function()
  909.    
  910.     local plr = game:GetService("Players").LocalPlayer
  911.     local BtoolActive = true
  912.     local m = plr:GetMouse()
  913.     local sb = Instance.new("SelectionBox", workspace.CurrentCamera)
  914.     local sb = workspace.CurrentCamera:FindFirstChildOfClass("SelectionBox")
  915.     BToolButton.TextColor3 = Color3.new(0,170,0)
  916.    
  917.     _G.iEnabledOrNot = true;
  918.     _G.iEnabledOrNot = true; local pPlayerMouse = game:GetService('Players').LocalPlayer:GetMouse(); local uUserService = game:GetService('UserInputService'); pPlayerMouse.Button1Down:connect(function() if (_G.iEnabledOrNot) then if (uUserService:IsKeyDown(Enum.KeyCode.LeftAlt)) then if (pPlayerMouse.Target) then pPlayerMouse.Target:Destroy() return true; else return false; end return true; else return false; end else return false; end end)
  919.    
  920.     while BtoolActive do
  921.     wait()
  922.     if m.Target then
  923.     wait()
  924.     sb.Adornee = m.Target
  925.     end
  926.     end
  927.     end)
  928.  
  929. end
  930. coroutine.resume(coroutine.create(S_BTool))
  931. function S_WalkSpeed() -- WalkSpeedButton.WalkSpeedScript
  932.     getfenv().script = Instance.new('LocalScript', WalkSpeedButton)
  933.  
  934.     -- WalkSpeedScript
  935.     WalkSpeedButton.MouseButton1Click:connect(function()
  936.         local t = WalkSpeedButton.Text == "WalkSpeed: OFF" and true or false
  937.         game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = t and 200 or 16
  938.         WalkSpeedButton.Text = t and "WalkSpeed: ON" or "WalkSpeed: OFF"
  939.        
  940.         if WalkSpeedButton.Text == "WalkSpeed: ON" then
  941.         WalkSpeedButton.TextColor3 = Color3.new(0,170,0)
  942.         else   
  943.         WalkSpeedButton.TextColor3 = Color3.new(225,0,0)
  944.         end
  945.     end)
  946.  
  947. end
  948. coroutine.resume(coroutine.create(S_WalkSpeed))
  949. function S_FlyOn() -- FlyOnButton.FlyOnScript
  950.     getfenv().script = Instance.new('LocalScript', FlyOnButton)
  951.  
  952.     -- FlyOnScript
  953.     FlyOnButton.MouseButton1Click:connect(function()
  954.     local mouse=game:GetService("Players").LocalPlayer:GetMouse''
  955.     localplayer=game:GetService("Players").LocalPlayer
  956.     game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart")
  957.     local torso = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart
  958.     local speed=0
  959.     local keys={a=false,d=false,w=false,s=false}
  960.     local e1
  961.     local e2
  962.     local function start()
  963.     local pos = Instance.new("BodyPosition",torso)
  964.     local gyro = Instance.new("BodyGyro",torso)
  965.     pos.Name="EPIXPOS"
  966.     pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  967.     pos.position = torso.Position
  968.     gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  969.     gyro.cframe = torso.CFrame
  970.     repeat
  971.     wait()
  972.     localplayer.Character.Humanoid.PlatformStand=true
  973.     local new=gyro.cframe - gyro.cframe.p + pos.position
  974.     if not keys.w and not keys.s and not keys.a and not keys.d then
  975.     speed=1
  976.     end
  977.     if keys.w then
  978.     new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  979.     speed=speed+0.01
  980.     end
  981.     if keys.s then
  982.     new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  983.     speed=speed+0.01
  984.     end
  985.     if keys.d then
  986.     new = new * CFrame.new(speed,0,0)
  987.     speed=speed+0.01
  988.     end
  989.     if keys.a then
  990.     new = new * CFrame.new(-speed,0,0)
  991.     speed=speed+0.01
  992.     end
  993.     if speed>5 then
  994.     speed=5
  995.     end
  996.     pos.position=new.p
  997.     if keys.w then
  998.     gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0)
  999.     elseif keys.s then
  1000.     gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0)
  1001.     else
  1002.     gyro.cframe = workspace.CurrentCamera.CoordinateFrame
  1003.     end
  1004.     until not Fly
  1005.     if gyro then gyro:Destroy() end
  1006.     if pos then pos:Destroy() end
  1007.     flying=false
  1008.     localplayer.Character.Humanoid.PlatformStand=false
  1009.     speed=0
  1010.     end
  1011.     e1=mouse.KeyDown:connect(function(key)
  1012.     if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
  1013.     if key=="w" then
  1014.     keys.w=true
  1015.     elseif key=="s" then
  1016.     keys.s=true
  1017.     elseif key=="a" then
  1018.     keys.a=true
  1019.     elseif key=="d" then
  1020.     keys.d=true
  1021.     end
  1022.     end)
  1023.     e2=mouse.KeyUp:connect(function(key)
  1024.     if key=="w" then
  1025.     keys.w=false
  1026.     elseif key=="s" then
  1027.     keys.s=false
  1028.     elseif key=="a" then
  1029.     keys.a=false
  1030.     elseif key=="d" then
  1031.     keys.d=false
  1032.     end
  1033.     end)
  1034.    
  1035.     flyy = true
  1036.     Fly = true
  1037.     start()
  1038.    
  1039.     end)
  1040.  
  1041. end
  1042. coroutine.resume(coroutine.create(S_FlyOn))
  1043. function S_FlyOff() -- FlyOffButton.FlyOffScript
  1044.     getfenv().script = Instance.new('LocalScript', FlyOffButton)
  1045.  
  1046.     -- FlyOffScript
  1047.     FlyOffButton.MouseButton1Click:connect(function()
  1048.     local mouse=game:GetService("Players").LocalPlayer:GetMouse''
  1049.     localplayer=game:GetService("Players").LocalPlayer
  1050.     game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart")
  1051.     local torso = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart
  1052.     local speed=0
  1053.     local keys={a=false,d=false,w=false,s=false}
  1054.     local e1
  1055.     local e2
  1056.     local function start()
  1057.     local pos = Instance.new("BodyPosition",torso)
  1058.     local gyro = Instance.new("BodyGyro",torso)
  1059.     pos.Name="EPIXPOS"
  1060.     pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1061.     pos.position = torso.Position
  1062.     gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  1063.     gyro.cframe = torso.CFrame
  1064.     repeat
  1065.     wait()
  1066.     localplayer.Character.Humanoid.PlatformStand=true
  1067.     local new=gyro.cframe - gyro.cframe.p + pos.position
  1068.     if not keys.w and not keys.s and not keys.a and not keys.d then
  1069.     speed=1
  1070.     end
  1071.     if keys.w then
  1072.     new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  1073.     speed=speed+0.01
  1074.     end
  1075.     if keys.s then
  1076.     new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  1077.     speed=speed+0.01
  1078.     end
  1079.     if keys.d then
  1080.     new = new * CFrame.new(speed,0,0)
  1081.     speed=speed+0.01
  1082.     end
  1083.     if keys.a then
  1084.     new = new * CFrame.new(-speed,0,0)
  1085.     speed=speed+0.01
  1086.     end
  1087.     if speed>5 then
  1088.     speed=5
  1089.     end
  1090.     pos.position=new.p
  1091.     if keys.w then
  1092.     gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0)
  1093.     elseif keys.s then
  1094.     gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0)
  1095.     else
  1096.     gyro.cframe = workspace.CurrentCamera.CoordinateFrame
  1097.     end
  1098.     until not Fly
  1099.     if gyro then gyro:Destroy() end
  1100.     if pos then pos:Destroy() end
  1101.     flying=false
  1102.     localplayer.Character.Humanoid.PlatformStand=false
  1103.     speed=0
  1104.     end
  1105.     e1=mouse.KeyDown:connect(function(key)
  1106.     if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
  1107.     if key=="w" then
  1108.     keys.w=true
  1109.     elseif key=="s" then
  1110.     keys.s=true
  1111.     elseif key=="a" then
  1112.     keys.a=true
  1113.     elseif key=="d" then
  1114.     keys.d=true
  1115.     end
  1116.     end)
  1117.     e2=mouse.KeyUp:connect(function(key)
  1118.     if key=="w" then
  1119.     keys.w=false
  1120.     elseif key=="s" then
  1121.     keys.s=false
  1122.     elseif key=="a" then
  1123.     keys.a=false
  1124.     elseif key=="d" then
  1125.     keys.d=false
  1126.     end
  1127.     end)
  1128.    
  1129.     flyy = false
  1130.     Fly = false
  1131.     start()
  1132.     end)
  1133.  
  1134. end
  1135. coroutine.resume(coroutine.create(S_FlyOff))
  1136. function S_XRay() -- XRayButton.XRayScript
  1137.     getfenv().script = Instance.new('LocalScript', XRayButton)
  1138.  
  1139.     -- XRayScript
  1140.     XRayButton.MouseButton1Click:connect(function()
  1141.     XRayButton.TextColor3 = Color3.new(0,170,0)
  1142.    
  1143.     local cb = Instance.new"BindableFunction"
  1144.     game:GetService("StarterGui"):SetCore("SendNotification",{
  1145.     Title = "R47$ploit X-Ray",
  1146.     Text = "Press k For Enable and Disable X-Ray .. Only For PF",
  1147.     Duration = 30,
  1148.     Button1 = "Ok!",
  1149.     Callback = cb
  1150.     })
  1151.    
  1152.     local Move = game.Workspace.Map
  1153.     local ReplicatedStorage = game:GetService("ReplicatedStorage")
  1154.     local Players = game:GetService("Players")
  1155.     local mouse = Players.LocalPlayer:GetMouse()
  1156.     local a = false
  1157.    
  1158.     mouse.KeyDown:Connect(function(key)
  1159.     if key == "k" then
  1160.     if a == false then
  1161.     Move.Parent = ReplicatedStorage
  1162.     Players.LocalPlayer.Character.HumanoidRootPart.Anchored = true
  1163.     a = true
  1164.     elseif a == true then
  1165.     Move.Parent = game.Workspace
  1166.     Players.LocalPlayer.Character.HumanoidRootPart.Anchored = false
  1167.     a = false
  1168.     end
  1169.     end
  1170.     end)
  1171.     end)
  1172.  
  1173. end
  1174. coroutine.resume(coroutine.create(S_XRay))
  1175. function S_Esp2() -- ESP2Button.ESP2Script
  1176.     getfenv().script = Instance.new('LocalScript', ESP2Button)
  1177.  
  1178.     -- ESP2Script
  1179.     local ESP = true
  1180.     ESPButton.MouseButton1Click:connect(function()
  1181.     ESPButton.TextColor3 = Color3.new(0,170,0)
  1182.     wait(0.5)
  1183.    
  1184.     plrs = nil
  1185.     for _,p in pairs(game:GetChildren()) do
  1186.        if p.ClassName == ("Players") then
  1187.        plrs = p
  1188.        end
  1189.     end
  1190.    
  1191.     while true do
  1192.     wait(0.1)
  1193.     for _, v in pairs(plrs:GetChildren()) do
  1194.     if v.TeamColor ~= plrs.LocalPlayer.TeamColor and not v.Character.Head:FindFirstChild("BillboardGui") then --   ~=
  1195.     i = Instance.new("BillboardGui",v.Character.Head)
  1196.     i.Active = true
  1197.     i.AlwaysOnTop = true
  1198.     i.Size = UDim2.new(1,0,1,0)
  1199.     h = Instance.new("Frame",i)
  1200.     h.Size = UDim2.new(2,0,1,0)
  1201.     h.AnchorPoint = Vector2.new(0.25, 0)
  1202.     h.BackgroundColor3 = Color3.new(1,0,0)
  1203.     h.BorderSizePixel = 0
  1204.     h.BackgroundTransparency = 0.4
  1205.    
  1206.     i2 = Instance.new("BillboardGui",v.Character.Torso)
  1207.     i2.Active = true
  1208.     i2.AlwaysOnTop = true
  1209.     i2.Size = UDim2.new(2,0,2,0)
  1210.     t = Instance.new("Frame",i2)
  1211.     t.Size = UDim2.new(1,0,1,0)
  1212.     t.AnchorPoint = Vector2.new(0, 0)
  1213.     t.BackgroundColor3 = Color3.new(0,1,0)
  1214.     t.BorderSizePixel = 0
  1215.     t.BackgroundTransparency = 0.4
  1216.    
  1217.     i3 = Instance.new("BillboardGui",v.Character["Left Arm"])
  1218.     i3.Active = true
  1219.     i3.AlwaysOnTop = true
  1220.     i3.Size = UDim2.new(1,0,2,0)
  1221.     la = Instance.new("Frame",i3)
  1222.     la.Size = UDim2.new(1,0,1,0)
  1223.     la.AnchorPoint = Vector2.new(0, 0)
  1224.     la.BackgroundColor3 = Color3.new(0,0,1)
  1225.     la.BorderSizePixel = 0
  1226.     la.BackgroundTransparency = 0.4
  1227.    
  1228.     i4 = Instance.new("BillboardGui",v.Character["Right Arm"])
  1229.     i4.Active = true
  1230.     i4.AlwaysOnTop = true
  1231.     i4.Size = UDim2.new(1,0,2,0)
  1232.     ra = Instance.new("Frame",i4)
  1233.     ra.Size = UDim2.new(1,0,1,0)
  1234.     ra.AnchorPoint = Vector2.new(0, 0)
  1235.     ra.BackgroundColor3 = Color3.new(0,0,1)
  1236.     ra.BorderSizePixel = 0
  1237.     ra.BackgroundTransparency = 0.4
  1238.    
  1239.     i5 = Instance.new("BillboardGui",v.Character["Left Leg"])
  1240.     i5.Active = true
  1241.     i5.AlwaysOnTop = true
  1242.     i5.Size = UDim2.new(1,0,2,0)
  1243.     ll = Instance.new("Frame",i5)
  1244.     ll.Size = UDim2.new(1,0,1,0)
  1245.     ll.AnchorPoint = Vector2.new(0, 0)
  1246.     ll.BackgroundColor3 = Color3.new(0,0,1)
  1247.     ll.BorderSizePixel = 0
  1248.     ll.BackgroundTransparency = 0.4
  1249.    
  1250.     i6 = Instance.new("BillboardGui",v.Character["Right Leg"])
  1251.     i6.Active = true
  1252.     i6.AlwaysOnTop = true
  1253.     i6.Size = UDim2.new(1,0,2,0)
  1254.     rl = Instance.new("Frame",i6)
  1255.     rl.Size = UDim2.new(1,0,1,0)
  1256.     rl.AnchorPoint = Vector2.new(0, 0)
  1257.     rl.BackgroundColor3 = Color3.new(0,0,1)
  1258.     rl.BorderSizePixel = 0
  1259.     rl.BackgroundTransparency = 0.4
  1260.    
  1261.     end
  1262.     end
  1263.     end
  1264.     end)
  1265.  
  1266. end
  1267. coroutine.resume(coroutine.create(S_Esp2))
  1268. function S_F2Out() -- F2OutButton.F2OutScript
  1269.     getfenv().script = Instance.new('LocalScript', F2OutButton)
  1270.  
  1271.     -- F2OutScript
  1272.     F2OutButton.MouseButton1Click:connect(function()
  1273.     R47SploitFpsGui.F2:TweenPosition(UDim2.new(0.208,0,15.2,0), "Out", "Quad", 50)
  1274.     end)
  1275.  
  1276. end
  1277. coroutine.resume(coroutine.create(S_F2Out))
  1278. function S_F2In() -- F2.F2InScript
  1279.     getfenv().script = Instance.new('LocalScript', F2)
  1280.  
  1281.     print("-- Gui Successifully Loaded --")
  1282.     print("-- Gui Made By Riky47 -- Enjoy! --")
  1283.     wait(3)
  1284.     R47SploitFpsGui.F2:TweenPosition(UDim2.new(0.208,0,0.273,0), "Out", "Quad", 2)
  1285.  
  1286. end
  1287. coroutine.resume(coroutine.create(S_F2In))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement