View difference between Paste ID: wuPXK74k and Kk5PZqdr
SHOW: | | - or go back to the newest paste.
1
part = Instance.new("Part", owner.Character)
2
part.Massless = true
3
part.BottomSurface = Enum.SurfaceType.Smooth
4
part.TopSurface = Enum.SurfaceType.Smooth
5-
part.Size = Vector3.new(3.2,1.6,1.2)
5+
part.Size = Vector3.new(0.4,0.8,0.4)
6-
part.Name = "partlolagain"
6+
part1 = Instance.new("Part", owner.Character)
7
part1.Massless = true
8-
music.SoundId = "rbxassetid://"
8+
part1.BottomSurface = Enum.SurfaceType.Smooth
9
part1.TopSurface = Enum.SurfaceType.Smooth
10
music = Instance.new("Sound", part)
11
music.SoundId = "rbxassetid://6645831516"
12
music.Volume = 1
13-
eq = Instance.new("EqualizerSoundEffect",music)
13+
14
music:Play()
15
music.Name = "Themusic"
16-
Weld4.Part1 = owner.Character.Head
16+
music.RollOffMinDistance = 20
17-
Weld4.C0 = CFrame.new(0,0,4.5)
17+
Weld3 = Instance.new("Weld", owner.Character.Head)
18
Weld3.Part0 = part1
19
Weld3.Part1 = owner.Character.Head
20
Weld3.C0 = CFrame.new(0,1,1.5)
21
part1.Transparency = 1
22-
wait()
22+
part1.CanCollide = false
23-
 NLS([[
23+
24-
local ReplicatedStorage = game:GetService("ReplicatedStorage")
24+
25-
local sizeevent = ReplicatedStorage:WaitForChild("sizeEvent")
25+
Weld4.Part1 = part1
26-
local part = owner.Character:WaitForChild("partlolagain")
26+
Weld4.C0 = CFrame.new(0,0,0)
27-
local music = part:WaitForChild("Themusic")
27+
28-
while true do
28+
29-
	local Amplitude = math.clamp(music.PlaybackLoudness / 125, 0.1, 5)
29+
30-
	part.Size = Vector3.new(Amplitude, Amplitude, Amplitude)
30+
31-
	part.Color = Color3.fromRGB(255,math.clamp(music.PlaybackLoudness / 1.75,0,255),0)
31+
32-
sizeevent:FireServer(part.Size, part.Color)
32+
33-
wait(0.0825)
33+
local rightarm = Instance.new("Weld", owner.Character.Torso)
34-
end
34+
rightarm.Part0 = owner.Character.Torso
35-
        ]],part)
35+
rightarm.Part1 = owner.Character["Right Arm"]
36-
 local ReplicatedStorage = game:GetService("ReplicatedStorage")
36+
rightarm.C0 = CFrame.new(1.5, 0.5, 0.25) * CFrame.Angles(math.rad(90),0,0)
37-
local sizeevent = Instance.new("RemoteEvent", ReplicatedStorage)
37+
rightarm.C1 = CFrame.new(0,0.7,0)
38-
sizeevent.Name = "sizeEvent" 
38+
rightarm.Name = "RightArmWeld"
39-
 
39+
local leftarm = Instance.new("Weld", owner.Character.Torso)
40-
local function sizer(player, size, color)
40+
leftarm.Part0 = owner.Character.Torso
41-
local tweenService = game:GetService("TweenService")
41+
leftarm.Part1 = owner.Character["Left Arm"]
42-
local timeToFade = 0.0825
42+
leftarm.C0 = CFrame.new(-1.5, 0.5, 0.25) * CFrame.Angles(math.rad(90),0,0)
43-
local object = part
43+
leftarm.C1 = CFrame.new(0,0.7,0)
44-
local tweenInfo = TweenInfo.new(timeToFade)
44+
leftarm.Name = "LeftArmWeld"
45-
local goal = {}
45+
46-
goal.Size = size
46+
Spin1 = TweenService:Create(Weld4,spininfo,{C0 = Weld4.C0 * CFrame.Angles(0,math.rad(120),math.rad(35))})
47-
local shot = tweenService:Create(object, tweenInfo, goal)
47+
Spin2 = TweenService:Create(Weld4,spininfo,{C0 = Weld4.C0 * CFrame.Angles(0,math.rad(240),math.rad(-35))})
48-
local goal2 = {}
48+
Spin3 = TweenService:Create(Weld4,spininfo,{C0 = Weld4.C0 * CFrame.Angles(0,math.rad(360),math.rad(35))})
49-
goal2.Color = color
49+
50-
local shot2 = tweenService:Create(object, tweenInfo, goal2)
50+
51-
shot:Play()
51+
52-
shot2:Play()
52+
53-
end
53+
54-
 
54+
55-
sizeevent.OnServerEvent:Connect(sizer)
55+
	local speed = 3
56-
 
56+
	while true do
57-
owner.Chatted:connect(function(message)
57+
	    for i = 0,1,0.001*speed do
58-
            if message:sub(1,6) == "!Play " then
58+
	        part.Color = Color3.fromHSV(i,1,1)
59-
            music:Stop()
59+
	        wait()
60-
                music.SoundId = "http://www.roblox.com/asset/?id="..message:sub(6)
60+
	    end
61-
            music:Play()
61+
end