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