Advertisement
Thefrozen106

Luffy from One Piece

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