Advertisement
Hmm465_Gaming

BEGONE THOT

Mar 14th, 2018
1,152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.84 KB | None | 0 0
  1. --Gun Model
  2. ee=Instance.new("Tool",game.Players.LocalPlayer.Backpack)
  3. ee.Name='Heavy Pistol'
  4. ee.RequiresHandle = true
  5. ee.TextureId = 'rbxassetid://381243171'
  6. ee.GripForward = Vector3.new(-0.013, -0.012, 1)
  7. ee.GripPos = Vector3.new(-0.198, 0.031, -0.808)
  8. ee.GripRight = Vector3.new(0.026, 1, 0.012)
  9. ee.GripUp = Vector3.new(1, -0.026, 0.013)
  10. rr=Instance.new("Part",ee)
  11. rr.Name='Handle'
  12. rr.Size = Vector3.new(0.9,0.9,2.1)
  13.     rr.BackSurface = 'Smooth'
  14.     rr.BottomSurface = 'Smooth'
  15.     rr.FrontSurface = 'Smooth'
  16.     rr.LeftSurface = 'Smooth'
  17.     rr.RightSurface = 'Smooth'
  18.     rr.TopSurface = 'Smooth'
  19.     rr.BrickColor = BrickColor.new('Black')
  20. zz=Instance.new("SpecialMesh",rr)
  21. zz.MeshId = 'rbxassetid://450219827'
  22. zz.TextureId = 'rbxassetid://450219831'
  23. zz.Scale = Vector3.new(0.7,0.7,0.7)
  24. --Gun Light
  25. ff=Instance.new("PointLight",rr)
  26. ff.Enabled = false
  27. ff.Brightness = 5
  28. ff.Range = 10
  29. --Gun Script
  30. local mouse = game.Players.LocalPlayer:GetMouse()
  31. local function lol()
  32.     mouse.Target:BreakJoints()
  33.     mouse.Target.Anchored = false
  34.     mouse.Target.Locked = false
  35. end
  36. local function sound()
  37.     local ze=Instance.new("Sound",rr)
  38.     ze.SoundId = 'rbxassetid://1095911222'
  39.     ze.Playing = true
  40.     wait(4)
  41.     ze:Destroy()
  42. end
  43. local function light()
  44.     ff.Enabled = true
  45.     wait(0.2)
  46.     ff.Enabled = false
  47. end
  48. local function grip()
  49.     ee.GripForward = Vector3.new(-0.249, -0.012, 0.968)
  50.     ee.GripPos = Vector3.new(-0.338, 0.031, -0.876)
  51.     ee.GripRight = Vector3.new(0.023, 1, 0.018)
  52.     ee.GripUp = Vector3.new(0.968, -0.026, 0.249)
  53.     wait(0.5)
  54.     ee.GripForward = Vector3.new(-0.013, -0.012, 1)
  55.     ee.GripPos = Vector3.new(-0.198, 0.031, -0.808)
  56.     ee.GripRight = Vector3.new(0.026, 1, 0.012)
  57.     ee.GripUp = Vector3.new(1, -0.026, 0.013)
  58. end
  59. ee.Activated:connect(grip)
  60. ee.Activated:connect(light)
  61. ee.Activated:connect(lol)
  62. ee.Activated:connect(sound)
  63.  
  64. --Made by 213455384113840128
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement