GGametypePlayer

annoy 200++

Jan 8th, 2023 (edited)
364
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.36 KB | None | 0 0
  1. --LITTLE SKID
  2.  
  3. --[[
  4. Better than ever!
  5. Bad gun system.
  6.  
  7. ChangeLogs:
  8.  
  9. --x100
  10. Version 100:
  11. First version, can't do much.
  12. Version 100x:
  13. Now has a annoying sound that is unused and unequip sound as well the mesh being smaller
  14. Version 100x-:
  15. Annoying sound plays.
  16. --x200
  17. Version 200:
  18. Now shoots with bullets and is smaller
  19. Version 200+:
  20. Bullets follow the mouse
  21.  
  22. ]]
  23.  
  24. local Debris = game:GetService("Debris")
  25. local CanPlay = false --hahahahah, if you want cave to play then set this to true.
  26.  
  27. --credit
  28. local MSG = Instance.new("Message", workspace)
  29. MSG.Name = "Credits"
  30. MSG.Text = "The worst gun system, made by IAmBanFor.(annoy 200++)"
  31.  
  32. Debris:AddItem(MSG, 5)
  33.  
  34. --main
  35. local tool = Instance.new("Tool", game:GetService("Players").IAmBanFor.Backpack)
  36. local Part = Instance.new("Part", tool)
  37. local Mesh = Instance.new("SpecialMesh", Part)
  38. local attachpoint = Instance.new("Attachment", Part)
  39.  
  40. local equip = Instance.new("Sound", Part)
  41. local shot = Instance.new("Sound", Part)
  42. local unequip = Instance.new("Sound", Part)
  43. local cave = Instance.new("Sound", Part)
  44.  
  45. attachpoint.CFrame = CFrame.new(0, 0.5, 0.5)
  46.  
  47. tool.Name = "gun"
  48. Part.Name = "Handle"
  49. Part.Size = Vector3.new(1.203, 0.936, 0.265)
  50.  
  51. Mesh.MeshId = "rbxassetid://623102664"
  52. Mesh.TextureId = "rbxassetid://623102879"
  53. Mesh.Scale = Vector3.new(0.01, 0.01, 0.001)
  54.  
  55. equip.Volume = 10
  56. equip.SoundId = "rbxassetid://7405483764"
  57.  
  58. shot.Volume = 10
  59. shot.SoundId = "rbxassetid://2811598570"
  60.  
  61. unequip.Volume = 10
  62. unequip.SoundId = "http://www.roblox.com/asset/?id=169310310"
  63.  
  64.  
  65. cave.Volume = 10
  66. cave.SoundId = "rbxassetid://6806320369"
  67.  
  68. if CanPlay then
  69. cave:Play()
  70. end
  71.  
  72. local function _shoot()
  73. local coolBullet = Instance.new("Part", workspace)
  74. local spawnCF = Part.Attachment.CFrame.Position
  75. coolBullet.CFrame = CFrame.lookAt(spawnCF, game:GetService("Players").IAmBanFor.Character.Humanoid.TargetPoint)
  76. local bv = Instance.new("BodyVelocity", coolBullet)
  77. bv.Velocity = coolBullet.CFrame.LookVector * 20
  78.  
  79. coolBullet.Touched:Connect(function(hit)
  80. if hit.Parent:FindFirstChild("Humanoid") then
  81. hit.Parent:FindFirstChild("Humanoid").Health = 0
  82. end
  83. end)
  84. Debris:AddItem(coolBullet, 21)
  85. end
  86.  
  87. tool.Equipped:Connect(function() equip:Play() end)
  88. tool.Activated:Connect(function() shot:Play() _shoot() end)
  89. tool.Unequipped:Connect(function() unequip:Play() end)
Advertisement
Add Comment
Please, Sign In to add comment