Advertisement
mwmatthew10

CB:RO Script

Oct 19th, 2017
4,009
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.57 KB | None | 0 0
  1.  
  2. print("[OSPREY] Aimbot and ESP by Symplicity loading")local ac=game.Players.LocalPlayer;if ac.Name=="Player1"then par=ac.PlayerGui else
  3. par=game.CoreGui end
  4. local bc=Instance.new("ScreenGui",par)bc.Name="OSPREYGui"local cc="1.2.7"
  5. print("[OSPREY] V"..cc.."\n")
  6. devlog={"[1.2.3] Added developer logs","[1.2.4] Added support for more keybinds","[1.2.4] Improved input validation","[1.2.5] Removed targeting of spectator teams","[1.2.6] Added ability to choose aimbot refresh rate","[1.2.7] Added support for 'Gun Game'"}
  7. for i=1,#devlog do print("[OSPREY] "..devlog[i])end
  8. local function dc(aaa,baa,caa,daa,_ba,aba,bba,cba,dba,_ca,aca)local bca=Instance.new("Frame")bca.BackgroundColor3=aaa
  9. bca.BackgroundTransparency=baa;bca.BorderColor3=caa;bca.BorderSizePixel=daa;bca.Name=_ba;bca.Parent=aba
  10. bca.Position=bba;bca.Rotation=cba;bca.Size=dba;bca.Visible=_ca;bca.ZIndex=aca;return bca end
  11. local function _d(aaa,baa,caa,daa,_ba,aba,bba,cba,dba,_ca,aca,bca,cca,dca,_da,ada,bda,cda,dda,__b,a_b,b_b)local c_b=Instance.new("TextLabel")c_b.BackgroundColor3=aaa
  12. c_b.BackgroundTransparency=baa;c_b.BorderColor3=caa;c_b.BorderSizePixel=daa;c_b.Name=_ba;c_b.Parent=aba
  13. c_b.Position=bba;c_b.Rotation=cba;c_b.Size=dba;c_b.Visible=_ca;c_b.ZIndex=aca;c_b.Font=bca
  14. c_b.FontSize=cca;c_b.Text=dca;c_b.TextColor3=_da;c_b.TextScaled=ada
  15. c_b.TextStrokeColor3=bda;c_b.TextStrokeTransparency=cda;c_b.TextTransparency=dda
  16. c_b.TextWrapped=__b;c_b.TextXAlignment=a_b;c_b.TextYAlignment=b_b;return c_b end
  17. local function ad(aaa,baa,caa,daa,_ba,aba,bba,cba,dba,_ca,aca,bca,cca,dca,_da,ada,bda,cda,dda,__b,a_b,b_b,c_b)local d_b=Instance.new("TextButton")d_b.AutoButtonColor=aaa
  18. d_b.BackgroundColor3=baa;d_b.BackgroundTransparency=caa;d_b.BorderColor3=daa
  19. d_b.BorderSizePixel=_ba;d_b.Name=aba;d_b.Parent=bba;d_b.Position=cba;d_b.Rotation=dba;d_b.Size=_ca
  20. d_b.Visible=aca;d_b.ZIndex=bca;d_b.Font=cca;d_b.FontSize=dca;d_b.Text=_da
  21. d_b.TextColor3=ada;d_b.TextScaled=bda;d_b.TextStrokeColor3=cda;d_b.TextStrokeTransparency=dda
  22. d_b.TextTransparency=__b;d_b.TextWrapped=a_b;d_b.TextXAlignment=b_b;d_b.TextYAlignment=c_b;return d_b end
  23. local function bd(aaa,baa,caa,daa,_ba,aba,bba,cba,dba,_ca,aca,bca,cca,dca,_da,ada,bda,cda,dda,__b,a_b,b_b,c_b,d_b)local _ab=Instance.new("TextBox")_ab.BackgroundColor3=aaa
  24. _ab.BackgroundTransparency=baa;_ab.BorderColor3=caa;_ab.BorderSizePixel=daa;_ab.ClearTextOnFocus=_ba
  25. _ab.MultiLine=aba;_ab.Name=bba;_ab.Parent=cba;_ab.Position=dba;_ab.Rotation=_ca;_ab.Size=aca
  26. _ab.Visible=bca;_ab.ZIndex=cca;_ab.Font=dca;_ab.FontSize=_da;_ab.Text=ada
  27. _ab.TextColor3=bda;_ab.TextScaled=cda;_ab.TextStrokeColor3=dda;_ab.TextStrokeTransparency=__b
  28. _ab.TextTransparency=a_b;_ab.TextWrapped=b_b;_ab.TextXAlignment=c_b;_ab.TextYAlignment=d_b;return _ab end
  29. local function cd(aaa,baa,caa,daa,_ba,aba,bba,cba,dba,_ca,aca,bca,cca)local dca=Instance.new("ImageLabel")dca.BackgroundColor3=aaa
  30. dca.BackgroundTransparency=baa;dca.BorderColor3=caa;dca.BorderSizePixel=daa;dca.Name=_ba;dca.Parent=aba
  31. dca.Position=bba;dca.Rotation=cba;dca.Size=dba;dca.Visible=_ca;dca.ZIndex=aca;dca.Image="rbxassetid://"..
  32. bca;dca.ImageTransparency=cca;return dca end
  33. local dd=dc(Color3.new(245 /255,245 /255,245 /255),0,Color3.new(27 /255,42 /255,53 /255),0,"IntroFrame",bc,UDim2.new(0,
  34. -330,0,0),0,UDim2.new(0,300,1,0),true,1)
  35. dc(Color3.new(245 /255,245 /255,245 /255),0,Color3.new(0,0,0),0,"bar",dd,UDim2.new(1,0,0,0),0,UDim2.new(0,30,0,90),true,1)
  36. cd(Color3.new(1,1,1),1,Color3.new(0,0,0),0,"Slant",dd,UDim2.new(1,0,0,90),90,UDim2.new(0,30,0,30),true,1,474172996,0)
  37. _d(Color3.new(1,1,1),1,Color3.new(0,0,0),0,"Creator",dd,UDim2.new(0,80,1,-40),0,UDim2.new(0,140,0,30),true,1,Enum.Font.Code,Enum.FontSize.Size28,"Symplicity",Color3.new(
  38. 27 /255,42 /255,53 /255),false,Color3.new(0,0,0),1,0,true,Enum.TextXAlignment.Center,Enum.TextYAlignment.Center)
  39. _d(Color3.new(1,1,1),1,Color3.new(0,0,0),0,"CreatorLabel",dd,UDim2.new(0,80,1,-70),0,UDim2.new(0,140,0,30),true,1,Enum.Font.Code,Enum.FontSize.Size18,"Made by:",Color3.new(
  40. 27 /255,42 /255,53 /255),false,Color3.new(0,0,0),1,0,true,Enum.TextXAlignment.Center,Enum.TextYAlignment.Center)
  41. _d(Color3.new(1,1,1),1,Color3.new(0,0,0),0,"Desc",dd,UDim2.new(0,0,0,120),0,UDim2.new(1,0,0,90),true,1,Enum.Font.SciFi,Enum.FontSize.Size14,"Click on the key selection to change the keybinds. Hold down your selected keys to target the player closest to your mouse. If you aren't using the loadstring version of this script, I would recommend you do. Feel free to share :)",Color3.new(0,0,0),true,Color3.new(0,0,0),1,0,true,Enum.TextXAlignment.Center,Enum.TextYAlignment.Center)
  42. _d(Color3.new(1,1,1),1,Color3.new(0,0,0),0,"RefreshLabel",dd,UDim2.new(0,0,0,345),0,UDim2.new(1,0,0,70),true,1,Enum.Font.SciFi,Enum.FontSize.Size24,"Select how many times per second the aimbot should retarget the enemy. 60 SHOULD be better, but 30 seems to be more reliable. So you get to choose now!",Color3.new(0,0,0),true,Color3.new(0,0,0),1,0,true,Enum.TextXAlignment.Center,Enum.TextYAlignment.Center)
  43. _d(Color3.new(1,1,1),1,Color3.new(0,0,0),0,"SubTitle",dd,UDim2.new(0.5,-150,0,70),0,UDim2.new(0,300,0,40),true,1,Enum.Font.SourceSansBold,Enum.FontSize.Size32,"Aimbot/ESP",Color3.new(
  44. 27 /255,42 /255,53 /255),false,Color3.new(0,0,0),1,0,true,Enum.TextXAlignment.Center,Enum.TextYAlignment.Center)
  45. _d(Color3.new(1,1,1),1,Color3.new(0,0,0),0,"Title",dd,UDim2.new(0.5,-105,0,20),0,UDim2.new(0,210,0,60),true,1,Enum.Font.SourceSansBold,Enum.FontSize.Size60,"OSPREY",Color3.new(
  46. 27 /255,42 /255,53 /255),false,Color3.new(0,0,0),1,0,true,Enum.TextXAlignment.Center,Enum.TextYAlignment.Center)
  47. _d(Color3.new(1,1,1),1,Color3.new(0,0,0),0,"HeadLabel",dd,UDim2.new(0,0,0,210),0,UDim2.new(1,-80,0,35),true,1,Enum.Font.SciFi,Enum.FontSize.Size24,"Headshot key:",Color3.new(0,0,0),false,Color3.new(0,0,0),1,0,false,Enum.TextXAlignment.Right,Enum.TextYAlignment.Center)
  48. _d(Color3.new(1,1,1),1,Color3.new(0,0,0),0,"TorsoLabel",dd,UDim2.new(0,0,0,250),0,UDim2.new(1,-80,0,35),true,1,Enum.Font.SciFi,Enum.FontSize.Size24,"Bodyshot key:",Color3.new(0,0,0),false,Color3.new(0,0,0),1,0,false,Enum.TextXAlignment.Right,Enum.TextYAlignment.Center)
  49. _d(Color3.new(1,1,1),1,Color3.new(0,0,0),0,"ESPLabel",dd,UDim2.new(0,0,0,285),0,UDim2.new(1,-80,0,35),true,1,Enum.Font.SciFi,Enum.FontSize.Size24,"ESP:",Color3.new(0,0,0),false,Color3.new(0,0,0),1,0,false,Enum.TextXAlignment.Right,Enum.TextYAlignment.Center)
  50. RefreshHighlight=dc(Color3.new(1,1,1),1,Color3.new(27 /255,42 /255,53 /255),0,"RefreshHighlight",dd,UDim2.new(.5,
  51. -65,0,430),0,UDim2.new(0,50,0,35),true,1)
  52. _d(Color3.new(0,1,0),.3,Color3.new(0,0,0),0,"Top",RefreshHighlight,UDim2.new(0,-4,0,-4),0,UDim2.new(1,8,0,4),true,1,Enum.Font.SourceSans,Enum.FontSize.Size14,"",Color3.new(
  53. 27 /255,42 /255,53 /255),false,Color3.new(0,0,0),1,0,true,Enum.TextXAlignment.Center,Enum.TextYAlignment.Center)
  54. _d(Color3.new(0,1,0),.3,Color3.new(0,0,0),0,"Bottom",RefreshHighlight,UDim2.new(0,-4,1,0),0,UDim2.new(1,8,0,4),true,1,Enum.Font.SourceSans,Enum.FontSize.Size14,"",Color3.new(
  55. 27 /255,42 /255,53 /255),false,Color3.new(0,0,0),1,0,true,Enum.TextXAlignment.Center,Enum.TextYAlignment.Center)
  56. _d(Color3.new(0,1,0),.3,Color3.new(0,0,0),0,"Top",RefreshHighlight,UDim2.new(0,-4,0,0),0,UDim2.new(0,4,1,0),true,1,Enum.Font.SourceSans,Enum.FontSize.Size14,"",Color3.new(
  57. 27 /255,42 /255,53 /255),false,Color3.new(0,0,0),1,0,true,Enum.TextXAlignment.Center,Enum.TextYAlignment.Center)
  58. _d(Color3.new(0,1,0),.3,Color3.new(0,0,0),0,"Top",RefreshHighlight,UDim2.new(1,0,0,0),0,UDim2.new(0,4,1,0),true,1,Enum.Font.SourceSans,Enum.FontSize.Size14,"",Color3.new(
  59. 27 /255,42 /255,53 /255),false,Color3.new(0,0,0),1,0,true,Enum.TextXAlignment.Center,Enum.TextYAlignment.Center)
  60. local __a=bd(Color3.new(1,1,1),1,Color3.new(0,0,0),0,false,false,"HeadKey",dd,UDim2.new(1,-80,0,210),0,UDim2.new(0,80,0,35),true,1,Enum.Font.SourceSansBold,Enum.FontSize.Size14,"K",Color3.new(
  61. 27 /255,42 /255,53 /255),true,Color3.new(0,0,0),1,0,true,Enum.TextXAlignment.Center,Enum.TextYAlignment.Center)
  62. local a_a=bd(Color3.new(1,1,1),1,Color3.new(0,0,0),0,false,false,"TorsoKey",dd,UDim2.new(1,-80,0,250),0,UDim2.new(0,80,0,35),true,1,Enum.Font.SourceSansBold,Enum.FontSize.Size14,"L",Color3.new(
  63. 27 /255,42 /255,53 /255),true,Color3.new(0,0,0),1,0,true,Enum.TextXAlignment.Center,Enum.TextYAlignment.Center)
  64. local b_a=ad(true,Color3.new(0,1,0),.4,Color3.new(0,0,0),0,"ESPToggle",dd,UDim2.new(1,-65,0,285),0,UDim2.new(0,50,0,35),true,1,Enum.Font.SourceSansBold,Enum.FontSize.Size14,"On",Color3.new(
  65. 27 /255,42 /255,53 /255),true,Color3.new(0,0,0),1,0,true,Enum.TextXAlignment.Center,Enum.TextYAlignment.Center)
  66. local c_a=ad(true,Color3.new(0,0,0),.4,Color3.new(0,0,0),0,"Refresh30",dd,UDim2.new(.5,-65,0,430),0,UDim2.new(0,50,0,35),true,1,Enum.Font.SourceSansBold,Enum.FontSize.Size14,"30",Color3.new(0,
  67. 200 /255,0),true,Color3.new(0,0,0),1,0,true,Enum.TextXAlignment.Center,Enum.TextYAlignment.Center)
  68. local d_a=ad(true,Color3.new(0,0,0),.4,Color3.new(0,0,0),0,"Refresh60",dd,UDim2.new(.5,15,0,430),0,UDim2.new(0,50,0,35),true,1,Enum.Font.SourceSansBold,Enum.FontSize.Size14,"60",Color3.new(
  69. 200 /255,0,0),true,Color3.new(0,0,0),1,0,true,Enum.TextXAlignment.Center,Enum.TextYAlignment.Center)
  70. local _aa=ad(true,Color3.new(0,1,0),.4,Color3.new(0,0,0),0,"Load",dd,UDim2.new(0,30,0,490),0,UDim2.new(1,-60,0,30),true,1,Enum.Font.SciFi,Enum.FontSize.Size14,"Load Exploit",Color3.new(
  71. 27 /255,42 /255,53 /255),true,Color3.new(0,0,0),1,0,true,Enum.TextXAlignment.Center,Enum.TextYAlignment.Center)ESPOn=true;RefreshSelected=30;debounce=true;currentlyfocusing="none"wait(1)
  72. dd:TweenPosition(UDim2.new(0,0,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.5,true)
  73. b_a.MouseButton1Click:connect(function()
  74. if debounce then if ESPOn then ESPOn=false
  75. b_a.BackgroundColor3=Color3.new(1,0,0)b_a.Text="Off"else ESPOn=true;b_a.BackgroundColor3=Color3.new(0,1,0)
  76. b_a.Text="On"end end end)
  77. c_a.MouseButton1Click:connect(function()
  78. if debounce and RefreshSelected~=30 then
  79. RefreshSelected=30
  80. RefreshHighlight:TweenPosition(c_a.Position,"Out","Quad",.5,true)c_a.TextColor3=Color3.new(0,200 /255,0)d_a.TextColor3=Color3.new(200 /
  81. 255,0,0)end end)
  82. d_a.MouseButton1Click:connect(function()
  83. if debounce and RefreshSelected~=60 then
  84. RefreshSelected=60
  85. RefreshHighlight:TweenPosition(d_a.Position,"Out","Quad",.5,true)d_a.TextColor3=Color3.new(0,200 /255,0)c_a.TextColor3=Color3.new(200 /
  86. 255,0,0)end end)lastheadkey="K"
  87. __a.Changed:connect(function()
  88. __a.Text=string.upper(__a.Text)local aaa=__a.Text
  89. if
  90.  
  91. aaa~="LCTRL"and aaa~="LSHIFT"and aaa~="LALT"and aaa~="RCTRL"and aaa~="RSHIFT"and aaa~="RALT"then
  92. if
  93. string.len(__a.Text)>1 then lastheadkey=string.sub(__a.Text,2,2)
  94. __a.Text=string.sub(__a.Text,2,2)elseif string.len(__a.Text)<1 then __a.Text=lastheadkey end end end)
  95. __a.Focused:connect(function()currentlyfocusing="head"end)
  96. __a.FocusLost:connect(function()wait()
  97. if currentlyfocusing=="head"then currentlyfocusing="none"end end)lasttorsokey="L"
  98. a_a.Changed:connect(function()
  99. a_a.Text=string.upper(a_a.Text)local aaa=a_a.Text
  100. if
  101.  
  102. aaa~="LCTRL"and aaa~="LSHIFT"and aaa~="LALT"and aaa~="RCTRL"and aaa~="RSHIFT"and aaa~="RALT"then
  103. if
  104. string.len(a_a.Text)>1 then lasttorsokey=string.sub(a_a.Text,2,2)
  105. a_a.Text=string.sub(a_a.Text,2,2)elseif string.len(a_a.Text)<1 then a_a.Text=lasttorsokey end end end)
  106. a_a.Focused:connect(function()currentlyfocusing="torso"end)
  107. a_a.FocusLost:connect(function()wait()
  108. if currentlyfocusing=="torso"then currentlyfocusing="none"end end)
  109. game:GetService("UserInputService").InputBegan:connect(function(aaa,baa)
  110. if
  111. aaa.KeyCode==Enum.KeyCode.LeftControl then
  112. if currentlyfocusing=="torso"then
  113. a_a.Text="LCTRL"elseif currentlyfocusing=="head"then __a.Text="LCTRL"end elseif aaa.KeyCode==Enum.KeyCode.LeftShift then
  114. if currentlyfocusing=="torso"then
  115. a_a.Text="LSHIFT"elseif currentlyfocusing=="head"then __a.Text="LSHIFT"end elseif aaa.KeyCode==Enum.KeyCode.LeftAlt then
  116. if currentlyfocusing=="torso"then
  117. a_a.Text="LALT"elseif currentlyfocusing=="head"then __a.Text="LALT"end elseif aaa.KeyCode==Enum.KeyCode.RightControl then
  118. if currentlyfocusing=="torso"then
  119. a_a.Text="RCTRL"elseif currentlyfocusing=="head"then __a.Text="RCTRL"end elseif aaa.KeyCode==Enum.KeyCode.RightShift then
  120. if currentlyfocusing=="torso"then
  121. a_a.Text="RSHIFT"elseif currentlyfocusing=="head"then __a.Text="RSHIFT"end elseif aaa.KeyCode==Enum.KeyCode.RightAlt then
  122. if currentlyfocusing=="torso"then
  123. a_a.Text="RALT"elseif currentlyfocusing=="head"then __a.Text="RALT"end end end)
  124. _aa.MouseButton1Click:connect(function()
  125. if debounce then debounce=false
  126. local aaa=string.upper(__a.Text)local baa=string.upper(a_a.Text)
  127. if aaa=="LCTRL"then aaa="LeftControl"end;if aaa=="RCTRL"then aaa="RightControl"end;if aaa=="LSHIFT"then
  128. aaa="LeftShift"end;if aaa=="RSHIFT"then aaa="RightShift"end;if
  129. aaa=="LALT"then aaa="LeftAlt"end;if aaa=="RALT"then aaa="RightAlt"end;if baa==
  130. "LCTRL"then baa="LeftControl"end
  131. if baa=="RCTRL"then baa="RightControl"end;if baa=="LSHIFT"then baa="LeftShift"end
  132. if baa=="RSHIFT"then baa="RightShift"end;if baa=="LALT"then baa="LeftAlt"end
  133. if baa=="RALT"then baa="RightAlt"end
  134. dd:TweenPosition(UDim2.new(0,-330,0,0),Enum.EasingDirection.In,Enum.EasingStyle.Quart,0.5,true)wait(.5)
  135. local function caa(aba)local bba="coroutine.resume(coroutine.create(function()\n"
  136. bba=bba..
  137. "local Headshot_Key = Enum.KeyCode."..aaa.."\n"
  138. bba=bba.."local Torsoshot_Key = Enum.KeyCode."..baa.."\n"
  139. bba=bba.."RefreshRate = "..RefreshSelected.."\n"bba=bba..aba.."\n"bba=bba.."end))\n"return bba end
  140. local daa=caa(game:GetObjects('rbxassetid://574684785')[1].Source)local _ba=""if ESPOn then
  141. _ba=caa(game:GetObjects('rbxassetid://574693413')[1].Source)end
  142. loadstring(daa.._ba)()wait(0.5)bc:Destroy()end end)wait(1)
  143. dd:TweenPosition(UDim2.new(0,0,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.5,true)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement