Advertisement
IHATEMICROWAVEOVEN

DEVIOUS

Mar 31st, 2024
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.12 KB | None | 0 0
  1. -- Whisland Deviate:
  2. -- Charges like ArmorCannon, and then gives the user a ShadowSneak-like melee.
  3. -- ArmorCannon-like projectiles are gradually unleashed in all 8 directions, in a random order.
  4.  
  5. -- Holy Charmeleon Deviate:
  6. -- Three warnings appear on the ground. After 1 second, collidable balls drop from the sky and remain for 10 min.
  7. -- These instakill the user and despawn upon doing so. Other players take normal damage.
  8.  
  9. -- Strange Souvenir Deviate:
  10. -- Thunder strikes in a line in front of the user.
  11. -- Then, eighteen bursts of classic FlashCannon, ZapCannon, and AncientPower are unleashed toward random spots.
  12.  
  13. -- Gmax charizard Deviate:
  14. --
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30. -- SETTINGS
  31. -- SETTINGS
  32.  
  33. -- melee
  34. local meleeBaseDMG = 30
  35. local chargeDuration = 1
  36. local size1 = Vector3.new(7, 7, 7)
  37. -- color and material are same as aoe cuz im lazy
  38.  
  39. -- aoe
  40. local aoeBaseDMG = 30
  41. local radius = 18
  42. local transparency = 0.7
  43. local color = BrickColor.new("Bright orange")
  44. local material = "Neon"
  45. local size2 = Vector3.new(30, 30, 30)
  46.  
  47. -- cannon shot
  48. local initProj = game:GetService("ServerStorage").Items.WhislandProjectile -- change this to the thing of your choosing
  49. local initProjTrail = game:GetService("ServerStorage").Items.WhislandProjectileTrail -- change this to the focusblast one probvably
  50. local projBaseDMG = 60
  51. local DamageService = require(game.ServerScriptService.Libraries.DamageService)
  52.  
  53.  
  54. -- SETTINGS
  55. local initBolt = game:GetService("ServerStorage").Items.BigThunderbolt
  56. local initXurkBolt = game:GetService("ServerStorage").Items.BlueThunderbolt
  57. local sizeScale = 0.9 -- This determines how big the thunderbolt ends up being.
  58.  
  59. local offsetBy = CFrame.new(0, initBolt.Size.Y*sizeScale/2, 0)
  60. local ShakeEvent = game:GetService("ReplicatedStorage"):WaitForChild("ShakeEvent")
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67. -- Creates a ParticleEmitter that emits fire particles. Taken from TriAttack.
  68. local function makeFireParticles()
  69. local p = Instance.new("ParticleEmitter")
  70.  
  71. p.Color = ColorSequence.new(Color3.fromRGB(255, 0, 0), Color3.fromRGB(255, 247, 0))
  72. p.LightEmission = 1
  73. p.LightInfluence = 1
  74. p.Orientation = Enum.ParticleOrientation.FacingCamera
  75. p.Size = NumberSequence.new(2.57, 0.1)
  76. p.Texture = "rbxassetid://5872447086"
  77. p.Transparency = NumberSequence.new(0.2)
  78.  
  79. p.EmissionDirection = Enum.NormalId.Top
  80. p.Lifetime = NumberRange.new(2)--NumberRange.new(1)
  81. --p.Rate = 30
  82. p.Rotation = NumberRange.new(-360, 360)
  83. p.RotSpeed = NumberRange.new(70)
  84. p.Speed = NumberRange.new(4, 5)
  85. p.SpreadAngle = Vector2.new(360, 360)
  86.  
  87. p.Shape = Enum.ParticleEmitterShape.Box
  88. p.ShapeInOut = Enum.ParticleEmitterShapeInOut.Outward
  89. p.ShapeStyle = Enum.ParticleEmitterShapeStyle.Volume
  90.  
  91. p.Acceleration = Vector3.new(0, 2, 0)
  92. p.TimeScale = 1
  93.  
  94. return p
  95. end
  96.  
  97.  
  98.  
  99.  
  100. -- SCRIPT
  101. function Whisland(...)
  102. local args = {...}
  103.  
  104. local Debris = game:GetService("Debris")
  105. local TweenService = game:GetService("TweenService")
  106. local Stats = require(game.ServerScriptService.Stats)
  107.  
  108.  
  109.  
  110.  
  111. -- Beginning melee
  112. local meleeDMG = math.random(1, 10)==1 and meleeBaseDMG*2 or meleeBaseDMG
  113.  
  114. local melee = Instance.new("Part")
  115. melee.Transparency, melee.CanCollide, melee.Anchored, melee.Massless, melee.Size, melee.BrickColor, melee.Material =
  116. 0, false, false, true, size1, color, material
  117. melee.CFrame = args[1].Character.Torso.CFrame
  118. local meleeParticles = makeFireParticles()
  119. meleeParticles.Lifetime = NumberRange.new(0.3, 0.45)
  120. meleeParticles.Size = NumberSequence.new(10, 0.1)
  121. meleeParticles.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),
  122. NumberSequenceKeypoint.new(0.1, 0.8),
  123. NumberSequenceKeypoint.new(0.2, 0),
  124. NumberSequenceKeypoint.new(0.9, 0),
  125. NumberSequenceKeypoint.new(1, 1)})
  126. meleeParticles.Speed = NumberRange.new(0)
  127. meleeParticles.Rate = 0
  128. meleeParticles.LockedToPart = true
  129. meleeParticles.Parent = args[1].Character.Torso
  130.  
  131. local weld = Instance.new("WeldConstraint")
  132. weld.Part0, weld.Part1 = args[1].Character.Torso, melee
  133. weld.Parent = melee
  134.  
  135. Debris:AddItem(melee, chargeDuration+0.3)
  136. DamageService:RegisterWeaponPart(args[1], {melee}, meleeDMG)
  137. TweenService:Create(melee, TweenInfo.new(chargeDuration*2/3), {Transparency = 1}):Play()
  138. melee.Parent = workspace
  139.  
  140.  
  141.  
  142.  
  143.  
  144. -- trolling
  145.  
  146. for i = 0, chargeDuration, 0.1 do
  147. meleeParticles:Emit(1)
  148. meleeParticles.Size = NumberSequence.new(2.57+4*i, 0.1)
  149. task.wait(0.1)
  150. end
  151. -- The melee is destroyed on its own, so don't worry.
  152. -- The lifetime is slightly longer than the desired one because despawning parts are buggy with this damage system.
  153. -- (eg hitting the end of a melee)
  154.  
  155.  
  156.  
  157.  
  158.  
  159. -- AoE
  160. coroutine.wrap(function()
  161. meleeParticles.LockedToPart = false
  162. meleeParticles.Lifetime = NumberRange.new(1)
  163. meleeParticles.Size = NumberSequence.new(5, 0.1)
  164. meleeParticles.Transparency = NumberSequence.new(0.2)
  165. meleeParticles.Speed = NumberRange.new(6, 25)
  166. meleeParticles.Rate = 0
  167.  
  168. task.wait(0.2)
  169. meleeParticles:Emit(50)
  170. Debris:AddItem(meleeParticles, 15)
  171. end)()
  172.  
  173.  
  174.  
  175. local aoePart = Instance.new("Part")
  176. aoePart.CanCollide, aoePart.Anchored, aoePart.CFrame = false, true, args[1].Character.Torso.CFrame
  177. aoePart.Transparency, aoePart.Size, aoePart.Material, aoePart.BrickColor =
  178. transparency, size2, material, color
  179.  
  180. local size = aoePart.Size
  181. local endSize = Vector3.new(size.X*1.2+1.2, size.Y*1.2+1.2, size.Z*1.2+1.2)
  182.  
  183. local SizeMod = TweenService:Create(aoePart, TweenInfo.new(3.7, Enum.EasingStyle.Quint), {Size = endSize, Transparency = 1})
  184. SizeMod.Completed:Connect(function() aoePart:Destroy() end)
  185. SizeMod:Play()
  186.  
  187. DamageService:RegisterRangeDamage(args[1], radius, aoeBaseDMG) -- aoes have 0 crit rate
  188. aoePart.Parent = workspace
  189.  
  190.  
  191.  
  192.  
  193. -- Screenshake from AoE
  194. local myPos = args[1].Character.Torso.Position
  195. for i, player in pairs(game.Players:GetPlayers()) do
  196. if player.Character and player.Character:FindFirstChild("Torso") then
  197. if (player.Character.Torso.Position-myPos).Magnitude <= 60 then
  198. ShakeEvent:FireClient(player, 2.5, 400) -- first number is how long the shake lasts, second is strength
  199. end
  200. end
  201. end
  202.  
  203.  
  204.  
  205. local melee = game.ServerStorage.Items.WhislandMelee:Clone()
  206. game:GetService("Debris"):AddItem(melee, 10)
  207. melee.CFrame = args[1].Character.Torso.CFrame
  208. local weld = Instance.new("WeldConstraint")
  209. weld.Part0, weld.Part1, weld.Parent = melee, args[1].Character.Torso, melee
  210. melee.Parent = workspace
  211. DamageService:RegisterWeaponPart(args[1], {melee}, 50)
  212. task.wait(0.1)
  213. melee.whiscash:Play()
  214.  
  215.  
  216. local directions = {1, 2, 3, 4, 5, 6, 7, 8}
  217.  
  218. local myLevel = Stats.GetStat(args[1], args[1].Character.BaseStat.Value)
  219. for i = 1, 8 do
  220. args[1].Character.Humanoid.WalkSpeed = args[1].Character.BaseSpeed.Value*2 * (myLevel*0.0035 + 0.25)
  221. coroutine.wrap(function()
  222. -- Projectile
  223. local projDamage = math.random(1, 10)==1 and projBaseDMG*2 or projBaseDMG
  224. local proj = initProj:Clone()
  225. proj.CanCollide, proj.Anchored = false, false
  226. proj.CFrame = args[1].Character.Torso.CFrame*CFrame.Angles(
  227. math.rad(math.random(0, 360)), math.rad(math.random(0, 360)), math.rad(math.random(0, 360)))
  228. local velocity = Instance.new("BodyVelocity")
  229. local generated = math.random(1, #directions)
  230. velocity.MaxForce, velocity.Velocity =
  231. Vector3.new(math.huge, math.huge, math.huge), (args[1].Character.Torso.CFrame*CFrame.Angles(0, math.rad(45*directions[generated]), 0)).LookVector*90
  232. table.remove(directions, generated)
  233. velocity.Parent = proj
  234. local att = Instance.new("Attachment", proj)
  235. local av = Instance.new("AngularVelocity")
  236. av.Attachment0, av.MaxTorque, av.AngularVelocity =
  237. att, math.huge, Vector3.new((math.random()*4-2)*math.pi, (math.random()*4-2)*math.pi, (math.random()*4-2)*math.pi)
  238. av.Parent = proj
  239.  
  240. DamageService:RegisterWeaponPart(args[1], {proj}, projDamage, function(hit)
  241. local hitTorso
  242. if hit:IsA("Player") then
  243. hitTorso = hit.Character.Torso
  244. else
  245. hitTorso = hit.Torso
  246. end
  247.  
  248. local sickParticles = makeFireParticles()
  249. sickParticles.Speed = NumberRange.new(6, 25)
  250. sickParticles.Rate = 0
  251.  
  252. sickParticles.Parent = hitTorso
  253. task.wait(0.2)
  254. sickParticles:Emit(40)
  255. Debris:AddItem(sickParticles, 15)
  256. task.wait(0.5)
  257. end)
  258.  
  259. proj.Parent = workspace
  260.  
  261. local timeBetweenTrail = 0.5
  262.  
  263. for i = 1, 15, timeBetweenTrail do
  264. local sillyTrail = initProjTrail:Clone()
  265. sillyTrail.CanCollide, sillyTrail.Anchored = false, true
  266. sillyTrail.CFrame = proj.CFrame
  267. local disappearing = TweenService:Create(sillyTrail, TweenInfo.new(1), {Transparency = 1, Size = sillyTrail.Size*1.3})
  268. disappearing.Completed:Connect(function() sillyTrail:Destroy() end)
  269. disappearing:Play()
  270. sillyTrail.Parent = workspace
  271. task.wait(timeBetweenTrail)
  272. end
  273.  
  274. proj:Destroy()
  275. end)()
  276. task.wait(0.25)
  277. end
  278.  
  279. weld:Destroy()
  280. melee.Transparency = 1
  281. melee.ParticleEmitter.Rate = 0
  282. args[1].Character.Humanoid.WalkSpeed = args[1].Character.BaseSpeed.Value * (myLevel*0.0025 + 0.25)
  283. task.wait(5)
  284. melee:Destroy()
  285.  
  286. end
  287.  
  288.  
  289. function HolyCharmeleon(...)
  290. local args = {...}
  291.  
  292. local initTarget = game.ServerStorage.Items.HolyCharmeleonTarget
  293. local initBall = game.ServerStorage.Items.HolyCharmeleonSphere
  294. local startAt = args[1].Character.Torso.CFrame*CFrame.new(0, -2.5, 0)
  295.  
  296. for offset = 14, -14, -14 do
  297. coroutine.wrap(function()
  298. local target = initTarget:Clone()
  299. target.CFrame = startAt*CFrame.new(0, 0, offset)
  300. target.Parent = workspace
  301. task.wait(0.1)
  302. target.wailord:Play()
  303. task.wait(0.9)
  304. local ball = initBall:Clone()
  305. ball.CFrame = target.CFrame*CFrame.new(0, 20, 0)
  306. game:GetService("Debris"):AddItem(ball, 6000)
  307. local explosion = Instance.new("Explosion")
  308. explosion.Position = target.Position+Vector3.new(0, 20, 0)
  309. game:GetService("Debris"):AddItem(explosion, 5)
  310. explosion.Parent = workspace
  311. DamageService:RegisterWeaponPart(nil, {ball}, 100, function(hit)
  312. if hit==args[1] then
  313. args[1].Character.Humanoid.Health=0
  314. end
  315. end)
  316. local connections = {}
  317. connections[1] = args[1].Character.Humanoid.Died:Connect(function()
  318. ball:Destroy()
  319. for i, connection in pairs(connections) do connection:Disconnect() end
  320. end)
  321. connections[2] = args[1]:GetPropertyChangedSignal("Parent"):Connect(function()
  322. ball:Destroy()
  323. for i, connection in pairs(connections) do connection:Disconnect() end
  324. end)
  325. ball.Parent = workspace
  326. target:Destroy()
  327. end)()
  328. task.wait(0.5)
  329. end
  330. end
  331.  
  332. function StrangeSouvenir(...)
  333. local args = {...}
  334. local Stats = require(game.ServerScriptService.Stats)
  335.  
  336. for j = -45, 45, 45 do
  337. coroutine.wrap(function()
  338. for i = -3, -103, -10 do
  339. coroutine.wrap(function()
  340. local particles = Instance.new("ParticleEmitter")
  341. particles.Brightness = 1
  342. particles.Color = ColorSequence.new(Color3.fromRGB(255, 232, 140))
  343. particles.LightEmission = 1
  344. particles.Orientation = Enum.ParticleOrientation.VelocityPerpendicular
  345. particles.Size = NumberSequence.new({
  346. NumberSequenceKeypoint.new(0, 0),
  347. NumberSequenceKeypoint.new(0.7, 10),
  348. NumberSequenceKeypoint.new(1, 10)})
  349. particles.Texture = "rbxassetid://1057939773"
  350. particles.Transparency = NumberSequence.new({
  351. NumberSequenceKeypoint.new(0, 0),
  352. NumberSequenceKeypoint.new(0.7, 0.75),
  353. NumberSequenceKeypoint.new(0.9, 0.95),
  354. NumberSequenceKeypoint.new(1, 1)})
  355. particles.EmissionDirection = Enum.NormalId.Top
  356. particles.Lifetime = NumberRange.new(0.8)
  357. particles.Rate = 0
  358. particles.Rotation = NumberRange.new(0)
  359. particles.RotSpeed = NumberRange.new(0)
  360. particles.Speed = NumberRange.new(0.1)
  361. particles.SpreadAngle = Vector2.new(0, 0)
  362. particles.Shape = Enum.ParticleEmitterShape.Box
  363. particles.ShapeInOut = Enum.ParticleEmitterShapeInOut.Outward
  364. particles.ShapeStyle = Enum.ParticleEmitterShapeStyle.Volume
  365.  
  366. particles.Parent = args[1].Character.Torso
  367.  
  368. task.wait(0.2) -- necessary for the game to properly emit the particle
  369.  
  370. local myMon = Stats.GetStat(args[1], "Current_Pokemon")
  371. local theBolt = myMon=="Ivysaur" and initXurkBolt or (myMon=="Xurkitree" and initXurkBolt or initBolt)
  372. local bolt = theBolt:Clone()
  373. bolt.Size *= sizeScale
  374. bolt.CanCollide, bolt.Anchored = false, true
  375. bolt.CFrame = args[1].Character.Torso.CFrame*offsetBy*CFrame.Angles(0, math.rad(j), 0)*CFrame.new(0, 0, i)*CFrame.Angles(0, math.rad(math.random(0, 360)), 0)
  376. bolt.Parent = workspace
  377. DamageService:RegisterWeaponPart(args[1], {bolt}, 40)
  378. local disappearing = game:GetService("TweenService"):Create(bolt, TweenInfo.new(0.7), {Transparency = 1})
  379. disappearing.Completed:Connect(function() bolt:Destroy() end)
  380. disappearing:Play()
  381.  
  382. particles:Emit(1)
  383.  
  384. local myPos = (args[1].Character.Torso.CFrame*CFrame.Angles(0, math.rad(j), 0)*CFrame.new(0, 0, i)).Position
  385. for i, player in pairs(game.Players:GetPlayers()) do
  386. if player.Character and player.Character:FindFirstChild("Torso") then
  387. if (player.Character.Torso.Position-myPos).Magnitude <= 60 then
  388. ShakeEvent:FireClient(player, 0.7, 400) -- first number is how long the shake lasts, second is strength
  389. end
  390. end
  391. end
  392. end)()
  393. task.wait(0.5)
  394. end
  395. end)()
  396. end
  397.  
  398.  
  399. task.wait(0.6)
  400.  
  401. for i = 1, 18 do
  402. local roll = math.random(1,3)
  403. local lockOnto = args[1].Character.Torso.Position+Vector3.new((math.random(0, 60)+60)*(math.random(0,1)-0.5)*2, math.random(-2, 4), (math.random(0, 60)+60)*(math.random(0,1)-0.5)*2)
  404. if roll==1 then -- zapcannon
  405. local part1 = Instance.new("Part")
  406. part1.CanCollide, part1.Size, part1.BrickColor, part1.Transparency, part1.Material =
  407. false, Vector3.new(7,7,7), BrickColor.new("Olive"), 0.6, "Neon"
  408. local part2 = Instance.new("Part")
  409. part2.CanCollide, part2.Size, part2.BrickColor, part2.Transparency, part2.Material =
  410. false, Vector3.new(3,3,3), BrickColor.new("Bright red"), 0.2, "Neon"
  411. local light = Instance.new("PointLight")
  412. light.Brightness, light.Color, light.Range = 5, Color3.new(1,1,0), 10
  413. light.Parent = part1
  414. part1.CFrame = args[1].Character.Torso.CFrame*CFrame.new(0, 0, -7)
  415. part2.CFrame = part1.CFrame
  416.  
  417. local bv = Instance.new("BodyVelocity")
  418. bv.MaxForce, bv.Velocity = Vector3.new(math.huge, math.huge, math.huge), lockOnto - part1.Position
  419. bv.Parent = part1
  420. bv = Instance.new("BodyVelocity")
  421. bv.MaxForce, bv.Velocity = Vector3.new(math.huge, math.huge, math.huge), lockOnto - part2.Position
  422. bv.Parent = part2
  423. game:GetService("Debris"):AddItem(part1, 7)
  424. game:GetService("Debris"):AddItem(part2, 7)
  425. DamageService:RegisterWeaponPart(args[1], {part1, part2}, 40)
  426. part1.Parent = workspace
  427. part2.Parent = workspace
  428. elseif roll==2 then -- flashcannon
  429. for i = 1, 16 do
  430. local part = Instance.new("Part")
  431. part.CanCollide, part.Size, part.BrickColor, part.Transparency, part.Reflectance, part.Material =
  432. false, Vector3.new(math.random(6,8),math.random(6,8),math.random(6,8)), BrickColor.new("White"), 0.4, 0.4, "Neon"
  433. local light = Instance.new("PointLight")
  434. light.Brightness, light.Color, light.Range = 10, Color3.new(1,1,1), 10
  435. light.Parent = part
  436. part.CFrame = args[1].Character.Torso.CFrame*CFrame.new(0, 0, -7)
  437. part.Parent = workspace
  438.  
  439. local bv = Instance.new("BodyVelocity")
  440. bv.MaxForce, bv.Velocity = Vector3.new(math.huge, math.huge, math.huge), lockOnto - part.Position
  441. bv.Parent = part
  442. game:GetService("Debris"):AddItem(part, 7)
  443. DamageService:RegisterWeaponPart(args[1], {part}, 4)
  444. task.wait(0.02)
  445. end
  446. else -- ancientpower
  447. local part1 = Instance.new("Part")
  448. part1.CanCollide, part1.Size, part1.BrickColor, part1.Transparency, part1.Material =
  449. false, Vector3.new(6, 6, 6), BrickColor.new("Br. yellowish orange"), 0.7, "Neon"
  450. local part2 = Instance.new("Part")
  451. part2.CanCollide, part2.Size, part2.BrickColor, part2.Transparency, part2.Material =
  452. false, Vector3.new(5, 5, 5), BrickColor.new("Bright yellow"), 0.3, "Neon"
  453. local light = Instance.new("PointLight")
  454. light.Brightness, light.Color, light.Range = 5, Color3.new(1,1,0), 10
  455. light.Parent = part1
  456. part1.CFrame = args[1].Character.Torso.CFrame*CFrame.new(0, 0, -7)
  457. part2.CFrame = part1.CFrame
  458.  
  459. local bv = Instance.new("BodyVelocity")
  460. bv.MaxForce, bv.Velocity = Vector3.new(math.huge, math.huge, math.huge), lockOnto - part1.Position
  461. bv.Parent = part1
  462. bv = Instance.new("BodyVelocity")
  463. bv.MaxForce, bv.Velocity = Vector3.new(math.huge, math.huge, math.huge), lockOnto - part2.Position
  464. bv.Parent = part2
  465. game:GetService("Debris"):AddItem(part1, 7)
  466. game:GetService("Debris"):AddItem(part2, 7)
  467. DamageService:RegisterWeaponPart(args[1], {part1, part2}, 40)
  468. part1.Parent = workspace
  469. part2.Parent = workspace
  470. end
  471. task.wait(0.2)
  472. end
  473.  
  474. end
  475.  
  476. function GmaxCharizard(...)
  477. local args = {...}
  478. local initToilet = game.ServerStorage.Items.GmaxCharizardToilet
  479. local initSpike = game.ServerStorage.Items.GmaxCharizardSpike
  480.  
  481.  
  482. local myPos = args[1].Character.Torso.Position
  483. for i, player in pairs(game.Players:GetPlayers()) do
  484. if player.Character and player.Character:FindFirstChild("Torso") then
  485. if (player.Character.Torso.Position-myPos).Magnitude <= 500 then
  486. ShakeEvent:FireClient(player, 7, 200) -- first number is how long the shake lasts, second is strength
  487. end
  488. end
  489. end
  490.  
  491. for i = 1, 10 do
  492. coroutine.wrap(function() -- Here lies: the game's memory (bros about to crash the server)
  493. local toilets = {}
  494. local spikes = {}
  495. for i = 1, 5 do
  496. local toilet = initToilet:Clone()
  497. toilet.CFrame = args[1].Character.Torso.CFrame*CFrame.new(math.random(-100, 100), 0, math.random(-100, 100))
  498. toilet.Parent = workspace
  499. table.insert(toilets, toilet)
  500. local spike = initSpike:Clone()
  501. spike.CFrame = toilet.CFrame*CFrame.new(-1, 1.9, 0)*CFrame.new(0, -40, 0)
  502. spike.Parent = workspace
  503. table.insert(spikes, spike)
  504. DamageService:RegisterWeaponPart(args[1], {spike}, 0, function(hit)
  505. local hitTorso, hitHum
  506. if hit:IsA("Player") then hitTorso = hit.Character.Torso hitHum = hit.Character.Humanoid else hitTorso = hit.Torso hitHum = hit.Humanoid end
  507. local count = 1
  508.  
  509. -- swiping
  510. local invis = Instance.new("Part")
  511. invis.Transparency, invis.CanCollide, invis.Massless, invis.Size, invis.CFrame =
  512. 1, false, true, Vector3.new(15, 8, 15), hitTorso.CFrame
  513. invis.Parent = workspace
  514.  
  515. local weld = Instance.new("WeldConstraint")
  516. weld.Part0, weld.Part1 =
  517. hitTorso, invis
  518. weld.Parent = invis
  519.  
  520. local pe = Instance.new("ParticleEmitter", invis)
  521. pe.Texture, pe.Rate, pe.Size, pe.Lifetime, pe.Speed =
  522. "rbxassetid://16948342514", 0, NumberSequence.new(2), NumberRange.new(0.6), NumberRange.new(30)
  523. pe.Shape, pe.ShapeInOut, pe.ShapeStyle, pe.LockedToPart =
  524. Enum.ParticleEmitterShape.Sphere, Enum.ParticleEmitterShapeInOut.Inward, Enum.ParticleEmitterShapeStyle.Surface, true
  525.  
  526. task.wait(0.1)
  527. for i = 1, 7 do
  528. pe:Emit(1)
  529. task.wait(0.17)
  530. hitHum:TakeDamage(73/7)
  531. end
  532. hitHum.Health = math.round(hitHum.Health)
  533. task.wait(0.5)
  534. invis:Destroy()
  535. end)
  536. end
  537. task.wait(0.7)
  538. for i = 1, 10 do
  539. for i, spike in pairs(spikes) do
  540. spike.CFrame*=CFrame.new(0, 5, 0)
  541. end
  542. task.wait()
  543. end
  544. task.wait(10)
  545. for i = 1, 10 do
  546. for i, spike in pairs(spikes) do
  547. spike.CFrame*=CFrame.new(0, -5, 0)
  548. end
  549. task.wait()
  550. end
  551. for i, toilet in pairs(toilets) do
  552. toilet:Destroy()
  553. end
  554. for i, spike in pairs(spikes) do
  555. spike:Destroy()
  556. end
  557. end)()
  558. task.wait(0.5)
  559. end
  560. end
  561.  
  562. -- SCRIPT
  563. function Use(...)
  564. local args = {...}
  565. local Stats = require(game.ServerScriptService.Stats)
  566.  
  567. local cMon = Stats.GetStat(args[1], "Current_Pokemon")
  568. if cMon=="Whisland" then
  569. Whisland(...)
  570. elseif cMon=="Holy Charmeleon" then
  571. HolyCharmeleon(...)
  572. elseif cMon=="Strange Souvenir" then
  573. StrangeSouvenir(...)
  574. elseif cMon=="Gmax charizard" then
  575. GmaxCharizard(...)
  576. else
  577. Whisland(...)
  578. end
  579. end
  580.  
  581. return Use
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement