Advertisement
Im_not_a_robot

luger script yes

Sep 15th, 2019
5,754
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.62 KB | None | 0 0
  1. -- say sike right now
  2. -- Sikke 27/08/2019
  3.  
  4. local UserName  = game:GetService('Players').LocalPlayer.Name
  5. local Autoride = true
  6.  
  7. local Animations = {Shoot = 95383980, Reload = 95384819}
  8. local Ammo = 1000
  9. local Icon, Mesh, Texture = 95356596, 95356090, 95387789
  10. local Name, ToolTip = "Luger", "A Fucking gun"
  11.  
  12. -- Cloud Express
  13. -- [!]Do not edit below[!] --
  14. local CE = {}
  15. local Variables = {
  16.     workspace = game:GetService("Workspace"),
  17.     players = game:GetService("Players")
  18. }
  19.  
  20. local MainUserP, MainUserW = Variables.players.LocalPlayer, Variables.workspace:FindFirstChild(UserName)
  21.  
  22. function CE:FireEvent(ItemName, Object, Property, Value)
  23.     MainUserW:FindFirstChild(ItemName)["ServerControl"]:InvokeServer("SetProperty",{["Value"]=Value,["Property"]=Property,["Object"]=Object})
  24. end
  25.  
  26. Variables.workspace.Buy:FireServer(0, "PompousTheCloud")
  27. MainUserP["Backpack"]:WaitForChild("PompousTheCloud").Parent = MainUserW
  28.  
  29. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"TextureId","rbxassetid://"..Icon)
  30.  
  31. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"MeshId","rbxassetid://"..Mesh)
  32. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"TextureId","rbxassetid://"..Texture)
  33. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"Scale",Vector3.new(2,2,2))
  34. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"Orientation",Vector3.new(-0.23,12.94,1.05))
  35. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"Position",Vector3.new(-111.387,3.568,-35.084))
  36.  
  37. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripForward",Vector3.new(-0.545, -0.089, -0.834))
  38. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripPos",Vector3.new(0.094, -0.206, 0.56))
  39. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripRight",Vector3.new(1, -0.026, 0))
  40. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripUp",Vector3.new(-0.027, 0.996, -0.089))
  41.  
  42. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"ToolTip",ToolTip)
  43. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["LocalScript"],"Disabled",true)
  44. CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"Name",Name)
  45. wait()
  46.  
  47. local Luger = MainUserW["Luger"]
  48.  
  49. function ReloadLuger()
  50.     local Animation = Instance.new("Animation") -- RELOAD
  51.     Animation.AnimationId = "rbxassetid://95384819"
  52.     local AnimationLoader = MainUserP.Character.Humanoid:LoadAnimation(Animation)
  53.     AnimationLoader:Play()
  54.     AnimationLoader:AdjustSpeed(1)
  55.     Ammo = Ammo + 10
  56. end
  57.  
  58. MainUserP:GetMouse().Button1Down:Connect(function()
  59.     if MainUserW:FindFirstChild("Luger") then
  60.         if Ammo >= 0 then
  61.             if MainUserP:GetMouse().Target.Parent:FindFirstChild("HumanoidRootPart") or MainUserP:GetMouse().Target.Parent.Parent:FindFirstChild("HumanoidRootPart") then
  62.                 CE:FireEvent("Luger",Luger,"GripRight",Vector3.new(0.838, -0.026, -0.545))
  63.                 local Animation = Instance.new("Animation") -- SHOOT
  64.                 Animation.AnimationId = "rbxassetid://95383980"
  65.                 local AnimationLoader = MainUserP.Character.Humanoid:LoadAnimation(Animation)
  66.                 AnimationLoader:Play()
  67.                 AnimationLoader:AdjustSpeed(1)
  68.                 wait()
  69.                 Variables.workspace.GuiEvent:FireServer("Bullet")
  70.                 wait(0.5)
  71.                 CE:FireEvent("Luger",MainUserW["Bullet"]:WaitForChild("Head"),"Parent",MainUserP:GetMouse().Target.Parent)
  72.                 Ammo = Ammo - 1
  73.                 CE:FireEvent("Luger",Luger,"GripRight",Vector3.new(1, -0.026, 0))
  74.             end
  75.         elseif Ammo == 0 or Ammo <= 0 then
  76.             ReloadLuger()
  77.         end
  78.     end
  79. end)
  80. --[[
  81.     luger script
  82.     https://www.roblox.com/games/268066633/Boys-And-Girls-Hangout
  83. ]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement