Advertisement
Death_Glow

Cookies

Feb 11th, 2017
640
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.71 KB | None | 0 0
  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 = false
  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 = "Cookies 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 = "CookiesDecal"
  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 = "Milk and Cookies"
  31. no.Active = true
  32. --M = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui.ScreenGui.qe)
  33. --M.Name = "MM"
  34. --M.Position = UDim2.new(0, 0, 0, 90)
  35. ---M.Size = UDim2.new(0, 260, 0, 30)
  36. --M.Style = "RobloxRoundDefaultButton"
  37. --M.Text = "Cookie Sky"
  38. --M.Active = true
  39. --table.getn
  40. game.Players.LocalPlayer.PlayerGui.ScreenGui.qe.TextButton.MouseButton1Down:connect(function()
  41. Player = game.Players.LocalPlayer
  42.  
  43. bin = Instance.new("HopperBin",Player.Backpack)
  44. bin.Name = "Cookies Path"
  45.  
  46. function onKeyDown(Key)
  47. if Key:lower() == "r" then
  48. for _,v in pairs(game.Workspace:GetChildren()) do
  49. if v.Name == "NewPart" then
  50. if v:findFirstChild("creator") and v.creator.Value == game.Players.LocalPlayer then
  51. v:Remove()
  52. end
  53. end
  54. end
  55. end
  56. end
  57.  
  58. function press(mouse)
  59. if sel == true then
  60. local hit = mouse.Target
  61. local point = mouse.Hit.p
  62. local s = Instance.new("Part")
  63. s.CanCollide = true
  64. s.Size=Vector3.new(6,6,6)
  65. s.Anchored = true
  66. s.BrickColor = BrickColor.Green()
  67. s.Transparency = 1
  68. s.Velocity = mouse.Hit.lookVector * 100
  69. s.Name = "NewPart"
  70. s.Material = "Neon"
  71. s.TopSurface = "Smooth"
  72. s.BottomSurface = "Smooth"
  73. s.Parent = game.Workspace
  74. --local t = Instance.new("SelectionBox",s)
  75. --t.Adornee = s
  76. --t.Color3 = s.BrickColor.Color
  77. for i=0, 5 do
  78. local D = Instance.new("Decal")
  79. D.Name = "Cookie"
  80. D.Face = i
  81. D.Parent = s
  82. D.Texture = "http://www.roblox.com/asset/?id=188250835"
  83. end
  84. game:GetService("Debris"):AddItem(s,120)
  85. s.CFrame = CFrame.new(game.Players.LocalPlayer.Character.Head.Position)
  86. 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)
  87. s.CFrame = CFrame.new(s.Position,point)
  88. local r = Instance.new("ObjectValue")
  89. r.Value = game.Players.LocalPlayer
  90. r.Parent = s
  91. r.Name = "creator"
  92. wait()
  93. press(mouse)
  94. end
  95. end
  96.  
  97.  
  98. function onButton1Down(mouse)
  99. sel = true
  100. if sel == true then
  101. press(mouse)
  102. end
  103. end
  104.  
  105. function onButton1Up(mouse)
  106. sel = false
  107. end
  108.  
  109. function onEquippedLocal(mouse)
  110. if mouse == nil then
  111. print("Mouse not found")
  112. return
  113. end
  114. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  115. mouse.Button1Down:connect(function()
  116. onButton1Down(mouse)
  117. end)
  118. mouse.Button1Up:connect(function()
  119. onButton1Up(mouse)
  120. end)
  121. mouse.KeyDown:connect(onKeyDown)
  122. end
  123.  
  124.  
  125. bin.Selected:connect(onEquippedLocal)
  126. end)
  127. --PEPE SPAM
  128. game.Players.LocalPlayer.PlayerGui.ScreenGui.qe.nope.MouseButton1Down:connect(function()
  129. local s = Instance.new("Sound")
  130. s.Name = "Sound"
  131. s.SoundId = "http://www.roblox.com/asset/?id=397820440"
  132. s.Volume = 1
  133. s.Looped = true
  134. s.archivable = false
  135. s.Parent = game.Workspace
  136. s:play()
  137. end)
  138. --PEPE SUIT ME
  139. wait(1)
  140. game.Players.LocalPlayer.PlayerGui.ScreenGui.qe.eq.MouseButton1Down:connect(function()
  141. local ID =188250835
  142. function spamDecal(v)
  143. if v:IsA("Part") then
  144. for i=0, 5 do
  145. D = Instance.new("Decal")
  146. local texture = ("http://www.roblox.com/asset/?id="..ID)
  147. local sky = Instance.new("Sky")
  148.  
  149. sky.Parent = game.Lighting
  150.  
  151. sky.CelestialBodiesShown = false
  152. sky.SkyboxBk = texture
  153. sky.SkyboxDn = texture
  154. sky.SkyboxFt = texture
  155. sky.SkyboxLf = texture
  156. sky.SkyboxRt = texture
  157. sky.SkyboxUp = texture
  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. function decalspam(id)
  172. Id = id
  173. for i,v in pairs(game.Workspace:GetChildren()) do
  174. if v:IsA("Part") then
  175. for i=0, 5 do
  176. D = Instance.new("Decal")
  177. D.Name = "pepedecalxd"
  178. D.Face = i
  179. D.Parent = v
  180. D.Texture = ("http://www.roblox.com/asset/?id="..id)
  181. end
  182. else
  183. if v:IsA("Model") then
  184. for a,b in pairs(v:GetChildren()) do
  185. spamDecal(b)
  186. end
  187. end
  188. end
  189. end
  190. end
  191.  
  192. decalspam(ID)
  193. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement