View difference between Paste ID: L2iNrUWm and ZyZN3cZ1
SHOW: | | - or go back to the newest paste.
1
--MADE BY OneLegend (NOT THE SCRIPT) LOCAL SCRIPT: Go to line 4 and 6 and put your name where it says "YOUR NAME HERE"
2
3
4-
name = "akung123"
4+
name = "naser2018"
5
6-
me = game.Players.akung123
6+
me = game.Players.naser2018
7
8
9
10
if script.Parent.className ~= "HopperBin" then
11
12
h = Instance.new("HopperBin")
13
14
h.Parent = me.Backpack
15
16
h.Name = "Draw"
17
18
script.Parent = h
19
20
end
21
22
23
24
sp = script.Parent
25
26
27
28
size = 10
29
30
color = "Really black"
31
32
hold = false
33
34
35
36
colors = {}
37
38
39
40
for i = 1, 1032 do 
41
42
if BrickColor.new(i) ~= BrickColor.new("Medium stone grey") then 
43
44
table.insert(colors, tostring(BrickColor.new(i))) 
45
46
end 
47
48
end
49
50
51
52
drawings = {}
53
54
55
56
function sel(mouse)
57
58
	mouse.Icon = " "
59
60
	gu = Instance.new("ScreenGui")
61
62
	gu.Parent = me.PlayerGui
63
64
	gu.Name = "clicklol"
65
66
	fra = Instance.new("Frame")
67
68
	fra.Parent = gu
69
70
	fra.Size = UDim2.new(0,200,0,600)
71
72
	fra.Position = UDim2.new(0,0,0,-20)
73
74
	fra.BackgroundColor3 = Color3.new(0.2,0.2,0.3)
75
76
	local pos = 200
77
78
	local pos2 = 10
79
80
	for i=1, #colors do
81
82
		ki = Instance.new("TextButton")
83
84
		ki.Parent = gu
85
86
		ki.Size = UDim2.new(0,17,0,17)
87
88
		ki.Position = UDim2.new(0,pos,0,pos2)
89
90
		ki.BackgroundColor = BrickColor.new(colors[i])
91
92
		ki.Text = ""
93
94
		ki.MouseButton1Click:connect(function()
95
96
			color = colors[i]
97
98
		end)
99
100
		pos = pos + 20
101
102
		if pos >= 180 then
103
104
			pos = 10
105
106
			pos2 = pos2 + 20
107
108
		end
109
110
	end
111
112
	clear = Instance.new("TextButton")
113
114
	clear.Parent = gu
115
116
	clear.Size = UDim2.new(0,120,0,50)
117
118
	clear.Position = UDim2.new(0,40,0,400)
119
120
	clear.BackgroundColor3 = Color3.new(0.1,0.1,0.5)
121
122
	clear.Text = "Clear"
123
124
	clear.FontSize = "Size12"
125
126
	clear.MouseButton1Click:connect(function()
127
128
		for i=1, #drawings do
129
130
			drawings[i]:remove()
131
132
		end
133
134
	end)
135
136
	mouse.Button1Down:connect(function()
137
138
		hold = true
139
140
		mouse.Move:connect(function()
141
142
			if hold == true then
143
144
				local k = Instance.new("Frame")
145
146
				k.Parent = gu
147
148
				k.Size = UDim2.new(0,size,0,size)
149
150
				k.BackgroundColor = BrickColor.new(color)
151
152
				k.BorderColor = k.BackgroundColor
153
154
				k.Position = UDim2.new(0,mouse.X - 2,0,mouse.Y - 22)
155
156
				table.insert(drawings,k)
157
158
			end
159
160
		end)
161
162
	end)
163
164
	mouse.Button1Up:connect(function()
165
166
		hold = false
167
168
		fra:remove()
169
170
	end)
171
172
end
173
174
175
176
sp.Selected:connect(sel)
177
178
179
180
181
182
--lego