Advertisement
Guest User

apocalypse rising jjsploit script

a guest
May 20th, 2018
13,990
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.08 KB | None | 0 0
  1. -- READ THIS
  2. -- L KEY TO SPAWN THING SYOU WANT
  3. -- K TO NOFOG
  4. -- 0 TO REMOVE GUI
  5.  
  6.  
  7.  
  8. function getitem(thing)
  9.     for _, v in pairs(game.Lighting.LootDrops:GetChildren()) do
  10.         if string.find(string.lower(v.Name),string.lower(thing)) then
  11.             return v
  12.         end
  13.     end
  14. end
  15. function spawnitem(plr, item, amount)
  16.     for i = 1, amount do
  17.         game.Workspace.Remote.PlaceMaterial:FireServer(item, (CFrame.new(plr.Character.HumanoidRootPart.Position-item.PrimaryPart.Position + Vector3.new(0,0,0))+CFrame.new()))
  18.     end
  19. end
  20.  
  21. local mouse = game.Players.LocalPlayer:GetMouse()
  22.  
  23.  
  24. local gui = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  25.  
  26. local text = Instance.new("TextBox", gui)
  27. text.Position = UDim2.new(0.88, 0, 0.7, 0)
  28. text.Size = UDim2.new(0, 150, 0, 60)
  29.  
  30.  
  31.  
  32. mouse.KeyDown:connect(function(a)
  33.     if a == "l" then
  34.         spawnitem(game.Players.LocalPlayer, getitem(text.Text), 1)
  35.     elseif a == "k" then
  36.         game.Lighting.FogEnd = 10000000
  37.     elseif a == "0" then
  38.         gui:remove()
  39.         script.Disabled = true
  40.         script:remove()
  41.     end
  42. end)
  43.  
  44.  
  45. script.Parent = gui
  46.  
  47. gui.ResetOnSpawn = false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement