Advertisement
ILovePotato

Untitled

Jan 22nd, 2025
12,600
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.24 KB | None | 0 0
  1. -- Create a Sound object
  2. local sound = Instance.new("Sound")
  3.  
  4. -- Set the sound ID (use the Roblox asset ID for the sound you want)
  5. sound.SoundId = "rbxassetid://17325303798" -- Replace [YourSoundID] with the actual ID
  6.  
  7. -- Set the parent to the workspace or another object to ensure it plays
  8. sound.Parent = game.Workspace
  9.  
  10. -- Play the sound
  11. sound:Play()
  12.  
  13. -- Optional: Destroy the sound object after it finishes playing
  14. sound.Ended:Connect(function()
  15. sound:Destroy()
  16. end)
  17.  
  18. local player = game.Players.LocalPlayer
  19. repeat wait() until player.Character.Humanoid
  20. local humanoid = player.Character.Humanoid
  21.  
  22. local anim = Instance.new("Animation")
  23. anim.AnimationId = "rbxassetid://17325254223"
  24.  
  25. local playAnim = humanoid:LoadAnimation(anim)
  26. anim.AnimationId = "rbxassetid://0"
  27. playAnim:Play()
  28.  
  29.  
  30. wait(1)
  31.  
  32.  
  33. local boom1 = game.ReplicatedStorage.Resources.KJEffects["spinnerthing"].spinningpartysmoke:Clone()
  34. boom1.Parent = game.Players.LocalPlayer.Character["Torso"]
  35. for _, child in ipairs(boom1:GetChildren()) do
  36. if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
  37. child:Emit(3) -- Emit 20 particles
  38. end
  39. end
  40. local collateral1 = game.ReplicatedStorage.Resources.KJEffects["spinnyweenyspinner"].Attachment:Clone()
  41. collateral1.Parent = game.Players.LocalPlayer.Character["HumanoidRootPart"]
  42. for _, child in ipairs(collateral1:GetChildren()) do
  43. if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
  44. child:Emit(2) -- Emit 20 particles
  45. end
  46. end
  47. local collateral2 = game.ReplicatedStorage.Resources.KJEffects["spinnyweenyspinner"].Emit:Clone()
  48. collateral2.Parent = game.Players.LocalPlayer.Character["HumanoidRootPart"]
  49. for _, child in ipairs(collateral2:GetChildren()) do
  50. if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
  51. child:Emit(2) -- Emit 20 particles
  52. end
  53. end
  54. local collateral3 = game.ReplicatedStorage.Resources.KJEffects["spinnerthing"].spinningparty:Clone()
  55. collateral3.Parent = game.Players.LocalPlayer.Character["HumanoidRootPart"]
  56. for _, child in ipairs(collateral3:GetChildren()) do
  57. if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
  58. child:Emit(2) -- Emit 20 particles
  59. end
  60. end
  61. local collateral4 = game.ReplicatedStorage.Resources.KJEffects["spinnerthing"].spinningpartysmoke:Clone()
  62. collateral4.Parent = game.Players.LocalPlayer.Character["HumanoidRootPart"]
  63. for _, child in ipairs(collateral4:GetChildren()) do
  64. if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
  65. child:Emit(2) -- Emit 20 particles
  66. end
  67. end
  68.  
  69.  
  70. wait(0.2)
  71.  
  72.  
  73. playAnim:AdjustSpeed(0)
  74.  
  75.  
  76. wait(0.3)
  77.  
  78.  
  79. playAnim:AdjustSpeed(1)
  80.  
  81.  
  82. local player = game.Players.LocalPlayer
  83. local playerCharacter = player.Character or player.CharacterAdded:Wait()
  84.  
  85. local replicatedStorage = game:GetService("ReplicatedStorage")
  86. local resourcesFolder = replicatedStorage:WaitForChild("Resources")
  87. local kjEffectsFolder = resourcesFolder:WaitForChild("KJEffects")
  88. local thingNearOne = kjEffectsFolder:WaitForChild("SpinnerDownMesh")
  89. local mesh = thingNearOne:WaitForChild("Mesh")
  90.  
  91. if mesh then
  92. local part = Instance.new("Part")
  93. part.Size = Vector3.new(1, 1, 1)
  94. part.Anchored = true
  95. part.CanCollide = false
  96. part.Transparency = 1 -- Set the part's transparency
  97. part.Parent = game.Workspace
  98.  
  99. local meshClone = mesh:Clone()
  100. meshClone.Parent = part
  101.  
  102. local decal = Instance.new("Decal")
  103. decal.Texture = "rbxassetid://9572542664"
  104. decal.Face = Enum.NormalId.Front
  105. decal.Parent = part
  106.  
  107. local humanoidRootPart = playerCharacter:WaitForChild("HumanoidRootPart")
  108. local offset = Vector3.new(0, 5, 0)
  109. part.CFrame = CFrame.new(humanoidRootPart.Position + offset) * CFrame.Angles(math.rad(-2000), 0, 190)
  110.  
  111. wait(0.3)
  112. part:Destroy()
  113. else
  114. warn("Mesh not found inside thingNearOne.")
  115. end
  116.  
  117.  
  118. local boom1 = game.ReplicatedStorage.Resources.KJEffects["SpinningSmoke"].Smoke:Clone()
  119. boom1.Parent = game.Players.LocalPlayer.Character["Torso"]
  120. for _, child in ipairs(boom1:GetChildren()) do
  121. if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
  122. child:Emit(60) -- Emit 20 particles
  123. end
  124. end
  125. local leap1 = game.ReplicatedStorage.Resources.KJEffects["LeapParticles"].Leap:Clone()
  126. leap1.Parent = game.Players.LocalPlayer.Character["Torso"]
  127. for _, child in ipairs(leap1:GetChildren()) do
  128. if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
  129. child:Emit(1) -- Emit 20 particles
  130. end
  131. end
  132. local collateral1 = game.ReplicatedStorage.Resources.KJEffects["spinnyweenyspinner"].Attachment:Clone()
  133. collateral1.Parent = game.Players.LocalPlayer.Character["HumanoidRootPart"]
  134. for _, child in ipairs(collateral1:GetChildren()) do
  135. if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
  136. child:Emit(2) -- Emit 20 particles
  137. end
  138. end
  139. local collateral2 = game.ReplicatedStorage.Resources.KJEffects["spinnyweenyspinner"].Emit:Clone()
  140. collateral2.Parent = game.Players.LocalPlayer.Character["HumanoidRootPart"]
  141. for _, child in ipairs(collateral2:GetChildren()) do
  142. if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
  143. child:Emit(2) -- Emit 20 particles
  144. end
  145. end
  146. local collateral3 = game.ReplicatedStorage.Resources.KJEffects["spinnerthing"].spinningparty:Clone()
  147. collateral3.Parent = game.Players.LocalPlayer.Character["HumanoidRootPart"]
  148. for _, child in ipairs(collateral3:GetChildren()) do
  149. if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
  150. child:Emit(2) -- Emit 20 particles
  151. end
  152. end
  153. local collateral4 = game.ReplicatedStorage.Resources.KJEffects["spinnerthing"].spinningpartysmoke:Clone()
  154. collateral4.Parent = game.Players.LocalPlayer.Character["HumanoidRootPart"]
  155. for _, child in ipairs(collateral4:GetChildren()) do
  156. if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
  157. child:Emit(2) -- Emit 20 particles
  158. end
  159. end
  160. local collateral5 = game.ReplicatedStorage.Resources.KJEffects["spinbeam"].beam2:Clone()
  161. collateral5.Parent = game.Players.LocalPlayer.Character["HumanoidRootPart"]
  162. for _, child in ipairs(collateral5:GetChildren()) do
  163. if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
  164. child:Emit(2) -- Emit 20 particles
  165. end
  166. end
  167. local collateral6 = game.ReplicatedStorage.Resources.KJEffects["ColateralImapct"].HitTwo:Clone()
  168. collateral6.Parent = game.Players.LocalPlayer.Character["HumanoidRootPart"]
  169. for _, child in ipairs(collateral6:GetChildren()) do
  170. if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
  171. child:Emit(2) -- Emit 20 particles
  172. end
  173. end
  174. local collateral7 = game.ReplicatedStorage.Resources.KJEffects["ColateralImapctTest"].HitTwo:Clone()
  175. collateral7.Parent = game.Players.LocalPlayer.Character["HumanoidRootPart"]
  176. for _, child in ipairs(collateral7:GetChildren()) do
  177. if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
  178. child:Emit(2) -- Emit 20 particles
  179. end
  180. end
  181. local collateral8 = game.ReplicatedStorage.Resources.KJEffects["ColateralImapctTest2"].HitTwo:Clone()
  182. collateral8.Parent = game.Players.LocalPlayer.Character["HumanoidRootPart"]
  183. for _, child in ipairs(collateral8:GetChildren()) do
  184. if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
  185. child:Emit(2) -- Emit 20 particles
  186. end
  187. end
  188. local fine3 = game.ReplicatedStorage.Resources.KJEffects["fine...Emit"].EmitBatch2:Clone()
  189. fine3.Parent = game.Players.LocalPlayer.Character["Torso"]
  190. for _, child in ipairs(fine3:GetChildren()) do
  191. if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
  192. child:Emit(1) -- Emit 20 particles
  193. end
  194. end
  195. local boom1 = game.ReplicatedStorage.Resources.KJEffects["ImpactEffect2"].Attachment:Clone()
  196. boom1.Parent = game.Players.LocalPlayer.Character["Torso"]
  197. for _, child in ipairs(boom1:GetChildren()) do
  198. if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
  199. child:Emit(3) -- Emit 20 particles
  200. end
  201. end
  202.  
  203. local boom1 = game.ReplicatedStorage.Resources.KJEffects["SpinningSmoke"].Smoke:Clone()
  204. boom1.Parent = game.Players.LocalPlayer.Character["Torso"]
  205. for _, child in ipairs(boom1:GetChildren()) do
  206. if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
  207. child:Emit(20) -- Emit 20 particles
  208. end
  209. end
  210.  
  211. local boom1 = game.ReplicatedStorage.Resources.KJEffects["spinnerthing"].spinningpartysmoke:Clone()
  212. boom1.Parent = game.Players.LocalPlayer.Character["Torso"]
  213. for _, child in ipairs(boom1:GetChildren()) do
  214. if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
  215. child:Emit(3) -- Emit 20 particles
  216. end
  217. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement