View difference between Paste ID: n2nkuipq and Hn7h997f
SHOW: | | - or go back to the newest paste.
1-
Effects         = {} --sound effects, for advanced players.
1+
2-
local Player    = game.Players.localPlayer
2+
3-
local Character = Player.Character
3+
4-
local Humanoid  = Character.Humanoid
4+
zawarudo.SoundId = "345590133"
5-
z               = Instance.new("Sound", Character)
5+
6-
z.SoundId       = "rbxassetid://393804793"--
6+
7-
z.Looped        = true --False for a one-time song.
7+
zawarudo1.SoundId = "rbxassetid://345590133"
8-
z.Pitch         = 1.0
8+
9-
z.Volume        = 1.6
9+
10-
wait(.1)
10+
11-
z:Play()
11+
12-
------------------------
12+
13
rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
14
rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
15
rhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
16-
zawarudo.SoundId = "rbxassetid://274698941"
16+
17
lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
18
lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
19-
zawarudo1.SoundId = "rbxassetid://565208983"
19+
20
lhandweld.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
21
function attack(key)
22
	key = key:lower()
23
	if key == "r" then
24
		if not attacking then
25
		attacking = true
26
        local cf = game.Players.LocalPlayer.Character.Torso.CFrame
27
        local bodyvel = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso)
28
        bodyvel.Velocity = cf.lookVector * 100
29
        bodyvel.MaxForce = Vector3.new(0,0,0)
30
        local bodypos1 = Instance.new("BodyPosition", game.Players.LocalPlayer.Character.Torso)
31
        bodypos1.Position = game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(0,3,0)
32
        bodypos1.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
33
        for i = 1,7 do
34
		   wait()
35
		   lhandweld.C0 = lhandweld.C0 * CFrame.Angles(-0.22,0,0)
36
		   rhandweld.C0 = rhandweld.C0 * CFrame.Angles(-0.22,0,0)
37
		   game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.25)
38
        end
39
        wait(0.2)
40
        bodypos1:destroy()
41
        bodyvel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
42
        for i = 1,7 do
43
		   wait()
44
		   game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,0.50)
45
        end
46
        bodyvel:destroy()
47
        local bodypos = Instance.new("BodyPosition", game.Players.LocalPlayer.Character.Torso)
48
        bodypos.Position = game.Players.LocalPlayer.Character.Torso.Position
49
        bodypos.MaxForce = Vector3.new(19000,19000,19000)
50
		local detect = Instance.new("Part", game.Players.LocalPlayer.Character)
51
        detect.Size = Vector3.new(4,4,4)
52
        detect:BreakJoints()
53
        detect.CanCollide = false
54
        detect.Transparency = 1
55
        local weld = Instance.new("Weld", detect)
56
        weld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
57
        weld.Part1 = detect
58
        weld.C0 = weld.C0 * CFrame.new(0,-3.7,0)
59
        local function attackedtrue(part)
60
	        if not using then
61
		    using = true
62
	        attacking = true
63
		    local torso = part.Parent:findFirstChild("Torso")
64
		    if torso ~= nil then
65
			local humanoid = part.Parent:findFirstChild("Humanoid")
66
			if humanoid ~= nil then
67
			using = true
68
	        attacking = true
69
	        local bodypostorso = Instance.new("BodyVelocity", torso)
70
            bodypostorso.Velocity = Vector3.new(0,10,0)
71
            bodypostorso.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
72
	        game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
73
	        game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
74
	        zawarudo:Play()
75
	        wait(1.2)
76
	        attacking = true
77
	        for i = 1,10 do
78
		    wait()
79
		    game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.15,0,0)
80
		    rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.15)
81
		    lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0,0,-0.15)
82
		    game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,-0.15)
83
		    game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,0.15)
84
	        end
85
	        for i = 1,10 do
86
		    wait()
87
		    game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.25,0,0)
88
		    rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,0.30)
89
		    lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0,0,-0.30)
90
		    game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,0.25)
91
		    game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,-0.25)
92
	        end
93
	        torso.Anchored = true
94
	        local wave = Instance.new("Part", workspace)
95
	        wave.CanCollide = false
96
	        wave.BrickColor = BrickColor.new("Institutional white")
97
	        wave.Anchored = true
98
	        wave.Size = Vector3.new(3,3,3)
99
	        wave.Position = game.Players.LocalPlayer.Character.Torso.Position
100
	        wave.Shape = "Ball"
101
	        for i = 1,20 do
102
		    wait()
103
			wave.Transparency = wave.Transparency + 0.05
104
		    wave.Size = wave.Size + Vector3.new(2,2,2)
105
	        end
106
	        wait(1)
107
	        for i = 1,10 do
108
		    wait()
109
		    game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.25,0,0)
110
		    rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,-0.30)
111
		    lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0,0,0.30)
112
		    game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,-0.25)
113
		    game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,0.25)
114
	        end
115
	        for i = 1,10 do
116
		    wait()
117
		    game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.15,0,0)
118
		    rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0,0,-0.15)
119
		    lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0,0,0.15)
120
		    game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,0.15)
121
		    game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,-0.15)
122
	        end
123
	        for i = 1,5 do
124
		    wait()
125
		    game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(-0.1,0,0)
126
	        end
127
	        local bodypostorsoplr = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso)
128
            bodypostorsoplr.Velocity = Vector3.new(0,2000,0)
129
            bodypostorsoplr.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
130
            wait(1.5)
131
            for i = 1,5 do
132
		    wait()
133
		    game.Players.LocalPlayer.Character.Torso.Neck.C0 = game.Players.LocalPlayer.Character.Torso.Neck.C0 * CFrame.Angles(0.2,0,0)
134
	        end
135
            bodypostorsoplr:destroy()
136
            local bodypostorsoplr1 = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso)
137
            bodypostorsoplr1.Velocity = Vector3.new(0,-2000,0)
138
            bodypostorsoplr1.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
139
            zawarudo1:Play()
140
            wait(1.70)
141
            bodypostorsoplr1:destroy()
142
            local bodypostorsoplr11 = Instance.new("BodyPosition", game.Players.LocalPlayer.Character.Torso)
143
            bodypostorsoplr11.Position = torso.Position
144
            bodypostorsoplr11.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
145
            for i = 1,150 do
146
	        wait()
147
	        local zawarudo11 = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
148
            zawarudo11.SoundId = "rbxassetid://345590133"
149
            zawarudo11.Volume = 20
150
            zawarudo11.PlaybackSpeed = math.random(1.2,1.4)
151
            zawarudo11:Play()
152
	        game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(math.random(-2,2),math.random(-2,2),math.random(-2,2))
153
            end
154
            humanoid.PlatformStand = true
155
            game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
156
            local welder = Instance.new("Weld", torso)
157
            welder.Part0 = torso
158
            welder.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
159
            welder.C0 = welder.C0 * CFrame.Angles(4.5,0,0) * CFrame.new(0,1.5,0) 
160-
            zawarudo11.SoundId = "rbxassetid://260430060"
160+
161
            torso.Anchored = false
162
            game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
163
            for i = 1,7 do
164
		    wait()
165
		    lhandweld.C0 = lhandweld.C0 * CFrame.Angles(-0.22,0,0)
166
		    rhandweld.C0 = rhandweld.C0 * CFrame.Angles(-0.22,0,0)
167
		    game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.25)
168
            end
169
            wait(1)
170
            for i = 1,7 do
171
		    wait()
172
		    game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,0.50)
173
            end
174
			wait(0.05)
175
			welder:destroy()
176
			local finishvel = Instance.new("BodyVelocity", torso)
177
			finishvel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
178
			finishvel.Velocity = torso.CFrame.lookVector * -300
179
			for i = 1,7 do
180
		    wait()
181
		    lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0.22,0,0)
182
		    rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0.22,0,0)
183
		    game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,0.25)
184
            end
185
            for i = 1,7 do
186
		    wait()
187
		    game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.50)
188
            end
189
            humanoid.Health = 0
190
            bodypostorsoplr11:destroy()
191
            game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
192
		    game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
193
		    game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
194
		    game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
195
            game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
196
            game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
197
		    game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
198
		    game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
199
		    game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
200
            game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
201
            wait(2)
202
            game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
203
		    game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
204
		    game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
205
		    game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
206
            game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
207
            attacking = false
208
	        using = false
209
	        end
210
		    end
211
		    attacking = false
212
	        using = false
213
	        end
214
        end
215
        detect.Touched:connect(attackedtrue)
216
        wait(0.5)
217
        bodypos:destroy()
218
        detect:destroy()
219
        for i = 1,7 do
220
		   wait()
221
		   game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,-0.50)
222
        end
223
        for i = 1,7 do
224
		   wait()
225
		   lhandweld.C0 = lhandweld.C0 * CFrame.Angles(0.22,0,0)
226
		   rhandweld.C0 = rhandweld.C0 * CFrame.Angles(0.22,0,0)
227
		   game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0,0,0.25)
228
        end
229
        attacking = false
230
        end
231
	end
232
end
233
mouse.KeyDown:connect(attack)