Advertisement
Plug_RBLX

gangstah script

Nov 9th, 2017
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.06 KB | None | 0 0
  1. local txtfag = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head)
  2. txtfag.Adornee = test
  3. txtfag.Name = "kys nigla"
  4. txtfag.Size = UDim2.new(2, 0, 1.2, 0)
  5. txtfag.StudsOffset = Vector3.new(-5, 3, 0)
  6. local textfag = Instance.new("TextLabel", txtfag)
  7. textfag.Size = UDim2.new(6, 0, 1, 0)
  8. textfag.FontSize = "Size8"
  9. textfag.TextScaled = true
  10. textfag.TextTransparency = 0
  11. textfag.BackgroundTransparency = 1
  12. textfag.TextTransparency = 0
  13. textfag.TextStrokeTransparency = 0
  14. textfag.Font = "Cartoon"
  15. textfag.TextStrokeColor3 = Color3.new(0, 1, 0)
  16. textfag.Text = game.Players.LocalPlayer.Character.Name.." the gangstah"
  17. v = Instance.new("Part")--By Rufus14
  18. mouse = game.Players.LocalPlayer:GetMouse()
  19. gun = Instance.new("Part", game.Players.LocalPlayer.Character)
  20. gun.Size = Vector3.new(0.5, 1, 2)
  21. gun.CanCollide = false
  22. gun:BreakJoints()
  23. weld = Instance.new("Weld", gun)
  24. weld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
  25. weld.Part1 = gun
  26. weld.C0 = weld.C0 * CFrame.new(-0.2,-1.7,-0.25) * CFrame.Angles(0,1.6,-1.53)
  27. mesh = Instance.new("SpecialMesh", gun)
  28. mesh.MeshId = "rbxassetid://623102664"
  29. mesh.TextureId = "rbxassetid://623102879"
  30. mesh.Scale = Vector3.new(0.01,0.01,0.01)
  31. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  32. rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  33. rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  34. rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  35. rhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  36. shooting = false
  37. for i = 1,2 do
  38. wait()
  39. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.03)
  40. end
  41. for i = 1,2 do
  42. wait()
  43. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.07)
  44. end
  45. for i = 1,7 do
  46. wait()
  47. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.17)
  48. end
  49. for i = 1,2 do
  50. wait()
  51. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.07)
  52. end
  53. for i = 1,2 do
  54. wait()
  55. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.03)
  56. end
  57. function shoot()
  58. if not shooting then
  59. shooting = true
  60. local shotsound = Instance.new("Sound", gun)
  61. shotsound.EmitterSize = 1
  62. shotsound.SoundId = "rbxassetid://139593133"
  63. shotsound.Volume = 3
  64. shotsound:Play()
  65. local missle = Instance.new("Part", workspace)
  66. missle.Size = Vector3.new(0.05,0.05,0.05)
  67. missle.BrickColor = BrickColor.new("New Yeller")
  68. missle:BreakJoints()
  69. missle.CFrame = gun.CFrame
  70. local velo = Instance.new("BodyVelocity", missle)
  71. velo.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  72. velo.Velocity = mouse.Hit.lookVector * 190
  73. for i = 1,2 do
  74. weld.C0 = weld.C0 * CFrame.Angles(0,0,0.14)
  75. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.14)
  76. end
  77. for i = 1,2 do
  78. wait()
  79. weld.C0 = weld.C0 * CFrame.Angles(0,0,-0.07)
  80. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,-0.07)
  81. end
  82. local function kill(part)
  83. local hum = part.Parent:findFirstChild("Humanoid")
  84. local torso = part.Parent:findFirstChild("Torso")
  85. local larm = part.Parent:findFirstChild("Left Arm")
  86. local rarm = part.Parent:findFirstChild("Right Arm")
  87. local lleg = part.Parent:findFirstChild("Left Leg")
  88. local rleg = part.Parent:findFirstChild("Right Leg")
  89. missle:destroy()
  90. if hum ~= nil then
  91. if torso then
  92. hum.Health = hum.Health - math.random(25,68)
  93. local shotsound1 = Instance.new("Sound", torso)
  94. shotsound1:Play()
  95. shotsound1.EmitterSize = 1
  96. shotsound1.SoundId = "rbxassetid://144884872"
  97. shotsound1.Volume = 2
  98. shotsound1:Play()
  99. local shotsound1 = Instance.new("Sound", torso)
  100. shotsound1:Play()
  101. shotsound1.EmitterSize = 1
  102. shotsound1.SoundId = "rbxassetid://175272131"
  103. shotsound1.Volume = 2
  104. shotsound1:Play()
  105. using = false
  106. hit = Instance.new("Sound", torso)
  107. hit.SoundId = "rbxassetid://260430060"
  108. hit.Volume = 5
  109. hit1 = Instance.new("Sound", torso)
  110. hit1.SoundId = "rbxassetid://138087186"
  111. hit1.Volume = 5
  112. hit2 = Instance.new("Sound", torso)
  113. hit2.SoundId = "rbxassetid://131237241"
  114. hit2.Volume = 5
  115. hit3 = Instance.new("Sound", torso)
  116. hit3.SoundId = "rbxassetid://278062209"
  117. hit3.Volume = 5
  118. hit3.TimePosition = 0.33
  119. print("You killed "..hum.Parent.Name)
  120. hum.PlatformStand = true
  121. ----------
  122. local lhip = torso:findFirstChild("Left Hip")
  123. if lhip then
  124. ---
  125. torso["Left Hip"]:destroy()
  126. local head = game.Players.LocalPlayer.Character.Head
  127. local glue = Instance.new("Glue", torso)
  128. glue.Part0 = torso
  129. glue.Part1 = torso.Parent["Left Leg"]
  130. glue.Name = "Left leg"
  131. local collider = Instance.new("Part", torso.Parent["Left Leg"])
  132. collider.Position = Vector3.new(0,999,0)
  133. collider.Size = Vector3.new(1.7, 1, 1)
  134. collider.Shape = "Cylinder"
  135. local weld = Instance.new("Weld", collider)
  136. weld.Part0 = torso.Parent["Left Leg"]
  137. weld.Part1 = collider
  138. weld.C0 = CFrame.Angles(0, 0, 80)
  139. collider.TopSurface = "Smooth"
  140. collider.BottomSurface = "Smooth"
  141. collider.formFactor = "Symmetric"
  142. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  143. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  144. collider.Transparency = 1
  145. end
  146. local rhip = torso:findFirstChild("Right Hip")
  147. if rhip then
  148. ------------
  149. torso["Right Hip"]:destroy()
  150. local glue1 = Instance.new("Glue", torso)
  151. glue1.Part0 = torso
  152. glue1.Part1 = torso.Parent["Right Leg"]
  153. glue1.Name = "Right leg"
  154. local collider1 = Instance.new("Part", torso.Parent["Right Leg"])
  155. collider1.Position = Vector3.new(0,9999,0)
  156. collider1.Size = Vector3.new(1.7, 1, 1)
  157. collider1.Shape = "Cylinder"
  158. local weld1 = Instance.new("Weld", collider1)
  159. weld1.Part0 = torso.Parent["Right Leg"]
  160. weld1.Part1 = collider1
  161. weld1.C0 = CFrame.Angles(0, 0, 80)
  162. collider1.TopSurface = "Smooth"
  163. collider1.BottomSurface = "Smooth"
  164. collider1.formFactor = "Symmetric"
  165. glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  166. glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  167. collider1.Transparency = 1
  168. end
  169. ------------
  170. local rshoulder = torso:findFirstChild("Right Shoulder")
  171. if rshoulder then
  172. torso["Right Shoulder"]:destroy()
  173. local glue11 = Instance.new("Glue", torso)
  174. glue11.Part0 = torso
  175. glue11.Part1 = torso.Parent["Right Arm"]
  176. glue11.Name = "Right shoulder"
  177. local collider11 = Instance.new("Part", torso.Parent["Right Arm"])
  178. collider11.Position = Vector3.new(0,9999,0)
  179. collider11.Size = Vector3.new(1.8,1,1)
  180. collider11.Shape = "Cylinder"
  181. local weld11 = Instance.new("Weld", collider11)
  182. weld11.Part0 = torso.Parent["Right Arm"]
  183. weld11.Part1 = collider11
  184. weld11.C0 = CFrame.Angles(0, 0, 80)
  185. collider11.TopSurface = "Smooth"
  186. collider11.BottomSurface = "Smooth"
  187. collider11.formFactor = "Symmetric"
  188. glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  189. glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  190. collider11.Transparency = 1
  191. end
  192. ------------
  193. local lshoulder = torso:findFirstChild("Left Shoulder")
  194. if lshoulder then
  195. torso["Left Shoulder"]:destroy()
  196. local glue111 = Instance.new("Glue", torso)
  197. glue111.Part0 = torso
  198. glue111.Part1 = torso.Parent["Left Arm"]
  199. glue111.Name = "Left shoulder"
  200. local collider111 = Instance.new("Part", torso.Parent["Left Arm"])
  201. collider111.Position = Vector3.new(0,9999,0)
  202. collider111.Size = Vector3.new(1.8,1,1)
  203. collider111.Shape = "Cylinder"
  204. local weld111 = Instance.new("Weld", collider111)
  205. weld111.Part0 = torso.Parent["Left Arm"]
  206. weld111.Part1 = collider111
  207. weld111.C0 = CFrame.Angles(0, 0, 80)
  208. collider111.TopSurface = "Smooth"
  209. collider111.BottomSurface = "Smooth"
  210. collider111.formFactor = "Symmetric"
  211. glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  212. glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  213. collider111.Transparency = 1
  214. end
  215. -----------------
  216. local sensoring = Instance.new("Part", torso)
  217. sensoring.Size = Vector3.new(1.2,1.1,0.8)
  218. sensoring.CanCollide = false
  219. sensoring.Position = torso.Position
  220. local welder = Instance.new("Weld", sensoring)
  221. welder.Part0 = torso
  222. welder.Part1 = sensoring
  223. welder.C0 = welder.C0 * CFrame.new(0,0,1.05)
  224. sensoring.Transparency = 1
  225. -----------------
  226. local sensoring1 = Instance.new("Part", torso)
  227. sensoring1.Size = Vector3.new(1.2,1.1,0.8)
  228. sensoring1.CanCollide = false
  229. sensoring1.Position = torso.Position
  230. local welder1 = Instance.new("Weld", sensoring)
  231. welder1.Part0 = torso
  232. welder1.Part1 = sensoring1
  233. welder1.C0 = welder1.C0 * CFrame.new(0,0,-1.05)
  234. sensoring1.Transparency = 1
  235. local function touch()
  236. if not using then
  237. using = true
  238. local Math = math.random(1,4)
  239. if Math == 1 then
  240. hit:Play()
  241. end
  242. if Math == 2 then
  243. hit1:Play()
  244. end
  245. if Math == 3 then
  246. hit2:Play()
  247. end
  248. if Math == 4 then
  249. hit3:Play()
  250. end
  251. wait(0.1)
  252. using = false
  253. end
  254. end
  255. sensoring.Touched:connect(touch)
  256. sensoring1.Touched:connect(touch)
  257. while true do
  258. wait(0.3)
  259. hum.PlatformStand = true
  260. end
  261.  
  262. --di ent
  263. end
  264. end
  265. end
  266. missle.Touched:connect(kill)
  267. for i = 1,2 do
  268. wait()
  269. weld.C0 = weld.C0 * CFrame.Angles(0,0,-0.07)
  270. rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,-0.07)
  271. end
  272. shooting = false
  273. wait(3)
  274. shotsound:destroy()
  275. end
  276. end
  277. mouse.Button1Down:connect(shoot)
  278.  
  279.  
  280.  
  281.  
  282.  
  283. print("------\Script made by Rufus14,and edited by Plugined./------")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement