Advertisement
WoozyMan

TFC Scripting Hub V1 (first version)

Jul 10th, 2020
909
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 8.29 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local TFCScriptinghub = Instance.new("Frame")
  8. local AimbotAndEsp = Instance.new("TextButton")
  9. local title = Instance.new("TextBox")
  10. local NoClip = Instance.new("TextButton")
  11. local UniversalEsp = Instance.new("TextButton")
  12. local InfiniteJump = Instance.new("TextButton")
  13.  
  14. --Properties:
  15.  
  16. ScreenGui.Parent = game.CoreGui
  17.  
  18. TFCScriptinghub.Name = "TFC Scripting hub"
  19. TFCScriptinghub.Parent = ScreenGui
  20. TFCScriptinghub.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  21. TFCScriptinghub.Position = UDim2.new(0.0797158703, 0, 0.678132653, 0)
  22. TFCScriptinghub.Size = UDim2.new(0, 378, 0, 240)
  23. TFCScriptinghub.Active = true
  24. TFCScriptinghub.Draggable = true
  25. TFCScriptinghub.Visible = true
  26. AimbotAndEsp.Name = "Aimbot And Esp"
  27. AimbotAndEsp.Parent = ScreenGui
  28. AimbotAndEsp.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
  29. AimbotAndEsp.Position = UDim2.new(0.0797158405, 0, 0.744471729, 0)
  30. AimbotAndEsp.Size = UDim2.new(0, 186, 0, 50)
  31. AimbotAndEsp.Font = Enum.Font.GothamBold
  32. AimbotAndEsp.Text = "Aimlock And ESP"
  33. AimbotAndEsp.TextColor3 = Color3.fromRGB(0, 0, 0)
  34. AimbotAndEsp.TextSize = 14.000
  35. AimbotAndEsp.MouseButton1Down:connect(function()
  36. loadstring(game:HttpGet("https://pastebin.com/raw/RPsLaHQh"))()
  37. end)
  38.  
  39. title.Name = "title"
  40. title.Parent = ScreenGui
  41. title.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  42. title.Position = UDim2.new(0.0797158629, 0, 0.678132653, 0)
  43. title.Size = UDim2.new(0, 378, 0, 54)
  44. title.Font = Enum.Font.GothamBold
  45. title.Text = "TFC Scripting Hub V1"
  46. title.TextColor3 = Color3.fromRGB(0, 0, 0)
  47. title.TextSize = 16.000
  48.  
  49. NoClip.Name = "No Clip (e)"
  50. NoClip.Parent = ScreenGui
  51. NoClip.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
  52. NoClip.Position = UDim2.new(0.226519316, 0, 0.744471729, 0)
  53. NoClip.Size = UDim2.new(0, 192, 0, 50)
  54. NoClip.Font = Enum.Font.GothamBold
  55. NoClip.Text = "No Clip"
  56. NoClip.TextColor3 = Color3.fromRGB(0, 0, 0)
  57. NoClip.TextSize = 14.000
  58. NoClip.MouseButton1Down:connect(function()
  59. noclip = false
  60. game:GetService('RunService').Stepped:connect(function()
  61. if noclip then
  62. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  63. end
  64. end)
  65. plr = game.Players.LocalPlayer
  66. mouse = plr:GetMouse()
  67. mouse.KeyDown:connect(function(key)
  68.  
  69. if key == "e" then
  70. noclip = not noclip
  71. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  72. end
  73. end)
  74. end)
  75.  
  76. UniversalEsp.Name = "Universal Esp"
  77. UniversalEsp.Parent = ScreenGui
  78. UniversalEsp.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
  79. UniversalEsp.Position = UDim2.new(0.0797158629, 0, 0.805896819, 0)
  80. UniversalEsp.Size = UDim2.new(0, 185, 0, 50)
  81. UniversalEsp.Font = Enum.Font.GothamBold
  82. UniversalEsp.Text = "Universal Esp"
  83. UniversalEsp.TextColor3 = Color3.fromRGB(0, 0, 0)
  84. UniversalEsp.TextSize = 14.000
  85. UniversalEsp.MouseButton1Down:connect(function()
  86. local localPlayer=game.Players.LocalPlayer
  87.  
  88. function highlightModel(objObject)
  89.     for i,v in pairs(objObject:children())do
  90.         if v:IsA'BasePart'and v.Name~='HumanoidRootPart'then
  91.             local bHA=Instance.new('BoxHandleAdornment',v)
  92.             bHA.Adornee=v
  93.             bHA.Size= v.Name=='Head' and Vector3.new(1.25,1.25,1.25) or v.Size
  94.             bHA.Color3=v.Name=='Head'and Color3.new(1,0,0)or v.Name=='Torso'and Color3.new(0,1,0)or Color3.new(0,0,1)
  95.             bHA.Transparency=.5
  96.             bHA.ZIndex=1
  97.             bHA.AlwaysOnTop=true
  98.         end
  99.         if #v:children()>0 then
  100.             highlightModel(v)
  101.         end
  102.     end
  103. end
  104.  
  105. function unHighlightModel(objObject)
  106.     for i,v in pairs(objObject:children())do
  107.         if v:IsA'BasePart' and v:findFirstChild'BoxHandleAdornment' then
  108.             v.BoxHandleAdornment:Destroy()
  109.         end
  110.         if #v:children()>0 then
  111.             unHighlightModel(v)
  112.         end
  113.     end
  114. end
  115.  
  116. function sortTeamHighlights(objPlayer)
  117.     repeat wait() until objPlayer.Character
  118.     if objPlayer.TeamColor~=localPlayer.TeamColor then
  119.         highlightModel(objPlayer.Character)
  120.     else
  121.         unHighlightModel(objPlayer.Character)
  122.     end
  123.     if objPlayer~=localPlayer then
  124.         objPlayer.Changed:connect(function(strProp)
  125.             if strProp=='TeamColor'then
  126.                 if objPlayer.TeamColor~=localPlayer.TeamColor then
  127.                     unHighlightModel(objPlayer.Character)
  128.                     highlightModel(objPlayer.Character)
  129.                 else
  130.                     unHighlightModel(objPlayer.Character)
  131.                 end
  132.             end
  133.         end)
  134.     else
  135.         objPlayer.Changed:connect(function(strProp)
  136.             if strProp=='TeamColor'then
  137.                 wait(.5)
  138.                 for i,v in pairs(game.Players:GetPlayers())do
  139.                     unHighlightModel(v)
  140.                     if v.TeamColor~=localPlayer.TeamColor then
  141.                         highlightModel(v.Character)
  142.                     end
  143.                 end
  144.             end
  145.         end)
  146.     end
  147. end
  148.  
  149. for i,v in pairs(game.Players:GetPlayers())do
  150.     v.CharacterAdded:connect(function()
  151.         sortTeamHighlights(v)
  152.     end)
  153.     sortTeamHighlights(v)
  154. end
  155. game.Players.PlayerAdded:connect(function(objPlayer)
  156.     objPlayer.CharacterAdded:connect(function(objChar)
  157.         sortTeamHighlights(objPlayer)
  158.     end)
  159. end)
  160. end)
  161.  
  162. InfiniteJump.Name = "Infinite Jump"
  163. InfiniteJump.Parent = ScreenGui
  164. InfiniteJump.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
  165. InfiniteJump.Position = UDim2.new(0.225730076, 0, 0.805896819, 0)
  166. InfiniteJump.Size = UDim2.new(0, 192, 0, 50)
  167. InfiniteJump.Font = Enum.Font.GothamBlack
  168. InfiniteJump.Text = "Infinite Jump"
  169. InfiniteJump.TextColor3 = Color3.fromRGB(0, 0, 0)
  170. InfiniteJump.TextSize = 14.000
  171. InfiniteJump.MouseButton1Down:connect(function()
  172. -- Gui to Lua
  173. -- Version: 3.2
  174.  
  175. -- Instances:
  176.  
  177. local ScreenGui = Instance.new("ScreenGui")
  178. local main = Instance.new("Frame")
  179. local TextLabel = Instance.new("TextLabel")
  180. local Frame = Instance.new("Frame")
  181. local INFJUMP = Instance.new("TextButton")
  182. local TextLabel_2 = Instance.new("TextLabel")
  183.  
  184. --Properties:
  185.  
  186. ScreenGui.Parent = game.CoreGui
  187.  
  188. main.Name = "main"
  189. main.Parent = ScreenGui
  190. main.Active = true
  191. main.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  192. main.BorderSizePixel = 0
  193. main.Position = UDim2.new(0.119258665, 0, 0, 0)
  194. main.Size = UDim2.new(0, 146, 0, 28)
  195. main.Active = true
  196. main.Draggable = false
  197.  
  198. TextLabel.Parent = main
  199. TextLabel.BackgroundColor3 = Color3.fromRGB(38, 38, 38)
  200. TextLabel.BorderSizePixel = 0
  201. TextLabel.Size = UDim2.new(0, 146, 0, 28)
  202. TextLabel.Font = Enum.Font.SciFi
  203. TextLabel.Text = "Misc"
  204. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  205. TextLabel.TextSize = 17.000
  206. TextLabel.TextWrapped = true
  207.  
  208. Frame.Parent = main
  209. Frame.BackgroundColor3 = Color3.fromRGB(86, 86, 86)
  210. Frame.BorderSizePixel = 0
  211. Frame.Position = UDim2.new(0, 0, 1, 0)
  212. Frame.Size = UDim2.new(0, 146, 0, 61)
  213.  
  214. INFJUMP.Name = "INFJUMP"
  215. INFJUMP.Parent = main
  216. INFJUMP.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  217. INFJUMP.BorderSizePixel = 0
  218. INFJUMP.Position = UDim2.new(0.794520497, 0, 1.6785717, 0)
  219. INFJUMP.Size = UDim2.new(0, 21, 0, 21)
  220. INFJUMP.Font = Enum.Font.SourceSans
  221. INFJUMP.Text = ""
  222. INFJUMP.TextColor3 = Color3.fromRGB(0, 0, 0)
  223. INFJUMP.TextSize = 14.000
  224. INFJUMP.MouseButton1Down:connect(function()
  225. local Player = game:GetService'Players'.LocalPlayer;
  226. local UIS = game:GetService'UserInputService';
  227.  
  228. _G.JumpHeight = 50;
  229.  
  230. function Action(Object, Function) if Object ~= nil then Function(Object); end end
  231.  
  232. UIS.InputBegan:connect(function(UserInput)
  233.     if UserInput.UserInputType == Enum.UserInputType.Keyboard and UserInput.KeyCode == Enum.KeyCode.Space then
  234.         Action(Player.Character.Humanoid, function(self)
  235.             if self:GetState() == Enum.HumanoidStateType.Jumping or self:GetState() == Enum.HumanoidStateType.Freefall then
  236.                 Action(self.Parent.HumanoidRootPart, function(self)
  237.                     self.Velocity = Vector3.new(0, _G.JumpHeight, 0);
  238.                 end)
  239.             end
  240.         end)
  241.     end
  242. end)
  243. end)
  244.  
  245. TextLabel_2.Parent = main
  246. TextLabel_2.BackgroundColor3 = Color3.fromRGB(38, 38, 38)
  247. TextLabel_2.BorderSizePixel = 0
  248. TextLabel_2.Position = UDim2.new(0.0547945201, 0, 1.57142854, 0)
  249. TextLabel_2.Size = UDim2.new(0, 94, 0, 28)
  250. TextLabel_2.Font = Enum.Font.SciFi
  251. TextLabel_2.Text = "Inf jump"
  252. TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  253. TextLabel_2.TextSize = 17.000
  254. TextLabel_2.TextWrapped = true
  255.  
  256. -- Scripts:
  257.  
  258. local function TKDWQ_fake_script() -- INFJUMP.LocalScript
  259. local script = Instance.new('LocalScript', INFJUMP)
  260.  
  261. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  262.  
  263. counter = 0
  264.  
  265. while wait(0.1)do
  266. script.Parent.BackgroundColor3 = Color3.fromHSV(zigzag(counter),1,1)
  267.  
  268. counter = counter + 0.01
  269. end
  270. end
  271. coroutine.wrap(TKDWQ_fake_script)()
  272. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement