View difference between Paste ID: gt6azRgy and 8M8SfFaz
SHOW: | | - or go back to the newest paste.
1
--[[ math.rad(Humanoid.Health)
2
Project: Cancer staff             A
3
by grgrgry21                   A     A
4
hooh                          A   C   A
5
xdxddddxdxxxd                  A     A
6
dun lek me or il sue u            A
7
==UpdateLogs==
8
==Ver 0.04+==
9
Fixed damage hitbox
10
Fixed music
11
==Ver 0.04==
12
Relaced equipping "e" to "q"
13
Added "e" move
14
Added music if u wnat "m"
15
Fixed some cframe (hopefully?)
16
==Ver 0.03+==
17
Added Equipping "Anim"
18
====~~Press F to kill urself 8)~~====
19
]]
20
plr = game:GetService("Players").LocalPlayer
21
char = plr.Character
22
Torso = char.Torso
23
guy=plr.PlayerGui
24
it=Instance.new
25
health=0
26
local msd = Instance.new('Model', char)
27
msd.Name = "kys"
28
mouse = plr:GetMouse()
29
up = false
30
disable = false
31
music = false
32
33
function RC(Pos, Dir, Max, Ignore)
34
    return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999)), Ignore)
35
end
36
function RayC(Start, En, MaxDist, Ignore)
37
    return RC(Start, (En - Start), MaxDist, Ignore)
38
end
39
40
local RbxUtility = LoadLibrary("RbxUtility")
41
local Create = RbxUtility.Create
42
RemoveOutlines = function(CreatePart)
43
  CreatePart.TopSurface = 10
44
end
45
46
function CreateSound(id, par, vol, pit) 
47
	coroutine.resume(coroutine.create(function()
48
		local sou = Instance.new("Sound", par or workspace)
49
		sou.Volume = vol
50
		sou.Pitch = pit or 1
51
		sou.SoundId = id
52
		wait() 
53
		sou:play() 
54
		game:GetService("Debris"):AddItem(sou, 6)
55
	end))
56
end
57
 swait = function(num)
58
  if num == 0 or num == nil then
59
    game:service("RunService").Heartbeat:wait(0)
60
  else
61
    for i = 0, num do
62
      game:service("RunService").Heartbeat:wait(0)
63
    end
64
  end
65
end
66
67
Damage = function(hit, damage, cooldown, Color1, Color2, HSound, HPitch)
68
  for i,v in pairs(hit:GetChildren()) do
69
    if v:IsA("Humanoid") and hit.Name ~= char.Name then
70
      local find = v:FindFirstChild("Hitz")
71
      if not find then
72
        if v.Parent:findFirstChild("Head") then
73
          local BillG = Create("BillboardGui")({Parent = v.Parent.Head, Size = UDim2.new(1, 0, 1, 0), Adornee = v.Parent.Head, StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3))})
74
          do
75
            local TL = Create("TextLabel")({Parent = BillG, Size = UDim2.new(3, 3, 3, 3), BackgroundTransparency = 1, Text = tostring(damage) .. "-", TextColor3 = Color1.Color, TextStrokeColor3 = Color2.Color, TextStrokeTransparency = 0, TextXAlignment = Enum.TextXAlignment.Center, TextYAlignment = Enum.TextYAlignment.Center, FontSize = Enum.FontSize.Size42, Font = "ArialBold"})
76
            coroutine.resume(coroutine.create(function()
77
    swait(2)
78
    --for i = 0, 1, 0.1 do
79
        while wait() and TL and TL.TextTransparency <= 1 do
80
      swait()
81
      BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, 0.1, 0)
82
      TL.TextTransparency = TL.TextTransparency + 0.04
83
      TL.TextStrokeTransparency = TL.TextStrokeTransparency + 0.04
84
    end
85
    BillG:Destroy()
86
  end))
87
          end
88
        end
89
        do
90
          HitHealth = v.Health
91
          v.Health = v.Health - damage
92
         --[[ if HitHealth ~= v.Health and HitHealth ~= 0 and v.Health <= 0 and v.Parent.Name ~= "Lost Soul" then
93
            print("gained spree")
94
            plr:FindFirstChild("leaderstats").Spree.Value = plr.leaderstats.Spree.Value + 1
95
          end]]
96
          do
97
            local bool = Create("BoolValue")({Parent = v, Name = "Hitz"})
98
            if HSound ~= nil and HPitch ~= nil then
99
              CreateSound(HSound, hit, 1, HPitch)
100
            end
101
            game:GetService("Debris"):AddItem(bool, cooldown)
102
          end
103
        end
104
      end
105
    end
106
  end
107
end
108
MagnitudeDamage = function(Part, magni, mindam, maxdam)
109
  for _,c in pairs(workspace:children()) do
110
    local hum = c:findFirstChild("Humanoid")
111
    if hum ~= nil then
112
      local head = c:findFirstChild("Torso")
113
      if head ~= nil then
114
        local targ = head.Position - Part.Position
115
        local mag = targ.magnitude
116
        if mag <= magni and c.Name ~= plr.Name then
117
          Damage(head.Parent, math.random(mindam, maxdam), 0.5, BrickColor.new("Really black"), BrickColor.new("Really red"), "", 1)
118
        end
119
      end
120
    end
121
  end
122
end
123
124
125
armweld = Instance.new("Weld", char.Torso)
126
armweld.C0 = CFrame.new(1.5, .5, 0)
127
armweld.C1 = CFrame.new(0, .5, 0)
128
armweld.Part0 = char.Torso
129
armweld.Part1 = char["Right Arm"]
130
131
Handle = Instance.new("Part",msd)
132
Handle.Size=Vector3.new(1,6,1)
133
Handle.Name = "Handle"
134
Handle.Anchored = false
135
Handle.CanCollide = false
136
Handle.BrickColor = BrickColor.new("Really black")
137
Handle:BreakJoints()
138
Handle.Transparency = 1
139
Mesh = Instance.new("SpecialMesh",Handle)
140
Mesh.MeshType=0
141
Mesh.Scale=Vector3.new(0.2,0.7,0.2)
142
Mesh.Offset=Vector3.new(0,-0.15,0)
143
Weld = Instance.new("Weld",Handle) 
144
Weld.Part0 = Weld.Parent 
145
Weld.Part1 = plr.Character["Right Arm"] 
146
Weld.C0 = CFrame.new(0,1,1)*CFrame.Angles(math.rad(90),0,0)
147
148
ez = Instance.new("Part",msd)
149
ez.Size = Vector3.new(1,1,1)
150
ez.Name = "Handle1"
151
ez:BreakJoints()
152
ez.Anchored = false
153
ez.Transparency = 1
154
ez.CanCollide = false
155
ez.Shape = "Block"
156
ez.Material='Neon'
157
ez.TopSurface = "SmoothNoOutlines"
158
ez.BottomSurface = "SmoothNoOutlines"
159-
ez.BrickColor = BrickColor.new("Really red")
159+
ez.BrickColor = BrickColor.new("Toothpaste")
160
ddd = Instance.new("SpecialMesh",ez)
161
ddd.MeshType="Sphere"
162
ddd.Scale=Vector3.new(6,6,6)
163
Weld = Instance.new("Weld",ez) 
164
Weld.Part0 = Weld.Parent 
165
Weld.Part1 = plr.Character["Right Arm"] 
166
Weld.C0 = CFrame.new(0,1,1)*CFrame.Angles(math.rad(90),0,0)
167
168
ez1 = Instance.new("Part",msd)
169
ez1.Size = Vector3.new(1,1,1)
170
ez1.Name = "Handle1"
171
ez1:BreakJoints()
172
ez1.Anchored = false
173
ez1.Transparency = 1
174
ez1.CanCollide = false
175
ez1.Shape = "Block"
176
ez1.Material='Neon'
177
ez1.TopSurface = "SmoothNoOutlines"
178
ez1.BottomSurface = "SmoothNoOutlines"
179
ez1.BrickColor = BrickColor.new("Really black")
180
ddd1 = Instance.new("SpecialMesh",ez1)
181
ddd1.MeshType="Sphere"
182
ddd1.Scale=Vector3.new(7,7,7)
183
Weld = Instance.new("Weld",ez1) 
184
Weld.Part0 = Weld.Parent 
185
Weld.Part1 = plr.Character["Right Arm"] 
186
Weld.C0 = CFrame.new(0,1,1)*CFrame.Angles(math.rad(90),0,0)
187
188
Handle1 = Instance.new("Part",msd)
189
Handle1.Size = Vector3.new(0.1,0.1,0.1)
190
Handle1.Name = "Handle1"
191
Handle1:BreakJoints()
192
Handle1.Anchored = false
193
Handle1.Transparency = 1
194
Handle1.CanCollide = false
195
Handle1.Shape = "Block"
196
Handle1.Material='Neon'
197
Handle1.TopSurface = "SmoothNoOutlines"
198
Handle1.BottomSurface = "SmoothNoOutlines"
199
Handle1.BrickColor = BrickColor.new("Really red")
200
Mesh = Instance.new("SpecialMesh",Handle1)
201
Mesh.MeshType=0
202
Mesh.Scale=Vector3.new(1.5,0.8,1.5)
203
Mesh.Offset=Vector3.new(0,0,0)
204
Weld = Instance.new("Weld",Handle1) 
205
Weld.Part0 = Weld.Parent 
206
Weld.Part1 = plr.Character["Right Arm"] 
207
Weld.C0 = CFrame.new(0,3.2,1)*CFrame.Angles(math.rad(90),0,0)
208
--efect
209
        local han = Instance.new("Part", msd)
210
        han.Anchored = false
211
        han.Size = Vector3.new(0.1,0.1,0.1)
212
        han.formFactor = "Custom"
213
        han.CanCollide = false
214
        han.Name="die"
215-
        han.BrickColor = BrickColor.new("Really red")
215+
        han.BrickColor = BrickColor.new("Toothpaste")
216
        han.Material='Neon'
217
        han.Transparency =1
218
        --han.Position = Ball.Position
219
        local asd2 = Instance.new("SpecialMesh",han)
220
        asd2.MeshType="Sphere"
221
        asd2.Scale = Vector3.new(4.7,4.7,4.7)
222
        Weld = Instance.new("Weld",han) 
223
        Weld.Part0 = Weld.Parent 
224
        Weld.Part1 = Handle
225
        Weld.C0 = CFrame.new(0,0,-2.5)*CFrame.Angles(math.rad(90),0,0)
226
-- 
227
Ball = Instance.new("Part",msd)
228
Ball.Size = Vector3.new(0.1,0.1,0.1)
229
Ball.Name = "Ball"
230
Ball:BreakJoints()
231
Ball.Anchored = false
232
Ball.Transparency = 1
233
Ball.CanCollide = false
234
Ball.Shape = "Ball"
235
Ball.Material='Neon'
236
Ball.TopSurface = "SmoothNoOutlines"
237
Ball.BottomSurface = "SmoothNoOutlines"
238-
Ball.BrickColor = BrickColor.new("Really red")
238+
Ball.BrickColor = BrickColor.new("Toothpaste")
239
Mesh = Instance.new("SpecialMesh",Ball)
240
Mesh.MeshType="Sphere"
241
Mesh.Scale = Vector3.new(4.7,4.7,4.7)
242
Weld = Instance.new("Weld",Ball) 
243
Weld.Part0 = Weld.Parent 
244
Weld.Part1 = Handle
245
Weld.C0 = CFrame.new(0,0,-2.5)*CFrame.Angles(math.rad(90),0,0)
246
247
local parti = Instance.new("ParticleEmitter",Ball)
248
parti.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(0, 0, 0))
249
parti.LightEmission = 0.5
250
parti.Size = NumberSequence.new(0.2)
251
parti.Texture = "http://www.roblox.com/asset/?id=149033087"
252
sizeseq = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, .4)})
253
transseq = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
254
parti.Transparency = transseq
255
parti.Size = sizeseq
256
parti.ZOffset = 0
257
parti.Acceleration = Vector3.new(0, 0, 0)
258
parti.LockedToPart = false
259
parti.EmissionDirection = "Front"
260
parti.Lifetime = NumberRange.new(2)
261
parti.Rate = 100
262
parti.Rotation = NumberRange.new(-50, 50)
263
parti.RotSpeed = NumberRange.new(-50, 50)
264
parti.Speed = NumberRange.new(0.7)
265
parti.VelocitySpread = 6900
266
parti.Enabled = false
267
268
--[[Ball.Touched:connect(function(hit)
269
if up == false then
270
if hit.Parent:findFirstChild("Humanoid") then
271
hit.Parent.Humanoid.MaxHealth = 100
272
wait(0.01)
273
hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 69000
274
end
275
end
276
end)]]
277
278
Ball1 = Instance.new("Part",msd)
279
Ball1.Size = Vector3.new(0.1,0.1,0.1)
280
Ball1.Name = "Ball1"
281
Ball1:BreakJoints()
282
Ball1.Anchored = false
283
Ball1.CanCollide = false
284
Ball1.Shape = "Ball"
285
Ball1.Material='Neon'
286
Ball1.Transparency=1
287
Ball1.TopSurface = "SmoothNoOutlines"
288
Ball1.BottomSurface = "SmoothNoOutlines"
289-
Ball1.BrickColor = BrickColor.new("Really red")
289+
Ball1.BrickColor = BrickColor.new("Toothpaste")
290
Mesh = Instance.new("SpecialMesh",Ball1)
291
Mesh.MeshType="Sphere"
292
Mesh.Scale = Vector3.new(6,6,6)
293
Weld = Instance.new("Weld",Ball1) 
294
Weld.Part0 = Weld.Parent 
295
Weld.Part1 = Handle
296
Weld.C0 = CFrame.new(0,0,-2.5)*CFrame.Angles(math.rad(90),0,0)
297
298
Wing = Instance.new("Part",msd)
299
Wing.Size = Vector3.new(0.1,0.1,0.1)
300
Wing.Name = "Wing"
301
Wing:BreakJoints()
302
Wing.Anchored = false
303
Wing.CanCollide = false
304
Wing.Shape = "Block"
305
Wing.Material='SmoothPlastic'
306
Wing.Transparency=1
307
Wing.TopSurface = "SmoothNoOutlines"
308
Wing.BottomSurface = "SmoothNoOutlines"
309-
Wing.BrickColor = BrickColor.new("Really red")
309+
Wing.BrickColor = BrickColor.new("Toothpaste")
310
Mesh = Instance.new("SpecialMesh",Wing)
311
Mesh.Scale = Vector3.new(3,2,0.3)
312-
Mesh.MeshId = "rbxassetid://147982651"
312+
Mesh.MeshId = "rbxassetid://0"
313
Weld = Instance.new("Weld",Wing) 
314
Weld.Part0 = Weld.Parent 
315
Weld.Part1 = Handle
316
Weld.C1 = CFrame.new(0,1,-1.5)*CFrame.Angles(math.rad(90),0,0)
317
Weld.C0 = CFrame.new(0,0,-1.5)*CFrame.Angles(math.rad(90),0,0)
318
319
Wing1 = Instance.new("Part",msd)
320
Wing1.Size = Vector3.new(0.1,0.1,0.1)
321
Wing1.Name = "Wing"
322
Wing1:BreakJoints()
323
Wing1.Anchored = false
324
Wing1.CanCollide = false
325
Wing1.Shape = "Block"
326
Wing1.Material='SmoothPlastic'
327
Wing1.Transparency=1
328
Wing1.TopSurface = "SmoothNoOutlines"
329
Wing1.BottomSurface = "SmoothNoOutlines"
330
Wing1.BrickColor = BrickColor.new("Really black")
331
Mesh = Instance.new("SpecialMesh",Wing1)
332
Mesh.Scale = Vector3.new(2.9, 2, 0.3)
333-
Mesh.MeshId = "rbxassetid://147982651"
333+
Mesh.MeshId = "rbxassetid://0"
334
Weld = Instance.new("Weld",Wing1) 
335
Weld.Part0 = Weld.Parent 
336
Weld.Part1 = Handle
337
Weld.C1 = CFrame.new(0,1,-1.5)*CFrame.Angles(math.rad(90),0,0)
338
Weld.C0 = CFrame.new(0,0,-1.5)*CFrame.Angles(math.rad(90),0,0)
339
--
340
Ring = Instance.new("Part",msd)
341
Ring.Size = Vector3.new(0.1,0.1,0.1)
342
Ring.Name = "Ring"
343
Ring:BreakJoints()
344
Ring.Anchored = false
345
Ring.CanCollide = false
346
Ring.Shape = "Block"
347
Ring.Material='SmoothPlastic'
348
Ring.Transparency=1
349
Ring.TopSurface = "SmoothNoOutlines"
350
Ring.BottomSurface = "SmoothNoOutlines"
351
Ring.BrickColor = BrickColor.new("Really black")
352
Mesh = Instance.new("SpecialMesh",Ring)
353
Mesh.Scale = Vector3.new(1.2, 1.2, 1.3)
354
Mesh.MeshId = "rbxassetid://3270017"
355
Weld = Instance.new("Weld",Ring) 
356
Weld.Part0 = Weld.Parent 
357
Weld.Part1 = Handle
358
Weld.C1 = CFrame.new(0,2.5,-2.5)*CFrame.Angles(math.rad(90),0,0)
359
Weld.C0 = CFrame.new(0,0,-2.5)*CFrame.Angles(math.rad(90),0,0)
360
--right v v v
361
Wed = Instance.new("Part",msd)
362
Wed.Size = Vector3.new(0.1,0.1,0.1)
363
Wed.Name = "Wed"
364
Wed:BreakJoints()
365
Wed.Anchored = false
366
Wed.CanCollide = false
367
Wed.Shape = "Block"
368
Wed.Transparency = 1
369
Wed.Material='SmoothPlastic'
370
Wed.TopSurface = "SmoothNoOutlines"
371
Wed.BottomSurface = "SmoothNoOutlines"
372
Wed.BrickColor = BrickColor.new("Really black")
373
Mesh = Instance.new("SpecialMesh",Wed)
374
Mesh.MeshType="Wedge"
375
Mesh.Scale = Vector3.new(1, 1.2, 1.2)
376
Weld = Instance.new("Weld",Wed) 
377
Weld.Part0 = Weld.Parent 
378
Weld.Part1 = Handle
379
Weld.C1 = CFrame.new(0,2.38,0)*CFrame.Angles(math.rad(90),math.rad(90),0)
380
Weld.C0 = CFrame.new(0,0.65,0)*CFrame.Angles(math.rad(90),0,math.rad(90))
381
382
Wed1 = Instance.new("Part",msd)
383
Wed1.Size = Vector3.new(0.1,0.1,0.1)
384
Wed1.Name = "Wed"
385
Wed1:BreakJoints()
386
Wed1.Anchored = false
387
Wed1.CanCollide = false
388
Wed1.Shape = "Block"
389
Wed1.Transparency = 1
390
Wed1.Material='SmoothPlastic'
391
Wed1.TopSurface = "SmoothNoOutlines"
392
Wed1.BottomSurface = "SmoothNoOutlines"
393
Wed1.BrickColor = BrickColor.new("Really black")
394
Mesh = Instance.new("SpecialMesh",Wed1)
395
Mesh.MeshType="Wedge"
396
Mesh.Scale = Vector3.new(1, 1.2, 1.2)
397
Weld = Instance.new("Weld",Wed1) 
398
Weld.Part0 = Weld.Parent 
399
Weld.Part1 = Handle
400
Weld.C1 = CFrame.new(0,2.62,0)*CFrame.Angles(math.rad(90),math.rad(90),0)
401
Weld.C0 = CFrame.new(0,0,-0.65)*CFrame.Angles(0,0,math.rad(90))
402
--left v v v
403
Wed2 = Instance.new("Part",msd)
404
Wed2.Size = Vector3.new(0.1,0.1,0.1)
405
Wed2.Name = "Wed"
406
Wed2:BreakJoints()
407
Wed2.Anchored = false
408
Wed2.CanCollide = false
409
Wed2.Shape = "Block"
410
Wed2.Transparency = 1
411
Wed2.Material='SmoothPlastic'
412
Wed2.TopSurface = "SmoothNoOutlines"
413
Wed2.BottomSurface = "SmoothNoOutlines"
414
Wed2.BrickColor = BrickColor.new("Really black")
415
Mesh = Instance.new("SpecialMesh",Wed2)
416
Mesh.MeshType="Wedge"
417
Mesh.Scale = Vector3.new(1, 1.2, 1.2)
418
Weld = Instance.new("Weld",Wed2) 
419
Weld.Part0 = Weld.Parent 
420
Weld.Part1 = Handle
421
Weld.C1 = CFrame.new(0,2.38,0)*CFrame.Angles(0,0,math.rad(90))
422
Weld.C0 = CFrame.new(0,0.65,0)*CFrame.Angles(math.rad(90),math.rad(90),math.rad(90))
423
424
Wed3 = Instance.new("Part",msd)
425
Wed3.Size = Vector3.new(0.1,0.1,0.1)
426
Wed3.Name = "Wed"
427
Wed3:BreakJoints()
428
Wed3.Anchored = false
429
Wed3.CanCollide = false
430
Wed3.Shape = "Block"
431
Wed3.Transparency = 1
432
Wed3.Material='SmoothPlastic'
433
Wed3.TopSurface = "SmoothNoOutlines"
434
Wed3.BottomSurface = "SmoothNoOutlines"
435
Wed3.BrickColor = BrickColor.new("Really black")
436
Mesh = Instance.new("SpecialMesh",Wed3)
437
Mesh.MeshType="Wedge"
438
Mesh.Scale = Vector3.new(1, 1.2, 1.2)
439
Weld = Instance.new("Weld",Wed3) 
440
Weld.Part0 = Weld.Parent 
441
Weld.Part1 = Handle
442
Weld.C1 = CFrame.new(0,2.62,0)*CFrame.Angles(0,0,math.rad(90))
443
Weld.C0 = CFrame.new(0,0,-0.65)*CFrame.Angles(math.rad(90),math.rad(90),0)
444
445
--aaaaaa function aa
446
function coffeeanyone()
447
	
448
end
449
function bom()
450
	   for a = 0, 1, .05 do
451
        armweld.C0 = CFrame.new(1.5, .5, 0) * CFrame.Angles(math.sin(a*math.pi/2)*2.5, 0, 0)
452
        wait()
453
end
454
        han.Transparency = 0
455
        asd2.Scale = Vector3.new(4.7,4.7,4.7)
456
        local hai = Instance.new("Part", char)
457
        hai.Anchored = true
458
        hai.formFactor = "Custom"
459
        hai.CanCollide = false
460
        hai.Name="die"
461-
        hai.BrickColor = BrickColor.new("Really red")
461+
        hai.BrickColor = BrickColor.new("Toothpaste")
462
        hai.Material='Neon'
463
        hai.Transparency =0
464
        hai.Size = Vector3.new(1, 1, 1)
465
        hai.Position = mouse.hit.p 
466
        local asd = Instance.new("SpecialMesh",hai)
467
        asd.MeshType="Sphere"
468
        asd.Scale = Vector3.new(10,10,10)
469
        local hai1 = Instance.new("Part", char)
470
        hai1.Anchored = true
471
        hai1.formFactor = "Custom"
472
        hai1.CanCollide = false
473
        hai1.Name="diea"
474-
        hai1.BrickColor = BrickColor.new("Really red")
474+
        hai1.BrickColor = BrickColor.new("Toothpaste")
475
        hai1.Material='Neon'
476
        hai1.Transparency = 0
477
        hai1.Size = Vector3.new(1, 1, 1)
478
        hai1.Position = mouse.hit.p 
479
        local asd1 = Instance.new("SpecialMesh",hai1)
480
        asd1.MeshType="Sphere"
481
        asd1.Scale = Vector3.new(10,10,10)
482
        CreateSound("http://roblox.com/asset/?id=199146035", hai, 2, 1)
483
        for i = 0 , 1.5 , 0.1 do 
484
        asd1.Scale = asd1.Scale + Vector3.new(0.8,0.8,0.8) 
485
        hai1.Transparency = hai1.Transparency + 0.08
486
        asd2.Scale = asd2.Scale + Vector3.new(1.2,1.2,1.2) 
487
        han.Transparency = han.Transparency + 0.08
488
        wait()
489
        end
490
    for a = .5, 0, -.1 do
491
        armweld.C0 = CFrame.new(1.5, .5, 0) * CFrame.Angles(math.sin(a*math.pi/2)*2.5, 0, 0)
492
        wait()
493
        end
494
        local Cancrbomb = Instance.new("Part", char)
495
        Cancrbomb.Anchored = true
496
        Cancrbomb.Size = Vector3.new(1,1,1)
497
        Cancrbomb.formFactor = "Custom"
498
        Cancrbomb.CanCollide = false
499
        Cancrbomb.Name="die"
500-
        Cancrbomb.BrickColor = BrickColor.new("Really red")
500+
        Cancrbomb.BrickColor = BrickColor.new("Toothpaste")
501
        Cancrbomb.Material='Neon'
502
        Cancrbomb.Transparency =0
503
        Cancrbomb.Position = hai.Position 
504
        local hoi = Instance.new("SpecialMesh",Cancrbomb)
505
        hoi.MeshType="Sphere"
506
        hoi.Scale = Vector3.new(10,10,10)
507
        local Cancrbomb1 = Instance.new("Part", char)
508
        Cancrbomb1.Anchored = true
509
        Cancrbomb1.Size = Vector3.new(1,1,1)
510
        Cancrbomb1.formFactor = "Custom"
511
        Cancrbomb1.CanCollide = false
512
        Cancrbomb1.Name="die"
513-
        Cancrbomb1.BrickColor = BrickColor.new("Really red")
513+
        Cancrbomb1.BrickColor = BrickColor.new("Toothpaste")
514
        Cancrbomb1.Material='Neon'
515
        Cancrbomb1.Transparency =0
516
        Cancrbomb1.Position = hai.Position 
517
        local hoi1 = Instance.new("SpecialMesh",Cancrbomb1)
518
        hoi1.MeshType="Sphere"
519
        hoi1.Scale = Vector3.new(10,10,10)
520
        local Cancrbomb2 = Instance.new("Part", char)
521
        Cancrbomb2.Anchored = true
522
        Cancrbomb2.Size = Vector3.new(1,1,1)
523
        Cancrbomb2.formFactor = "Custom"
524
        Cancrbomb2.CanCollide = false
525
        Cancrbomb2.Name="die"
526-
        Cancrbomb2.BrickColor = BrickColor.new("Really red")
526+
        Cancrbomb2.BrickColor = BrickColor.new("Toothpaste")
527
        Cancrbomb2.Material='Neon'
528
        Cancrbomb2.Transparency =0
529
        Cancrbomb2.Position = hai.Position 
530
        local hoi2 = Instance.new("SpecialMesh",Cancrbomb2)
531
        hoi2.MeshType="Sphere"
532
        hoi2.Scale = Vector3.new(10,10,10)
533
        local Cancr = Instance.new("Part", char)
534
        Cancr.Anchored = true
535
        Cancr.Size = Vector3.new(1,1,1)
536
        Cancr.formFactor = "Custom"
537
        Cancr.CanCollide = false
538
        Cancr.Name="die"
539-
        Cancr.BrickColor = BrickColor.new("Really red")
539+
        Cancr.BrickColor = BrickColor.new("Toothpaste")
540
        Cancr.Material='Neon'
541
        Cancr.Transparency =0
542
        Cancr.Position = hai.Position 
543
        local hoi4 = Instance.new("SpecialMesh",Cancr)
544
        hoi4.MeshType="Sphere"
545
        hoi4.Scale = Vector3.new(10,10,10)
546
        MagnitudeDamage(Cancr, 25, 20, 35)
547
        CreateSound("http://roblox.com/asset/?id=206083232", Cancrbomb, 2, 1)
548
        wait()
549
        hai:remove()
550
        hai1:remove()
551
        for i = 0 , 3 , 0.1 do 
552
        hoi.Scale = hoi.Scale + Vector3.new(5,0,0) 
553
        Cancrbomb.Transparency = Cancrbomb.Transparency + 0.05
554
        hoi1.Scale = hoi1.Scale + Vector3.new(0,5,0) 
555
        Cancrbomb1.Transparency = Cancrbomb1.Transparency + 0.05
556
        hoi2.Scale = hoi2.Scale + Vector3.new(0,0,5) 
557
        Cancrbomb2.Transparency = Cancrbomb2.Transparency + 0.05
558
        hoi4.Scale = hoi4.Scale + Vector3.new(6,6,6) 
559
        Cancr.Transparency = Cancr.Transparency + 0.05
560
        wait()
561
        end
562
        Cancr:remove()
563
        Cancrbomb:remove()
564
        Cancrbomb1:remove()
565
        Cancrbomb2:remove()
566
    for a = 0, 1, .05 do
567
        armweld.C0 = CFrame.new(1.5, .5, 0) * CFrame.Angles(math.sin(a*math.pi/2)*math.pi/2, 0, 0)
568
        wait()
569
    end
570
end
571
function ruh()
572
        disable = true
573
     for a = 0, 1, .05 do
574
        armweld.C0 = CFrame.new(1.5, .5, 0) * CFrame.Angles(math.sin(a*math.pi/2)*2, math.sin(a*math.pi/2)*0.2, math.sin(a*math.pi/2)*0.2)
575
        wait()
576
	 end
577
	    CreateSound("http://roblox.com/asset/?id=200633529", Torso, 1, .8)
578
		for a = 0, 1.5, .05 do
579
        local jooj = Instance.new("Part", char)
580
        jooj.Anchored = true
581
        jooj.Size = Vector3.new(1.2,1.2,1.2)
582
        jooj.formFactor = "Custom"
583
        jooj.CanCollide = false
584
        jooj.Name="g"
585
        jooj.BrickColor = BrickColor.new("Really black")
586
        jooj.Material='Neon'
587
        jooj.Transparency =0
588
        jooj.Position = Ball.Position 
589
        jooj.CFrame =(Ball.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
590
        local j1 = Instance.new("BlockMesh", jooj)
591
        wait()
592
        coroutine.wrap(function()
593
        while wait() and jooj and jooj.Transparency <= 1 do
594
        j1.Scale = j1.Scale + Vector3.new(0.2, 0.2, 0.2)
595
        jooj.Transparency = jooj.Transparency + .12
596
        end
597
		jooj:remove()
598
        end)()
599
		        end
600
		        CreateSound("http://roblox.com/asset/?id=206083252", Torso, 1, 1)
601
		                aaa:Play()
602
                        bbb:Play()
603
		        Handle.Transparency = 1
604
		        Handle1.Transparency = 1
605
				Wing.Transparency = 1
606
				Wing1.Transparency = 1
607
				Ring.Transparency = 1
608
				Ball.Transparency = 1
609
				Ball1.Transparency = 1
610
				Wed.Transparency = 1
611
				Wed1.Transparency = 1
612
				Wed2.Transparency = 1
613
				Wed3.Transparency = 1
614
				parti.Enabled = false
615
                char.Head.face.Transparency = 1
616
                for _,v in pairs(char:children()) do
617
                if v:IsA("Part") then
618
                v.Transparency = 1
619
                v.CanCollide = false
620
                elseif v:IsA("Hat") then
621
                v.Handle.Transparency = 1
622
                elseif v:IsA("Accessory") then
623
                v.Handle.Transparency = 1
624
625
                end
626
                end
627
        
628
        
629
		local dad = Instance.new("Part", char)
630
        dad.Anchored = false
631
        dad.Size = Vector3.new(6,6,6)
632
        dad.formFactor = "Custom"
633
        dad.CanCollide = false
634
        dad.Name="g"
635
        dad.BrickColor = BrickColor.new("Really black")
636
        dad.Material='Neon'
637
        dad.Transparency = 0
638
        dad.Position = char.Torso.Position 
639
        Weld = Instance.new("Weld",dad) 
640
        Weld.Part0 = Weld.Parent 
641
        Weld.Part1 = plr.Character["Torso"] 
642
        local jj = Instance.new("SpecialMesh",dad)
643
        jj.MeshType="Sphere"
644
        jj.Scale = Vector3.new(1,1,1)
645
        
646
        local parta = Instance.new("ParticleEmitter",dad)
647
        parta.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
648
        parta.LightEmission = 0.5
649
        parta.Size = NumberSequence.new(0.2)
650
        parta.Texture = "http://www.roblox.com/asset/?id=149033087"
651
        sizeseq = NumberSequence.new({NumberSequenceKeypoint.new(0, 4),NumberSequenceKeypoint.new(1, 4)})
652
        transseq = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
653
        parta.Transparency = transseq
654
        parta.Size = sizeseq
655
        parta.ZOffset = 0
656
        parta.Acceleration = Vector3.new(0, 0, 0)
657
        parta.LockedToPart = true
658
        parta.EmissionDirection = "Front"
659
        parta.Lifetime = NumberRange.new(0.5)
660
        parta.Rate = 100
661
        parta.Rotation = NumberRange.new(-50, 50)
662
        parta.RotSpeed = NumberRange.new(-50, 50)
663
        parta.Speed = NumberRange.new(0.08)
664
        parta.VelocitySpread = 6900
665
        local partb = Instance.new("ParticleEmitter",dad)
666
        partb.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
667
        partb.LightEmission = 0.5
668
        partb.Size = NumberSequence.new(0.2)
669
        partb.Texture = "http://www.roblox.com/asset/?id=149033087"
670
        sizeseq = NumberSequence.new({NumberSequenceKeypoint.new(0, 3),NumberSequenceKeypoint.new(1, 4.5)})
671
        transseq = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
672
        partb.Transparency = transseq
673
        partb.Size = sizeseq
674
        partb.ZOffset = 0
675
        partb.Acceleration = Vector3.new(0, 0, 0)
676
        partb.LockedToPart = false
677
        partb.EmissionDirection = "Front"
678
        partb.Lifetime = NumberRange.new(1)
679
        partb.Rate = 100
680
        partb.Rotation = NumberRange.new(-50, 50)
681
        partb.RotSpeed = NumberRange.new(-50, 50)
682
        partb.Speed = NumberRange.new(1.1)
683
        partb.VelocitySpread = 6900
684
        partb.Enabled = true
685
        parta.Enabled = true
686
  local HitDeb = dad.Touched:connect(function(hit)
687-
        Damage(hit.Parent, math.random(10,20), 0.2, BrickColor.new("Really red"), BrickColor.new("Really black"), "rbxassetid://200633837", 1)
687+
        Damage(hit.Parent, math.random(10,20), 0.2, BrickColor.new("Toothpaste"), BrickColor.new("Really black"), "rbxassetid://200633837", 1)
688
        --MagnitudeDamage(dad, 2, 20, 60)
689
        wait()
690
  end)
691
        while wait() and dad and dad.Transparency <= 1 do
692
        jj.Scale = jj.Scale + Vector3.new(0.45, 0.45, 0.45)
693
        dad.Transparency = dad.Transparency + .08
694
        end
695
        wait(0.000001)
696
        char.Humanoid.WalkSpeed = 65
697
		wait(10)
698
		CreateSound("http://roblox.com/asset/?id=206083252", Torso, 1, 1)
699
		aaa:Stop()
700
        bbb:Stop()
701
        jj.Scale = Vector3.new(1,1,1)
702
        parta.Enabled = false
703
        partb.Enabled = false
704
        dad.Transparency =0
705
        while wait() and dad and dad.Transparency <= 1 do
706
        jj.Scale = jj.Scale + Vector3.new(0.45, 0.45, 0.45)
707
        dad.Transparency = dad.Transparency + .1
708
        end
709
                wait()
710
711
712
713
                char.Humanoid.WalkSpeed = 16
714
		        char.Head.face.Transparency = 0
715
		        Handle.Transparency = 0
716
		        Handle1.Transparency = 0
717
				Wing.Transparency = 0
718
				Wing1.Transparency = 0
719
				Ring.Transparency = 0
720
				Ball.Transparency = 0
721
				Ball1.Transparency = 0.7
722
				Wed.Transparency = 0
723
				Wed1.Transparency = 0
724
				Wed2.Transparency = 0
725
				Wed3.Transparency = 0
726
				parti.Enabled = true
727
                for _,v in pairs(char:children()) do
728
                if v:IsA("Part") then
729
                v.Transparency = 0
730
                v.CanCollide = false
731
                elseif v:IsA("Hat") then
732
                v.Handle.Transparency = 0
733
                elseif v:IsA("Accessory") then
734
                v.Handle.Transparency = 0
735
                wait(0.0000001)
736
                end
737
                char.HumanoidRootPart.Transparency = 1
738
                end
739
		        dad:remove()
740
		        disable = false
741
                
742
743
744
		for a = 0, 1, .05 do
745
        armweld.C0 = CFrame.new(1.5, .5, 0) * CFrame.Angles(math.sin(a*math.pi/2)*math.pi/2, 0, 0)
746
        wait()
747
		 end
748
749
end
750
function blast()
751
	disable = true
752
    for a = 0, 1, .05 do
753
        armweld.C0 = CFrame.new(1.5, .5, 0) * CFrame.Angles(math.sin(a*math.pi/2)*2, math.sin(a*math.pi/2)*0.2, math.sin(a*math.pi/2)*0.2)
754
        wait()
755
   end
756
        han.Transparency = 0
757
        asd2.Scale = Vector3.new(4.7,4.7,4.7)
758
        local dadda = Instance.new("Part", char)
759
        dadda.Anchored = false
760
        dadda.Size = Vector3.new(1,1,1)
761
        dadda.formFactor = "Custom"
762
        dadda.CanCollide = false
763
        dadda.Name="shoo"
764
        dadda.Transparency = 1
765
        dadda.CFrame =(Torso.CFrame*CFrame.new(0,0,-8))
766
        Weld = Instance.new("Weld",dadda) 
767
        Weld.Part0 = Weld.Parent 
768
        Weld.Part1 = plr.Character["Torso"] 
769
        Weld.C0 = CFrame.new(0,0,8)
770
	    CreateSound("http://roblox.com/asset/?id=200633529", Torso, 1, .6)
771
	    
772
	    char.Humanoid.WalkSpeed = 8
773
		for a = 0, 2, .05 do
774
        local jooj = Instance.new("Part", char)
775
        jooj.Anchored = true
776
        jooj.Size = Vector3.new(1,1,1)
777
        jooj.formFactor = "Custom"
778
        jooj.CanCollide = false
779
        jooj.Name="g"
780-
        jooj.BrickColor = BrickColor.new("Really red")
780+
        jooj.BrickColor = BrickColor.new("Toothpaste")
781
        jooj.Material='Neon'
782
        jooj.Transparency =0
783
        jooj.Position = Torso.Position
784
        jooj.CFrame =(Torso.CFrame*CFrame.new(0,0,-8))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
785
        local j1 = Instance.new("BlockMesh", jooj)
786
        wait()
787
        coroutine.wrap(function()
788
        while wait() and jooj and jooj.Transparency <= 1 do
789
        j1.Scale = j1.Scale + Vector3.new(0.9, 0.9, 0.9)
790
        jooj.Transparency = jooj.Transparency + .12
791
        asd2.Scale = asd2.Scale + Vector3.new(1.2,1.2,1.2) 
792
        han.Transparency = han.Transparency + 0.08
793
        end
794
		jooj:remove()
795
        end)()
796
797
798
799
		end
800
	    char.Humanoid.WalkSpeed = 16
801
local shot = Instance.new("Part") 
802
shot.Parent = dadda 
803
shot.CanCollide = false 
804
shot.Anchored = true
805
shot.Name = "a"
806
shot.Material = "Neon"
807
shot.Size = Vector3.new(1, 1, 1) 
808
shot.Transparency = 0.4 
809-
shot.BrickColor = BrickColor.new("Really red") 
809+
shot.BrickColor = BrickColor.new("Toothpaste") 
810
        local rrr = Instance.new("SpecialMesh",shot)
811
        rrr.MeshType="Sphere"
812
        rrr.Scale = Vector3.new(3,3,3)
813
local start = CFrame.new(dadda.Position) + Vector3.new(0, 0.25, 0) 
814
local ending = mouse.Hit.p
815
local face = CFrame.new(start.p, ending)
816
shot.CFrame = face
817
local magn = (start.p - ending).magnitude
818
local lastP = start.p
819
for i = 4, 300, 4 do
820
    face = face * CFrame.new(0, 0, -8)
821
    shot.CFrame = face
822
    --local mag = (lastP - face.p).magnitude
823
    local t = Instance.new("Part",char)
824
    t.Anchored = true
825-
    t.BrickColor = BrickColor.new("Really red")
825+
    t.BrickColor = BrickColor.new("Toothpaste")
826
    t.formFactor = "Custom"
827
    t.Material = "Neon"
828
    t.Size = Vector3.new(1, 1, 1)
829
    t.CFrame = CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
830
    local mm = Instance.new("SpecialMesh",t)
831
    mm.MeshType= "Sphere"
832
    mm.MeshId="rbxassetid://3270017"
833
    mm.Scale = Vector3.new(0.1, 0.1, 0.1)
834
    t.CFrame = CFrame.new(lastP, face.p) * CFrame.new(0, 0, -1/2)
835
    coroutine.resume(coroutine.create(function()
836
        wait(0.05)
837
        for i = 0, 1, 0.1 do
838
            t.Transparency = i
839
            mm.Scale = mm.Scale + Vector3.new(0.6,0.6,0.0)
840
            wait()
841
        end
842
        t:remove()
843
    end))
844
    local hit, pos = RayC(lastP, face.p, 14, char)
845
    if hit then
846
        local hit = hit.Parent:findFirstChild("Humanoid")
847
        if hit then
848
        MagnitudeDamage(t, 50, 50, 100)
849
        wait()
850
        end
851
        shot.Transparency = 1 
852
        CreateSound("http://roblox.com/asset/?id=206082273", char, 1.3, 1)
853
        CreateSound("http://roblox.com/asset/?id=165970126", char, 0.6, 0.9)
854
        CreateSound("http://roblox.com/asset/?id=153832545", char, 0.7, 0.9)
855
	    local ded2 = Instance.new("Part", char)
856
        ded2.Anchored = true
857
        ded2.formFactor = "Custom"
858
        ded2.CanCollide = false
859
        ded2.Name="aa"
860-
        ded2.BrickColor = BrickColor.new("Really red")
860+
        ded2.BrickColor = BrickColor.new("Toothpaste")
861
        ded2.Material='Neon'
862
        ded2.Transparency =0
863
        ded2.Size = Vector3.new(1.3, 1.3, 1.3)
864
        
865
        ded2.CFrame =(t.CFrame*CFrame.new(0,0,0))
866
        local asd2 = Instance.new("SpecialMesh",ded2)
867
        asd2.MeshType="Sphere"
868
        asd2.Scale = Vector3.new(0.2,0.2,0.2)
869
870
     local ded3 = Instance.new("Part", char)
871
        ded3.Anchored = true
872
        ded3.formFactor = "Custom"
873
        ded3.CanCollide = false
874
        ded3.Name="aa"
875-
        ded3.BrickColor = BrickColor.new("Really red")
875+
        ded3.BrickColor = BrickColor.new("Toothpaste")
876
        ded3.Material='Neon'
877
        ded3.Transparency =0.3
878
        ded3.Size = Vector3.new(1.8, 1.8, 1.8)
879
        
880
        ded3.CFrame =(t.CFrame*CFrame.new(0,0,0))
881
        local asd3 = Instance.new("SpecialMesh",ded3)
882
        asd3.MeshType="Sphere"
883
        asd3.Scale = Vector3.new(0.7,0.7,0.7)
884
 MagnitudeDamage(ded2, 40, 50, 100)
885
 wait()
886
        coroutine.wrap(function()
887
        for i = 0 , 5 , 0.1 do 
888
        ded2.Transparency = ded2.Transparency + 0.02
889
         asd2.Scale = asd2.Scale + Vector3.new(3,3,3) 
890
        ded3.Transparency = ded3.Transparency + 0.02
891
        asd3.Scale = asd3.Scale + Vector3.new(3.2,3.2,3.2) 
892
        wait()
893
        end
894
        end)()
895
         shot:remove()
896
         wait(2.8)
897
         ded2:remove()
898
         ded3:remove()
899
         break
900
    end
901
    lastP = face.p
902
    wait()
903
end
904
905
dadda:Remove()
906
                disable = false
907
        coroutine.wrap(function()
908
    for a = 0, 1, .05 do
909
        armweld.C0 = CFrame.new(1.5, .5, 0) * CFrame.Angles(math.sin(a*math.pi/2)*math.pi/2, 0, 0)
910
        wait()
911
        
912
end
913
end)()
914
end
915
--
916
function onKeyDown(key)
917
if key == "m" then
918
	if music == false then
919
	sh:Play()
920
         music = true
921
elseif music == true then
922
	sh:Stop()
923
         music = false
924
end
925
end
926
if key == "e" then
927
if up == true and disable == false then
928
	blast()
929
end
930
end
931
if key == "f" then
932
if up == false and disable == false then
933
    for a = 0, 1, .05 do
934
        armweld.C0 = CFrame.new(1.5, .5, 0) * CFrame.Angles(math.sin(a*math.pi/2)*math.pi/2, 0, 0)
935
        wait()
936
        end
937
               	CreateSound("http://roblox.com/asset/?id=206083252", Torso, .7, 1.15)
938
        		Handle.Transparency = 0
939
		        Handle1.Transparency = 0
940
				Wing.Transparency = 0
941
				Wing1.Transparency = 0
942
				Ring.Transparency = 0
943
				Ball.Transparency = 0
944
				Ball1.Transparency = 0.7
945
				Wed.Transparency = 0
946
				Wed1.Transparency = 0
947
				Wed2.Transparency = 0
948
				Wed3.Transparency = 0
949
				parti.Enabled = true
950
				ddd.Scale=Vector3.new(6,6,6)
951
				ddd1.Scale=Vector3.new(7,7,7)
952
				ez.Transparency = 0
953
				ez1.Transparency = 0.15
954
				up = true
955
		while wait() and ez and ez.Transparency <= 1 do
956
        ddd.Scale = ddd.Scale + Vector3.new(0.08, 0.08, 0.08)
957
        ez.Transparency = ez.Transparency + .05
958
        ddd1.Scale = ddd1.Scale + Vector3.new(0.08, 0.08, 0.08)
959
        ez1.Transparency = ez1.Transparency + .05
960
961
    end
962
963
elseif disable == false then
964
up = false
965
                disable = true
966
                CreateSound("http://roblox.com/asset/?id=206083252", Torso, .7, 1.15)
967
            	Handle.Transparency = 1
968
		        Handle1.Transparency = 1
969
				Wing.Transparency = 1
970
				Wing1.Transparency = 1
971
				Ring.Transparency = 1
972
				Ball.Transparency = 1
973
				Ball1.Transparency = 1
974
				Wed.Transparency = 1
975
				Wed1.Transparency = 1
976
				Wed2.Transparency = 1
977
				Wed3.Transparency = 1
978
				parti.Enabled = false
979
				ddd.Scale=Vector3.new(6,6,6)
980
				ddd1.Scale=Vector3.new(7,7,7)
981
				ez.Transparency = 0
982
				ez1.Transparency = 0.15
983
		while wait() and ez and ez.Transparency <= 1 do
984
        ddd.Scale = ddd.Scale + Vector3.new(0.08, 0.08, 0.08)
985
        ez.Transparency = ez.Transparency + .05
986
        ddd1.Scale = ddd1.Scale + Vector3.new(0.08, 0.08, 0.08)
987
        ez1.Transparency = ez1.Transparency + .05
988
        end
989
for a = 1, 0, -.05 do
990
        armweld.C0 = CFrame.new(1.5, .5, 0) * CFrame.Angles(math.sin(a*math.pi/2)*math.pi/2, 0, 0)
991
        wait()
992
    end
993
    wait(0.000000001)
994
     disable = false
995
end
996
end
997
998
if key == "q" then
999
if up == true and disable == false then
1000
bom()
1001
end
1002
end
1003
if key == "r" then
1004
if up == true and disable == false then 
1005
ruh()
1006
end
1007
end
1008
--nioce
1009
end
1010
1011
1012
    mouse.KeyDown:connect(onKeyDown)
1013
    mouse.Button1Down:connect(function()
1014
1015
        if up and disable == false then
1016
         local startpos = Ball.Position;
1017
        local endpos = mouse.Hit.p;
1018
        local length = 999;
1019
    
1020
        local ray = Ray.new(startpos, (endpos - startpos).unit*length)
1021
        local hit, hitpos = workspace:FindPartOnRay( ray, char )
1022
    
1023
        local size = (startpos-hitpos).magnitude
1024
    
1025
1026
        if hit then
1027
           
1028
                   --CreateSound("http://roblox.com/asset/?id=206082273", hit, 1, math.random(70, 120) / 100)
1029
                   --CreateSound("http://roblox.com/asset/?id=206082327", hit, 1, math.random(70, 120) / 100)
1030
1031
                
1032
                
1033
1034
        end
1035
        local part = Instance.new("Part", char)
1036
        part.Anchored = true
1037
        part.formFactor = "Custom"
1038
        part.CanCollide = false
1039-
        part.BrickColor = BrickColor.new("Really red")
1039+
        part.BrickColor = BrickColor.new("Toothpaste")
1040
        part.Material='Neon'
1041
        part.Name="aa"
1042
        part.Transparency =0
1043
        part.Size = Vector3.new(.8, size, .8)
1044
1045
        part.CFrame = CFrame.new(startpos, hitpos) * CFrame.Angles(-math.pi/2, 0, 0) *     CFrame.new(0, size/2, 0)
1046
        local m = Instance.new("CylinderMesh", part)
1047
1048
       local part1 = Instance.new("Part", char)
1049
        part1.Anchored = true
1050
        part1.formFactor = "Custom"
1051
        part1.CanCollide = false
1052-
        part1.BrickColor = BrickColor.new("Really red")
1052+
        part1.BrickColor = BrickColor.new("Toothpaste")
1053
        part1.Material='Neon'
1054
        part1.Name="aa"
1055
        part1.Transparency =0.3
1056
        part1.Size = Vector3.new(1.3, size, 1.3)
1057
1058
        part1.CFrame = CFrame.new(startpos, hitpos) * CFrame.Angles(-math.pi/2, 0, 0) *     CFrame.new(0, size/2, 0)
1059
        local m1 = Instance.new("CylinderMesh", part1)
1060
1061
      local ded = Instance.new("Part", char)
1062
        ded.Anchored = true
1063
        ded.formFactor = "Custom"
1064
        ded.CanCollide = false
1065
        ded.Name="aa"
1066-
        ded.BrickColor = BrickColor.new("Really red")
1066+
        ded.BrickColor = BrickColor.new("Toothpaste")
1067
        ded.Material='Neon'
1068
        ded.Transparency =0.3
1069
        ded.Size = Vector3.new(1.3, 1.3, 1.3)
1070
        ded.Position = mouse.hit.p
1071
        local asd = Instance.new("SpecialMesh",ded)
1072
        asd.MeshType="Sphere"
1073
        asd.Scale = Vector3.new(0.2,0.2,0.2)
1074
1075
     local ded1 = Instance.new("Part", char)
1076
        ded1.Anchored = true
1077
        ded1.formFactor = "Custom"
1078
        ded1.CanCollide = false
1079
        ded1.Name="aa"
1080-
        ded1.BrickColor = BrickColor.new("Really red")
1080+
        ded1.BrickColor = BrickColor.new("Toothpaste")
1081
        ded1.Material='Neon'
1082
        ded1.Transparency =0.3
1083
        ded1.Size = Vector3.new(1.8, 1.8, 1.8)
1084
        ded1.CFrame =(ded.CFrame*CFrame.new(0,0,0))
1085
        local asd1 = Instance.new("SpecialMesh",ded1)
1086
        asd1.MeshType="Sphere"
1087
        asd1.Scale = Vector3.new(0.7,0.7,0.7)
1088
        MagnitudeDamage(ded, 8, 10, 30)
1089
        wait()
1090
1091
1092
        --[[local e = Instance.new("Explosion")
1093
			  e.Position = mouse.hit.p 
1094
			  e.Parent = game:GetService("Workspace")]]
1095
1096
        CreateSound("http://roblox.com/asset/?id=199144144", Torso, 1, 1)
1097
        CreateSound("http://roblox.com/asset/?id=199144144", ded, 1, 1)
1098
1099
       
1100
wait(0.0333333333333)
1101
1102
for i = 0 , 1.5 , 0.1 do 
1103
m.Scale = m.Scale + Vector3.new(0.02,0,0.02) 
1104
part.Transparency = part.Transparency + 0.08
1105
1106
m1.Scale = m1.Scale + Vector3.new(0.03,0,0.03) 
1107
part1.Transparency = part1.Transparency + 0.08
1108
1109
1110
ded.Transparency = ded.Transparency + 0.08
1111
asd.Scale = asd.Scale + Vector3.new(2,2,2) 
1112
1113
ded1.Transparency = ded1.Transparency + 0.08
1114
asd1.Scale = asd1.Scale + Vector3.new(2.1,2.1,2.1) 
1115
1116
--kyspls.CFrame =(endpos.CFrame*CFrame.new(0,0,-2))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
1117
wait(0.00000001)
1118
end 
1119
1120
part.Transparency = 1 
1121
part.Parent = nil 
1122
part1.Transparency = 1 
1123
part1.Parent = nil 
1124
ded.Transparency = 1 
1125
ded.Parent = nil 
1126
ded1.Transparency = 1 
1127
ded1.Parent = nil 
1128
end
1129
1130
    end)
1131
1132
--
1133
1134
1135
1136
1137
aaa = Instance.new("Sound",Torso)
1138
aaa.Volume = 2
1139
aaa.PlaybackSpeed = 0.8
1140
aaa.SoundId = "rbxassetid://143301643"
1141
aaa:Stop()
1142
aaa.Name = "ay"
1143
aaa.Looped = true
1144
1145
bbb = Instance.new("Sound",Torso)
1146
bbb.Volume = 2
1147
bbb.PlaybackSpeed = 1.1
1148
bbb.SoundId = "rbxassetid://149560784"
1149
bbb:Stop()
1150
bbb.Name = "ay"
1151
bbb.Looped = true
1152
1153
sh = Instance.new("Sound",char)
1154
sh.Volume = 1.4
1155
sh.PlaybackSpeed = 1
1156-
sh.SoundId = "rbxassetid://251954665"
1156+
sh.SoundId = "rbxassetid://268259914"
1157
sh:Stop()
1158
sh.Name = "ay2"
1159
sh.Looped = true
1160
1161
1162
1163
local yes=it("GuiMain") 
1164
yes.Parent=plr.PlayerGui 
1165
yes.Name="WeaponGUI" 
1166
local yay=it("Frame") 
1167
yay.Parent=yes
1168
yay.BackgroundColor3=Color3.new(255,255,255) 
1169
yay.BackgroundTransparency=1 
1170
yayBorderColor3=Color3.new(17,17,17) 
1171
yay.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0)
1172
yay.Position=UDim2.new(0.325,0,0.9,0)
1173
local yeah1=it("TextLabel") 
1174
yeah1.Parent=yay
1175
yeah1.Name = "1"
1176
yeah1.Text=" " 
1177
yeah1.BackgroundTransparency=0 
1178
yeah1.BackgroundColor3=Color3.new(0,0,0) 
1179
yeah1.SizeConstraint="RelativeXY" 
1180
yeah1.TextXAlignment="Center" 
1181
yeah1.TextYAlignment="Center" 
1182
yeah1.Position=UDim2.new(0,0,0,0)
1183
yeah1.Size=UDim2.new(7,0,0.4,0)
1184
local yeah2=it("TextLabel") 
1185
yeah2.Parent=yay
1186
yeah2.Name = "2"
1187
yeah2.Text=" " 
1188
yeah2.BackgroundTransparency=0 
1189
yeah2.BackgroundColor3=Torso.Color
1190
yeah2.SizeConstraint="RelativeXY" 
1191
yeah2.TextXAlignment="Center" 
1192
yeah2.TextYAlignment="Center" 
1193
yeah2.Position=UDim2.new(0,0,0,0)
1194
yeah2.Size=UDim2.new(4*health/100,0,0.4,0)
1195
local yeah3=it("TextLabel") 
1196
yeah3.Parent=yay
1197
yeah3.Name = "3"
1198
yeah3.Text=" " 
1199
yeah3.BackgroundTransparency=1 
1200
yeah3.BackgroundColor3=Color3.new(0,0,0)
1201
yeah3.SizeConstraint="RelativeXY" 
1202
yeah3.TextXAlignment="Center" 
1203
yeah3.TextYAlignment="Center" 
1204
yeah3.Position=UDim2.new(0,0,0,0)
1205
yeah3.Size=UDim2.new(0,0,0.2,0)
1206
local yeah4=it("TextLabel") 
1207
yeah4.Parent=yay
1208
yeah4.Name = "4"
1209
yeah4.Text="Loading interface"
1210
yeah4.BackgroundTransparency=1 
1211
yeah4.BackgroundColor3=Color3.new(0,0,0) 
1212
yeah4.SizeConstraint="RelativeXY" 
1213
yeah4.TextXAlignment="Center" 
1214
yeah4.TextYAlignment="Center" 
1215
yeah4.Position=UDim2.new(0,0,0,0)
1216
yeah4.Size=UDim2.new(7,0,0.4,0)
1217
yeah4.FontSize="Size42"
1218
yeah4.TextStrokeTransparency=0
1219
yeah4.Font = "SciFi"
1220-
yeah4.TextColor=BrickColor.new("White")
1220+
yeah4.TextColor=BrickColor.new("Toothpaste")
1221
1222
local runServ = game:GetService("RunService").RenderStepped
1223
runServ:connect(function()
1224
yeah2:TweenSize(UDim2.new((7*char.Humanoid.Health/char.Humanoid.MaxHealth),0,0.4,0),nil,1,0.4,true)
1225
yeah4.Text=""..char.Humanoid.Health..""
1226
end)
1227
1228
print("Loaded ffs")
1229
local txt = Instance.new("BillboardGui", game.Players.LocalPlayer.Character)
1230
txt.Adornee = game.Players.LocalPlayer.Character.Head
1231
txt.Name = "_status"
1232
txt.Size = UDim2.new(2, 0, 1.2, 0)
1233
txt.StudsOffset = Vector3.new(-9, 8, 0)
1234
local text = Instance.new("TextLabel", txt)
1235
text.Size = UDim2.new(10, 0, 7, 0)
1236
text.FontSize = "Size24"
1237
text.TextScaled = true
1238
text.TextTransparency = 1
1239
text.BackgroundTransparency = 1 
1240
text.TextStrokeTransparency = 1
1241
text.Font = "SciFi"
1242
text.TextStrokeColor3 = Color3.new(1,1,1)
1243
1244
v=Instance.new("Part")
1245
v.Name = "ColorBrick"
1246
v.Parent= game.Players.LocalPlayer.Character
1247
v.FormFactor="Symmetric"
1248
v.Anchored=true
1249
v.CanCollide=false
1250
v.BottomSurface="Smooth"
1251
v.TopSurface="Smooth"
1252
v.Size=Vector3.new(3,1.5,1)
1253
v.Transparency=1
1254
v.CFrame=game.Players.LocalPlayer.Character.Torso.CFrame
1255-
v.BrickColor=BrickColor.new("Really red")
1255+
v.BrickColor=BrickColor.new("Toothpaste")
1256
v.Transparency=1
1257
text.TextColor3 = Color3.new(255, 0, 0)
1258
v.Shape="Block"
1259
text.Text = "Shady staff V0.04+ by grgrgry21."
1260
		while wait() and text and text.TextTransparency >= 0 do
1261
       text.TextStrokeTransparency = text.TextStrokeTransparency - .05
1262
        text.TextTransparency = text.TextTransparency - .05
1263
end
1264
wait(1)
1265
text.Text = "Dont dare u leak mah skrpt"
1266
		while wait() and text and text.TextTransparency <= 1 do
1267
       text.TextStrokeTransparency = text.TextStrokeTransparency + .05
1268
        text.TextTransparency = text.TextTransparency + .05
1269
end
1270
wait(0.01)
1271
text.Parent = nil 
1272
v.Parent = nil 
1273
txt.Parent = nil