Advertisement
memberhero

Magikarp Fish Script

Jul 4th, 2018
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.56 KB | None | 0 0
  1. -------------------------------------------Made by chc4-----------------------------------------------------
  2. Name="basstracker1970"
  3. color=BrickColor.new("Bright orange")
  4.  
  5. ---Magikarp is epik. Dont question it.
  6.  
  7. pcall(function() workspace[Name].SuitTest:remove() end)
  8. --pcall(function() game.Players[Name].PlayerGui:children()[1]:remove() end)
  9. player = game.Players[Name]
  10. player.Character.Humanoid.WalkSpeed = 70
  11. char = player.Character
  12. model = Instance.new("Model")
  13. model.Parent = char
  14. model.Name = "SuitTest"
  15. char.Humanoid.MaxHealth = math.huge
  16. wait(0.5)
  17. char.Humanoid.Health = char.Humanoid.MaxHealth
  18.  
  19. for _,v in pairs(char:children()) do
  20. pcall(function() v.Transparency=1 end)
  21. end
  22.  
  23. for _,v in pairs(char:children()) do
  24. if v:IsA("Hat") then
  25. v:remove()
  26. end
  27. end
  28.  
  29. wait()
  30.  
  31. De=1
  32.  
  33. w = Instance.new("Weld")
  34. w.Parent = char.Head
  35. w.Part0 = w.Parent
  36. w.Part1 = char.Head
  37. w.C0 = CFrame.new(0,0,0)
  38.  
  39. char.Torso.Transparency=1
  40. char.Head.Transparency=1
  41. pcall(function() char.Head.face:remove() end)
  42.  
  43. Tor=Instance.new("Part")
  44. Tor.Size=Vector3.new(3,3,3)
  45. Tor.Shape="Ball"
  46. Tor.BrickColor=color
  47. Tor.Reflectance=0.1
  48. Tor.Transparency=0
  49. Tor.Locked=true
  50. Tor.Name="Body"
  51. Tor.CanCollide=true
  52. Tor.Parent=model
  53. Tor.TopSurface="Smooth"
  54. Tor.BottomSurface="Smooth"
  55. Mesh=Instance.new("SpecialMesh")
  56. Mesh.MeshType="Sphere"
  57. Mesh.Parent=Tor
  58. Mesh.Scale=Vector3.new(0.5,0.8,1)
  59. w = Instance.new("Weld")
  60. w.Parent = char.Torso
  61. w.Part0 = w.Parent
  62. w.Part1 = Tor
  63. w.C0 = CFrame.new(0,0,0)
  64.  
  65. Tor=Instance.new("Part")
  66. Tor.Size=Vector3.new(1,1,1)
  67. Tor.Shape="Ball"
  68. Tor.BrickColor=BrickColor:White()
  69. Tor.Reflectance=0
  70. Tor.Transparency=0
  71. Tor.Locked=true
  72. Tor.CanCollide=true
  73. Tor.Parent=model
  74. Tor.TopSurface="Smooth"
  75. Tor.BottomSurface="Smooth"
  76. Mesh=Instance.new("SpecialMesh")
  77. Mesh.MeshType="Sphere"
  78. Mesh.Parent=Tor
  79. Mesh.Scale=Vector3.new(0.5,0.5,.5)
  80. w = Instance.new("Weld")
  81. w.Parent = char.Torso
  82. w.Part0 = w.Parent
  83. w.Part1 = Tor
  84. w.C0 = CFrame.new(0.32,0.25,-0.9)
  85.  
  86. Tor=Instance.new("Part")
  87. Tor.Size=Vector3.new(1,1,1)
  88. Tor.Shape="Ball"
  89. Tor.BrickColor=BrickColor:Black()
  90. Tor.Reflectance=0
  91. Tor.Transparency=0
  92. Tor.Locked=true
  93. Tor.CanCollide=true
  94. Tor.Parent=model
  95. Tor.TopSurface="Smooth"
  96. Tor.BottomSurface="Smooth"
  97. Mesh=Instance.new("SpecialMesh")
  98. Mesh.MeshType="Sphere"
  99. Mesh.Parent=Tor
  100. Mesh.Scale=Vector3.new(0.1,0.1,.1)
  101. w = Instance.new("Weld")
  102. w.Parent = char.Torso
  103. w.Part0 = w.Parent
  104. w.Part1 = Tor
  105. w.C0 = CFrame.new(0.54,0.275,-1)
  106.  
  107.  
  108.  
  109. Tor=Instance.new("Part")
  110. Tor.Size=Vector3.new(1,1,1)
  111. Tor.Shape="Ball"
  112. Tor.BrickColor=BrickColor:White()
  113. Tor.Reflectance=0
  114. Tor.Transparency=0
  115. Tor.Locked=true
  116. Tor.CanCollide=true
  117. Tor.Parent=model
  118. Tor.TopSurface="Smooth"
  119. Tor.BottomSurface="Smooth"
  120. Mesh=Instance.new("SpecialMesh")
  121. Mesh.MeshType="Sphere"
  122. Mesh.Parent=Tor
  123. Mesh.Scale=Vector3.new(0.5,0.5,.5)
  124. w = Instance.new("Weld")
  125. w.Parent = char.Torso
  126. w.Part0 = w.Parent
  127. w.Part1 = Tor
  128. w.C0 = CFrame.new(-0.32,0.25,-0.9)
  129.  
  130. Tor=Instance.new("Part")
  131. Tor.Size=Vector3.new(1,1,1)
  132. Tor.Shape="Ball"
  133. Tor.BrickColor=BrickColor:Black()
  134. Tor.Reflectance=0
  135. Tor.Transparency=0
  136. Tor.Locked=true
  137. Tor.CanCollide=true
  138. Tor.Parent=model
  139. Tor.TopSurface="Smooth"
  140. Tor.BottomSurface="Smooth"
  141. Mesh=Instance.new("SpecialMesh")
  142. Mesh.MeshType="Sphere"
  143. Mesh.Parent=Tor
  144. Mesh.Scale=Vector3.new(0.1,0.1,.1)
  145. w = Instance.new("Weld")
  146. w.Parent = char.Torso
  147. w.Part0 = w.Parent
  148. w.Part1 = Tor
  149. w.C0 = CFrame.new(-0.54,0.275,-1)
  150.  
  151. Tor=Instance.new("Part")
  152. Tor.Size=Vector3.new(1,1,1)
  153. Tor.BrickColor=BrickColor:Yellow()
  154. Tor.Reflectance=0.1
  155. Tor.Transparency=0
  156. Tor.Locked=true
  157. Tor.CanCollide=true
  158. Tor.Parent=model
  159. Tor.TopSurface="Smooth"
  160. Tor.BottomSurface="Smooth"
  161. Mesh=Instance.new("SpecialMesh")
  162. Mesh.MeshType="Brick"
  163. Mesh.Parent=Tor
  164. Mesh.Scale=Vector3.new(0.1,.45,.5)
  165. w = Instance.new("Weld")
  166. w.Parent = char.Torso
  167. w.Part0 = w.Parent
  168. w.Part1 = Tor
  169. w.C0 = CFrame.new(-0.7,0.1,0)*CFrame.Angles(math.rad(45),math.rad(-25),math.rad(25))
  170.  
  171. Tor=Instance.new("Part")
  172. Tor.Size=Vector3.new(1,1,1)
  173. Tor.BrickColor=BrickColor:Yellow()
  174. Tor.Reflectance=0.1
  175. Tor.Transparency=0
  176. Tor.Locked=true
  177. Tor.CanCollide=true
  178. Tor.Parent=model
  179. Tor.TopSurface="Smooth"
  180. Tor.BottomSurface="Smooth"
  181. Mesh=Instance.new("SpecialMesh")
  182. Mesh.MeshType="Brick"
  183. Mesh.Parent=Tor
  184. Mesh.Scale=Vector3.new(0.1,.45,.5)
  185. w = Instance.new("Weld")
  186. w.Parent = char.Torso
  187. w.Part0 = w.Parent
  188. w.Part1 = Tor
  189. w.C0 = CFrame.new(0.7,0.1,0)*CFrame.Angles(math.rad(45),math.rad(25),math.rad(-25))
  190.  
  191.  
  192. Tor=Instance.new("Part")
  193. Tor.Size=Vector3.new(1,1,1)
  194. Tor.BrickColor=BrickColor:Black()
  195. Tor.Reflectance=0
  196. Tor.Shape="Ball"
  197. Tor.Transparency=0
  198. Tor.Locked=true
  199. Tor.CanCollide=true
  200. Tor.Parent=model
  201. Tor.TopSurface="Smooth"
  202. Tor.BottomSurface="Smooth"
  203. Mesh=Instance.new("CylinderMesh")
  204. Mesh.Parent=Tor
  205. Mesh.Scale=Vector3.new(.5,.06,.5)
  206. w = Instance.new("Weld")
  207. w.Parent = char.Torso
  208. w.Part0 = w.Parent
  209. w.Part1 = Tor
  210. w.C0 = CFrame.new(0,0,-1.27)*CFrame.Angles(0,math.rad(20),0)
  211.  
  212. Tor=Instance.new("Part")
  213. Tor.Size=Vector3.new(1,1,1)
  214. Tor.BrickColor=BrickColor:Yellow()
  215. Tor.Reflectance=0
  216. Tor.Transparency=0
  217. Tor.Locked=true
  218. Tor.CanCollide=true
  219. Tor.Parent=model
  220. Tor.TopSurface="Smooth"
  221. Tor.BottomSurface="Smooth"
  222. Mesh=Instance.new("CylinderMesh")
  223. Mesh.Parent=Tor
  224. Mesh.Scale=Vector3.new(.3,1.2,.3)
  225. w = Instance.new("Weld")
  226. w.Parent = char.Torso
  227. w.Part0 = w.Parent
  228. w.Part1 = Tor
  229. w.C0 = CFrame.new(0,1.3,0)
  230.  
  231. Tor=Instance.new("Part")
  232. Tor.Size=Vector3.new(1,1,1)
  233. Tor.BrickColor=BrickColor:Yellow()
  234. Tor.Reflectance=0
  235. Tor.Transparency=0
  236. Tor.Locked=true
  237. Tor.CanCollide=true
  238. Tor.Parent=model
  239. Tor.TopSurface="Smooth"
  240. Tor.BottomSurface="Smooth"
  241. Mesh=Instance.new("CylinderMesh")
  242. Mesh.Parent=Tor
  243. Mesh.Scale=Vector3.new(.27,1.2,.27)
  244. w = Instance.new("Weld")
  245. w.Parent = char.Torso
  246. w.Part0 = w.Parent
  247. w.Part1 = Tor
  248. w.C0 = CFrame.new(0,1,0.15)*CFrame.Angles(math.rad(20),0,0)
  249.  
  250. Tor=Instance.new("Part")
  251. Tor.Size=Vector3.new(1,1,1)
  252. Tor.BrickColor=BrickColor:Yellow()
  253. Tor.Reflectance=0
  254. Tor.Transparency=0
  255. Tor.Locked=true
  256. Tor.CanCollide=true
  257. Tor.Parent=model
  258. Tor.TopSurface="Smooth"
  259. Tor.BottomSurface="Smooth"
  260. Mesh=Instance.new("CylinderMesh")
  261. Mesh.Parent=Tor
  262. Mesh.Scale=Vector3.new(.27,1.2,.27)
  263. w = Instance.new("Weld")
  264. w.Parent = char.Torso
  265. w.Part0 = w.Parent
  266. w.Part1 = Tor
  267. w.C0 = CFrame.new(0,1,-0.15)*CFrame.Angles(math.rad(-20),0,0)
  268.  
  269. Tor=Instance.new("Part")
  270. Tor.Size=Vector3.new(1,1,1)
  271. Tor.BrickColor=BrickColor:Yellow()
  272. Tor.Reflectance=0
  273. Tor.Transparency=0
  274. Tor.Locked=true
  275. Tor.CanCollide=true
  276. Tor.Parent=model
  277. Tor.TopSurface="Smooth"
  278. Tor.BottomSurface="Smooth"
  279. Mesh=Instance.new("CylinderMesh")
  280. Mesh.Parent=Tor
  281. Mesh.Scale=Vector3.new(.3,1.2,.3)
  282. w = Instance.new("Weld")
  283. w.Parent = char.Torso
  284. w.Part0 = w.Parent
  285. w.Part1 = Tor
  286. w.C0 = CFrame.new(0,-1.1,0)
  287.  
  288. Tor=Instance.new("Part")
  289. Tor.Size=Vector3.new(1,1,1)
  290. Tor.BrickColor=BrickColor:Yellow()
  291. Tor.Reflectance=0
  292. Tor.Transparency=0
  293. Tor.Locked=true
  294. Tor.CanCollide=true
  295. Tor.Parent=model
  296. Tor.TopSurface="Smooth"
  297. Tor.BottomSurface="Smooth"
  298. Mesh=Instance.new("CylinderMesh")
  299. Mesh.Parent=Tor
  300. Mesh.Scale=Vector3.new(.27,1.2,.27)
  301. w = Instance.new("Weld")
  302. w.Parent = char.Torso
  303. w.Part0 = w.Parent
  304. w.Part1 = Tor
  305. w.C0 = CFrame.new(0,-0.8,0.15)*CFrame.Angles(math.rad(-20),0,0)
  306.  
  307. Tor=Instance.new("Part")
  308. Tor.Size=Vector3.new(1,1,1)
  309. Tor.BrickColor=BrickColor:Yellow()
  310. Tor.Reflectance=0
  311. Tor.Transparency=0
  312. Tor.Locked=true
  313. Tor.CanCollide=true
  314. Tor.Parent=model
  315. Tor.TopSurface="Smooth"
  316. Tor.BottomSurface="Smooth"
  317. Mesh=Instance.new("CylinderMesh")
  318. Mesh.Parent=Tor
  319. Mesh.Scale=Vector3.new(.27,1.2,.27)
  320. w = Instance.new("Weld")
  321. w.Parent = char.Torso
  322. w.Part0 = w.Parent
  323. w.Part1 = Tor
  324. w.C0 = CFrame.new(0,-0.8,-0.15)*CFrame.Angles(math.rad(20),0,0)
  325.  
  326. for i=-30,30,10 do
  327. Tor=Instance.new("Part")
  328. Tor.Size=Vector3.new(1,1,1)
  329. Tor.BrickColor=BrickColor:Yellow()
  330. Tor.Transparency=0
  331. Tor.Locked=true
  332. Tor.CanCollide=true
  333. Tor.Parent=model
  334. Tor.TopSurface="Smooth"
  335. Tor.BottomSurface="Smooth"
  336. Mesh=Instance.new("CylinderMesh")
  337. Mesh.Parent=Tor
  338. if i~=-30 and i~=30 then
  339. Mesh.Scale=Vector3.new(.27,1,.27)
  340. Tor.Reflectance=0
  341. else
  342. Mesh.Scale=Vector3.new(.27,1.2,.27)
  343. Tor.Reflectance=0.1
  344. end
  345. w = Instance.new("Weld")
  346. w.Parent = char.Torso
  347. w.Part0 = w.Parent
  348. w.Part1 = Tor
  349. w.C0 = CFrame.new(0,-i/52,1.1)*CFrame.Angles(math.rad(90+i*1.1),0,0)
  350. end
  351.  
  352. function Giga(mouse)
  353. local Tu=model.Body.Touched:connect(function(hit)
  354. if hit.Parent.Name~=Name and hit.Parent.Parent.Name~=Name and hit.Name~="Base" then
  355. hit.Anchored=false
  356. hit:BreakJoints()
  357. hit.Velocity=(hit.Position-Tor.Position).unit*250
  358. end
  359. end)
  360. for i=1,10 do
  361. wait()
  362. local Laz=Instance.new("Part")
  363. Laz.Anchored=true
  364. Laz.BrickColor=BrickColor:Red()
  365. Laz.Reflectance=0
  366. Laz.Shape="Ball"
  367. Laz.Transparency=0.85
  368. Laz.TopSurface="Smooth"
  369. Laz.BottomSurface="Smooth"
  370. Laz.CanCollide=false
  371. Laz.Size=Vector3.new(1,1,1)
  372. Laz.CFrame=char.Torso.CFrame
  373. Laz.Parent=char
  374. local Me=Instance.new("SpecialMesh")
  375. Me.MeshType="Sphere"
  376. Me.Parent=Laz
  377. for i=1,7,0.5 do
  378. Me.Scale = Vector3.new(i/2,i,i)
  379. wait()
  380. end
  381. Laz:remove()
  382. end
  383. Tu:disconnect()
  384. end
  385.  
  386.  
  387. function Splash(mouse)
  388. if mouse.Target~=nil then
  389. local mh=mouse.Hit
  390. char.Torso.CFrame=mh*CFrame.new(0,2,0)
  391. local Laz=Instance.new("Part")
  392. Laz.Anchored=true
  393. Laz.BrickColor=BrickColor:Blue()
  394. Laz.Reflectance=0
  395. Laz.Transparency=0
  396. Laz.TopSurface="Smooth"
  397. Laz.BottomSurface="Smooth"
  398. Laz.CanCollide=false
  399. Laz.Size=Vector3.new(1,1,1)
  400. Laz.CFrame=CFrame.new(char.Torso.CFrame.x,char.Torso.CFrame.y,char.Torso.CFrame.z)*CFrame.new(0,-2,0)
  401. Laz.Parent=char
  402. local Me=Instance.new("CylinderMesh")
  403. Me.Parent=Laz
  404. Delay(0,function()
  405. for i=1,25,0.5 do
  406. Me.Scale = Vector3.new(i,1,i)
  407. Laz.Transparency=i/23
  408. wait()
  409. end
  410. Laz:remove()
  411. end)
  412. end
  413. end
  414.  
  415. function Charg(mouse)
  416. local Laz=Instance.new("Part")
  417. Laz.Anchored=true
  418. Laz.BrickColor=BrickColor:Yellow()
  419. Laz.Reflectance=0
  420. Laz.Transparency=0.55
  421. Laz.TopSurface="Smooth"
  422. Laz.BottomSurface="Smooth"
  423. Laz.CanCollide=false
  424. Laz.Size=Vector3.new(4,4,4)
  425. Laz.CFrame=char.Torso.CFrame
  426. Laz.Parent=char
  427. local Me=Instance.new("BlockMesh")
  428. Me.Scale=Vector3.new(1,1.2,1)
  429. Me.Parent=Laz
  430. local Rid=Instance.new("Part")
  431. Rid.BrickColor=BrickColor:Yellow()
  432. Rid.Reflectance=0.2
  433. Rid.Transparency=0.75
  434. Rid.Anchored=true
  435. Rid.Size=Vector3.new(1,1,1)
  436. local Me=Instance.new("CylinderMesh")
  437. Me.Scale=Vector3.new(3.5,.5,3.5)
  438. Me.Parent=Rid
  439. for i=1,15,0.5 do
  440. Laz.CFrame=char.Torso.CFrame*CFrame.Angles(math.random(1,3)+math.random(),math.random(1,3)+math.random(),math.random(1,3)+math.random())
  441. f=Rid:clone()
  442. f.CFrame=char.Torso.CFrame*CFrame.Angles(math.random(1,3)+math.random(),math.random(1,3)+math.random(),math.random(1,3)+math.random())
  443. f.Parent=char
  444. wait()
  445. f:remove()
  446. end
  447. Laz:remove()
  448.  
  449. local Laz=Instance.new("Part")
  450. Laz.Anchored=true
  451. Laz.BrickColor=BrickColor:Yellow()
  452. Laz.Reflectance=0.25
  453. Laz.Transparency=0.4
  454. Laz.TopSurface="Smooth"
  455. Laz.Name="Lazer"
  456. Laz.BottomSurface="Smooth"
  457. Laz.CanCollide=false
  458. Laz.CFrame=CFrame.new((mouse.Hit.p+char.Torso.Position)/2,char.Torso.Position)
  459. Laz.Parent=char
  460. Laz.Size=Vector3.new(1,1,2)
  461. Laz.Transparency=0.2
  462. Laz.Reflectance=0.3
  463. local Me=Instance.new("BlockMesh")
  464. Me.Bevel=0.05
  465. Me.Parent=Laz
  466. Me.Scale = Vector3.new(1,1,(mouse.Hit.p - char.Torso.Position).magnitude/2)
  467. for i=1,17 do
  468. Me.Scale = Vector3.new(i/7,i/7,(mouse.Hit.p - char.Torso.Position).magnitude/2)
  469. Laz.CFrame=CFrame.new((mouse.Hit.p+char.Torso.Position)/2,char.Torso.Position)
  470. wait(0.05)
  471. end
  472. for i=1,20,0.5 do
  473. wait()
  474. x = (16 + i) * math.sin(i) + mouse.Hit.p.x
  475. y = mouse.Hit.p.y
  476. z = (16 + i)* math.cos (i) + mouse.Hit.p.z
  477. brick = Instance.new("Explosion")
  478. brick.BlastPressure=0
  479. brick.Hit:connect(function(hit)
  480. if hit.Parent.Name~=Name and hit.Name~="Base" and hit.Name~="Handle" and hit.Parent.Parent.Name~=Name then
  481. hit:BreakJoints()
  482. hit.Anchored=false
  483. hit.Velocity=(hit.Position-char.Torso.Position).unit*320
  484. end
  485. end)
  486. brick.BlastRadius = 20
  487. brick.Parent = workspace
  488. brick.Position = Vector3.new(x,y,z)
  489. end
  490. wait()
  491. Laz:remove()
  492. end
  493.  
  494. function Tackle(mouse)
  495. local Tu=model.Body.Touched:connect(function(hit)
  496. if hit.Parent.Name~=Name and hit.Parent.Parent.Name~=Name and hit.Name~="Base" then
  497. pcall(function() hit.Parent.Humanoid.PlatformStand=true hit.Parent.Humanoid:TakeDamage(5) hit.Parent.Torso.CFrame=hit.Parent.Torso.CFrame*CFrame.Angles(math.rad(150),0,0) end)
  498. end
  499. end)
  500. for i=1,10 do
  501. wait()
  502. local Laz=Instance.new("Part")
  503. Laz.Anchored=true
  504. Laz.BrickColor=BrickColor.new("White")
  505. Laz.Reflectance=0
  506. Laz.Shape="Ball"
  507. Laz.Transparency=0.95
  508. Laz.TopSurface="Smooth"
  509. Laz.BottomSurface="Smooth"
  510. Laz.CanCollide=false
  511. Laz.Size=Vector3.new(1,1,1)
  512. Laz.CFrame=char.Torso.CFrame
  513. Laz.Parent=char
  514. local Me=Instance.new("SpecialMesh")
  515. Me.MeshType="Sphere"
  516. Me.Parent=Laz
  517. for i=1,7,0.5 do
  518. Me.Scale = Vector3.new(i/1.8,i,i)
  519. Laz.CFrame=char.Torso.CFrame
  520. wait()
  521. end
  522. Laz:remove()
  523. end
  524. Tu:disconnect()
  525. end
  526.  
  527. --ToDo:AquaTail,Makes a few parts around you,then magnitudeChecks for parts within the part ring
  528. wep={Giga,Splash,Charg,Tackle}
  529. name={"Giga Impact","Splash","Hyper Beam","Tackle"}
  530. Mode=0
  531. if script.Parent.className~="HopperBin" then
  532. Hopper=Instance.new("HopperBin")
  533. Hopper.Name="Press C"
  534. Hopper.Parent=player.Backpack
  535. coroutine.resume(coroutine.create(function() while true do
  536. local Laz=Instance.new("Part")
  537. Laz.Anchored=true
  538. Laz.BrickColor=BrickColor:Blue()
  539. Laz.Reflectance=0
  540. Laz.Transparency=0.4
  541. Laz.TopSurface="Smooth"
  542. Laz.BottomSurface="Smooth"
  543. Laz.CanCollide=false
  544. Laz.Size=Vector3.new(1,1,1)
  545. Laz.CFrame=char.Torso.CFrame*CFrame.new(0,-2.75,0)
  546. Laz.Parent=char
  547. local Me=Instance.new("CylinderMesh")
  548. Me.Parent=Laz
  549. for i=1,10,0.5 do
  550. Me.Scale = Vector3.new(i,0.5,i)
  551. Laz.Transparency=i/9.5
  552. wait()
  553. end
  554. Laz:remove()
  555. end
  556. end))
  557. script.Parent=Hopper
  558. end
  559. wait()
  560. Hopper=script.Parent
  561. function CheckAdd()
  562. if (Mode+1)~=(#wep+1) then
  563. Mode=Mode+1
  564. Hopper.Name=name[Mode].."("..Mode..")"
  565. elseif (Mode+1)==(#wep+1) then
  566. Mode=1
  567. Hopper.Name=name[Mode].."("..Mode..")"
  568. end
  569. end
  570. function CheckSub()
  571. if (Mode-1)==0 or (Mode-1)<0 then
  572. Mode=#wep
  573. Hopper.Name=name[Mode].."("..Mode..")"
  574. elseif (Mode-1)~=0 then
  575. Mode=Mode-1
  576. Hopper.Name=name[Mode].."("..Mode..")"
  577. end
  578. end
  579. function KeyDown(key)
  580. if key=="c" then
  581. CheckAdd()
  582. elseif key=="x" then
  583. Mode=1
  584. Hopper.Name=name[1].."("..Mode..")"
  585. elseif key=="z" then
  586. CheckSub()
  587. end
  588. end
  589. function Button1down(mouse)
  590. pcall(function() coroutine.resume(coroutine.create(function() wep[Mode](mouse) end)) end)
  591. end
  592. function Mog(mouse)
  593. mouse.Icon = "rbxasset://textures\\GunCursor.png"
  594. mouse.Button1Down:connect(function() Button1down(mouse) end)
  595. mouse.KeyDown:connect(KeyDown)
  596. end
  597. Hopper.Selected:connect(Mog)
  598.  
  599. --BLOCKLAND
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement