View difference between Paste ID: uxRu2StM and BcLMWY4a
SHOW: | | - or go back to the newest paste.
1
print("By Pischokiller")
2
warn("I do not own the fly script it is by S U C C")
3
game.Lighting.FogEnd = 1200000
4
game.Lighting.Brightness = 3
5
game.Lighting.GlobalShadows = false
6
game.Players.LocalPlayer.PlayerGui.MainGui.LeftPanel.Craft.Style = 5
7
game.Players.LocalPlayer.PlayerGui.MainGui.LeftPanel.Craft.Active = true
8
game.Players.LocalPlayer.PlayerGui.MainGui.LeftPanel.Craft.Draggable = true
9
game.Players.LocalPlayer.PlayerGui.MainGui.RightPanel.Inventory.Style = 5
10
game.Players.LocalPlayer.PlayerGui.MainGui.RightPanel.Inventory.Active = true
11
game.Players.LocalPlayer.PlayerGui.MainGui.RightPanel.Inventory.Draggable = true
12
13
local t=tick()
14
15
getrenv().tick=function()t=t+100 return t end
16
17
if not game.Players.LocalPlayer.Character:FindFirstChild("BodyPosition") then
18
flymode = true
19
game.Players.LocalPlayer.PlayerScripts.LocalHandler.Disabled = true
20
21
22
mouse = game.Players.LocalPlayer:GetMouse()
23
24
bp = Instance.new("BodyPosition")
25
bp.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
26
bp.Position = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
27
bp.MaxForce = Vector3.new(10^4,10^4,10^4)
28
29
game.Players.LocalPlayer.PlayerScripts.LocalHandler.Disabled = false
30
31
32
mouse.KeyDown:connect(function(key)
33
if key == "r" then
34
print"OK"
35
bp.Position = mouse.hit.p + Vector3.new(0,5,0)
36
elseif key == "y" then
37
if flymode == true then
38
flymode = false
39
bp.MaxForce = Vector3.new(0,0,0)
40
else
41
flymode = true
42
bp.MaxForce = Vector3.new(10^4,10^4,10^4)
43
end
44
end
45
end)
46
end
47
48
crashy = false -- CHANGE THIS TO TRUE IF IT CRASHES THIS GAME
49
on = false
50
if game.CoreGui:FindFirstChild('ESP') then
51
	game.CoreGui.ESP:Destroy()
52
elseif game.Players.LocalPlayer.PlayerGui:FindFirstChild('ESP') then
53
	game.Players.LocalPlayer.PlayerGui.ESP:Destroy()
54
end
55
56
function doit(hey)
57
	local t1 = Instance.new('SurfaceGui',hey)
58
	t1.AlwaysOnTop = true
59
	local t1g = Instance.new('Frame',t1)
60
	t1g.Size = UDim2.new(1,0,1,0)
61
	t1g.BackgroundColor3 = t1.Parent.BrickColor.Color
62
	local t2 = Instance.new('SurfaceGui',hey)		
63
	t2.AlwaysOnTop = true
64
	t2.Face = Enum.NormalId.Right
65
	local t2g = Instance.new('Frame',t2)
66
	t2g.Size = UDim2.new(1,0,1,0)
67
	t2g.BackgroundColor3 = t2.Parent.BrickColor.Color
68
	local t3 = Instance.new('SurfaceGui',hey)
69
	t3.AlwaysOnTop = true
70
	t3.Face = Enum.NormalId.Left
71
	local t3g = Instance.new('Frame',t3)
72
	t3g.Size = UDim2.new(1,0,1,0)
73
	t3g.BackgroundColor3 = t3.Parent.BrickColor.Color
74
	local t4 = Instance.new('SurfaceGui',hey)
75
	t4.AlwaysOnTop = true
76
	t4.Face = Enum.NormalId.Back
77
	local t4g = Instance.new('Frame',t4)
78
	t4g.Size = UDim2.new(1,0,1,0)
79
	t4g.BackgroundColor3 = t4.Parent.BrickColor.Color
80
	local t5 = Instance.new('SurfaceGui',hey)
81
	t5.AlwaysOnTop = true
82
	t5.Face = Enum.NormalId.Top
83
	local t5g = Instance.new('Frame',t5)
84
	t5g.Size = UDim2.new(1,0,1,0)
85
	t5g.BackgroundColor3 = t5.Parent.BrickColor.Color
86
	local t6 = Instance.new('SurfaceGui',hey)
87
	t6.AlwaysOnTop = true
88
	t6.Face = Enum.NormalId.Bottom
89
	local t6g = Instance.new('Frame',t6)
90
	t6g.Size = UDim2.new(1,0,1,0)
91
	t6g.BackgroundColor3 = t6.Parent.BrickColor.Color
92
end
93
function undo(chr)
94
	for i,v in pairs(chr:GetChildren()) do
95
		if v.ClassName == "Part" or v.ClassName == "MeshPart" then
96
			for a,c in pairs(v:GetChildren()) do
97
				if c.ClassName == "SurfaceGui" then
98
					c:Destroy()
99
				end
100
				if c.ClassName == "BillboardGui" and c.Name == "thingyye" then
101
					c:Destroy()
102
				end
103
			end
104
		end
105
	end
106
end
107
108
local gui = Instance.new('ScreenGui')
109
if crashy == false then
110
	gui.Parent = game.CoreGui
111
else
112
	gui.Parent = game.Players.LocalPlayer.PlayerGui
113
end
114
gui.Name = "ESP"
115
gui.ResetOnSpawn = false
116
local frame = Instance.new('Frame',gui)
117
frame.Size = UDim2.new(0.2,0,0.3,0)
118
frame.Position = UDim2.new(0.384, 0,0.458, 0)
119
frame.BackgroundTransparency = 0.7
120
frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
121
frame.BorderSizePixel = 0
122
frame.BorderColor3 = Color3.fromRGB(66,134,244)
123
frame.Active = true
124
frame.Draggable = true 
125
local txt = Instance.new('TextLabel',frame)
126
txt.Text = "esp"
127
txt.TextColor3 = Color3.fromRGB(255,255,255)
128
txt.Size = UDim2.new(1,0,0.3,0)
129
txt.TextScaled = true
130
txt.BackgroundTransparency = 1
131
local but = Instance.new('TextButton',frame)
132
but.Text = "ESP On"
133
but.TextColor3 = Color3.fromRGB(255,255,255)
134
but.Size = UDim2.new(0.7,0,0.3,0)
135
but.Position = UDim2.new(0.15,0,0.5,0)
136
but.BorderSizePixel = 0
137
but.TextScaled = true
138
but.BackgroundColor3 = Color3.fromRGB(66,134,244)
139
but.BackgroundTransparency = 0.4
140
for i,v in pairs(game.Players:GetChildren()) do
141
	if v.Character ~= nil then
142
		undo(v.Character)
143
	end
144
end
145
146
but.MouseButton1Down:connect(function()
147
if but.Text == "ESP On" then
148
but.Text = "ESP Off"
149
on = true
150
for i,v in pairs(game.Players:GetChildren()) do
151
	if v.Character ~= game.Players.LocalPlayer.Character and v.Character.Head:FindFirstChild('ScreenGui') == nil then
152
		if v.Character:FindFirstChild('Head') then
153
			local bill = Instance.new('BillboardGui',v.Character.Head)
154
			bill.Name = "thingyye"
155
			bill.AlwaysOnTop = true
156
			bill.Size = UDim2.new(2,1,2)
157
			bill.Adornee = v.Character.Head 
158
			local txt = Instance.new('TextLabel',bill)
159
			txt.Text = v.Name
160
			txt.BackgroundTransparency = 1
161
			txt.Size = UDim2.new(1,0,1,0)
162
			txt.TextColor3 = v.TeamColor.Color
163
		end
164
		for a,c in pairs(v.Character:GetChildren()) do
165
			if c.ClassName == "MeshPart" and c.Transparency ~= 1 then
166
				doit(c)
167
			elseif c.ClassName == "Part" and c.Transparency ~= 1 then
168
			doit(c)
169
			end
170
		end
171
	end 
172
end 
173
else
174
	but.Text = "ESP On"
175
	on = false
176
	for i,v in pairs(game.Players:GetChildren()) do
177
		undo(v.Character)
178
	end
179
end
180
end)
181
182
for i,v in pairs(game.Players:GetChildren()) do
183
	v.CharacterAdded:connect(function()
184
	v.Character:WaitForChild('Head')
185
	wait(1)
186
	if on == true then
187
	if v.Character ~= game.Players.LocalPlayer.Character and v.Character.Head:FindFirstChild('ScreenGui') == nil then
188
		if v.Character:FindFirstChild('Head') then
189
			local bill = Instance.new('BillboardGui',v.Character.Head)
190
			bill.Name = "thingyye"
191
			bill.AlwaysOnTop = true
192
			bill.Size = UDim2.new(2,1,2)
193
			bill.Adornee = v.Character.Head 
194
			local txt = Instance.new('TextLabel',bill)
195
			txt.Text = v.Name
196
			txt.BackgroundTransparency = 1
197
			txt.Size = UDim2.new(1,0,1,0)
198
			txt.TextColor3 = v.TeamColor.Color
199
		end
200
		for a,c in pairs(v.Character:GetChildren()) do
201
			if c.ClassName == "MeshPart" and c.Transparency ~= 1 then
202
				doit(c)
203
			elseif c.ClassName == "Part" and c.Transparency ~= 1 then
204
			doit(c)
205
			end
206
		end
207
	end 
208
	end
209
	end)
210
end  
211
212
game.Players.PlayerAdded:connect(function(v)
213
v.CharacterAdded:connect(function()
214
	v.Character:WaitForChild('Head')
215
	wait(1)
216
	if on == true then
217
	if v.Character ~= game.Players.LocalPlayer.Character and v.Character.Head:FindFirstChild('ScreenGui') == nil then
218
		if v.Character:FindFirstChild('Head') then
219
			local bill = Instance.new('BillboardGui',v.Character.Head)
220
			bill.Name = "thingyye"
221
			bill.AlwaysOnTop = true
222
			bill.Size = UDim2.new(2,1,2)
223
			bill.Adornee = v.Character.Head 
224
			local txt = Instance.new('TextLabel',bill)
225
			txt.Text = v.Name
226
			txt.BackgroundTransparency = 1
227
			txt.Size = UDim2.new(1,0,1,0)
228
			txt.TextColor3 = v.TeamColor.Color
229
		end
230
		for a,c in pairs(v.Character:GetChildren()) do
231
			if c.ClassName == "MeshPart" and c.Transparency ~= 1 then
232
				doit(c)
233
			elseif c.ClassName == "Part" and c.Transparency ~= 1 then
234
			doit(c)
235
			end
236
		end
237
	end 
238
	end
239
	end)
240
end)