Advertisement
Guest User

Snipe

a guest
Nov 17th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.80 KB | None | 0 0
  1. --Made by WALSIN3 go line 5 and put you name regular script
  2.  
  3. if script == nil then return end
  4.  
  5. Player = script:FindFirstChild("Player") ~= nil and script.Player.Value or game:GetService("Players"):FindFirstChild("darkeageninja")
  6. Name = "MLG sniper gang"
  7. MC = BrickColor.new("Black")
  8. DC = BrickColor.new("Black")
  9. GC = BrickColor.new("Brick yellow")
  10. BC = BrickColor.new("Dark stone grey")
  11. MR = 0
  12. GR = 0
  13. HP = true
  14. selected = false
  15. canDual = false
  16. dual = false
  17. Button1Down = false
  18. damage = 100000000000000000000000000000000000000000000
  19. canFire = true
  20. canFire2 = false
  21. readyTime = 1.8
  22. automatic = false
  23. burst = false
  24. burstCount = 0
  25. burstCountMax = 2
  26. canSilence = true
  27. silenced = false
  28. canZoom = true
  29. zoom = false
  30. switchToSingle = true
  31. switchToBurst = true
  32. switchToAutomatic = true
  33.  
  34. ammoGui = Instance.new("ScreenGui")
  35. ammoGui.Name = Name
  36. local frame = Instance.new("Frame")
  37. frame.Name = "Frame"
  38. frame.Size = UDim2.new(0, 165, 0, 60)
  39. frame.Position = UDim2.new(0, 0, 1, -400)
  40. frame.BackgroundColor3 = Color3.new(1, 1, 1)
  41. frame.BorderColor3 = Color3.new(0, 0, 0)
  42. frame.Parent = ammoGui
  43. local label = Instance.new("TextLabel")
  44. label.Name = "Weapon"
  45. label.Text = "Weapon: " ..Name
  46. label.Size = UDim2.new(1, 0, 0, 20)
  47. label.Position = UDim2.new(0, 0, 0, 0)
  48. label.BackgroundColor3 = Color3.new(1, 0, 0)
  49. label.BorderColor3 = Color3.new(0, 0, 0)
  50. label.Parent = frame
  51. local label = Instance.new("TextLabel")
  52. label.Name = "MagazinePrefix"
  53. label.Text = " Magazine:"
  54. label.TextXAlignment = "Left"
  55. label.Size = UDim2.new(1, 0, 0, 20)
  56. label.Position = UDim2.new(0, 0, 0, 20)
  57. label.BackgroundColor3 = Color3.new(1, 1, 1)
  58. label.BorderColor3 = Color3.new(0, 0, 0)
  59. label.Parent = frame
  60. local label = Instance.new("TextLabel")
  61. label.Name = "Magazine"
  62. label.Text = "0/0"
  63. label.TextXAlignment = "Right"
  64. label.Size = UDim2.new(1, 0, 0, 20)
  65. label.Position = UDim2.new(0, -10, 0, 20)
  66. label.BackgroundTransparency = 1
  67. label.BorderSizePixel = 0
  68. label.Parent = frame
  69. local label = Instance.new("TextLabel")
  70. label.Name = "AmmoPrefix"
  71. label.Text = " Ammunition:"
  72. label.TextXAlignment = "Left"
  73. label.Size = UDim2.new(1, 0, 0, 20)
  74. label.Position = UDim2.new(0, 0, 0, 40)
  75. label.BackgroundColor3 = Color3.new(1, 1, 1)
  76. label.BorderColor3 = Color3.new(0, 0, 0)
  77. label.Parent = frame
  78. local label = Instance.new("TextLabel")
  79. label.Name = "Ammo"
  80. label.Text = "0/0"
  81. label.TextXAlignment = "Right"
  82. label.Size = UDim2.new(1, 0, 0, 20)
  83. label.Position = UDim2.new(0, -10, 0, 40)
  84. label.BackgroundTransparency = 1
  85. label.BorderSizePixel = 0
  86. label.Parent = frame
  87.  
  88. function updateGui()
  89. if selected == false then return end
  90. if Player:FindFirstChild("PlayerGui") == nil then Instance.new("PlayerGui").Parent = Player end
  91. if Player.PlayerGui:FindFirstChild(Name) == nil then
  92. ammoGui:Clone().Parent = Player.PlayerGui
  93. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement