View difference between Paste ID: 9xnCARyq and MTMYJA9k
SHOW: | | - or go back to the newest paste.
1
-- made by TheFlamingBlaster
2
print("Script stealer by TheFlamingBlaster successfully started up.")
3
print("December 30th, 2016.")
4
print("Click on a player to freeze them, hit c to run their currently running scripts under yourself.")
5
print("This only works with localscripts")
6
print("This won't allow you to get the code of the scripts.")
7
8
local plr = game.Players.LocalPlayer
9
function exe(cmd)
10
game:GetService'Players'.LocalPlayer.PlayerGui.SB_DataTransfer.SB_CommandRemote.Value = cmd
11
end
12
local mouse = plr:GetMouse()
13
local adornees
14
local destroyit = false
15
local lasttarget 
16
local currenttarget
17
local changed = {}
18
mouse.Button1Down:connect(function()
19
	if mouse.Target then
20
	if mouse.Target.Parent.ClassName == "Model" then
21
	currenttarget = mouse.Target.Parent
22
	lasttarget = mouse.Target.Parent
23
	adornees = Instance.new("Model",plr.Character)
24
	for i,v in pairs(mouse.Target.Parent:GetChildren()) do
25
		local s = Instance.new("SelectionBox",adornees)
26
		if v:IsA("Part") then
27
			if v.Name == "Torso" then
28
				local lasso = Instance.new("SelectionPartLasso",adornees)
29
				lasso.Humanoid = plr.Character.Humanoid
30
				lasso.Part = v
31
			end
32
			s.Adornee = v
33
			if v.Anchored == false then
34
				table.insert(changed,v)
35
				v.Anchored = true
36
			end
37
		end
38
		
39
	end
40-
	destroyit = true
40+
41
	end	
42
	end
43
end)
44
game:GetService('UserInputService').InputBegan:connect(function(input,processed)
45
	if mouse.Target and destroyit == true then
46
	if input.KeyCode == Enum.KeyCode.C then
47
		--currenttarget:Destroy()
48
		for i,v in pairs(currenttarget:GetChildren()) do
49
			if v:IsA("LocalScript") then
50
				local c = v
51
				c.Parent = plr.Character
52
				c.Name = "Stolen"
53
				exe('local a = '..v:GetFullName()..':Clone() a.Parent = getfenv().owner.Character print(a.Parent)')
54
				print(c.Parent)
55
			end
56
		end
57
		adornees:Destroy()
58
	end
59
	end
60
end)
61
mouse.Button1Up:connect(function()
62
	if destroyit == true then
63
	currenttarget = nil
64
	for i,v in pairs(changed) do
65
		v.Anchored = false
66
	end
67
	changed = {}
68
	adornees:Destroy()
69
	destroyit = false
70
	end
71
end)