Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Create a Sound object
- local sound = Instance.new("Sound")
- -- Set the sound ID (use the Roblox asset ID for the sound you want)
- sound.SoundId = "rbxassetid://17325303798" -- Replace [YourSoundID] with the actual ID
- -- Set the parent to the workspace or another object to ensure it plays
- sound.Parent = game.Workspace
- -- Play the sound
- sound:Play()
- -- Optional: Destroy the sound object after it finishes playing
- sound.Ended:Connect(function()
- sound:Destroy()
- end)
- local player = game.Players.LocalPlayer
- repeat wait() until player.Character.Humanoid
- local humanoid = player.Character.Humanoid
- local anim = Instance.new("Animation")
- anim.AnimationId = "rbxassetid://17325254223"
- local playAnim = humanoid:LoadAnimation(anim)
- anim.AnimationId = "rbxassetid://0"
- playAnim:Play()
- wait(1)
- local boom1 = game.ReplicatedStorage.Resources.KJEffects["spinnerthing"].spinningpartysmoke:Clone()
- boom1.Parent = game.Players.LocalPlayer.Character["Torso"]
- for _, child in ipairs(boom1:GetChildren()) do
- if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
- child:Emit(3) -- Emit 20 particles
- end
- end
- local collateral1 = game.ReplicatedStorage.Resources.KJEffects["spinnyweenyspinner"].Attachment:Clone()
- collateral1.Parent = game.Players.LocalPlayer.Character["HumanoidRootPart"]
- for _, child in ipairs(collateral1:GetChildren()) do
- if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
- child:Emit(2) -- Emit 20 particles
- end
- end
- local collateral2 = game.ReplicatedStorage.Resources.KJEffects["spinnyweenyspinner"].Emit:Clone()
- collateral2.Parent = game.Players.LocalPlayer.Character["HumanoidRootPart"]
- for _, child in ipairs(collateral2:GetChildren()) do
- if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
- child:Emit(2) -- Emit 20 particles
- end
- end
- local collateral3 = game.ReplicatedStorage.Resources.KJEffects["spinnerthing"].spinningparty:Clone()
- collateral3.Parent = game.Players.LocalPlayer.Character["HumanoidRootPart"]
- for _, child in ipairs(collateral3:GetChildren()) do
- if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
- child:Emit(2) -- Emit 20 particles
- end
- end
- local collateral4 = game.ReplicatedStorage.Resources.KJEffects["spinnerthing"].spinningpartysmoke:Clone()
- collateral4.Parent = game.Players.LocalPlayer.Character["HumanoidRootPart"]
- for _, child in ipairs(collateral4:GetChildren()) do
- if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
- child:Emit(2) -- Emit 20 particles
- end
- end
- wait(0.2)
- playAnim:AdjustSpeed(0)
- wait(0.3)
- playAnim:AdjustSpeed(1)
- local player = game.Players.LocalPlayer
- local playerCharacter = player.Character or player.CharacterAdded:Wait()
- local replicatedStorage = game:GetService("ReplicatedStorage")
- local resourcesFolder = replicatedStorage:WaitForChild("Resources")
- local kjEffectsFolder = resourcesFolder:WaitForChild("KJEffects")
- local thingNearOne = kjEffectsFolder:WaitForChild("SpinnerDownMesh")
- local mesh = thingNearOne:WaitForChild("Mesh")
- if mesh then
- local part = Instance.new("Part")
- part.Size = Vector3.new(1, 1, 1)
- part.Anchored = true
- part.CanCollide = false
- part.Transparency = 1 -- Set the part's transparency
- part.Parent = game.Workspace
- local meshClone = mesh:Clone()
- meshClone.Parent = part
- local decal = Instance.new("Decal")
- decal.Texture = "rbxassetid://9572542664"
- decal.Face = Enum.NormalId.Front
- decal.Parent = part
- local humanoidRootPart = playerCharacter:WaitForChild("HumanoidRootPart")
- local offset = Vector3.new(0, 5, 0)
- part.CFrame = CFrame.new(humanoidRootPart.Position + offset) * CFrame.Angles(math.rad(-2000), 0, 190)
- wait(0.3)
- part:Destroy()
- else
- warn("Mesh not found inside thingNearOne.")
- end
- local boom1 = game.ReplicatedStorage.Resources.KJEffects["SpinningSmoke"].Smoke:Clone()
- boom1.Parent = game.Players.LocalPlayer.Character["Torso"]
- for _, child in ipairs(boom1:GetChildren()) do
- if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
- child:Emit(60) -- Emit 20 particles
- end
- end
- local leap1 = game.ReplicatedStorage.Resources.KJEffects["LeapParticles"].Leap:Clone()
- leap1.Parent = game.Players.LocalPlayer.Character["Torso"]
- for _, child in ipairs(leap1:GetChildren()) do
- if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
- child:Emit(1) -- Emit 20 particles
- end
- end
- local collateral1 = game.ReplicatedStorage.Resources.KJEffects["spinnyweenyspinner"].Attachment:Clone()
- collateral1.Parent = game.Players.LocalPlayer.Character["HumanoidRootPart"]
- for _, child in ipairs(collateral1:GetChildren()) do
- if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
- child:Emit(2) -- Emit 20 particles
- end
- end
- local collateral2 = game.ReplicatedStorage.Resources.KJEffects["spinnyweenyspinner"].Emit:Clone()
- collateral2.Parent = game.Players.LocalPlayer.Character["HumanoidRootPart"]
- for _, child in ipairs(collateral2:GetChildren()) do
- if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
- child:Emit(2) -- Emit 20 particles
- end
- end
- local collateral3 = game.ReplicatedStorage.Resources.KJEffects["spinnerthing"].spinningparty:Clone()
- collateral3.Parent = game.Players.LocalPlayer.Character["HumanoidRootPart"]
- for _, child in ipairs(collateral3:GetChildren()) do
- if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
- child:Emit(2) -- Emit 20 particles
- end
- end
- local collateral4 = game.ReplicatedStorage.Resources.KJEffects["spinnerthing"].spinningpartysmoke:Clone()
- collateral4.Parent = game.Players.LocalPlayer.Character["HumanoidRootPart"]
- for _, child in ipairs(collateral4:GetChildren()) do
- if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
- child:Emit(2) -- Emit 20 particles
- end
- end
- local collateral5 = game.ReplicatedStorage.Resources.KJEffects["spinbeam"].beam2:Clone()
- collateral5.Parent = game.Players.LocalPlayer.Character["HumanoidRootPart"]
- for _, child in ipairs(collateral5:GetChildren()) do
- if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
- child:Emit(2) -- Emit 20 particles
- end
- end
- local collateral6 = game.ReplicatedStorage.Resources.KJEffects["ColateralImapct"].HitTwo:Clone()
- collateral6.Parent = game.Players.LocalPlayer.Character["HumanoidRootPart"]
- for _, child in ipairs(collateral6:GetChildren()) do
- if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
- child:Emit(2) -- Emit 20 particles
- end
- end
- local collateral7 = game.ReplicatedStorage.Resources.KJEffects["ColateralImapctTest"].HitTwo:Clone()
- collateral7.Parent = game.Players.LocalPlayer.Character["HumanoidRootPart"]
- for _, child in ipairs(collateral7:GetChildren()) do
- if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
- child:Emit(2) -- Emit 20 particles
- end
- end
- local collateral8 = game.ReplicatedStorage.Resources.KJEffects["ColateralImapctTest2"].HitTwo:Clone()
- collateral8.Parent = game.Players.LocalPlayer.Character["HumanoidRootPart"]
- for _, child in ipairs(collateral8:GetChildren()) do
- if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
- child:Emit(2) -- Emit 20 particles
- end
- end
- local fine3 = game.ReplicatedStorage.Resources.KJEffects["fine...Emit"].EmitBatch2:Clone()
- fine3.Parent = game.Players.LocalPlayer.Character["Torso"]
- for _, child in ipairs(fine3:GetChildren()) do
- if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
- child:Emit(1) -- Emit 20 particles
- end
- end
- local boom1 = game.ReplicatedStorage.Resources.KJEffects["ImpactEffect2"].Attachment:Clone()
- boom1.Parent = game.Players.LocalPlayer.Character["Torso"]
- for _, child in ipairs(boom1:GetChildren()) do
- if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
- child:Emit(3) -- Emit 20 particles
- end
- end
- local boom1 = game.ReplicatedStorage.Resources.KJEffects["SpinningSmoke"].Smoke:Clone()
- boom1.Parent = game.Players.LocalPlayer.Character["Torso"]
- for _, child in ipairs(boom1:GetChildren()) do
- if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
- child:Emit(20) -- Emit 20 particles
- end
- end
- local boom1 = game.ReplicatedStorage.Resources.KJEffects["spinnerthing"].spinningpartysmoke:Clone()
- boom1.Parent = game.Players.LocalPlayer.Character["Torso"]
- for _, child in ipairs(boom1:GetChildren()) do
- if child:IsA("ParticleEmitter") then -- Check if the child is a ParticleEmitter
- child:Emit(3) -- Emit 20 particles
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement