SHOW:
|
|
- or go back to the newest paste.
| 1 | - | for i,v in pairs(owner.Character.Head:GetDescendants()) do |
| 1 | + | |
| 2 | - | if v:IsA("Decal") then
|
| 2 | + | |
| 3 | - | task.wait() |
| 3 | + | |
| 4 | - | local decal = Instance.new("Decal", owner.Character.Head)
|
| 4 | + | |
| 5 | - | decal.Face = Enum.NormalId.Front |
| 5 | + | |
| 6 | - | local happyFace = "http://www.roblox.com/asset/?id=4547487952" |
| 6 | + | |
| 7 | - | decal.Texture = happyFace |
| 7 | + | |
| 8 | - | v:Destroy() |
| 8 | + | music.SoundId = "rbxassetid://" |
| 9 | music.Volume = 1 | |
| 10 | music.Looped = true | |
| 11 | - | local leftarm = Instance.new("Weld", owner.Character.Torso)
|
| 11 | + | |
| 12 | - | leftarm.Part0 = owner.Character.Torso |
| 12 | + | |
| 13 | - | leftarm.Part1 = owner.Character["Left Arm"] |
| 13 | + | eq = Instance.new("EqualizerSoundEffect",music)
|
| 14 | - | leftarm.C0 = CFrame.new(-1.5,0.5,0) * CFrame.Angles(math.rad(30.75),0,math.rad(17.5)) |
| 14 | + | Weld4 = Instance.new("Weld", owner.Character.Head)
|
| 15 | - | leftarm.C1 = CFrame.new(0,0.5,0) |
| 15 | + | Weld4.Part0 = part |
| 16 | - | leftarm.Name = "LeftArmWeld" |
| 16 | + | Weld4.Part1 = owner.Character.Head |
| 17 | - | local rightarm = Instance.new("Weld", owner.Character.Torso)
|
| 17 | + | Weld4.C0 = CFrame.new(0,0,4.5) |
| 18 | - | rightarm.Part0 = owner.Character.Torso |
| 18 | + | part.CanCollide = false |
| 19 | - | rightarm.Part1 = owner.Character["Right Arm"] |
| 19 | + | part:SetNetworkOwner(owner) |
| 20 | - | rightarm.C0 = CFrame.new(1.5,0.5,0) * CFrame.Angles(math.rad(135),0,math.rad(-25)) |
| 20 | + | part.Material = Enum.Material.Neon |
| 21 | - | rightarm.C1 = CFrame.new(0,0.5,0) |
| 21 | + | |
| 22 | - | rightarm.Name = "RightArmWeld" |
| 22 | + | |
| 23 | - | local rightleg = Instance.new("Weld", owner.Character.Torso)
|
| 23 | + | |
| 24 | - | rightleg.Part0 = owner.Character.Torso |
| 24 | + | |
| 25 | - | rightleg.Part1 = owner.Character["Right Leg"] |
| 25 | + | |
| 26 | - | rightleg.C0 = CFrame.new(0.5,-1,0) * CFrame.Angles(math.rad(82.5),0,math.rad(5)) |
| 26 | + | |
| 27 | - | rightleg.C1 = CFrame.new(0,1,0) |
| 27 | + | |
| 28 | - | rightleg.Name = "RightLegWeld" |
| 28 | + | |
| 29 | - | local leftleg = Instance.new("Weld", owner.Character.Torso)
|
| 29 | + | local Amplitude = math.clamp(music.PlaybackLoudness / 125, 0.1, 5) |
| 30 | - | leftleg.Part0 = owner.Character.Torso |
| 30 | + | part.Size = Vector3.new(Amplitude, Amplitude, Amplitude) |
| 31 | - | leftleg.Part1 = owner.Character["Left Leg"] |
| 31 | + | part.Color = Color3.fromRGB(255,math.clamp(music.PlaybackLoudness / 1.75,0,255),0) |
| 32 | - | leftleg.C0 = CFrame.new(-0.5,-1,0) * CFrame.Angles(math.rad(82.5),0,math.rad(-5)) |
| 32 | + | sizeevent:FireServer(part.Size, part.Color) |
| 33 | - | leftleg.C1 = CFrame.new(0,1,0) |
| 33 | + | wait(0.0825) |
| 34 | - | leftleg.Name = "LeftLegWeld" |
| 34 | + | |
| 35 | - | local head = Instance.new("Weld", owner.Character.Torso)
|
| 35 | + | ]],part) |
| 36 | - | head.Part0 = owner.Character.Torso |
| 36 | + | local ReplicatedStorage = game:GetService("ReplicatedStorage")
|
| 37 | - | head.Part1 = owner.Character.Head |
| 37 | + | |
| 38 | - | head.C0 = CFrame.new(0,1.25,0) * CFrame.Angles(math.rad(-25),0,0) |
| 38 | + | |
| 39 | - | head.C1 = CFrame.new(0,-0.25,0) |
| 39 | + | |
| 40 | - | head.Name = "HeadWeld" |
| 40 | + | local function sizer(player, size, color) |
| 41 | - | local humanoidrootpart = Instance.new("Weld", owner.Character.HumanoidRootPart)
|
| 41 | + | local tweenService = game:GetService("TweenService")
|
| 42 | - | humanoidrootpart.Part0 = owner.Character.HumanoidRootPart |
| 42 | + | local timeToFade = 0.0825 |
| 43 | - | humanoidrootpart.Part1 = owner.Character.Torso |
| 43 | + | local object = part |
| 44 | - | humanoidrootpart.Name = "HumanoidRootPartWeld" |
| 44 | + | local tweenInfo = TweenInfo.new(timeToFade) |
| 45 | - | humanoidrootpart.C0 = humanoidrootpart.C0 * CFrame.new(0,-1.5,0) * CFrame.Angles(math.rad(-15),0,0) |
| 45 | + | local goal = {}
|
| 46 | goal.Size = size | |
| 47 | local shot = tweenService:Create(object, tweenInfo, goal) | |
| 48 | - | part1 = Instance.new("SpecialMesh", part)
|
| 48 | + | local goal2 = {}
|
| 49 | goal2.Color = color | |
| 50 | local shot2 = tweenService:Create(object, tweenInfo, goal2) | |
| 51 | shot:Play() | |
| 52 | - | part1.MeshId = "rbxassetid://151760030" |
| 52 | + | shot2:Play() |
| 53 | - | part1.Scale = Vector3.new(1,1,1) |
| 53 | + | |
| 54 | - | part1.TextureId = "rbxassetid://151760072" |
| 54 | + | |
| 55 | sizeevent.OnServerEvent:Connect(sizer) | |
| 56 | - | part1.Name = "partlol" |
| 56 | + | |
| 57 | owner.Chatted:connect(function(message) | |
| 58 | if message:sub(1,6) == "!Play " then | |
| 59 | - | music.SoundId = "rbxassetid://6883642762" |
| 59 | + | |
| 60 | music.SoundId = "http://www.roblox.com/asset/?id="..message:sub(6) | |
| 61 | music:Play() | |
| 62 | elseif message:sub(1,7) == "!Speed " then | |
| 63 | music.PlaybackSpeed = message:sub(7) | |
| 64 | - | music.RollOffMinDistance = 20 |
| 64 | + | elseif message:sub(1,7) == "!Pitch " then |
| 65 | - | part.Anchored = true |
| 65 | + | music.Pitch = message:sub(7) |
| 66 | - | part.CFrame = owner.Character.HumanoidRootPart.CFrame * CFrame.new(3.75,-2,-0.75) * CFrame.Angles(0,math.rad(40), 0) |
| 66 | + | elseif message:sub(1,8) == "!Volume " then |
| 67 | music.Volume = message:sub(8) | |
| 68 | - | ParticleEmitter68 = Instance.new("ParticleEmitter")
|
| 68 | + | eq.LowGain = music.Volume |
| 69 | - | ParticleEmitter68.Parent = part |
| 69 | + | eq.MidGain = music.Volume * 0.35 |
| 70 | - | ParticleEmitter68.Speed = NumberRange.new(0.45, 0.75) |
| 70 | + | elseif message == "!Bass" then |
| 71 | - | ParticleEmitter68.Rotation = NumberRange.new(-180, 180) |
| 71 | + | eq.MidGain = 0 |
| 72 | - | ParticleEmitter68.Color = ColorSequence.new(Color3.new(0.15, 0.15, 0.15),Color3.new(0.15, 0.15, 0.15)) |
| 72 | + | eq.LowGain = 20 |
| 73 | - | ParticleEmitter68.LightEmission = 0.85000002384186 |
| 73 | + | |
| 74 | - | ParticleEmitter68.LightInfluence = 0.25 |
| 74 | + | |
| 75 | - | ParticleEmitter68.Texture = "http://www.roblox.com/asset/?id=304437537" |
| 75 | + | |
| 76 | - | ParticleEmitter68.Transparency = NumberSequence.new(0.30000001192093,0.5,1) |
| 76 | + | TweenService = game:GetService("TweenService")
|
| 77 | - | ParticleEmitter68.Size = NumberSequence.new(0.10000000149012,0) |
| 77 | + | spininfo = TweenInfo.new(2,Enum.EasingStyle.Linear) |
| 78 | - | ParticleEmitter68.Lifetime = NumberRange.new(0.75, 1.5) |
| 78 | + | |
| 79 | - | ParticleEmitter68.Rate = 375 |
| 79 | + | Spin1 = TweenService:Create(Weld4,spininfo,{C0 = Weld4.C0 * CFrame.Angles(0,math.rad(120),math.rad(5))})
|
| 80 | - | ParticleEmitter68.RotSpeed = NumberRange.new(-180, 180) |
| 80 | + | Spin2 = TweenService:Create(Weld4,spininfo,{C0 = Weld4.C0 * CFrame.Angles(0,math.rad(240),math.rad(5))})
|
| 81 | - | ParticleEmitter68.SpreadAngle = Vector2.new(360, 360) |
| 81 | + | Spin3 = TweenService:Create(Weld4,spininfo,{C0 = Weld4.C0 * CFrame.Angles(0,math.rad(360),math.rad(5))})
|
| 82 | - | ParticleEmitter68.VelocitySpread = 360 |
| 82 | + | |
| 83 | Spin1:Play() | |
| 84 | Spin1.Completed:Connect(function()Spin2:Play() end) | |
| 85 | Spin2.Completed:Connect(function()Spin3:Play() end) | |
| 86 | Spin3.Completed:Connect(function()Spin1:Play() end) | |
| 87 | part:SetNetworkOwner(owner) |