SHOW:
|
|
- or go back to the newest paste.
1 | - | owner.Character.Humanoid.MaxHealth = 500 |
1 | + | owner.Character.Humanoid.MaxHealth = math.huge |
2 | - | owner.Character.Humanoid.Health = 500 |
2 | + | owner.Character.Humanoid.Health = math.huge |
3 | local div = 1 | |
4 | local Tool0 = Instance.new("Tool") | |
5 | local Part1 = Instance.new("SpawnLocation") | |
6 | local Part2 = Instance.new("SpawnLocation") | |
7 | local Part3 = Instance.new("SpawnLocation") | |
8 | local SpecialMesh1 = Instance.new("SpecialMesh") | |
9 | local SpecialMesh2 = Instance.new("SpecialMesh") | |
10 | local SpecialMesh3 = Instance.new("SpecialMesh") | |
11 | - | Tool0.Name = "The Crucible Blade" |
11 | + | Tool0.Name = "CHam" |
12 | - | Tool0.ToolTip = '"RIP AND TEAR."' |
12 | + | Tool0.ToolTip = 'Cham Means CoolScripters Hammer.' |
13 | Tool0.Parent = owner.Backpack | |
14 | Tool0.Grip = CFrame.new(0, 0, 0, -0.076, 0, -0.997, 0, 1, 0, 0.997, 0, -0.076) | |
15 | Part1.Enabled = false | |
16 | Part1.Name = "Handle" | |
17 | Part1.Parent = Tool0 | |
18 | Part1.Size = Vector3.new(1.985, 3.503, 0.57)/div | |
19 | Part1.Massless = true | |
20 | Part2.Enabled = false | |
21 | Part2.Name = "Blade" | |
22 | Part2.Color = Color3.fromRGB(255,0,0) | |
23 | Part2.Material = "Neon" | |
24 | Part2.Parent = Part1 | |
25 | Part2.Massless = true | |
26 | Part2.Size = Vector3.new(2.078, 5.316, 0.412)/div | |
27 | Part2.CanCollide = false | |
28 | Part3.Enabled = false | |
29 | Part3.Name = "Inner Blade" | |
30 | Part3.Parent = Part1 | |
31 | Part3.Color = Color3.fromRGB(255,0,0) | |
32 | Part3.Material = "ForceField" | |
33 | Part3.Size = Vector3.new(1.933, 5.316, 0.267)/div | |
34 | Part3.Massless = true | |
35 | Part3.CanCollide = false | |
36 | SpecialMesh1.Parent = Part1 | |
37 | - | SpecialMesh1.MeshId = "rbxassetid://6391397576" |
37 | + | SpecialMesh1.MeshId = "rbxassetid://10604848" |
38 | - | SpecialMesh1.Scale = Vector3.new(.066,.066,.066)/div |
38 | + | SpecialMesh1.Scale = Vector3.new(1, 1, 1)/div |
39 | - | SpecialMesh1.TextureId = "rbxassetid://6391653412" |
39 | + | SpecialMesh1.TextureId = "rbxassetid://10605252" |
40 | SpecialMesh1.MeshType = Enum.MeshType.FileMesh | |
41 | SpecialMesh2.Parent = Part2 | |
42 | - | SpecialMesh2.MeshId = "rbxassetid://6391398772" |
42 | + | SpecialMesh2.MeshId = "rbxassetid://0" |
43 | SpecialMesh2.Scale = Vector3.new(.099,.099,.099)/div | |
44 | - | SpecialMesh2.TextureId = "rbxassetid://6391592051" |
44 | + | SpecialMesh2.TextureId = "rbxassetid://0" |
45 | SpecialMesh2.MeshType = Enum.MeshType.FileMesh | |
46 | SpecialMesh3.Parent = Part3 | |
47 | - | SpecialMesh3.MeshId = "rbxassetid://6391398772" |
47 | + | SpecialMesh3.MeshId = "rbxassetid://0" |
48 | SpecialMesh3.Scale = Vector3.new(.092,.099,.064)/div | |
49 | - | SpecialMesh3.TextureId = "rbxassetid://6391628805" |
49 | + | SpecialMesh3.TextureId = "rbxassetid://0" |
50 | SpecialMesh3.MeshType = Enum.MeshType.FileMesh | |
51 | local Blade6D = Instance.new("Motor6D" , Part1) | |
52 | Blade6D.Part0 = Part1 | |
53 | Blade6D.Part1 = Part2 | |
54 | Blade6D.C0 = CFrame.new(-0.006/div, 3.658/div, -0.012/div) | |
55 | local InnerBlade6D = Instance.new("Motor6D" , Part1) | |
56 | InnerBlade6D.Part0 = Part1 | |
57 | InnerBlade6D.Part1 = Part3 | |
58 | InnerBlade6D.C0 = CFrame.new(-0.006/div, 3.658/div, -0.012/div) | |
59 | local pl1 = Instance.new("PointLight" , Part2) | |
60 | - | pl1.Color = Color3.fromRGB(255, 79, 79) |
60 | + | pl1.Color = Color3.fromRGB(0) |
61 | pl1.Brightness = 13.45 | |
62 | pl1.Range = 7.4 | |
63 | pl1.Shadows = false | |
64 | local pl2 = Instance.new("PointLight" , Part2) | |
65 | - | pl2.Color = Color3.fromRGB(244, 78, 78) |
65 | + | pl2.Color = Color3.fromRGB(0) |
66 | pl2.Brightness = .7 | |
67 | pl2.Range = 10 | |
68 | pl2.Shadows = true | |
69 | local stab = Instance.new("Sound" , owner.Character.Head) | |
70 | - | stab.SoundId = 'rbxassetid://4471648128' |
70 | + | stab.SoundId = 'rbxassetid://256382824' |
71 | - | stab.Volume = 1.25 |
71 | + | stab.Volume = 2 |
72 | local whoosh = Instance.new("Sound" , owner.Character.Head) | |
73 | - | whoosh.SoundId = 'rbxassetid://541909763' |
73 | + | whoosh.SoundId = 'rbxassetid://546410481' |
74 | whoosh.Volume = 1.25 | |
75 | local theme = Instance.new("Sound" , owner.Character.Head) | |
76 | - | theme.SoundId = 'rbxassetid://1843513001' |
76 | + | theme.SoundId = 'rbxassetid://1539245059' |
77 | theme.Volume = 1.25 | |
78 | theme.Looped = true | |
79 | theme.Pitch = 1.1 | |
80 | - | fatality.SoundId = 'rbxassetid://7274429332' |
80 | + | |
81 | fatality.SoundId = 'rbxassetid://0' | |
82 | fatality.Volume = 3 | |
83 | - | gorefx.SoundId = 'rbxassetid://245185996' |
83 | + | |
84 | gorefx.SoundId = 'rbxassetid://0' | |
85 | gorefx.Volume = 1.25 | |
86 | local at0 = Instance.new("Attachment" , Part2) | |
87 | at0.Position = Vector3.new(0,2.5,0) | |
88 | local at1 = Instance.new("Attachment" , Part2) | |
89 | at1.Position = Vector3.new(0,-2.5,0) | |
90 | local trl2 = Instance.new("Trail" , Part2) | |
91 | trl2.Attachment0 = at0 | |
92 | - | trl2.Color = ColorSequence.new(BrickColor.new("Tr. Red").Color, BrickColor.new("Br. yellowish orange").Color) |
92 | + | |
93 | trl2.Lifetime = 0 | |
94 | - | trl2.Brightness = 5.5 |
94 | + | trl2.Brightness = 0 |
95 | trl2.WidthScale = NumberSequence.new(1,0) | |
96 | trl2.Enabled = false | |
97 | local move = 1 | |
98 | local anim = Instance.new("Animation") | |
99 | anim.AnimationId = "rbxassetid://218504594" | |
100 | local slash1 = owner.Character.Humanoid:LoadAnimation(anim) | |
101 | local anim = Instance.new("Animation") | |
102 | anim.AnimationId = "rbxassetid://218508052" | |
103 | local slash2 = owner.Character.Humanoid:LoadAnimation(anim) | |
104 | local anim = Instance.new("Animation") | |
105 | anim.AnimationId = "rbxassetid://94160581" | |
106 | local equip = owner.Character.Humanoid:LoadAnimation(anim) | |
107 | local anim = Instance.new("Animation") | |
108 | anim.AnimationId = "rbxassetid://96065457" | |
109 | local equip2 = owner.Character.Humanoid:LoadAnimation(anim) | |
110 | Tool0.Equipped:Connect(function() | |
111 | theme:Resume() | |
112 | equip:Play() | |
113 | equip:AdjustSpeed(2.25) | |
114 | task.wait(.25) | |
115 | equip2:Play() | |
116 | end) | |
117 | local swinging = false | |
118 | local swinging2 = false | |
119 | Tool0.Unequipped:Connect(function() | |
120 | theme:Pause() | |
121 | equip2:Stop() | |
122 | end) | |
123 | local db = false | |
124 | local cd = 1.5 | |
125 | Tool0.Activated:Connect(function() | |
126 | if move == 1 then | |
127 | move = 2 | |
128 | swinging = true | |
129 | whoosh:Play() | |
130 | Tool0.Enabled = false | |
131 | trl2.Enabled = true | |
132 | slash1:Play() | |
133 | slash1:AdjustSpeed(2.5) | |
134 | coroutine.wrap(function() | |
135 | task.wait(cd) | |
136 | Tool0.Enabled = true | |
137 | end)() | |
138 | task.wait(.75) | |
139 | swinging = false | |
140 | trl2.Enabled = false | |
141 | elseif move == 2 then | |
142 | move = 1 | |
143 | swinging2 = true | |
144 | whoosh:Play() | |
145 | Tool0.Enabled = false | |
146 | trl2.Enabled = true | |
147 | slash2:Play() | |
148 | slash2:AdjustSpeed(3.25) | |
149 | coroutine.wrap(function() | |
150 | task.wait(cd) | |
151 | Tool0.Enabled = true | |
152 | end)() | |
153 | task.wait(.75) | |
154 | swinging2 = false | |
155 | trl2.Enabled = false | |
156 | end | |
157 | end) | |
158 | local smooth=function(P) | |
159 | local SM=Enum.SurfaceType.SmoothNoOutlines | |
160 | P.TopSurface=SM | |
161 | P.BottomSurface=SM | |
162 | P.RightSurface=SM | |
163 | P.LeftSurface=SM | |
164 | P.FrontSurface=SM | |
165 | P.BackSurface=SM | |
166 | end | |
167 | local function blood(guy, amount) | |
168 | local M=math.random | |
169 | local R=math.rad | |
170 | local rates={0.01,0.015,0.01,0.1} | |
171 | ||
172 | local function BloodPool(Part,Size) | |
173 | local Pool=Instance.new("SpawnLocation",workspace) | |
174 | Pool.Enabled = false | |
175 | Pool.TopSurface=0 | |
176 | Pool.CanCollide=false | |
177 | Pool.BrickColor=BrickColor.new("Dark red") | |
178 | local SphereMesh=Instance.new("SpecialMesh",Pool) | |
179 | SphereMesh.MeshType = ("Sphere") | |
180 | Pool.Anchored=true | |
181 | Pool.Name="BloodPoolPart" | |
182 | smooth(Pool) | |
183 | Pool.FormFactor=Enum.FormFactor.Custom | |
184 | Pool.Size=Size | |
185 | Pool.Transparency = 0.3 | |
186 | Pool.Reflectance = 0 | |
187 | Pool.Material = ("Glass") | |
188 | local c = Part.CFrame*CFrame.new(M(-3.01,3.01),-2.9,M(-3.01,3.01)) | |
189 | coroutine.resume(coroutine.create(function() | |
190 | local rate=rates[M(1,#rates)] | |
191 | game:GetService("Debris"):AddItem(Pool,10) | |
192 | for i=1,M(25,70) do | |
193 | wait() | |
194 | Pool.CFrame=c | |
195 | Pool.Size=Pool.Size+Vector3.new(rate,0,rate) | |
196 | end | |
197 | wait(5) | |
198 | Pool:Destroy() | |
199 | end)) | |
200 | end | |
201 | ||
202 | local function BloodDrops(Size,Area) | |
203 | local Blood=Instance.new("SpawnLocation",workspace) | |
204 | Blood.Enabled = false | |
205 | local DripMesh=Instance.new("SpecialMesh",Blood) | |
206 | DripMesh.MeshType = ("Sphere") | |
207 | Blood.BrickColor=BrickColor.new("Crimson") | |
208 | Blood.TopSurface=0 | |
209 | Blood.CanCollide=false | |
210 | Blood.Anchored=false | |
211 | Blood.FormFactor=Enum.FormFactor.Custom | |
212 | Blood.Size=Size | |
213 | Blood.CFrame=Area*CFrame.new(M(-1.00,1.00),M(-1.00,1.00),M(-1.00,1.00)) | |
214 | Blood.Transparency = 0.2 | |
215 | Blood.Reflectance = 0.2 | |
216 | return Blood | |
217 | end | |
218 | for i=1, amount do | |
219 | local Size=Vector3.new(M(-0.25,0.25),.2,M(-.25,.25)) | |
220 | local Blood=BloodDrops(Size,guy.CFrame) | |
221 | local Size2=Vector3.new(M(-.25,.25),.2,M(-.25,.25)) | |
222 | BloodPool(guy,Size2) | |
223 | end | |
224 | end | |
225 | local function bloodeffects(guy) | |
226 | local i = 0 | |
227 | coroutine.wrap(function() | |
228 | pcall(function() | |
229 | repeat task.wait(.05) | |
230 | i = i + 1 | |
231 | if guy ~= nil then | |
232 | local t = .85 | |
233 | local cf = guy.CFrame | |
234 | local g = Vector3.new(0, -workspace.Gravity/1.5, 0); | |
235 | local x0 = cf * Vector3.new(0,1,0) | |
236 | local v0 = (CFrame.new(cf.X + math.random(-8,8),0,cf.Z + math.random(-8,8)).p - x0 - 0.5*g*t*t)/t; | |
237 | local Blood=Instance.new("SpawnLocation",workspace) game:GetService("Debris"):AddItem(Blood, 8) | |
238 | Blood.Enabled = false | |
239 | local DripMesh=Instance.new("SpecialMesh",Blood) | |
240 | DripMesh.MeshType = ("Sphere") | |
241 | Blood.BrickColor=BrickColor.new("Maroon") | |
242 | Blood.TopSurface=0 | |
243 | smooth(Blood) | |
244 | Blood.CanCollide=false | |
245 | Blood.Anchored=true | |
246 | Blood.Material = "Glass" | |
247 | local rand = math.random(1,5)/10 | |
248 | Blood.FormFactor=Enum.FormFactor.Custom | |
249 | Blood.Size = Vector3.new(rand,.2,rand) | |
250 | Blood.CFrame = cf | |
251 | Blood.Reflectance = 0.1 | |
252 | local at0 = Instance.new("Attachment" , Blood) | |
253 | at0.Position = Vector3.new(0,.25,0) | |
254 | local at1 = Instance.new("Attachment" , Blood) | |
255 | at1.Position = Vector3.new(0,-.25,0) | |
256 | local trl2 = Instance.new("Trail" , Blood) | |
257 | trl2.Attachment0 = at0 | |
258 | trl2.Attachment1 = at1 | |
259 | trl2.Color = ColorSequence.new(BrickColor.new("Crimson").Color, BrickColor.new("Crimson").Color) | |
260 | trl2.Lifetime = .5 | |
261 | trl2.WidthScale = NumberSequence.new(1,0) | |
262 | local nt = 0; | |
263 | coroutine.wrap(function() | |
264 | while (nt < t) do | |
265 | pcall(function() | |
266 | game:GetService("RunService").Stepped:Wait() | |
267 | Blood.CFrame = CFrame.new(0.5*g*nt*nt + v0*nt + x0); | |
268 | nt = nt + game:GetService("RunService").Heartbeat:Wait(); | |
269 | end) | |
270 | end | |
271 | Blood.CFrame = CFrame.new(Blood.CFrame.X,0,Blood.CFrame.Z) | |
272 | end)() | |
273 | end | |
274 | until i == 75 | |
275 | end) | |
276 | end)() | |
277 | end | |
278 | Part2.Touched:Connect(function(hit) | |
279 | - | if hit:FindFirstAncestorOfClass("Model") and hit:FindFirstAncestorOfClass("Model") ~= owner.Character and hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid") and (swinging == true or swinging2 == true) and db == false and hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid").Health ~= 0 then |
279 | + | if hit:FindFirstAncestorOfClass("Model") and hit:FindFirstAncestorOfClass("Model") ~= owner.Character and hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid") and (swinging == true or swinging2 == true) and db == false and hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid").Health ~= 500 then |
280 | db = true | |
281 | stab:Play() | |
282 | local tors = hit:FindFirstAncestorOfClass("Model"):FindFirstChild("Torso") or hit:FindFirstAncestorOfClass("Model"):FindFirstChild("HumanoidRootPart") | |
283 | local chance = math.random(1, 2) | |
284 | if chance == 1 then | |
285 | blood(tors, math.random(1,5)) | |
286 | end | |
287 | - | hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid").Health = hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid").Health - math.random(20, 30) |
287 | + | hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid").Health = hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid").Health - math.random(100, 110) |
288 | local rand = math.random(1, 12) | |
289 | if rand == 1 then | |
290 | fatality:Play() | |
291 | gorefx:Play() | |
292 | hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid").BreakJointsOnDeath = false | |
293 | hit:FindFirstAncestorOfClass("Model").Head:BreakJoints() | |
294 | hit:FindFirstAncestorOfClass("Model").Head.CanCollide = true | |
295 | hit:FindFirstAncestorOfClass("Model").Head.Massless = true | |
296 | hit:FindFirstAncestorOfClass("Model").Head.Velocity = Vector3.new(0,60,5) | |
297 | local at0 = Instance.new("Attachment" , hit:FindFirstAncestorOfClass("Model").Head) | |
298 | at0.Position = Vector3.new(0,.5,0) | |
299 | local at1 = Instance.new("Attachment" , hit:FindFirstAncestorOfClass("Model").Head) | |
300 | at1.Position = Vector3.new(0,-.5,0) | |
301 | local trl2 = Instance.new("Trail" , hit:FindFirstAncestorOfClass("Model").Head) | |
302 | trl2.Attachment0 = at0 | |
303 | trl2.Attachment1 = at1 | |
304 | trl2.Color = ColorSequence.new(BrickColor.new("Crimson").Color, BrickColor.new("Crimson").Color) | |
305 | trl2.Lifetime = .5 | |
306 | trl2.WidthScale = NumberSequence.new(1,0) | |
307 | local Blood=Instance.new("SpawnLocation",hit:FindFirstAncestorOfClass("Model")) | |
308 | Blood.Enabled = false | |
309 | local DripMesh=Instance.new("SpecialMesh",Blood) | |
310 | DripMesh.MeshType = ("Sphere") | |
311 | Blood.BrickColor=BrickColor.new("Maroon") | |
312 | Blood.TopSurface=0 | |
313 | smooth(Blood) | |
314 | Blood.CanCollide=false | |
315 | Blood.Material = "Glass" | |
316 | local rand = .25 | |
317 | Blood.FormFactor=Enum.FormFactor.Custom | |
318 | Blood.Size = Vector3.new(rand,.3,rand) | |
319 | Blood.Reflectance = 0.1 | |
320 | local w = Instance.new("Weld" , Blood) | |
321 | w.Part0 = Blood | |
322 | w.Part1 = tors | |
323 | w.C1 = CFrame.new(0,1,0) | |
324 | bloodeffects(tors) | |
325 | blood(tors, math.random(1,5)) | |
326 | end | |
327 | if hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid").Health <= 3 then | |
328 | hit:FindFirstAncestorOfClass("Model"):FindFirstChildOfClass("Humanoid").BreakJointsOnDeath = false | |
329 | hit:FindFirstAncestorOfClass("Model").Head:BreakJoints() | |
330 | hit:FindFirstAncestorOfClass("Model").Head.CanCollide = true | |
331 | hit:FindFirstAncestorOfClass("Model").Head.Massless = true | |
332 | hit:FindFirstAncestorOfClass("Model").Head.Velocity = Vector3.new(0,60,5) | |
333 | local at0 = Instance.new("Attachment" , hit:FindFirstAncestorOfClass("Model").Head) | |
334 | at0.Position = Vector3.new(0,.5,0) | |
335 | local at1 = Instance.new("Attachment" , hit:FindFirstAncestorOfClass("Model").Head) | |
336 | at1.Position = Vector3.new(0,-.5,0) | |
337 | local trl2 = Instance.new("Trail" , hit:FindFirstAncestorOfClass("Model").Head) | |
338 | trl2.Attachment0 = at0 | |
339 | trl2.Attachment1 = at1 | |
340 | trl2.Color = ColorSequence.new(BrickColor.new("Crimson").Color, BrickColor.new("Crimson").Color) | |
341 | trl2.Lifetime = .5 | |
342 | trl2.WidthScale = NumberSequence.new(1,0) | |
343 | gorefx:Play() | |
344 | local Blood=Instance.new("SpawnLocation",hit:FindFirstAncestorOfClass("Model")) | |
345 | Blood.Enabled = false | |
346 | local DripMesh=Instance.new("SpecialMesh",Blood) | |
347 | DripMesh.MeshType = ("Sphere") | |
348 | Blood.BrickColor=BrickColor.new("Maroon") | |
349 | Blood.TopSurface=0 | |
350 | smooth(Blood) | |
351 | Blood.CanCollide=false | |
352 | Blood.Material = "Glass" | |
353 | local rand = .25 | |
354 | Blood.FormFactor=Enum.FormFactor.Custom | |
355 | Blood.Size = Vector3.new(rand,.3,rand) | |
356 | Blood.Reflectance = 0.1 | |
357 | local w = Instance.new("Weld" , Blood) | |
358 | w.Part0 = Blood | |
359 | w.Part1 = tors | |
360 | w.C1 = CFrame.new(0,1,0) | |
361 | bloodeffects(tors) | |
362 | blood(tors, math.random(1,5)) | |
363 | end | |
364 | task.wait(.125) | |
365 | db = false | |
366 | end | |
367 | - | end) |
367 | + | |
368 |