Advertisement
Guest User

Untitled

a guest
May 25th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.75 KB | None | 0 0
  1. -- Objects
  2.  
  3. local AssassinsGui = Instance.new("ScreenGui")
  4. local Frame = Instance.new("Frame")
  5. local TextLabel = Instance.new("TextLabel")
  6. local TextLabel_2 = Instance.new("TextLabel")
  7. local Tp = Instance.new("TextButton")
  8. local Other = Instance.new("TextButton")
  9. local Change = Instance.new("TextButton")
  10. local Bighead = Instance.new("TextButton")
  11. local Aimbot = Instance.new("TextButton")
  12. local Frame_2 = Instance.new("Frame")
  13. local Frame_3 = Instance.new("Frame")
  14. local Frame_4 = Instance.new("Frame")
  15. local TextLabel_3 = Instance.new("TextLabel")
  16. local TextLabel_4 = Instance.new("TextLabel")
  17. local Frame_5 = Instance.new("Frame")
  18. local Exit = Instance.new("TextButton")
  19. local Frame2 = Instance.new("Frame")
  20. local TextLabel_5 = Instance.new("TextLabel")
  21. local Main = Instance.new("TextButton")
  22. local Frame_6 = Instance.new("Frame")
  23. local Frame_7 = Instance.new("Frame")
  24. local Frame_8 = Instance.new("Frame")
  25. local Frame_9 = Instance.new("Frame")
  26. local TextLabel_6 = Instance.new("TextLabel")
  27. local TextLabel_7 = Instance.new("TextLabel")
  28. local TextLabel_8 = Instance.new("TextLabel")
  29. local TextLabel_9 = Instance.new("TextLabel")
  30. local Frame3 = Instance.new("Frame")
  31. local Frame_10 = Instance.new("Frame")
  32. local Frame_11 = Instance.new("Frame")
  33. local Frame_12 = Instance.new("Frame")
  34. local Frame_13 = Instance.new("Frame")
  35. local TextLabel_10 = Instance.new("TextLabel")
  36. local Close = Instance.new("TextButton")
  37. local TextLabel_11 = Instance.new("TextLabel")
  38. local TextLabel_12 = Instance.new("TextLabel")
  39. local TextLabel_13 = Instance.new("TextLabel")
  40. local TextLabel_14 = Instance.new("TextLabel")
  41. local TextButton = Instance.new("TextButton")
  42.  
  43. -- Properties
  44.  
  45. AssassinsGui.Name = "AssassinsGui"
  46. AssassinsGui.Parent = game.CoreGui
  47.  
  48. Frame.Parent = AssassinsGui
  49. Frame.Active = true
  50. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  51. Frame.BorderSizePixel = 0
  52. Frame.Draggable = true
  53. Frame.Position = UDim2.new(0, 283, 0, 240)
  54. Frame.Size = UDim2.new(0, 614, 0, 348)
  55.  
  56. TextLabel.Parent = Frame
  57. TextLabel.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  58. TextLabel.BackgroundTransparency = 5
  59. TextLabel.Position = UDim2.new(0, 223, 0, 309)
  60. TextLabel.Size = UDim2.new(0, 200, 0, 39)
  61. TextLabel.Font = Enum.Font.SciFi
  62. TextLabel.Text = "V 0.4"
  63. TextLabel.TextColor3 = Color3.new(0, 1, 0)
  64. TextLabel.TextSize = 25
  65.  
  66. TextLabel_2.Parent = Frame
  67. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  68. TextLabel_2.BackgroundTransparency = 5
  69. TextLabel_2.Position = UDim2.new(0, 88, 0, 256)
  70. TextLabel_2.Size = UDim2.new(0, 200, 0, 39)
  71. TextLabel_2.Font = Enum.Font.SciFi
  72. TextLabel_2.Text = "Made By Jag Gaming #0060"
  73. TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
  74. TextLabel_2.TextSize = 25
  75.  
  76. Tp.Name = "Tp"
  77. Tp.Parent = Frame
  78. Tp.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  79. Tp.BorderSizePixel = 0
  80. Tp.Position = UDim2.new(0, 227, 0, 100)
  81. Tp.Size = UDim2.new(0, 159, 0, 35)
  82. Tp.Font = Enum.Font.SciFi
  83. Tp.Text = "Tp To Target"
  84. Tp.TextColor3 = Color3.new(1, 1, 1)
  85. Tp.TextSize = 30
  86. Tp.TextWrapped = true
  87.  
  88. Other.Name = "Other"
  89. Other.Parent = Frame
  90. Other.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  91. Other.BorderSizePixel = 0
  92. Other.Position = UDim2.new(0, 196, 0, 241)
  93. Other.Size = UDim2.new(0, 223, 0, 35)
  94. Other.Font = Enum.Font.SciFi
  95. Other.Text = "Credits"
  96. Other.TextColor3 = Color3.new(1, 1, 1)
  97. Other.TextSize = 30
  98. Other.TextWrapped = true
  99.  
  100. Change.Name = "Change"
  101. Change.Parent = Frame
  102. Change.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  103. Change.BorderSizePixel = 0
  104. Change.Position = UDim2.new(0, 174, 0, 174)
  105. Change.Size = UDim2.new(0, 266, 0, 35)
  106. Change.Font = Enum.Font.SciFi
  107. Change.Text = "Change Log"
  108. Change.TextColor3 = Color3.new(1, 1, 1)
  109. Change.TextSize = 30
  110. Change.TextWrapped = true
  111.  
  112. Bighead.Name = "Bighead"
  113. Bighead.Parent = Frame
  114. Bighead.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  115. Bighead.BorderSizePixel = 0
  116. Bighead.Position = UDim2.new(0, 415, 0, 98)
  117. Bighead.Size = UDim2.new(0, 121, 0, 35)
  118. Bighead.Font = Enum.Font.SciFi
  119. Bighead.Text = "Big head"
  120. Bighead.TextColor3 = Color3.new(1, 1, 1)
  121. Bighead.TextSize = 30
  122. Bighead.TextWrapped = true
  123.  
  124. Aimbot.Name = "Aimbot"
  125. Aimbot.Parent = Frame
  126. Aimbot.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  127. Aimbot.BorderSizePixel = 0
  128. Aimbot.Position = UDim2.new(0, 65, 0, 101)
  129. Aimbot.Size = UDim2.new(0, 117, 0, 35)
  130. Aimbot.Font = Enum.Font.SciFi
  131. Aimbot.Text = "Aimbot"
  132. Aimbot.TextColor3 = Color3.new(1, 1, 1)
  133. Aimbot.TextSize = 30
  134. Aimbot.TextWrapped = true
  135.  
  136. Frame_2.Parent = Frame
  137. Frame_2.BackgroundColor3 = Color3.new(0.772549, 0.772549, 0.772549)
  138. Frame_2.BorderSizePixel = 0
  139. Frame_2.Position = UDim2.new(0, 583, 0, 0)
  140. Frame_2.Size = UDim2.new(0, 31, 0, 348)
  141.  
  142. Frame_3.Parent = Frame
  143. Frame_3.BackgroundColor3 = Color3.new(0.772549, 0.772549, 0.772549)
  144. Frame_3.BorderSizePixel = 0
  145. Frame_3.Size = UDim2.new(0, 35, 0, 348)
  146.  
  147. Frame_4.Parent = Frame
  148. Frame_4.BackgroundColor3 = Color3.new(0.772549, 0.772549, 0.772549)
  149. Frame_4.BorderSizePixel = 0
  150. Frame_4.Size = UDim2.new(0, 614, 0, 35)
  151.  
  152. TextLabel_3.Parent = Frame
  153. TextLabel_3.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  154. TextLabel_3.BackgroundTransparency = 5
  155. TextLabel_3.Position = UDim2.new(0, 16, 0, 0)
  156. TextLabel_3.Size = UDim2.new(0, 200, 0, 41)
  157. TextLabel_3.Font = Enum.Font.SciFi
  158. TextLabel_3.Text = "V 0.7"
  159. TextLabel_3.TextColor3 = Color3.new(0, 1, 0)
  160. TextLabel_3.TextSize = 25
  161.  
  162. TextLabel_4.Parent = Frame
  163. TextLabel_4.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  164. TextLabel_4.BackgroundTransparency = 5
  165. TextLabel_4.Position = UDim2.new(0, 207, 0, 0)
  166. TextLabel_4.Size = UDim2.new(0, 200, 0, 41)
  167. TextLabel_4.Font = Enum.Font.SciFi
  168. TextLabel_4.Text = "Assassins Gui"
  169. TextLabel_4.TextColor3 = Color3.new(0, 1, 0)
  170. TextLabel_4.TextSize = 25
  171.  
  172. Frame_5.Parent = Frame
  173. Frame_5.BackgroundColor3 = Color3.new(0.772549, 0.772549, 0.772549)
  174. Frame_5.BorderSizePixel = 0
  175. Frame_5.Position = UDim2.new(0, 0, 0, 313)
  176. Frame_5.Size = UDim2.new(0, 614, 0, 35)
  177.  
  178. Exit.Name = "Exit"
  179. Exit.Parent = Frame
  180. Exit.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  181. Exit.BorderSizePixel = 0
  182. Exit.Position = UDim2.new(0, 578, 0, 0)
  183. Exit.Size = UDim2.new(0, 36, 0, 35)
  184. Exit.Font = Enum.Font.SciFi
  185. Exit.Text = "X"
  186. Exit.TextColor3 = Color3.new(1, 1, 1)
  187. Exit.TextSize = 30
  188. Exit.TextWrapped = true
  189.  
  190. Frame2.Name = "Frame2"
  191. Frame2.Parent = AssassinsGui
  192. Frame2.Active = true
  193. Frame2.BackgroundColor3 = Color3.new(1, 1, 1)
  194. Frame2.BorderSizePixel = 0
  195. Frame2.Draggable = true
  196. Frame2.Position = UDim2.new(0, 373, 0, 163)
  197. Frame2.Size = UDim2.new(0, 498, 0, 295)
  198. Frame2.Visible = false
  199.  
  200. TextLabel_5.Parent = Frame2
  201. TextLabel_5.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  202. TextLabel_5.BackgroundTransparency = 5
  203. TextLabel_5.Position = UDim2.new(0, 888, 0, 49)
  204. TextLabel_5.Size = UDim2.new(0, 200, 0, 99)
  205. TextLabel_5.Font = Enum.Font.SciFi
  206. TextLabel_5.Text = "Admin Scripts have been Removed Sorry"
  207. TextLabel_5.TextColor3 = Color3.new(0, 1, 0)
  208. TextLabel_5.TextSize = 25
  209. TextLabel_5.TextWrapped = true
  210.  
  211. Main.Name = "Main"
  212. Main.Parent = Frame2
  213. Main.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  214. Main.BorderSizePixel = 0
  215. Main.Position = UDim2.new(0, 106, 0, 212)
  216. Main.Size = UDim2.new(0, 287, 0, 35)
  217. Main.Font = Enum.Font.SciFi
  218. Main.Text = "Back to Assassin GUI"
  219. Main.TextColor3 = Color3.new(1, 1, 1)
  220. Main.TextSize = 30
  221. Main.TextWrapped = true
  222.  
  223. Frame_6.Parent = Frame2
  224. Frame_6.BackgroundColor3 = Color3.new(0.792157, 0.792157, 0.792157)
  225. Frame_6.BorderSizePixel = 0
  226. Frame_6.Size = UDim2.new(0, 498, 0, 35)
  227.  
  228. Frame_7.Parent = Frame2
  229. Frame_7.BackgroundColor3 = Color3.new(0.792157, 0.792157, 0.792157)
  230. Frame_7.BorderSizePixel = 0
  231. Frame_7.Position = UDim2.new(0, 0, 0, 260)
  232. Frame_7.Size = UDim2.new(0, 498, 0, 35)
  233.  
  234. Frame_8.Parent = Frame2
  235. Frame_8.BackgroundColor3 = Color3.new(0.792157, 0.792157, 0.792157)
  236. Frame_8.BorderSizePixel = 0
  237. Frame_8.Size = UDim2.new(0, 35, 0, 295)
  238.  
  239. Frame_9.Parent = Frame2
  240. Frame_9.BackgroundColor3 = Color3.new(0.792157, 0.792157, 0.792157)
  241. Frame_9.BorderSizePixel = 0
  242. Frame_9.Position = UDim2.new(0, 467, 0, 0)
  243. Frame_9.Size = UDim2.new(0, 31, 0, 295)
  244.  
  245. TextLabel_6.Parent = Frame2
  246. TextLabel_6.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  247. TextLabel_6.BackgroundTransparency = 5
  248. TextLabel_6.Position = UDim2.new(0, 95, 0, 29)
  249. TextLabel_6.Size = UDim2.new(0, 308, 0, 76)
  250. TextLabel_6.Font = Enum.Font.SciFi
  251. TextLabel_6.Text = "Gui Desiginer :Jag Gaming #0060"
  252. TextLabel_6.TextColor3 = Color3.new(0, 1, 0)
  253. TextLabel_6.TextSize = 20
  254. TextLabel_6.TextWrapped = true
  255.  
  256. TextLabel_7.Parent = Frame2
  257. TextLabel_7.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  258. TextLabel_7.BackgroundTransparency = 5
  259. TextLabel_7.Position = UDim2.new(0, 95, 0, 56)
  260. TextLabel_7.Size = UDim2.new(0, 308, 0, 76)
  261. TextLabel_7.Font = Enum.Font.SciFi
  262. TextLabel_7.Text = "Aimbot Script: Unknown"
  263. TextLabel_7.TextColor3 = Color3.new(0, 1, 0)
  264. TextLabel_7.TextSize = 20
  265. TextLabel_7.TextWrapped = true
  266.  
  267. TextLabel_8.Parent = Frame2
  268. TextLabel_8.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  269. TextLabel_8.BackgroundTransparency = 5
  270. TextLabel_8.Position = UDim2.new(0, 95, 0, 89)
  271. TextLabel_8.Size = UDim2.new(0, 308, 0, 76)
  272. TextLabel_8.Font = Enum.Font.SciFi
  273. TextLabel_8.Text = "Tp To Assassin:Unknown"
  274. TextLabel_8.TextColor3 = Color3.new(0, 1, 0)
  275. TextLabel_8.TextSize = 20
  276. TextLabel_8.TextWrapped = true
  277.  
  278. TextLabel_9.Parent = Frame2
  279. TextLabel_9.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  280. TextLabel_9.BackgroundTransparency = 5
  281. TextLabel_9.Position = UDim2.new(0, 95, 0, 132)
  282. TextLabel_9.Size = UDim2.new(0, 308, 0, 76)
  283. TextLabel_9.Font = Enum.Font.SciFi
  284. TextLabel_9.Text = "BigHead: Iris on V3rm"
  285. TextLabel_9.TextColor3 = Color3.new(0, 1, 0)
  286. TextLabel_9.TextSize = 20
  287. TextLabel_9.TextWrapped = true
  288.  
  289. Frame3.Name = "Frame3"
  290. Frame3.Parent = AssassinsGui
  291. Frame3.Active = true
  292. Frame3.BackgroundColor3 = Color3.new(1, 1, 1)
  293. Frame3.BorderSizePixel = 0
  294. Frame3.Draggable = true
  295. Frame3.Position = UDim2.new(0, 723, 0, 268)
  296. Frame3.Size = UDim2.new(0, 572, 0, 292)
  297. Frame3.Visible = false
  298.  
  299. Frame_10.Parent = Frame3
  300. Frame_10.BackgroundColor3 = Color3.new(0.792157, 0.792157, 0.792157)
  301. Frame_10.BorderSizePixel = 0
  302. Frame_10.Size = UDim2.new(0, 35, 0, 295)
  303.  
  304. Frame_11.Parent = Frame3
  305. Frame_11.BackgroundColor3 = Color3.new(0.792157, 0.792157, 0.792157)
  306. Frame_11.BorderSizePixel = 0
  307. Frame_11.Position = UDim2.new(0, 541, 0, -3)
  308. Frame_11.Size = UDim2.new(0, 31, 0, 295)
  309.  
  310. Frame_12.Parent = Frame3
  311. Frame_12.BackgroundColor3 = Color3.new(0.792157, 0.792157, 0.792157)
  312. Frame_12.BorderSizePixel = 0
  313. Frame_12.Position = UDim2.new(0, 0, 0, 260)
  314. Frame_12.Size = UDim2.new(0, 572, 0, 35)
  315.  
  316. Frame_13.Parent = Frame3
  317. Frame_13.BackgroundColor3 = Color3.new(0.792157, 0.792157, 0.792157)
  318. Frame_13.BorderSizePixel = 0
  319. Frame_13.Size = UDim2.new(0, 572, 0, 35)
  320.  
  321. TextLabel_10.Parent = Frame3
  322. TextLabel_10.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  323. TextLabel_10.BackgroundTransparency = 5
  324. TextLabel_10.Position = UDim2.new(0, 186, 0, 0)
  325. TextLabel_10.Size = UDim2.new(0, 200, 0, 39)
  326. TextLabel_10.Font = Enum.Font.SciFi
  327. TextLabel_10.Text = "Changelog"
  328. TextLabel_10.TextColor3 = Color3.new(0, 1, 0)
  329. TextLabel_10.TextSize = 25
  330.  
  331. Close.Name = "Close"
  332. Close.Parent = Frame3
  333. Close.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  334. Close.BorderSizePixel = 0
  335. Close.Position = UDim2.new(0, 0, 0, 259)
  336. Close.Size = UDim2.new(0, 217, 0, 33)
  337. Close.Font = Enum.Font.SciFi
  338. Close.Text = "Back to Main Gui"
  339. Close.TextColor3 = Color3.new(1, 1, 1)
  340. Close.TextSize = 30
  341. Close.TextWrapped = true
  342.  
  343. TextLabel_11.Parent = Frame3
  344. TextLabel_11.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  345. TextLabel_11.BackgroundTransparency = 5
  346. TextLabel_11.Position = UDim2.new(0, 186, 0, 25)
  347. TextLabel_11.Size = UDim2.new(0, 200, 0, 41)
  348. TextLabel_11.Font = Enum.Font.SciFi
  349. TextLabel_11.Text = "V 0.7"
  350. TextLabel_11.TextColor3 = Color3.new(0, 1, 0)
  351. TextLabel_11.TextSize = 25
  352.  
  353. TextLabel_12.Parent = Frame3
  354. TextLabel_12.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  355. TextLabel_12.BackgroundTransparency = 5
  356. TextLabel_12.Position = UDim2.new(0, 101, 0, 49)
  357. TextLabel_12.Size = UDim2.new(0, 370, 0, 39)
  358. TextLabel_12.Font = Enum.Font.SciFi
  359. TextLabel_12.Text = "Added Open Button"
  360. TextLabel_12.TextColor3 = Color3.new(0, 1, 0)
  361. TextLabel_12.TextSize = 15
  362. TextLabel_12.TextWrapped = true
  363.  
  364. TextLabel_13.Parent = Frame3
  365. TextLabel_13.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  366. TextLabel_13.BackgroundTransparency = 5
  367. TextLabel_13.Position = UDim2.new(0, 101, 0, 69)
  368. TextLabel_13.Size = UDim2.new(0, 370, 0, 39)
  369. TextLabel_13.Font = Enum.Font.SciFi
  370. TextLabel_13.Text = "Added Exit Button"
  371. TextLabel_13.TextColor3 = Color3.new(0, 1, 0)
  372. TextLabel_13.TextSize = 15
  373. TextLabel_13.TextWrapped = true
  374.  
  375. TextLabel_14.Parent = Frame3
  376. TextLabel_14.BackgroundColor3 = Color3.new(0.333333, 1, 1)
  377. TextLabel_14.BackgroundTransparency = 5
  378. TextLabel_14.Position = UDim2.new(0, 101, 0, 86)
  379. TextLabel_14.Size = UDim2.new(0, 370, 0, 39)
  380. TextLabel_14.Font = Enum.Font.SciFi
  381. TextLabel_14.Text = "Fixed Text not showing up"
  382. TextLabel_14.TextColor3 = Color3.new(0, 1, 0)
  383. TextLabel_14.TextSize = 15
  384. TextLabel_14.TextWrapped = true
  385.  
  386. TextButton.Parent = AssassinsGui
  387. TextButton.BackgroundColor3 = Color3.new(0, 0.666667, 1)
  388. TextButton.BorderSizePixel = 0
  389. TextButton.Position = UDim2.new(0, 21, 0, 700)
  390. TextButton.Size = UDim2.new(0, 129, 0, 50)
  391. TextButton.Font = Enum.Font.SciFi
  392. TextButton.Text = "Open"
  393. TextButton.TextColor3 = Color3.new(1, 1, 1)
  394. TextButton.TextSize = 25
  395. TextButton.TextWrapped = true
  396.  
  397. --Functions--
  398. Tp.MouseButton1Click:connect(function()
  399. players = game.Players
  400. localPlayer = players.LocalPlayer
  401. bodyPosition = nil
  402. bodyGyro = nil
  403. currentTarget = nil
  404.  
  405. function getCFrameBehindPlayer(targetPlayer)
  406. if targetPlayer.Character ~= nil then
  407. local targetTorso = targetPlayer.Character:FindFirstChild("HumanoidRootPart")
  408. if targetTorso ~= nil then
  409. local torsoRotation = targetTorso.CFrame:toAxisAngle()
  410. local bottomOfTorso = targetTorso.CFrame.p-Vector3.new(0,targetTorso.Size.Y/2,0)
  411. local behindTorso = CFrame.new(bottomOfTorso-targetTorso.CFrame.lookVector*1.2)+Vector3.new(0,1,0)
  412. return behindTorso*CFrame.Angles(torsoRotation.X,torsoRotation.Y,torsoRotation.Z)
  413. else
  414. currentTarget = nil
  415. end
  416. else
  417. currentTarget = nil
  418. end
  419. end
  420.  
  421. function teleportBehindPlayer(playerToTeleport,targetPlayer)
  422. if playerToTeleport.Character ~= nil and targetPlayer.Character ~= nil then
  423. local playerTorso = playerToTeleport.Character:FindFirstChild("HumanoidRootPart")
  424. local targetTorso = targetPlayer.Character:FindFirstChild("HumanoidRootPart")
  425. if playerTorso ~= nil and targetTorso ~= nil then
  426. local behindPlayer = getCFrameBehindPlayer(targetPlayer)
  427. playerTorso.CFrame = behindPlayer
  428. if typeof(bodyPosition) == "Instance" and bodyPosition:IsA("BodyPosition") then
  429. bodyPosition.Position = behindPlayer.p
  430. bodyPosition.MaxForce = Vector3.new(5e9,5e9,5e9)
  431. end
  432. if typeof(bodyGyro) == "Instance" and bodyGyro:IsA("BodyGyro") then
  433. bodyGyro.CFrame = behindPlayer
  434. bodyGyro.MaxTorque = Vector3.new(5e9,5e9,5e9)
  435. end
  436. else
  437. currentTarget = nil
  438. end
  439. else
  440. currentTarget = nil
  441. end
  442. end
  443.  
  444. game.ReplicatedStorage.Remotes.UpdateTarget.OnClientEvent:connect(function(targetName)
  445. local targetPlayer = players:FindFirstChild(targetName)
  446. if targetPlayer ~= nil and targetPlayer:IsA("Player") and targetPlayer ~= localPlayer then
  447. wait(1)
  448. currentTarget = targetPlayer
  449. teleportBehindPlayer(localPlayer,targetPlayer)
  450. if currentTarget ~= nil and currentTarget.Character ~= nil and currentTarget.Character:FindFirstChildOfClass("Humanoid") then
  451. currentTarget.Character:FindFirstChildOfClass("Humanoid").Died:connect(function()
  452. if typeof(bodyPosition) == "Instance" and bodyPosition:IsA("BodyPosition") then
  453. bodyPosition.MaxForce = Vector3.new(0,0,0)
  454. end
  455. if typeof(bodyGyro) == "Instance" and bodyGyro:IsA("BodyGyro") then
  456. bodyGyro.MaxTorque = Vector3.new(0,0,0)
  457. end
  458. end)
  459. else
  460. currentTarget = nil
  461. end
  462. else
  463. currentTarget = nil
  464. end
  465. end)
  466.  
  467. function setupCharacter(char)
  468. bodyPosition = Instance.new("BodyPosition")
  469. bodyPosition.D = 100
  470. bodyPosition.MaxForce = Vector3.new(0,0,0)
  471. bodyPosition.P = 8000
  472. bodyGyro = Instance.new("BodyGyro")
  473. bodyGyro.D = 100
  474. bodyGyro.MaxTorque = Vector3.new(0,0,0)
  475. bodyGyro.P = 8000
  476. bodyPosition.Parent = char:WaitForChild("HumanoidRootPart")
  477. bodyGyro.Parent = char.HumanoidRootPart
  478. char:WaitForChild("Humanoid").Died:connect(function()
  479. currentTarget = nil
  480. if typeof(bodyPosition) == "Instance" and bodyPosition:IsA("BodyPosition") then
  481. bodyPosition.MaxForce = Vector3.new(0,0,0)
  482. end
  483. if typeof(bodyGyro) == "Instance" and bodyGyro:IsA("BodyGyro") then
  484. bodyGyro.MaxTorque = Vector3.new(0,0,0)
  485. end
  486. end)
  487. end
  488.  
  489. if localPlayer.Character ~= nil then
  490. setupCharacter(localPlayer.Character)
  491. end
  492.  
  493. localPlayer.CharacterAdded:connect(function(char)
  494. setupCharacter(char)
  495. end)
  496.  
  497. game:GetService("RunService").RenderStepped:connect(function()
  498. if currentTarget ~= nil and currentTarget:IsA("Player") and currentTarget.Character ~= nil then
  499. local behindPlayer = getCFrameBehindPlayer(currentTarget)
  500. if behindPlayer ~= nil and typeof(bodyPosition) == "Instance" and bodyPosition:IsA("BodyPosition") then
  501. bodyPosition.Position = behindPlayer.p
  502. bodyPosition.MaxForce = Vector3.new(5e9,5e9,5e9)
  503. end
  504. if typeof(bodyGyro) == "Instance" and bodyGyro:IsA("BodyGyro") then
  505. local targetTorso = currentTarget.Character:FindFirstChild("HumanoidRootPart")
  506. if targetTorso ~= nil then
  507. bodyGyro.CFrame = targetTorso.CFrame
  508. bodyGyro.MaxTorque = Vector3.new(5e9,5e9,5e9)
  509. end
  510. end
  511. else
  512. currentTarget = nil
  513. end
  514. end)
  515. end)
  516.  
  517. Bighead.MouseButton1Down:connect(function()
  518. local exist = game.Workspace:FindFirstChild("AimBot")
  519. if exist then
  520. game.Workspace.AimBot:Destroy()
  521. end
  522. local name = game.Players.LocalPlayer.Name
  523. local mouse = game.Players.LocalPlayer:GetMouse().Hit
  524. part = Instance.new("Part")
  525. part.Name = "AimBot"
  526. part.Parent = game.Workspace
  527. part.Anchored = true
  528. part.CFrame = CFrame.new(game.Players.LocalPlayer.Character["Left Leg"].Position)
  529. while wait() do
  530. local target = game.Players.LocalPlayer.PlayerGui.ScreenGui.UI.Target.Img.PlayerText.Text
  531. pcall(function()game.Players[target].Character.Head.CFrame = CFrame.new(game.Workspace.AimBot.Position) end)
  532. pcall(function()game.Players[target].Character.Head.Size = Vector3.new(10, 10, 10) end)
  533. pcall(function()game.Players[target].Character.Head.Mesh:Destroy() end)
  534. end
  535. end)
  536.  
  537. Aimbot.MouseButton1Down:connect(function()
  538. wait()
  539. local Player = game:GetService("Players").LocalPlayer
  540. local Mouse = Player:GetMouse()
  541. local findNearestTorso = function(pos)
  542. local list = workspace:GetChildren()
  543. local torso = nil
  544. local dist = 999
  545. local temp = nil
  546. local human = nil
  547. local temp2 = nil
  548. for x = 1, #list do
  549. temp2 = list[x]
  550. if (temp2.className == "Model") and (temp2 ~= Player.Character) then
  551. temp = temp2:findFirstChild("HumanoidRootPart")
  552. human = temp2:findFirstChild("Humanoid")
  553. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  554. if (temp.Position - pos).magnitude < dist then
  555. torso = temp
  556. dist = (temp.Position - pos).magnitude
  557. end
  558. end
  559. end
  560. end
  561. return torso
  562. end
  563.  
  564. local Start = function()
  565. if workspace:findFirstChild("KnifeHost") then
  566. Connection = workspace.KnifeHost.ChildAdded:connect(function(Knife)
  567. Connection:disconnect()
  568. if Knife then
  569. if Player and Player.Character and Player.Character:findFirstChild("Head") then
  570. if findNearestTorso(Player.Character.Head.Position) then
  571. local Torso = findNearestTorso(Player.Character.Head.Position)
  572. Knife.CFrame = Torso.CFrame
  573. for i=1, 3 do
  574. wait()
  575. if Knife and Torso then
  576. Knife.CFrame = Torso.CFrame
  577. end
  578. end
  579. end
  580. end
  581. end
  582. end)
  583. else
  584. print("No host")
  585. end
  586. end
  587. Mouse.Button1Up:connect(Start)
  588. end)
  589.  
  590.  
  591.  
  592. Other.MouseButton1Down:connect(function()
  593. Frame.Visible = false
  594. Frame2.Visible = true
  595. end)
  596.  
  597. Main.MouseButton1Down:connect(function()
  598. Frame.Visible = true
  599. Frame2.Visible = false
  600. end)
  601.  
  602. Change.MouseButton1Down:connect(function()
  603. Frame.Visible = false
  604. Frame3.Visible = true
  605. end)
  606.  
  607. Close.MouseButton1Down:connect(function()
  608. Frame.Visible = true
  609. Frame3.Visible = false
  610. end)
  611.  
  612. Exit.MouseButton1Down:connect(function()
  613. Frame.Visible = false
  614. end)
  615.  
  616.  
  617. TextButton.MouseButton1Down:connect(function()
  618. Frame.Visible = true
  619. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement