Advertisement
StenHisDirt

StealCords

Jul 13th, 2019
11,029
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.96 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local Testing = Instance.new("ScreenGui")
  5. local Move = Instance.new("TextButton")
  6. local Nothing = Instance.new("Frame")
  7. local Player6 = Instance.new("TextButton")
  8. local Player5 = Instance.new("TextButton")
  9. local Player4 = Instance.new("TextButton")
  10. local Nothing_2 = Instance.new("Frame")
  11. local PlayerName = Instance.new("TextBox")
  12. local Player3 = Instance.new("TextButton")
  13. local Player2 = Instance.new("TextButton")
  14. local Player1 = Instance.new("TextButton")
  15. local Exit = Instance.new("TextButton")
  16. local Nothing_3 = Instance.new("Frame")
  17. local SAxe = Instance.new("TextButton")
  18. local SGifts = Instance.new("TextButton")
  19. local SItems = Instance.new("TextButton")
  20. local SWood = Instance.new("TextButton")
  21. local Nothing_4 = Instance.new("Frame")
  22. local Cords = Instance.new("TextButton")
  23. local Nothing_5 = Instance.new("Frame")
  24. local CordText = Instance.new("TextLabel")
  25. --Properties:
  26. Testing.Name = "Testing"
  27. Testing.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  28. Testing.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  29.  
  30. Move.Name = "Move"
  31. Move.Parent = Testing
  32. Move.BackgroundColor3 = Color3.new(0.356863, 0.356863, 0.356863)
  33. Move.BorderColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  34. Move.Position = UDim2.new(0.650996625, 0, 0.456037968, 0)
  35. Move.Size = UDim2.new(0, 96, 0, 22)
  36. Move.Font = Enum.Font.SciFi
  37. Move.Text = "Mabe By Sten"
  38. Move.TextColor3 = Color3.new(0, 0, 0)
  39. Move.TextSize = 13
  40. Move.Draggable = true
  41.  
  42. Nothing.Name = "Nothing"
  43. Nothing.Parent = Move
  44. Nothing.BackgroundColor3 = Color3.new(1, 1, 1)
  45. Nothing.Position = UDim2.new(0, 0, 1, 0)
  46. Nothing.Size = UDim2.new(0, 117, 0, 191)
  47. Nothing.Style = Enum.FrameStyle.RobloxRound
  48.  
  49. Player6.Name = "Player6"
  50. Player6.Parent = Nothing
  51. Player6.BackgroundColor3 = Color3.new(1, 1, 1)
  52. Player6.Position = UDim2.new(0.0371949263, 0, 0.183246076, 0)
  53. Player6.Size = UDim2.new(0, 94, 0, 24)
  54. Player6.Style = Enum.ButtonStyle.RobloxRoundButton
  55. Player6.Font = Enum.Font.SourceSans
  56. Player6.Text = ""
  57. Player6.TextColor3 = Color3.new(0, 0, 0)
  58. Player6.TextSize = 14
  59.  
  60. Player5.Name = "Player5"
  61. Player5.Parent = Nothing
  62. Player5.BackgroundColor3 = Color3.new(1, 1, 1)
  63. Player5.Position = UDim2.new(0.0402445979, 0, 0.325027049, 0)
  64. Player5.Size = UDim2.new(0, 94, 0, 24)
  65. Player5.Style = Enum.ButtonStyle.RobloxRoundButton
  66. Player5.Font = Enum.Font.SourceSans
  67. Player5.Text = ""
  68. Player5.TextColor3 = Color3.new(0, 0, 0)
  69. Player5.TextSize = 14
  70.  
  71. Player4.Name = "Player4"
  72. Player4.Parent = Nothing
  73. Player4.BackgroundColor3 = Color3.new(1, 1, 1)
  74. Player4.Position = UDim2.new(0.0402445979, 0, 0.460459799, 0)
  75. Player4.Size = UDim2.new(0, 94, 0, 24)
  76. Player4.Style = Enum.ButtonStyle.RobloxRoundButton
  77. Player4.Font = Enum.Font.SourceSans
  78. Player4.Text = ""
  79. Player4.TextColor3 = Color3.new(0, 0, 0)
  80. Player4.TextSize = 14
  81.  
  82. Nothing_2.Name = "Nothing"
  83. Nothing_2.Parent = Nothing
  84. Nothing_2.BackgroundColor3 = Color3.new(1, 1, 1)
  85. Nothing_2.Position = UDim2.new(-0.0769230798, 0, 0.0108696893, 0)
  86. Nothing_2.Size = UDim2.new(0, 118, 0, 25)
  87. Nothing_2.Style = Enum.FrameStyle.RobloxRound
  88.  
  89. PlayerName.Name = "PlayerName"
  90. PlayerName.Parent = Nothing_2
  91. PlayerName.BackgroundColor3 = Color3.new(1, 1, 1)
  92. PlayerName.BackgroundTransparency = 1
  93. PlayerName.Position = UDim2.new(-0.0348250717, 0, -1.08173847, 0)
  94. PlayerName.Size = UDim2.new(0, 107, 0, 28)
  95. PlayerName.Font = Enum.Font.SourceSans
  96. PlayerName.Text = ""
  97. PlayerName.TextColor3 = Color3.new(1, 1, 1)
  98. PlayerName.TextSize = 14
  99.  
  100. Player3.Name = "Player3"
  101. Player3.Parent = Nothing
  102. Player3.BackgroundColor3 = Color3.new(1, 1, 1)
  103. Player3.Position = UDim2.new(0.0432942696, 0, 0.597005248, 0)
  104. Player3.Size = UDim2.new(0, 94, 0, 24)
  105. Player3.Style = Enum.ButtonStyle.RobloxRoundButton
  106. Player3.Font = Enum.Font.SourceSans
  107. Player3.Text = ""
  108. Player3.TextColor3 = Color3.new(0, 0, 0)
  109. Player3.TextSize = 14
  110.  
  111. Player2.Name = "Player2"
  112. Player2.Parent = Nothing
  113. Player2.BackgroundColor3 = Color3.new(1, 1, 1)
  114. Player2.Position = UDim2.new(0.0402445979, 0, 0.73840338, 0)
  115. Player2.Size = UDim2.new(0, 94, 0, 24)
  116. Player2.Style = Enum.ButtonStyle.RobloxRoundButton
  117. Player2.Font = Enum.Font.SourceSans
  118. Player2.Text = ""
  119. Player2.TextColor3 = Color3.new(0, 0, 0)
  120. Player2.TextSize = 14
  121.  
  122. Player1.Name = "Player1"
  123. Player1.Parent = Nothing
  124. Player1.BackgroundColor3 = Color3.new(1, 1, 1)
  125. Player1.Position = UDim2.new(0.0432942696, 0, 0.880183876, 0)
  126. Player1.Size = UDim2.new(0, 94, 0, 24)
  127. Player1.Style = Enum.ButtonStyle.RobloxRoundButton
  128. Player1.Font = Enum.Font.SourceSans
  129. Player1.Text = ""
  130. Player1.TextColor3 = Color3.new(0, 0, 0)
  131. Player1.TextSize = 14
  132.  
  133. Exit.Name = "Exit"
  134. Exit.Parent = Move
  135. Exit.BackgroundColor3 = Color3.new(0.356863, 0.356863, 0.356863)
  136. Exit.BorderColor3 = Color3.new(0.207843, 0.207843, 0.207843)
  137. Exit.Position = UDim2.new(0, 95, 0, 0)
  138. Exit.Size = UDim2.new(0, 22, 0, 22)
  139. Exit.Font = Enum.Font.SourceSans
  140. Exit.Text = "X"
  141. Exit.TextColor3 = Color3.new(0, 0, 0)
  142. Exit.TextSize = 14
  143.  
  144. Nothing_3.Name = "Nothing"
  145. Nothing_3.Parent = Move
  146. Nothing_3.BackgroundColor3 = Color3.new(1, 1, 1)
  147. Nothing_3.Position = UDim2.new(1.21875, 0, 3.77272725, 0)
  148. Nothing_3.Size = UDim2.new(0, 94, 0, 130)
  149. Nothing_3.Style = Enum.FrameStyle.RobloxRound
  150.  
  151. SAxe.Name = "SAxe"
  152. SAxe.Parent = Nothing_3
  153. SAxe.BackgroundColor3 = Color3.new(1, 1, 1)
  154. SAxe.Position = UDim2.new(0, -4, 0, 3)
  155. SAxe.Size = UDim2.new(0, 86, 0, 22)
  156. SAxe.Style = Enum.ButtonStyle.RobloxRoundButton
  157. SAxe.Font = Enum.Font.SourceSans
  158. SAxe.Text = "Steal Axe"
  159. SAxe.TextColor3 = Color3.new(0, 0, 0)
  160. SAxe.TextSize = 14
  161.  
  162. SGifts.Name = "SGifts"
  163. SGifts.Parent = Nothing_3
  164. SGifts.BackgroundColor3 = Color3.new(1, 1, 1)
  165. SGifts.Position = UDim2.new(0, -4, 0, 89)
  166. SGifts.Size = UDim2.new(0, 86, 0, 22)
  167. SGifts.Style = Enum.ButtonStyle.RobloxRoundButton
  168. SGifts.Font = Enum.Font.SourceSans
  169. SGifts.Text = "Steal Gifts"
  170. SGifts.TextColor3 = Color3.new(0, 0, 0)
  171. SGifts.TextSize = 14
  172.  
  173. SItems.Name = "SItems"
  174. SItems.Parent = Nothing_3
  175. SItems.BackgroundColor3 = Color3.new(1, 1, 1)
  176. SItems.Position = UDim2.new(0, -4, 0, 30)
  177. SItems.Size = UDim2.new(0, 86, 0, 22)
  178. SItems.Style = Enum.ButtonStyle.RobloxRoundButton
  179. SItems.Font = Enum.Font.SourceSans
  180. SItems.Text = "Loose Items"
  181. SItems.TextColor3 = Color3.new(0, 0, 0)
  182. SItems.TextSize = 14
  183.  
  184. SWood.Name = "SWood"
  185. SWood.Parent = Nothing_3
  186. SWood.BackgroundColor3 = Color3.new(1, 1, 1)
  187. SWood.Position = UDim2.new(0, -4, 0, 60)
  188. SWood.Size = UDim2.new(0, 86, 0, 22)
  189. SWood.Style = Enum.ButtonStyle.RobloxRoundButton
  190. SWood.Font = Enum.Font.SourceSans
  191. SWood.Text = "Steal Wood"
  192. SWood.TextColor3 = Color3.new(0, 0, 0)
  193. SWood.TextSize = 14
  194.  
  195. Nothing_4.Name = "Nothing"
  196. Nothing_4.Parent = Move
  197. Nothing_4.BackgroundColor3 = Color3.new(1, 1, 1)
  198. Nothing_4.Position = UDim2.new(1.21683657, 0, 1, 0)
  199. Nothing_4.Size = UDim2.new(0, 95, 0, 60)
  200. Nothing_4.Style = Enum.FrameStyle.RobloxRound
  201.  
  202. Cords.Name = "Cords"
  203. Cords.Parent = Nothing_4
  204. Cords.BackgroundColor3 = Color3.new(1, 1, 1)
  205. Cords.Position = UDim2.new(-0.0157650597, 0, 0.49777782, 0)
  206. Cords.Size = UDim2.new(0, 80, 0, 22)
  207. Cords.Style = Enum.ButtonStyle.RobloxRoundButton
  208. Cords.Font = Enum.Font.SourceSans
  209. Cords.Text = "Cords"
  210. Cords.TextColor3 = Color3.new(0, 0, 0)
  211. Cords.TextSize = 14
  212.  
  213. Nothing_5.Name = "Nothing"
  214. Nothing_5.Parent = Nothing_4
  215. Nothing_5.BackgroundColor3 = Color3.new(1, 1, 1)
  216. Nothing_5.Position = UDim2.new(0, -8, 0, -3)
  217. Nothing_5.Size = UDim2.new(0, 94, 0, 24)
  218. Nothing_5.Style = Enum.FrameStyle.RobloxRound
  219.  
  220. CordText.Name = "CordText"
  221. CordText.Parent = Nothing_5
  222. CordText.BackgroundColor3 = Color3.new(1, 1, 1)
  223. CordText.BackgroundTransparency = 1
  224. CordText.Position = UDim2.new(-0.0227160417, 0, -1.23696125, 0)
  225. CordText.Size = UDim2.new(0, 80, 0, 26)
  226. CordText.Font = Enum.Font.SourceSans
  227. CordText.Text = ""
  228. CordText.TextColor3 = Color3.new(1, 1, 1)
  229. CordText.TextSize = 14
  230.  
  231. Cords.MouseButton1Click:connect(function()
  232. function round(num, numDecimalPlaces)
  233. local mult = 10^(numDecimalPlaces or 0)
  234. return math.floor(num * mult + 0.5) / mult
  235. end
  236.  
  237. LocationX = round(game.Players.LocalPlayer.Character.HumanoidRootPart.Position.x, 1)
  238. LocationY = round(game.Players.LocalPlayer.Character.HumanoidRootPart.Position.y, 1)
  239. LocationZ = round(game.Players.LocalPlayer.Character.HumanoidRootPart.Position.z, 1)
  240. CordText.Text = ""..LocationX..", "..LocationY..", "..LocationZ
  241. end)
  242.  
  243. CustomLocationSet = false
  244.  
  245. CustomLocationSet = false
  246.  
  247.  
  248.  
  249. SAxe.MouseButton1Click:connect(function()
  250. local plr = PlayerName.Text
  251. local StealType = "Tool"
  252.  
  253. local Times = 0
  254. for i,v in pairs(game.Workspace.PlayerModels:GetChildren()) do
  255. if v:FindFirstChild("Owner") and tostring(v.Owner.Value) == plr then
  256. if StealType ~= "TreeClass" then
  257. if v:FindFirstChild("Type") and tostring(v.Type.Value) == StealType then
  258. if v.PrimaryPart then
  259. v.PrimaryPart.CFrame = CFrame.new(LocationX, LocationY, LocationZ)
  260. game.ReplicatedStorage.Interaction.ClientRequestOwnership:FireServer(v.PrimaryPart)
  261. v.PrimaryPart.CFrame = CFrame.new(LocationX, LocationY, LocationZ)
  262. game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v.PrimaryPart)
  263. v.PrimaryPart.CFrame = CFrame.new(LocationX, LocationY, LocationZ)
  264. Times = Times + 1
  265. if Times == 10 then
  266. Times = 0
  267. wait(0.1)
  268. end
  269. end
  270. end
  271. else
  272. if v:FindFirstChild("TreeClass") then
  273. if v.WoodSection then
  274. v.WoodSection.CFrame = CFrame.new(LocationX, LocationY, LocationZ)
  275. game.ReplicatedStorage.Interaction.ClientRequestOwnership:FireServer(v.WoodSection)
  276. v.WoodSection.CFrame = CFrame.new(LocationX, LocationY, LocationZ)
  277. game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v.WoodSection)
  278. v.WoodSection.CFrame = CFrame.new(LocationX, LocationY, LocationZ)
  279. Times = Times + 1
  280. if Times == 10 then
  281. Times = 0
  282. wait(0.1)
  283. end
  284. end
  285. end
  286. end
  287. end
  288. end
  289. end)
  290.  
  291. SItems.MouseButton1Click:connect(function()
  292. local plr = PlayerName.Text
  293. local StealType = "Loose Item"
  294.  
  295. local Times = 0
  296. for i,v in pairs(game.Workspace.PlayerModels:GetChildren()) do
  297. if v:FindFirstChild("Owner") and tostring(v.Owner.Value) == plr then
  298. if StealType ~= "TreeClass" then
  299. if v:FindFirstChild("Type") and tostring(v.Type.Value) == StealType then
  300. if v.PrimaryPart then
  301. v.PrimaryPart.CFrame = CFrame.new(LocationX, LocationY, LocationZ)
  302. game.ReplicatedStorage.Interaction.ClientRequestOwnership:FireServer(v.PrimaryPart)
  303. v.PrimaryPart.CFrame = CFrame.new(LocationX, LocationY, LocationZ)
  304. game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v.PrimaryPart)
  305. v.PrimaryPart.CFrame = CFrame.new(LocationX, LocationY, LocationZ)
  306. Times = Times + 1
  307. if Times == 10 then
  308. Times = 0
  309. wait(0.1)
  310. end
  311. end
  312. end
  313. else
  314. if v:FindFirstChild("TreeClass") then
  315. if v.WoodSection then
  316. v.WoodSection.CFrame = CFrame.new(LocationX, LocationY, LocationZ)
  317. game.ReplicatedStorage.Interaction.ClientRequestOwnership:FireServer(v.WoodSection)
  318. v.WoodSection.CFrame = CFrame.new(LocationX, LocationY, LocationZ)
  319. game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v.WoodSection)
  320. v.WoodSection.CFrame = CFrame.new(LocationX, LocationY, LocationZ)
  321. Times = Times + 1
  322. if Times == 10 then
  323. Times = 0
  324. wait(0.1)
  325. end
  326. end
  327. end
  328. end
  329. end
  330. end
  331. end)
  332.  
  333. SGifts.MouseButton1Click:connect(function()
  334. local plr = PlayerName.Text
  335. local StealType = "Gift"
  336.  
  337. local Times = 0
  338. for i,v in pairs(game.Workspace.PlayerModels:GetChildren()) do
  339. if v:FindFirstChild("Owner") and tostring(v.Owner.Value) == plr then
  340. if StealType ~= "TreeClass" then
  341. if v:FindFirstChild("Type") and tostring(v.Type.Value) == StealType then
  342. if v.PrimaryPart then
  343. v.PrimaryPart.CFrame = CFrame.new(LocationX, LocationY, LocationZ)
  344. game.ReplicatedStorage.Interaction.ClientRequestOwnership:FireServer(v.PrimaryPart)
  345. v.PrimaryPart.CFrame = CFrame.new(LocationX, LocationY, LocationZ)
  346. game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v.PrimaryPart)
  347. v.PrimaryPart.CFrame = CFrame.new(LocationX, LocationY, LocationZ)
  348. Times = Times + 1
  349. if Times == 10 then
  350. Times = 0
  351. wait(0.1)
  352. end
  353. end
  354. end
  355. else
  356. if v:FindFirstChild("TreeClass") then
  357. if v.WoodSection then
  358. v.WoodSection.CFrame = CFrame.new(LocationX, LocationY, LocationZ)
  359. game.ReplicatedStorage.Interaction.ClientRequestOwnership:FireServer(v.WoodSection)
  360. v.WoodSection.CFrame = CFrame.new(LocationX, LocationY, LocationZ)
  361. game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v.WoodSection)
  362. v.WoodSection.CFrame = CFrame.new(LocationX, LocationY, LocationZ)
  363. Times = Times + 1
  364. if Times == 10 then
  365. Times = 0
  366. wait(0.1)
  367. end
  368. end
  369. end
  370. end
  371. end
  372. end
  373. end)
  374.  
  375. SWood.MouseButton1Click:connect(function()
  376. local plr = PlayerName.Text
  377. local StealType = "TreeClass"
  378.  
  379. if CustomLocationSet == true then
  380. local Times = 0
  381. for i,v in pairs(game.Workspace.PlayerModels:GetChildren()) do
  382. if v:FindFirstChild("Owner") and tostring(v.Owner.Value) == plr then
  383. if StealType ~= "TreeClass" then
  384. if v:FindFirstChild("Type") and tostring(v.Type.Value) == StealType then
  385. if v.PrimaryPart then
  386. v.PrimaryPart.CFrame = CFrame.new(LocationX, LocationY, LocationZ)
  387. game.ReplicatedStorage.Interaction.ClientRequestOwnership:FireServer(v.PrimaryPart)
  388. v.PrimaryPart.CFrame = CFrame.new(LocationX, LocationY, LocationZ)
  389. game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v.PrimaryPart)
  390. v.PrimaryPart.CFrame = CFrame.new(LocationX, LocationY, LocationZ)
  391. Times = Times + 1
  392. if Times == 10 then
  393. Times = 0
  394. wait(0.1)
  395. end
  396. end
  397. end
  398. else
  399. if v:FindFirstChild("TreeClass") then
  400. if v.WoodSection then
  401. v.WoodSection.CFrame = CFrame.new(LocationX, LocationY, LocationZ)
  402. game.ReplicatedStorage.Interaction.ClientRequestOwnership:FireServer(v.WoodSection)
  403. v.WoodSection.CFrame = CFrame.new(LocationX, LocationY, LocationZ)
  404. game.ReplicatedStorage.Interaction.ClientIsDragging:FireServer(v.WoodSection)
  405. v.WoodSection.CFrame = CFrame.new(LocationX, LocationY, LocationZ)
  406. Times = Times + 1
  407. if Times == 10 then
  408. Times = 0
  409. wait(0.1)
  410. end
  411. end
  412. end
  413. end
  414. end
  415. end
  416. end
  417. end)
  418.  
  419. Exit.MouseButton1Click:connect(function()
  420. Move.Visible = false
  421. end)
  422.  
  423. local buttons = {
  424. Player1,
  425. Player2,
  426. Player3,
  427. Player4,
  428. Player5,
  429. Player6
  430. }
  431. spawn(function()
  432. while true do
  433. Player1.Text = ""
  434. Player2.Text = ""
  435. Player3.Text = ""
  436. Player4.Text = ""
  437. Player5.Text = ""
  438. Player6.Text = ""
  439. for i, v in pairs(game.Players:GetChildren()) do
  440. buttons[i].Text = v.Name
  441. buttons[i].Visible = true
  442. end
  443. wait(0.5)
  444. end
  445. end)
  446.  
  447. Player1.MouseButton1Down:connect(function()
  448. PlayerName.Text = Player1.Text
  449. end)
  450. Player2.MouseButton1Down:connect(function()
  451. PlayerName.Text = Player2.Text
  452. end)
  453. Player3.MouseButton1Down:connect(function()
  454. PlayerName.Text = Player3.Text
  455. end)
  456. Player4.MouseButton1Down:connect(function()
  457. PlayerName.Text = Player4.Text
  458. end)
  459. Player5.MouseButton1Down:connect(function()
  460. PlayerName.Text = Player5.Text
  461. end)
  462. Player6.MouseButton1Down:connect(function()
  463. PlayerName.Text = Player6.Text
  464. end)
  465.  
  466. if PlayerName.Text == "SELECT A PLAYER" then
  467. warn("No Player Selected")
  468. else
  469. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[PlayerName.Text].HumanoidRootPart.CFrame
  470. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement