SHOW:
|
|
- or go back to the newest paste.
1 | - | Part0 = Instance.new("Part") |
1 | + | ---------------------------------------- |
2 | - | Sound1 = Instance.new("Sound") |
2 | + | -- Originally made by Alfederate :D -- |
3 | - | Attachment2 = Instance.new("Attachment") |
3 | + | ---------------------------------------- |
4 | - | RopeConstraint3 = Instance.new("RopeConstraint") |
4 | + | |
5 | - | Part4 = Instance.new("Part") |
5 | + | -- there's no time to explain! -- |
6 | - | SpecialMesh5 = Instance.new("SpecialMesh") |
6 | + | |
7 | - | Attachment6 = Instance.new("Attachment") |
7 | + | local new=Instance.new |
8 | - | RopeConstraint7 = Instance.new("RopeConstraint") |
8 | + | local rad=math.rad |
9 | - | RopeConstraint8 = Instance.new("RopeConstraint") |
9 | + | local cf=CFrame.new |
10 | - | Part0.Parent = mas |
10 | + | local v3=Vector3.new |
11 | - | Part0.BrickColor = BrickColor.new("Pearl") |
11 | + | local ang=function(x,y,z) |
12 | - | Part0.Anchored = true |
12 | + | return CFrame.Angles(rad(x),rad(y),rad(z)) |
13 | - | Part0.Size = Vector3.new(9.97000027, 0.720000267, 7.03999949) |
13 | + | |
14 | - | Part0.CFrame = CFrame.new(16.7149887, 13.7606668, 36.7299957, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
14 | + | local player=game:service'Players'.LocalPlayer |
15 | - | Part0.BottomSurface = Enum.SurfaceType.Smooth |
15 | + | local char=player.Character |
16 | - | Part0.TopSurface = Enum.SurfaceType.Smooth |
16 | + | local cam=workspace.Camera |
17 | - | Part0.Color = Color3.new(0.905882, 0.905882, 0.92549) |
17 | + | local mouse=player:GetMouse() |
18 | - | Part0.Position = Vector3.new(16.7149887, 13.7606668, 36.7299957) |
18 | + | local weld=function(a,b,c0,c1) |
19 | - | Part0.Color = Color3.new(0.905882, 0.905882, 0.92549) |
19 | + | m=Instance.new('Motor',a) |
20 | - | Sound1.Parent = Part0 |
20 | + | m.Part0=a |
21 | - | Sound1.SoundId = "rbxassetid://1205183071" |
21 | + | m.Part1=b |
22 | - | Attachment6.Parent = Part0 |
22 | + | m.C0=c0 |
23 | - | Attachment6.Visible = true |
23 | + | m.C1=c1 |
24 | - | RopeConstraint8.Parent = Attachment6 |
24 | + | return m |
25 | - | RopeConstraint8.Color = BrickColor.new("Maroon") |
25 | + | |
26 | - | RopeConstraint8.Visible = true |
26 | + | |
27 | - | RopeConstraint8.Attachment0 = nil |
27 | + | snd='rbxassetid://391411472' |
28 | - | RopeConstraint8.Attachment1 = Attachment6 |
28 | + | beamm=Instance.new('Model',workspace) |
29 | - | RopeConstraint8.Color = BrickColor.new("Maroon") |
29 | + | beamm.Name='beam' |
30 | - | RopeConstraint8.Length = 7.5 |
30 | + | |
31 | - | RopeConstraint8.Thickness = 0.20000000298023 |
31 | + | laser=false |
32 | - | RopeConstraint8.Restitution = 0.10000000149012 |
32 | + | |
33 | - | Part4.Parent = mas |
33 | + | rs=Instance.new('Part',char) |
34 | - | Part4.Size = Vector3.new(3.6299994, 2.9199996, 2.94999957) |
34 | + | rs.Transparency=1 |
35 | - | Part4.CFrame = CFrame.new(16.4487038, 1.47368073, 36.9643707, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
35 | + | rs.CanCollide=false |
36 | - | Part4.BottomSurface = Enum.SurfaceType.Smooth |
36 | + | rs.TopSurface,rs.BottomSurface=0,0 |
37 | - | Part4.TopSurface = Enum.SurfaceType.Smooth |
37 | + | rs.FormFactor=3 |
38 | - | Part4.Position = Vector3.new(16.4487038, 1.47368073, 36.9643707) |
38 | + | rs.Size=Vector3.new(.5,.5,.5) |
39 | - | SpecialMesh5.Parent = Part4 |
39 | + | |
40 | - | SpecialMesh5.MeshId = "http://www.roblox.com/asset/?id=112335925" |
40 | + | ls=rs:Clone() |
41 | - | SpecialMesh5.Scale = Vector3.new(3, 3, 3) |
41 | + | ls.Parent=char |
42 | - | SpecialMesh5.TextureId = "http://www.roblox.com/asset/?id=112335881" |
42 | + | |
43 | - | SpecialMesh5.MeshType = Enum.MeshType.FileMesh |
43 | + | rsw=weld(rs,char.Torso,cf(-1,-.5,0),cf()) |
44 | - | SpecialMesh5.Scale = Vector3.new(3, 3, 3) |
44 | + | lsw=weld(ls,char.Torso,cf(1,-.5,0),cf()) |
45 | - | Attachment6.Parent = Part0 |
45 | + | raw=weld(char['Right Arm'],rs,cf(-.5,.6,-.14),ang(90,0,-8)) |
46 | - | Attachment6.Visible = true |
46 | + | law=weld(char['Left Arm'],ls,cf(-.3,1.5,-.14),ang(90,0,43)) |
47 | - | RopeConstraint8.Parent = Attachment6 |
47 | + | |
48 | - | RopeConstraint8.Color = BrickColor.new("Maroon") |
48 | + | s1=Instance.new('Sound',char) |
49 | - | RopeConstraint8.Visible = true |
49 | + | s1.Volume=1 |
50 | - | RopeConstraint8.Length = 7.5 |
50 | + | s1.Pitch=1 |
51 | - | RopeConstraint8.Thickness = 0.20000000298023 |
51 | + | s1.Looped=true |
52 | - | RopeConstraint8.Restitution = 0 |
52 | + | s1.SoundId=snd |
53 | - | for i,v in pairs(mas:GetChildren()) do |
53 | + | |
54 | - | v.Parent = game:GetService("Players").LocalPlayer.Character |
54 | + | particles={} |
55 | - | pcall(function() v:MakeJoints() end) |
55 | + | |
56 | local wep=new('Part',char) | |
57 | - | Part0.CFrame = game.Players.LocalPlayer.Character.Head.CFrame * CFrame.new(0,7.5,0) |
57 | + | wep.FormFactor=3 |
58 | - | game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame * CFrame.new(0,2,0) |
58 | + | wep.CanCollide=false |
59 | - | Part4.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame * CFrame.new(0,-3,0) |
59 | + | wep.Size=v3(1,3,1) |
60 | - | RopeConstraint8.Attachment0 = game.Players.LocalPlayer.Character.Torso.NeckAttachment |
60 | + | wep.TopSurface,wep.BottomSurface=0,0 |
61 | - | RopeConstraint8.Attachment1 = Attachment6 |
61 | + | local wepw=weld(wep,char['Right Arm'],cf(.26,.4,.7),ang(0,0,8)) |
62 | - | RopeConstraint8.Visible = true |
62 | + | |
63 | - | game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0 |
63 | + | local beam=wep:Clone() |
64 | - | game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0 |
64 | + | beam:ClearAllChildren() |
65 | - | -- Objects |
65 | + | beam.Material='Neon' |
66 | beam.BrickColor=BrickColor.new('Toothpaste') | |
67 | - | local ScreenGui = Instance.new("ScreenGui") |
67 | + | beam.Size=Vector3.new(3,3,1) |
68 | - | local TextButton = Instance.new("TextButton") |
68 | + | beam.Transparency=.5 |
69 | beam.Anchored=true | |
70 | - | -- Properties |
70 | + | local ms=Instance.new('BlockMesh',beam) |
71 | local inner=beam:Clone() | |
72 | - | ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui |
72 | + | inner.Transparency=0 |
73 | inner.Material='SmoothPlastic' | |
74 | - | TextButton.Parent = ScreenGui |
74 | + | inner.BrickColor=BrickColor.new('Navy blue') |
75 | - | TextButton.BackgroundColor3 = Color3.new(1, 1, 1) |
75 | + | local ms2=inner.Mesh |
76 | - | TextButton.Position = UDim2.new(0.318378747, 0, 0.816154361, 0) |
76 | + | |
77 | - | TextButton.Size = UDim2.new(0, 496, 0, 135) |
77 | + | local expl=inner:Clone() |
78 | - | TextButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton |
78 | + | expl.Mesh:Destroy() |
79 | - | TextButton.Font = Enum.Font.SourceSans |
79 | + | expl.Material='Neon' |
80 | - | TextButton.FontSize = Enum.FontSize.Size14 |
80 | + | expl.BrickColor=BrickColor.new('Toothpaste') |
81 | - | TextButton.Text = "Suicide" |
81 | + | expl.Size=Vector3.new(11,11,11) |
82 | - | TextButton.TextColor3 = Color3.new(0.454902, 0, 0) |
82 | + | expl.Transparency=.55 |
83 | - | TextButton.TextScaled = true |
83 | + | pl=Instance.new('PointLight',expl) |
84 | - | TextButton.TextSize = 14 |
84 | + | pl.Color=expl.BrickColor.Color |
85 | - | TextButton.TextWrapped = true |
85 | + | pl.Range=pl.Range*2 |
86 | - | function kys() |
86 | + | pl.Name='light' |
87 | - | ScreenGui:destroy() |
87 | + | local br=pl.Range |
88 | - | local bodyvel = Instance.new("BodyVelocity", Part4) |
88 | + | |
89 | - | bodyvel.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 45 |
89 | + | local exa=expl:Clone() |
90 | - | local death = Instance.new("Sound", game.Players.LocalPlayer.Character.Head) |
90 | + | exa.Size=Vector3.new(4,4,4) |
91 | - | death.Volume = 10 |
91 | + | pl2=exa.light |
92 | - | death.SoundId = "rbxassetid://12222242" |
92 | + | |
93 | - | wait(0.2) |
93 | + | local part=exa:Clone() |
94 | - | death:Play() |
94 | + | part.Size=Vector3.new(1.5,1.5,1.5) |
95 | - | bodyvel:destroy() |
95 | + | pl3=part.light |
96 | - | game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true |
96 | + | pms=Instance.new('BlockMesh',part) |
97 | - | if game.Players.LocalPlayer.Character:findFirstChild("Torso") then |
97 | + | |
98 | - | game.Players.LocalPlayer.Character.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 10 |
98 | + | char.Humanoid.Died:connect(function() |
99 | - | for i,v in pairs(game.Players.LocalPlayer.Character.Torso:GetChildren()) do |
99 | + | laser=false |
100 | - | if v.ClassName == "Motor6D" then |
100 | + | beam.Parent=nil |
101 | - | if v.Name == "Neck" then |
101 | + | inner.Parent=nil |
102 | - | |
102 | + | expl.Parent=nil |
103 | - | else |
103 | + | exa.Parent=nil |
104 | - | v:destroy() |
104 | + | s1:stop() |
105 | - | end |
105 | + | end) |
106 | - | end |
106 | + | |
107 | - | end |
107 | + | mouse.Button1Down:connect(function() if char.Humanoid.Health~=0 then |
108 | - | end |
108 | + | laser=true |
109 | - | if game.Players.LocalPlayer.Character:findFirstChild("Right Arm") then |
109 | + | s1.Volume=1 |
110 | - | local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso) |
110 | + | s1:play() |
111 | - | attachment.Position = Vector3.new(1, 1, 0) |
111 | + | end end) |
112 | - | local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character) |
112 | + | mouse.Button1Up:connect(function() |
113 | - | ball.Attachment0 = game.Players.LocalPlayer.Character["Right Arm"].RightShoulderAttachment |
113 | + | laser=false |
114 | - | ball.Attachment1 = attachment |
114 | + | beam.Parent=nil |
115 | - | local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso) |
115 | + | inner.Parent=nil |
116 | - | collidepartofleftleg.Name = "Bone" |
116 | + | expl.Parent=nil |
117 | - | collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8) |
117 | + | exa.Parent=nil |
118 | - | collidepartofleftleg.Transparency = 1 |
118 | + | s1:stop() |
119 | - | collidepartofleftleg:BreakJoints() |
119 | + | end) |
120 | - | local weeld = Instance.new("Weld", collidepartofleftleg) |
120 | + | |
121 | - | weeld.Part0 = game.Players.LocalPlayer.Character["Right Arm"] |
121 | + | parti=0 |
122 | - | weeld.Part1 = collidepartofleftleg |
122 | + | game:service'RunService'.Stepped:connect(function() |
123 | - | weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0) |
123 | + | parti=parti+1 |
124 | - | end |
124 | + | for i,v in pairs(particles) do |
125 | - | if game.Players.LocalPlayer.Character:findFirstChild("Left Arm") then |
125 | + | v.CFrame=v.CFrame*CFrame.new(0,0,-.3) |
126 | - | local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso) |
126 | + | v.Transparency=v.Transparency+.08 |
127 | - | attachment.Position = Vector3.new(-1, 1, 0) |
127 | + | if v.Transparency >= 1 then |
128 | - | local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character) |
128 | + | v:Destroy() |
129 | - | ball.Attachment0 = attachment |
129 | + | table.remove(particles,i) |
130 | - | ball.Attachment1 = game.Players.LocalPlayer.Character["Left Arm"].LeftShoulderAttachment |
130 | + | else |
131 | - | local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso) |
131 | + | v.Parent=beamm |
132 | - | collidepartofleftleg.Name = "Bone" |
132 | + | |
133 | - | collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8) |
133 | + | |
134 | - | collidepartofleftleg.Transparency = 1 |
134 | + | a=cam.CoordinateFrame.p |
135 | - | collidepartofleftleg:BreakJoints() |
135 | + | b=mouse.Hit.p |
136 | - | local weeld = Instance.new("Weld", collidepartofleftleg) |
136 | + | mhitr=Ray.new(a,(b-a).unit*999) |
137 | - | weeld.Part0 = game.Players.LocalPlayer.Character["Left Arm"] |
137 | + | mhit,ps=workspace:FindPartOnRayWithIgnoreList(mhitr,{char,beamm}) |
138 | - | weeld.Part1 = collidepartofleftleg |
138 | + | raw.C1=ang(90+(mouse.Hit.lookVector.y*90),0,-8) |
139 | - | weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0) |
139 | + | law.C1=ang(90+(mouse.Hit.lookVector.y*90),0,43) |
140 | - | end |
140 | + | if not char.Humanoid.Sit and not char.Humanoid.PlatformStand then |
141 | - | if game.Players.LocalPlayer.Character:findFirstChild("Right Leg") then |
141 | + | char.Torso.CFrame=CFrame.new(char.Torso.CFrame.p,Vector3.new(ps.x,char.Torso.CFrame.p.y,ps.z)) |
142 | - | local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso) |
142 | + | |
143 | - | attachment.Position = Vector3.new(0.5, -1, 0) |
143 | + | if laser then |
144 | - | local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character) |
144 | + | beamm.Parent=workspace |
145 | - | ball.Attachment0 = game.Players.LocalPlayer.Character["Right Leg"].RightFootAttachment |
145 | + | beam.Parent=beamm |
146 | - | ball.Attachment1 = attachment |
146 | + | inner.Parent=beamm |
147 | - | game.Players.LocalPlayer.Character["Right Leg"].RightFootAttachment.Position = Vector3.new(0, 1, 0) |
147 | + | expl.Parent=beamm |
148 | - | local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso) |
148 | + | exa.Parent=beamm |
149 | - | collidepartofleftleg.Name = "Bone" |
149 | + | s1.Volume=s1.Volume-.002 |
150 | - | collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8) |
150 | + | |
151 | - | collidepartofleftleg.Transparency = 1 |
151 | + | ray=Ray.new((wep.CFrame*cf(0,-1.5,0)).p,((wep.CFrame*cf(0,-10,0)).p-(wep.CFrame*cf(0,-1.5,0)).p).unit*999) |
152 | - | collidepartofleftleg:BreakJoints() |
152 | + | hit,pos=workspace:FindPartOnRayWithIgnoreList(ray,{char,beamm}) |
153 | - | local weeld = Instance.new("Weld", collidepartofleftleg) |
153 | + | |
154 | - | weeld.Part0 = game.Players.LocalPlayer.Character["Right Leg"] |
154 | + | if hit and hit.Parent:findFirstChild('Humanoid') and s1.Volume > .3 and parti/8==math.floor(parti/8) then |
155 | - | weeld.Part1 = collidepartofleftleg |
155 | + | Instance.new('Explosion',workspace).Position=pos |
156 | - | weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0) |
156 | + | |
157 | - | end |
157 | + | if hit and hit.Parent==workspace.Terrain or hit==workspace.Terrain and parti/8==math.floor(parti/8) then |
158 | - | if game.Players.LocalPlayer.Character:findFirstChild("Left Leg") then |
158 | + | e=Instance.new('Explosion',workspace) |
159 | - | local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso) |
159 | + | e.Position=pos |
160 | - | attachment.Position = Vector3.new(-0.5, -1, 0) |
160 | + | e.BlastRadius=14 |
161 | - | local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character) |
161 | + | e.BlastPressure=1e4 |
162 | - | ball.Attachment0 = game.Players.LocalPlayer.Character["Left Leg"].LeftFootAttachment |
162 | + | |
163 | - | ball.Attachment1 = attachment |
163 | + | if hit and not hit.Anchored and not (hit:GetMass()>1e4) then |
164 | - | game.Players.LocalPlayer.Character["Left Leg"].LeftFootAttachment.Position = Vector3.new(0, 1, 0) |
164 | + | hit.Velocity=hit.Velocity+beam.CFrame.lookVector*(1*s1.Volume*hit:GetMass()) |
165 | - | local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso) |
165 | + | |
166 | - | collidepartofleftleg.Name = "Bone" |
166 | + | |
167 | - | collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8) |
167 | + | if parti==math.floor(parti) then |
168 | - | collidepartofleftleg.Transparency = 1 |
168 | + | par=part:Clone() |
169 | - | collidepartofleftleg:BreakJoints() |
169 | + | table.insert(particles,par) |
170 | - | local weeld = Instance.new("Weld", collidepartofleftleg) |
170 | + | par.Parent=beamm |
171 | - | weeld.Part0 = game.Players.LocalPlayer.Character["Left Leg"] |
171 | + | par.Transparency=1-s1.Volume |
172 | - | weeld.Part1 = collidepartofleftleg |
172 | + | par.light.Range=br*s1.Volume |
173 | - | weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0) |
173 | + | par.CFrame=cf(pos)*ang(math.random(-180,180),math.random(-180,180),math.random(-180,180))*cf(0,0,-10) |
174 | - | end |
174 | + | |
175 | - | if game.Players.LocalPlayer.Character:findFirstChild("Head") then |
175 | + | |
176 | - | local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Head) |
176 | + | mag=((wep.CFrame*cf(0,-1.5,0)).p-pos).magnitude |
177 | - | attachment.Position = Vector3.new(0, -0.5, 0) |
177 | + | ms.Scale=v3(s1.Volume,s1.Volume,mag) |
178 | - | attachment.Name = "lol" |
178 | + | ms2.Scale=v3(ms.Scale.x/2,ms.Scale.y/2,mag-(.1/mag)) |
179 | - | attachment.Visible = false |
179 | + | beam.CFrame=cf((wep.CFrame*cf(0,-1.5,0)).p,pos)*cf(0,0,-mag/2)*ang(0,0,math.random(0,180)) |
180 | - | game.Players.LocalPlayer.Character.Torso.NeckAttachment.Visible = false |
180 | + | inner.CFrame=beam.CFrame |
181 | - | game.Players.LocalPlayer.Character.Torso.NeckAttachment.Position = game.Players.LocalPlayer.Character.Torso.NeckAttachment.Position + Vector3.new(0,0,0) |
181 | + | pl.Range=br*s1.Volume |
182 | - | local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character) |
182 | + | pl2.Range=br*s1.Volume |
183 | - | ball.Attachment0 = game.Players.LocalPlayer.Character.Torso.NeckAttachment |
183 | + | expl.Size=v3(math.random(9,13),math.random(9,13),math.random(9,13))*s1.Volume |
184 | - | ball.Attachment1 = attachment |
184 | + | expl.Transparency=math.random(40,60)/100 |
185 | - | ball.LimitsEnabled = true |
185 | + | expl.CFrame=cf(pos)*ang(math.random(0,180),math.random(0,180),math.random(0,180)) |
186 | - | ball.TwistLimitsEnabled = true |
186 | + | exa.Size=v3(4,4,4)*s1.Volume |
187 | - | ball.UpperAngle = 90 |
187 | + | exa.CFrame=wep.CFrame*cf(0,-1.5,0)*ang(math.random(0,180),math.random(0,180),math.random(0,180)) |
188 | - | ball.Restitution = 0.5 |
188 | + | char.Torso.Velocity=char.Torso.Velocity-beam.CFrame.lookVector*(7*s1.Volume) |
189 | - | ball.TwistUpperAngle = 180 |
189 | + | |
190 | - | ball.TwistLowerAngle = -180 |
190 | + | end) |