View difference between Paste ID: 2UKMCJaw and PxatsDKe
SHOW: | | - or go back to the newest paste.
1
--HOW TO SAVE PEPE GUI ON VOIDACITY SCRIPT BUILDER
2
--step 1 : say createhttp/pepegui/http://pastebin.com/raw/PxatsDKe
3
--step 2 : say save/pepegui
4
--!FOR RUN PEPE GUI SAY rl/pepegui
5
sc = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui) --:D its WORKS!
6
q = Instance.new("Frame", game.Players.LocalPlayer.PlayerGui.ScreenGui)
7
q.Name = "qe"
8
q.Position = UDim2.new(0, -10, 0, 0)
9
q.Size = UDim2.new(0, 260, 0, 90)
10
q.BackgroundColor3 = Color3.new(0,255,0)
11
q.Active = true
12
n = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.qe)
13
n.Position = UDim2.new(0, 0, 0, 0)
14
n.Size = UDim2.new(0, 260, 0, 30)
15
n.Style = "RobloxRoundDefaultButton"
16
n.Text = "Pepe Path"
17
n.Active = true
18
a = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.qe)
19
a.Name = "eq"
20
a.Position = UDim2.new(0, 0, 0, 30)
21
a.Size = UDim2.new(0, 260, 0, 30)
22
a.Style = "RobloxRoundDefaultButton"
23
a.Text = "Pepe Decal SPAM"
24
a.Active = true
25
no = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.qe)
26
no.Name = "nope"
27
no.Position = UDim2.new(0, 0, 0, 60)
28
no.Size = UDim2.new(0, 260, 0, 30)
29
no.Style = "RobloxRoundDefaultButton"
30
no.Text = "Pepe Music"
31
no.Active = true
32
--table.getn
33
game.Players.LocalPlayer.PlayerGui.ScreenGui.qe.TextButton.MouseButton1Down:connect(function()
34
Player = game.Players.LocalPlayer
35
 
36
bin = Instance.new("HopperBin",Player.Backpack)
37
bin.Name = "Pepe Path"
38
 
39
function onKeyDown(Key)
40
    if Key:lower() == "r" then
41
        for _,v in pairs(game.Workspace:GetChildren()) do
42
            if v.Name == "NewPart" then
43
                if v:findFirstChild("creator") and v.creator.Value == game.Players.LocalPlayer then
44
                    v:Remove()
45
                end
46
            end
47
        end
48
    end
49
end
50
 
51
function press(mouse)
52
    if sel == true then
53
        local hit = mouse.Target
54
        local point = mouse.Hit.p
55
        local s = Instance.new("Part")
56
        s.CanCollide = true
57
        s.Size=Vector3.new(6,6,6)
58
        s.Anchored = true
59
        s.BrickColor = BrickColor.Green()
60
        s.Transparency = 0
61
        s.Velocity = mouse.Hit.lookVector * 100
62
        s.Name = "NewPart"
63
        s.Material = "Neon"
64
        s.TopSurface = "Smooth"
65
        s.BottomSurface = "Smooth"
66
        s.Parent = game.Workspace
67
        local t = Instance.new("SelectionBox",s)
68
        t.Adornee = s
69
        t.Color3 = s.BrickColor.Color
70
        for i=0, 5 do
71
            local D = Instance.new("Decal")
72
            D.Name = "PEPE"
73
            D.Face = i
74
            D.Parent = s
75-
            D.Texture = "http://www.roblox.com/asset/?id=244905904"
75+
            D.Texture = "http://www.roblox.com/asset/?id=686544830"
76
        end
77
        game:GetService("Debris"):AddItem(s,120)
78
        s.CFrame = CFrame.new(game.Players.LocalPlayer.Character.Head.Position)
79
        s.CFrame = CFrame.new(game.Players.LocalPlayer.Character.Torso.Position.x,game.Players.LocalPlayer.Character.Torso.Position.y-6,game.Players.LocalPlayer.Character.Torso.Position.z)
80
        s.CFrame = CFrame.new(s.Position,point)
81
        local r = Instance.new("ObjectValue")
82
        r.Value = game.Players.LocalPlayer
83
        r.Parent = s
84
        r.Name = "creator"
85
        wait()
86
        press(mouse)
87
    end
88
end
89
 
90
 
91
function onButton1Down(mouse)
92
    sel = true
93
    if sel == true then
94
        press(mouse)
95
    end
96
end
97
 
98
function onButton1Up(mouse)
99
    sel = false
100
end
101
 
102
function onEquippedLocal(mouse)
103
    if mouse == nil then
104
        print("Mouse not found")
105
        return
106
    end
107
    mouse.Icon = "rbxasset://textures\\GunCursor.png"
108
    mouse.Button1Down:connect(function()
109
        onButton1Down(mouse)
110
    end)
111
    mouse.Button1Up:connect(function()
112
        onButton1Up(mouse)
113
    end)
114
    mouse.KeyDown:connect(onKeyDown)
115
end
116
 
117
 
118
bin.Selected:connect(onEquippedLocal)
119
end)
120
--PEPE SPAM
121
game.Players.LocalPlayer.PlayerGui.ScreenGui.qe.nope.MouseButton1Down:connect(function()
122
	 local s = Instance.new("Sound")
123
s.Name = "Sound"
124
s.SoundId = "http://www.roblox.com/asset/?id=264246827"
125
s.Volume = 1
126
s.Looped = true
127
s.archivable = false
128
s.Parent = game.Workspace
129
s:play()
130
end)
131
--PEPE SUIT ME
132
wait(1)
133
game.Players.LocalPlayer.PlayerGui.ScreenGui.qe.eq.MouseButton1Down:connect(function()
134
	local ID =244905904
135
function spamDecal(v)
136
    if v:IsA("Part") then
137
        for i=0, 5 do
138
            D = Instance.new("Decal")
139
            D.Name = "pepedecalxd"
140
            D.Face = i
141
            D.Parent = v
142
            D.Texture = ("http://www.roblox.com/asset/?id="..Id)
143
        end
144
    else
145
        if v:IsA("Model") then
146
            for a,b in pairs(v:GetChildren()) do
147
                spamDecal(b)
148
            end
149
        end
150
    end
151
end
152
function decalspam(id)
153
    Id = id
154
    for i,v in pairs(game.Workspace:GetChildren()) do
155
        if v:IsA("Part") then
156
        for i=0, 5 do
157
            D = Instance.new("Decal")
158
            D.Name = "pepedecalxd"
159
            D.Face = i
160
            D.Parent = v
161
            D.Texture = ("http://www.roblox.com/asset/?id="..id)
162
        end
163
    else
164
        if v:IsA("Model") then
165
            for a,b in pairs(v:GetChildren()) do
166
                spamDecal(b)
167
            end
168
        end
169
    end
170
end
171
end
172
 
173
decalspam(ID)
174
end)