naser2345

Strawhat Luffy Guy

May 3rd, 2017
353
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.01 KB | None | 0 0
  1. Player = game.Players.LocalPlayer
  2. Mouse = Player:GetMouse()
  3. Character = Player.Character
  4. Humanoid = Character.Humanoid
  5. Head = Character.Head
  6. Torso = Character.Torso
  7. LeftArm = Character["Left Arm"]
  8. RightArm = Character["Right Arm"]
  9. LeftLeg = Character["Left Leg"]
  10. RightLeg = Character["Right Leg"]
  11.  
  12. -- Outfit
  13.  
  14. --Hat
  15.  
  16. local Hat = Instance.new("Part", Character)
  17. Hat.Name = "HatPart"
  18. Hat.CanCollide = false
  19. Hat.BrickColor = BrickColor.new("Daisy orange")
  20. Hat.Material = "SmoothPlastic"
  21. Hat.Size = Vector3.new(1.2, 1.2, 0.7)
  22. local HatBand = Instance.new("Part", Character)
  23. HatBand.Name = "HatBand"
  24. HatBand.CanCollide = false
  25. HatBand.BrickColor = BrickColor.new("Really red")
  26. HatBand.Material = "SmoothPlastic"
  27. HatBand.Size = Vector3.new(1.25, 1.25, 0.1)
  28. local Hat2 = Instance.new("Part", Character)
  29. Hat2.Name = "HatPart2"
  30. Hat2.CanCollide = false
  31. Hat2.BrickColor = BrickColor.new("Daisy orange")
  32. Hat2.Material = "SmoothPlastic"
  33. Hat2.Size = Vector3.new(1.5, 1.5, 0.05)
  34. local HatWeld = Instance.new("Weld", Hat)
  35. HatWeld.Part0 = Hat
  36. HatWeld.Part1 = Torso
  37. HatWeld.C0 = CFrame.new(0, -0.2, -0.5)*CFrame.new(0, -0.2, -0.5)
  38. local BandWeld = Instance.new("Weld", HatBand)
  39. BandWeld.Part0 = HatBand
  40. BandWeld.Part1 = Hat
  41. BandWeld = CFrame.new(0, 0, 0)*CFrame.new(0, 0, 0)
  42. local HatWeld2 = Instance.new("Weld", Hat2)
  43. HatWeld2.Part0 = Hat2
  44. HatWeld2.Part1 = Hat
  45. HatWeld2.C0 = CFrame.new(0, 0, 0.2)*CFrame.new(0, 0, 0.2)
  46.  
  47. --Shirt
  48. local Hair = Instance.new("Part", Character)
  49. Hair.Name = "Hair"
  50. Hair.CanCollide = false
  51. Hair.Anchored = false
  52. Hair.BrickColor = BrickColor.new("Really black")
  53. Hair.Material = "SmoothPlastic"
  54. local Hairm = Instance.new("SpecialMesh", Hair)
  55. Hairm.MeshId = "http://www.roblox.com/asset/?id=167549828"
  56. Hairm.Scale = Vector3.new(1, 1, 1)
  57. local HairWeld = Instance.new("Weld", Hair)
  58. HairWeld.Part0 = Character.Head
  59. HairWeld.Part1 = Hair
  60. HairWeld.C1 = CFrame.new(0, -0.25, 0)
  61. local Base = Instance.new("Part", Character)
  62. Base.Name = "Shirt1"
  63. Base.BrickColor = BrickColor.new("Really red")
  64. Base.Material = "SmoothPlastic"
  65. Base.CanCollide = false
  66. Base.Size = Vector3.new(0.8, 2.03, 1.1)
  67. local Base2 = Instance.new("Part", Character)
  68. Base2.Name = "Shirt2"
  69. Base2.BrickColor = BrickColor.new("Really red")
  70. Base2.Material = "SmoothPlastic"
  71. Base2.Size = Vector3.new(0.8, 2.03, 1.1)
  72. local Base3 = Instance.new("Part", Character)
  73. Base3.Name = "Shirt2"
  74. Base3.BrickColor = BrickColor.new("Really red")
  75. Base3.Material = "SmoothPlastic"
  76. Base3.Size = Vector3.new(0.5, 1.5, 1.1)
  77. local BaseWeld = Instance.new("Weld", Base)
  78. BaseWeld.Part0 = Base
  79. BaseWeld.Part1 = Torso
  80. BaseWeld.C0 = CFrame.new(0.3, 0, 0)*CFrame.new(0.33, 0, 0)
  81. local BaseWeld2 = Instance.new("Weld", Base)
  82. BaseWeld2.Part0 = Base2
  83. BaseWeld2.Part1 = Torso
  84. BaseWeld2.C0 = CFrame.new(-0.3, 0, 0)*CFrame.new(-0.33, 0, 0)
  85. local BaseWeld3 = Instance.new("Weld", Base)
  86. BaseWeld3.Part0 = Base3
  87. BaseWeld3.Part1 = Torso
  88. BaseWeld3.C0 = CFrame.new(0.01, 0.1255, 0)*CFrame.new(0.01, 0.1255, 0)
  89.  
  90. -- Pants
  91.  
  92. local Short = Instance.new("Part", Character)
  93. Short.Name = "Short"
  94. Short.BrickColor = BrickColor.new("Medium blue")
  95. Short.Material = "SmoothPlastic"
  96. Short.Size = Vector3.new(1.1, 0.75, 1.1)
  97. Short.CanCollide = false
  98. local Short2 = Instance.new("Part", Character)
  99. Short2.Name = "Short2"
  100. Short2.BrickColor = BrickColor.new("Medium blue")
  101. Short2.Material = "SmoothPlastic"
  102. Short2.Size = Vector3.new(1.1, 0.75, 1.1)
  103. Short2.CanCollide = false
  104. local Short3 = Instance.new("Part", Character)
  105. Short3.Name = "Short3"
  106. Short3.BrickColor = BrickColor.new("Pearl")
  107. Short3.Material = "SmoothPlastic"
  108. Short3.Size = Vector3.new(1.2, 0.1, 1.2)
  109. Short3.CanCollide = false
  110. local Short4 = Instance.new("Part", Character)
  111. Short4.Name = "Short4"
  112. Short4.BrickColor = BrickColor.new("Pearl")
  113. Short4.Material = "SmoothPlastic"
  114. Short4.Size = Vector3.new(1.2, 0.1, 1.2)
  115. Short4.CanCollide = false
  116. local ShortWeld = Instance.new("Weld", Short)
  117. ShortWeld.Part0 = Short
  118. ShortWeld.Part1 = LeftLeg
  119. ShortWeld.C0 = CFrame.new(0, -0.32, 0)*CFrame.new(0, -0.32, 0)
  120. local ShortWeld2 = Instance.new("Weld", Short2)
  121. ShortWeld2.Part0 = Short2
  122. ShortWeld2.Part1 = RightLeg
  123. ShortWeld2.C0 = CFrame.new(0, -0.32, 0)*CFrame.new(0, -0.32, 0)
  124. local ShortWeld3 = Instance.new("Weld", Short3)
  125. ShortWeld3.Part0 = Short3
  126. ShortWeld3.Part1 = Short
  127. ShortWeld3.C0 = CFrame.new(0, 0.15, 0)*CFrame.new(0, 0.15, 0)
  128. local ShortWeld4 = Instance.new("Weld", Short4)
  129. ShortWeld4.Part0 = Short4
  130. ShortWeld4.Part1 = Short2
  131. ShortWeld4.C0 = CFrame.new(0, 0.15, 0)*CFrame.new(0, 0.15, 0)
  132. wait(0.25)
  133.  
  134. for i,Accessory in pairs(Character:GetChildren()) do
  135. if Accessory:IsA("Shirt") or Accessory:IsA("Pants") or Accessory:IsA("Accessory") then
  136. Accessory:remove()
  137. end
  138. end
  139.  
  140. Character["Body Colors"].HeadColor = BrickColor.new("Pastel brown")
  141. Character["Body Colors"].TorsoColor = BrickColor.new("Pastel brown")
  142. Character["Body Colors"].RightArmColor = BrickColor.new("Pastel brown")
  143. Character["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown")
  144. Character["Body Colors"].LeftLegColor = BrickColor.new("Pastel brown")
  145. Character["Body Colors"].RightLegColor = BrickColor.new("Pastel brown")
  146.  
  147. wait(0.5)
  148.  
  149.  
  150. Mouse.KeyDown:connect(function(key)
  151. key = key:lower()
  152. if key == "z" then
  153.  
  154. function Pistol()
  155. Humanoid.WalkSpeed = 0
  156. Humanoid.JumpPower = 0
  157.  
  158. print(Player.Name.." is using pistol")
  159.  
  160. local Arm = Instance.new("BlockMesh", LeftArm)
  161. Arm.Scale = Vector3.new(1, 0.5, 4)
  162. Arm.Offset = Vector3.new(0, 0.5, 1.475)
  163. Arm.Parent.Material = "SmoothPlastic"
  164.  
  165. local Scale = 4
  166. local Offset = 1.475
  167.  
  168. while Scale <= 16 do
  169. wait(0.00025)
  170. Scale = Scale+1
  171. Offset = Offset+0.5
  172. Arm.Scale = Vector3.new(1, 0.5, Scale)
  173. Arm.Offset = Vector3.new(0, 0.5, Offset)
  174. end
  175.  
  176.  
  177. while Scale >= -16 do
  178. wait(0.0025)
  179. Scale = Scale-1
  180. Offset = Offset-0.475
  181. Arm.Scale = Vector3.new(1, 0.5, Scale)
  182. Arm.Offset = Vector3.new(0, 0.5, Offset)
  183. end
  184.  
  185. local Hitbox = Instance.new("Part", game.Workspace)
  186. Hitbox.Name = "Hitbox"
  187. Hitbox.Transparency = 1
  188. Hitbox.CanCollide = false
  189. Hitbox.Anchored = true
  190. Hitbox.Size = Vector3.new(1, 1, 19)
  191. Hitbox.CFrame = LeftArm.CFrame*CFrame.new(0, 0.5, -8.1)
  192. Hitbox.Touched:connect(function(hit)
  193. if hit.Parent.Name == Player.Name then
  194. return
  195. else
  196. if hit.Name == "Head" or hit.Name == "Torso" or hit.Name == "Left Arm" or hit.Name == "Right Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" then
  197. hit.Parent.Humanoid = hit.Parent.Humanoid-math.random(3, 10)
  198. LeftArm.Mesh:remove()
  199. end
  200. end
  201. end)
  202. wait(1)
  203. LeftArm.Mesh:remove()
  204. Humanoid.WalkSpeed = 16
  205. Humanoid.JumpPower = 50
  206. end
  207. Pistol()
  208. end
  209. end)
  210. Mouse.KeyDown:connect(function(key2)
  211. key2 = key2:lower()
  212. if key2 == "x" then
  213.  
  214. Humanoid.WalkSpeed = 0
  215. Humanoid.JumpPower = 0
  216.  
  217. print(Player.Name.." is using bazooka")
  218.  
  219. local Arm = Instance.new("BlockMesh", LeftArm)
  220. Arm.Scale = Vector3.new(1, 0.5, 4)
  221. Arm.Offset = Vector3.new(0, 0.5, 1.475)
  222. Arm.Parent.Material = "SmoothPlastic"
  223. local Arm2 = Instance.new("BlockMesh", RightArm)
  224. Arm2.Scale = Vector3.new(1, 0.5, 4)
  225. Arm2.Offset = Vector3.new(0, 0.5, 1.475)
  226. Arm2.Parent.Material = "SmoothPlastic"
  227.  
  228. local Scale = 4
  229. local Offset = 1.475
  230. local Scale2 = 4
  231. local Offset2 = 1.475
  232.  
  233. while Scale <= 16 do
  234. wait(0.00025)
  235. Scale = Scale+1
  236. Offset = Offset+0.5
  237. Scale2 = Scale+1
  238. Offset2 = Offset+0.5
  239. Arm.Scale = Vector3.new(1, 0.5, Scale)
  240. Arm.Offset = Vector3.new(0, 0.5, Offset)
  241. Arm2.Scale = Vector3.new(1, 0.5, Scale2)
  242. Arm2.Offset = Vector3.new(0, 0.5, Offset2)
  243. end
  244.  
  245.  
  246. while Scale >= -16 do
  247. wait(0.0025)
  248. Scale = Scale-1
  249. Offset = Offset-0.475
  250. Scale2 = Scale-1
  251. Offset2 = Offset-0.475
  252. Arm.Scale = Vector3.new(1, 0.5, Scale)
  253. Arm.Offset = Vector3.new(0, 0.5, Offset)
  254. Arm2.Scale = Vector3.new(1, 0.5, Scale)
  255. Arm2.Offset = Vector3.new(0, 0.5, Offset)
  256. end
  257.  
  258. local Hitbox = Instance.new("Part", game.Workspace)
  259. Hitbox.Name = "Hitbox"
  260. Hitbox.Transparency = 1
  261. Hitbox.CanCollide = false
  262. Hitbox.Anchored = true
  263. Hitbox.Size = Vector3.new(1, 1, 19)
  264. Hitbox.CFrame = LeftArm.CFrame*CFrame.new(0, 0.5, -8.1)
  265. Hitbox.Touched:connect(function(hit)
  266. if hit.Parent.Name == Player.Name then
  267. return
  268. else
  269. if hit.Name == "Head" or hit.Name == "Torso" or hit.Name == "Left Arm" or hit.Name == "Right Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" then
  270. hit.Parent.Humanoid = hit.Parent.Humanoid-math.random(3, 10)
  271. LeftArm.Mesh:remove()
  272. RightArm.Mesh:remove()
  273. end
  274. end
  275. end)
  276. local Hitbox2 = Instance.new("Part", game.Workspace)
  277. Hitbox2.Name = "Hitbox2"
  278. Hitbox2.Transparency = 1
  279. Hitbox2.CanCollide = false
  280. Hitbox2.Anchored = true
  281. Hitbox2.Size = Vector3.new(1, 1, 19)
  282. Hitbox2.CFrame = LeftArm.CFrame*CFrame.new(0, 0.5, -8.1)
  283. Hitbox2.Touched:connect(function(hit)
  284. if hit.Parent.Name == Player.Name then
  285. return
  286. else
  287. if hit.Name == "Head" or hit.Name == "Torso" or hit.Name == "Left Arm" or hit.Name == "Right Arm" or hit.Name == "Left Leg" or hit.Name == "Right Leg" then
  288. hit.Parent.Humanoid = hit.Parent.Humanoid-math.random(3, 10)
  289. LeftArm.Mesh:remove()
  290. RightArm.Mesh:remove()
  291. end
  292. end
  293. end)
  294. wait(1)
  295. LeftArm.Mesh:remove()
  296. RightArm.Mesh:remove()
  297. Humanoid.WalkSpeed = 16
  298. Humanoid.JumpPower = 50
  299. end
  300.  
  301. end)
Add Comment
Please, Sign In to add comment