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