Advertisement
blabal

Untitled

Jul 2nd, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.38 KB | None | 0 0
  1. --Acid Gun Gifted by machontz, Regular Script!
  2.  
  3. Player = game:GetService("Players").flamindrew2
  4. Character = Player.Character
  5. PlayerGui = Player.PlayerGui
  6. Backpack = Player.Backpack
  7. Torso = Character.Torso
  8. Head = Character.Head
  9. LeftArm = Character["Left Arm"]
  10. LeftLeg = Character["Left Leg"]
  11. RightArm = Character["Right Arm"]
  12. RightLeg = Character["Right Leg"]
  13. LS = Torso["Left Shoulder"]
  14. LH = Torso["Left Hip"]
  15. RS = Torso["Right Shoulder"]
  16. RH = Torso["Right Hip"]
  17. ModelName = "Weapon"
  18. attack = false
  19. attacktype = 1
  20. Hitdeb = 0
  21. Neck = Torso.Neck
  22. local neckcf0 = Neck.C0
  23. ----------------------------
  24. --Customize
  25. Ammo = 10000
  26. --if (string.match(Player.Unlocks.Value,"RasAlgethi Ammo+") ~= nil) then
  27. MaxAmmo = 10000000
  28. --else
  29. --MaxAmmo = 10000000
  30. --end
  31. mindamage = 12
  32. maxdamage = 30
  33. crtmaxdamage = 39
  34. omindamage = mindamage
  35. omaxdamage = maxdamage
  36. ocrtmaxdamage = crtmaxdamage
  37. crtrate = 100/5
  38. --100%/critpercentage
  39. oblkbrkr = 0
  40. blockbreaker = oblkbrkr
  41. spread = 2
  42. spread = spread*100
  43. Ammoregen = 20
  44. --if (string.match(Player.Unlocks.Value,"RasAlgethi Range+") ~= nil) then
  45. range = 700
  46. --else
  47. --range = 15000
  48. --end
  49. rangepower = 50
  50. CurrentAmmo = "Normal"
  51. handlecolor = BrickColor.new("Dark gray")
  52. bcolor = BrickColor.new("Pastel yellow")
  53. gemcolor = BrickColor.new("Black")
  54. ammotrail = BrickColor.new("Pastel brown")
  55. ToolName = "Ras Algethi"
  56. ---------------------------------------------------------------------------------------------------------------------------------------
  57. if Character:findFirstChild("EquippedVal",true) ~= nil then
  58. Character:findFirstChild("EquippedVal",true).Parent = nil
  59. end
  60. ev = Instance.new("BoolValue",Character)
  61. ev.Name = "EquippedVal"
  62. ev.Value = false
  63. if Character:findFirstChild("Block",true) ~= nil then
  64. Character:findFirstChild("Block",true).Parent = nil
  65. end
  66. --player
  67. player = nil
  68. --welds
  69. RW, LW , RWL, LWL = Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld")
  70. --what anim
  71. anim = "none"
  72. --other var
  73. player = Player
  74. ch = Character
  75. --save shoulders
  76. AoETrue = {}
  77. RSH, LSH , RHL, LHL = ch.Torso["Right Shoulder"], ch.Torso["Left Shoulder"] , ch.Torso["Right Hip"] , ch.Torso["Left Hip"]
  78. function RWFunc()
  79. RW.Part1 = ch["Right Arm"]
  80. RSH.Part1 = nil
  81. end
  82. function LWFunc()
  83. LW.Part1 = ch["Left Arm"]
  84. LSH.Part1 = nil
  85. end
  86. function RWLFunc()
  87. RWL.Part1 = ch["Right Leg"]
  88. RHL.Part1 = nil
  89. ch["Right Leg"].Name = "RightLeg"
  90. RightLeg.CanCollide = false
  91. end
  92. function LWLFunc()
  93. LWL.Part1 = ch["Left Leg"]
  94. LHL.Part1 = nil
  95. ch["Left Leg"].Name = "LeftLeg"
  96. LeftLeg.CanCollide = true
  97. end
  98. function RWLRem()
  99. RightLeg.Name = "Right Leg"
  100. RWL.Part1 = nil
  101. RHL.Part1 = ch["Right Leg"]
  102. RightLeg.CanCollide = false
  103. end
  104. function LWLRem()
  105. LeftLeg.Name = "Left Leg"
  106. LWL.Part1 = nil
  107. LHL.Part1 = ch["Left Leg"]
  108. LeftLeg.CanCollide = false
  109. end
  110. function RWRem()
  111. RW.Part1 = nil
  112. RSH.Part1 = ch["Right Arm"]
  113. end
  114. function LWRem()
  115. LW.Part1 = nil
  116. LSH.Part1 = ch["Left Arm"]
  117. end
  118. if Character:findFirstChild(ModelName,true) ~= nil then
  119. Character:findFirstChild(ModelName,true).Parent = nil
  120. RHL.Part1 = ch["Right Leg"]
  121. LHL.Part1 = ch["Left Leg"]
  122. RSH.Part1 = ch["Right Arm"]
  123. LSH.Part1 = ch["Left Arm"]
  124. end
  125. local swordholder = Instance.new("Model")
  126. swordholder.Name = ModelName
  127. swordholder.Parent = Character
  128. --derp
  129. RW.Part0 = ch.Torso
  130. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  131. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  132. RW.Parent = swordholder
  133. --
  134. LW.Part0 = ch.Torso
  135. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  136. LW.C1 = CFrame.new(0, 0.5, 0)
  137. LW.Parent = swordholder
  138. --
  139. RWL.Part0 = ch.Torso
  140. RWL.C0 = CFrame.new(1, -1, 0) * CFrame.Angles(0, 0, 0)
  141. RWL.C1 = CFrame.new(0.5, 1, 0)
  142. RWL.Parent = swordholder
  143. --
  144. LWL.Part0 = ch.Torso
  145. LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(0, 0, 0)
  146. LWL.C1 = CFrame.new(-0.5, 1, 0)
  147. LWL.Parent = swordholder
  148. local msh1 = Instance.new("CylinderMesh")
  149. msh1.Scale = Vector3.new(1,1,1)
  150. local msh2 = Instance.new("BlockMesh")
  151. msh2.Scale = Vector3.new(1,1,1)
  152. local msh3 = Instance.new("CylinderMesh")
  153. msh3.Scale = Vector3.new(1,1,1)
  154. local msh4 = Instance.new("CylinderMesh")
  155. msh4.Scale = Vector3.new(1,1,1)
  156. local msh5 = Instance.new("CylinderMesh")
  157. msh5.Scale = Vector3.new(1,1,1)
  158. local msh6 = Instance.new("BlockMesh")
  159. msh6.Scale = Vector3.new(1,1,1)
  160. local torsc = false
  161. for i,z in pairs(Character:GetChildren()) do
  162. if z.className == "CharacterMesh" then
  163. if z.BodyPart == Enum.BodyPart.Torso then
  164. torsc = true
  165. end
  166. end
  167. end
  168. if torsc then
  169. msh7 = Instance.new("SpecialMesh")
  170. msh7.MeshId = "http://www.roblox.com/asset/?id=3270017"
  171. msh7.Scale = Vector3.new(2.01,1,1.01)
  172. msh7.Scale = Vector3.new(2.01,1,1.01)
  173. else
  174. msh7 = Instance.new("BlockMesh")
  175. msh7.Scale = Vector3.new(2.01,0.1,1.01)
  176. end
  177. local msh8 = Instance.new("SpecialMesh")
  178. msh8.MeshId = "http://www.roblox.com/asset/?id=3270017"
  179. msh8.Scale = Vector3.new(0.5,0.5,7)
  180. msh8.Scale = Vector3.new(0.5,0.5,7)
  181. local msh9 = Instance.new("BlockMesh")
  182. msh9.Scale = Vector3.new(1,1,1)
  183. local prt1 = Instance.new("Part")
  184. prt1.formFactor = 3
  185. prt1.CanCollide = false
  186. prt1.Name = "Handle"
  187. prt1.Locked = true
  188. prt1.Size = Vector3.new(0.3,1,0.3)
  189. prt1.Parent = swordholder
  190. msh1.Parent = prt1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement