SHOW:
|
|
- or go back to the newest paste.
1 | - | --MADE BY OneLegend (NOT THE SCRIPT) Thanks to TheRedAngel for letting me add. Feel free to take his model too. http://www.roblox.com/TheRedAngels-SB-Gift-NEW-SCRIPTS-item?id=88063410 |
1 | + | --Made by LuisPambid-- |
2 | - | --REGULAR SCRIPT: Go down to line 4 and put your name where it says "YOURNAMEHERE" |
2 | + | --==FLASH==-- |
3 | ||
4 | - | Player = game:GetService("Players").dardo99 |
4 | + | local player=game.Players.sandoval12 |
5 | - | Character = Player.Character |
5 | + | local char=player.Character |
6 | - | PlayerGui = Player.PlayerGui |
6 | + | repeat wait() until player and char |
7 | - | Backpack = Player.Backpack |
7 | + | local torso=char.Torso |
8 | - | Torso = Character.Torso |
8 | + | local head=char.Head |
9 | - | Head = Character.Head |
9 | + | local human=char.Humanoid |
10 | - | LeftArm = Character["Left Arm"] |
10 | + | local hat |
11 | - | LeftLeg = Character["Left Leg"] |
11 | + | for i, v in pairs(char:children()) do if v:isA("Hat") then hat=v end end |
12 | - | RightArm = Character["Right Arm"] |
12 | + | local arm={Left=char["Left Arm"], Right=char["Right Arm"]} |
13 | - | RightLeg = Character["Right Leg"] |
13 | + | local leg={Left=char["Left Leg"], Right=char["Right Leg"]} |
14 | - | LS = Torso["Left Shoulder"] |
14 | + | local c=function(f) coroutine.resume(coroutine.create(f)) end |
15 | - | LH = Torso["Left Hip"] |
15 | + | pcall(function() torso.roblox:clone().Parent=fake.Torso torso.roblox:remove() head.face:remove() for i, v in pairs(char:children()) do if v.ClassName=="Hat" then v:remove() end v.Transparency=1 end end) |
16 | - | RS = Torso["Right Shoulder"] |
16 | + | local add={ |
17 | - | RH = Torso["Right Hip"] |
17 | + | Part=function(par, a, c, col, t, s, cf) |
18 | - | ModelName = "Weapon" |
18 | + | local p=Instance.new("Part", par) p.TopSurface="Smooth" p.BottomSurface="Smooth" p.formFactor="Custom" p.Anchored=a p.CanCollide=c p.BrickColor=BrickColor.new(col) p.Transparency=t p.Size=s p.CFrame=cf or CFrame.new() |
19 | - | attack = false |
19 | + | return p |
20 | - | attacktype = 1 |
20 | + | end, |
21 | - | Hitdeb = 0 |
21 | + | Weld=function(par, p1, cf) |
22 | - | Neck = Torso.Neck |
22 | + | local w=Instance.new("Weld", par) w.Part0=w.Parent or par w.Part1=p1 w.C1=cf or CFrame.new() |
23 | - | local neckcf0 = Neck.C0 |
23 | + | return w |
24 | - | ---------------------------- |
24 | + | end, |
25 | - | --Customize |
25 | + | Mesh=function(ins, par, s, of, t) |
26 | - | Ammo = 10000 |
26 | + | local m=Instance.new(ins, par) m.Scale=s or Vector3.new() m.Offset=of or Vector3.new() pcall(function() m.MeshType=t end) |
27 | - | --if (string.match(Player.Unlocks.Value,"RasAlgethi Ammo+") ~= nil) then |
27 | + | return m |
28 | - | MaxAmmo = 10000000 |
28 | + | end |
29 | - | --else |
29 | + | } |
30 | - | --MaxAmmo = 10000000 |
30 | + | local scriptname="Flash" |
31 | - | --end |
31 | + | pcall(function() char[scriptname]:remove() end) |
32 | - | mindamage = 12 |
32 | + | local model=Instance.new("Model", char) model.Name=scriptname |
33 | - | maxdamage = 30 |
33 | + | local bin=Instance.new("HopperBin", player.Backpack) bin.Name=model.Name |
34 | - | crtmaxdamage = 39 |
34 | + | local skincolor="Really black" |
35 | - | omindamage = mindamage |
35 | + | local fake={} |
36 | - | omaxdamage = maxdamage |
36 | + | local weld={} |
37 | - | ocrtmaxdamage = crtmaxdamage |
37 | + | local mesh={} |
38 | - | crtrate = 100/5 |
38 | + | fake.arm={} |
39 | - | --100%/critpercentage |
39 | + | fake.leg={} |
40 | - | oblkbrkr = 0 |
40 | + | fake.torso=nil |
41 | - | blockbreaker = oblkbrkr |
41 | + | fake.Mesh={} fake.Weld={} |
42 | - | spread = 2 |
42 | + | --====-- |
43 | - | spread = spread*100 |
43 | + | weld.arm={} |
44 | - | Ammoregen = 20 |
44 | + | weld.leg={} |
45 | - | --if (string.match(Player.Unlocks.Value,"RasAlgethi Range+") ~= nil) then |
45 | + | weld.torso=nil |
46 | - | range = 700 |
46 | + | --====-- |
47 | - | --else |
47 | + | mesh.arm={} |
48 | - | --range = 15000 |
48 | + | mesh.leg={} |
49 | - | --end |
49 | + | --==FAKE, MESH, WELDZ==-- |
50 | - | rangepower = 50 |
50 | + | fake.arm.left=add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil) |
51 | - | CurrentAmmo = "Normal" |
51 | + | fake.arm.right=add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil) |
52 | - | handlecolor = BrickColor.new("Dark gray") |
52 | + | fake.leg.left=add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil) |
53 | - | bcolor = BrickColor.new("Pastel yellow") |
53 | + | fake.leg.right=add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil) |
54 | - | gemcolor = BrickColor.new("Black") |
54 | + | fake.torso=add.Part(model, false, false, skincolor, 0, Vector3.new(2, 2, 1), nil) |
55 | - | ammotrail = BrickColor.new("Pastel brown") |
55 | + | fake.head=head:clone() fake.head.Parent=model fake.head.BrickColor=BrickColor.new(skincolor) fake.head.Transparency=0 |
56 | - | ToolName = "Ras Algethi" |
56 | + | ------------------------- |
57 | - | --------------------------------------------------------------------------------------------------------------------------------------- |
57 | + | mesh.arm.left=add.Mesh("BlockMesh", fake.arm.left, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil) |
58 | - | if Character:findFirstChild("EquippedVal",true) ~= nil then |
58 | + | mesh.arm.right=add.Mesh("BlockMesh", fake.arm.right, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil) |
59 | - | Character:findFirstChild("EquippedVal",true).Parent = nil |
59 | + | mesh.leg.left=add.Mesh("BlockMesh", fake.leg.left, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil) |
60 | - | end |
60 | + | mesh.leg.right=add.Mesh("BlockMesh", fake.leg.right, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil) |
61 | - | ev = Instance.new("BoolValue",Character) |
61 | + | ------------------------- |
62 | - | ev.Name = "EquippedVal" |
62 | + | weld.arm.left=add.Weld(fake.arm.left, fake.torso, CFrame.new(-1.5, .5, 0)) |
63 | - | ev.Value = false |
63 | + | weld.arm.right=add.Weld(fake.arm.right, fake.torso, CFrame.new(1.5, .5, 0)) |
64 | - | if Character:findFirstChild("Block",true) ~= nil then |
64 | + | weld.leg.left=add.Weld(fake.leg.left, fake.torso, CFrame.new(-.5, -1.5, 0)) |
65 | - | Character:findFirstChild("Block",true).Parent = nil |
65 | + | weld.leg.right=add.Weld(fake.leg.right, fake.torso, CFrame.new(.5, -1.5, 0)) |
66 | - | end |
66 | + | weld.torso=add.Weld(torso, fake.torso, nil) |
67 | - | --player |
67 | + | weld.head=add.Weld(fake.head, fake.torso, CFrame.new(0, 1.5, 0)) |
68 | - | player = nil |
68 | + | pcall(function() torso.roblox:remove() head.face:remove() for i, v in pairs(char:children()) do if v.ClassName=="Hat" then v:remove() end v.Transparency=1 end end) |
69 | - | --welds |
69 | + | --==SIGN==-- |
70 | - | RW, LW , RWL, LWL = Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld") |
70 | + | fake.Rot=add.Part(model, false, false, "Really black", 0, Vector3.new(1, 1, 1), nil) |
71 | - | --what anim |
71 | + | fake.Mesh.Rot=add.Mesh("CylinderMesh", fake.Rot, Vector3.new(1.5, .5, 1.5), nil, nil) |
72 | - | anim = "none" |
72 | + | fake.Weld.Rot=add.Weld(fake.Rot, fake.torso, CFrame.new(0, 0, -.3)*CFrame.Angles(math.rad(90), 0, 0)) |
73 | - | --other var |
73 | + | fake.L=add.Part(model, false, false, "Bright yellow", 0, Vector3.new(1, 1, 1), nil) |
74 | - | player = Player |
74 | + | fake.Mesh.L=add.Mesh("BlockMesh", fake.L, Vector3.new(.25, .5, 1), nil, nil) |
75 | - | ch = Character |
75 | + | fake.Weld.L=add.Weld(fake.L, fake.Rot, CFrame.new(.25, -0.05, 0)) |
76 | - | --save shoulders |
76 | + | fake.L2=add.Part(model, false, false, "Bright yellow", 0, Vector3.new(1, 1, 1), nil) |
77 | - | AoETrue = {} |
77 | + | fake.Mesh.L2=add.Mesh("BlockMesh", fake.L2, Vector3.new(.75, .5, .25), nil, nil) |
78 | - | RSH, LSH , RHL, LHL = ch.Torso["Right Shoulder"], ch.Torso["Left Shoulder"] , ch.Torso["Right Hip"] , ch.Torso["Left Hip"] |
78 | + | fake.Weld.L2=add.Weld(fake.L2, fake.Rot, CFrame.new(0, -0.05, .4)) |
79 | - | function RWFunc() |
79 | + | c(function() for i=0, math.huge, .1 do wait() fake.Weld.Rot.C0=CFrame.Angles(0, i, 0) end end) |
80 | - | RW.Part1 = ch["Right Arm"] |
80 | + | --==MANA==-- |
81 | - | RSH.Part1 = nil |
81 | + | local gui=Instance.new("ScreenGui", player.PlayerGui) |
82 | - | end |
82 | + | local label=Instance.new("TextLabel", gui) |
83 | - | function LWFunc() |
83 | + | label.Text="--==100%==--" |
84 | - | LW.Part1 = ch["Left Arm"] |
84 | + | label.Position=UDim2.new(0, 0, 0, 200) |
85 | - | LSH.Part1 = nil |
85 | + | label.Size=UDim2.new(0, 200, 0, 20) |
86 | - | end |
86 | + | label.BorderColor=BrickColor.Black() label.BackgroundColor=BrickColor.White() |
87 | - | function RWLFunc() |
87 | + | label.TextColor=BrickColor.Black() |
88 | - | RWL.Part1 = ch["Right Leg"] |
88 | + | local charge=label:clone() charge.Parent=label |
89 | - | RHL.Part1 = nil |
89 | + | charge.Position=UDim2.new() |
90 | - | ch["Right Leg"].Name = "RightLeg" |
90 | + | charge.Text="" |
91 | - | RightLeg.CanCollide = false |
91 | + | charge.Size=UDim2.new(1, 0, 1, 0) |
92 | - | end |
92 | + | charge.BorderColor=BrickColor.Black() charge.BackgroundColor=BrickColor.Yellow() charge.Transparency=.5 |
93 | - | function LWLFunc() |
93 | + | ---------------------------------------------------------------------------------------------- |
94 | - | LWL.Part1 = ch["Left Leg"] |
94 | + | local walkspeed=100 --Flash :D |
95 | - | LHL.Part1 = nil |
95 | + | local dmg=math.random(5, 10) |
96 | - | ch["Left Leg"].Name = "LeftLeg" |
96 | + | local rundeb=false |
97 | - | LeftLeg.CanCollide = true |
97 | + | local tdeb=false |
98 | - | end |
98 | + | local hDeb=false |
99 | - | function RWLRem() |
99 | + | |
100 | - | RightLeg.Name = "Right Leg" |
100 | + | function hit(h) |
101 | - | RWL.Part1 = nil |
101 | + | local humanoid=h.Parent:findFirstChild("Humanoid") |
102 | - | RHL.Part1 = ch["Right Leg"] |
102 | + | if humanoid and h.Parent~=char and hDeb==false then |
103 | - | RightLeg.CanCollide = false |
103 | + | hDeb=true |
104 | - | end |
104 | + | --c(function() |
105 | - | function LWLRem() |
105 | + | local fakeP=add.Part(workspace, true, false, "Bright yellow", 0, Vector3.new(1, 1, 1), CFrame.new(h.CFrame.p, torso.CFrame.p)) |
106 | - | LeftLeg.Name = "Left Leg" |
106 | + | local mesh=add.Mesh("SpecialMesh", fakeP, Vector3.new(1, 1, 1), nil, "File") mesh.MeshId="http://www.roblox.com/asset/?id=3270017" |
107 | - | LWL.Part1 = nil |
107 | + | c(function() |
108 | - | LHL.Part1 = ch["Left Leg"] |
108 | + | for i=0, 1, .05 do |
109 | - | LeftLeg.CanCollide = false |
109 | + | wait() |
110 | - | end |
110 | + | fakeP.Mesh.Scale=fakeP.Mesh.Scale+Vector3.new(i, i, 0) |
111 | - | function RWRem() |
111 | + | end |
112 | - | RW.Part1 = nil |
112 | + | fakeP:remove() |
113 | - | RSH.Part1 = ch["Right Arm"] |
113 | + | end) |
114 | - | end |
114 | + | c(function() |
115 | - | function LWRem() |
115 | + | for i=0, 1, .05 do |
116 | - | LW.Part1 = nil |
116 | + | wait() |
117 | - | LSH.Part1 = ch["Left Arm"] |
117 | + | fakeP.Transparency=i |
118 | - | end |
118 | + | end |
119 | - | if Character:findFirstChild(ModelName,true) ~= nil then |
119 | + | end) |
120 | - | Character:findFirstChild(ModelName,true).Parent = nil |
120 | + | humanoid.Health=humanoid.Health-dmg |
121 | - | RHL.Part1 = ch["Right Leg"] |
121 | + | local fakeM=Instance.new("Model", workspace) fakeM.Name=dmg |
122 | - | LHL.Part1 = ch["Left Leg"] |
122 | + | local fakeH=Instance.new("Humanoid", fakeM) fakeH.MaxHealth=0 fakeH.Health=0 |
123 | - | RSH.Part1 = ch["Right Arm"] |
123 | + | local fakeP=add.Part(fakeM, false, false, "Bright red", 0, Vector3.new(1, 1, 1), h.CFrame) fakeP.Name="Head" |
124 | - | LSH.Part1 = ch["Left Arm"] |
124 | + | local fakeMesh=add.Mesh("CylinderMesh", fakeP, Vector3.new(1, .2, 1), nil, nil) |
125 | - | end |
125 | + | local bp=Instance.new("BodyPosition", fakeP) bp.maxForce=Vector3.new(math.huge, math.huge, math.huge) bp.position=h.Position+Vector3.new(0, 4, 0) |
126 | - | local swordholder = Instance.new("Model") |
126 | + | game.Debris:addItem(fakeM, 2) |
127 | - | swordholder.Name = ModelName |
127 | + | pcall(function()h.Parent:findFirstChild("Torso").RotVelocity=fake.torso.RotVelocity*math.random(-1000, 1000)end) |
128 | - | swordholder.Parent = Character |
128 | + | pcall(function()h.Parent:findFirstChild("Torso").Velocity=fake.torso.Velocity*math.random(-1000, 1000)end) |
129 | - | --derp |
129 | + | wait() |
130 | - | RW.Part0 = ch.Torso |
130 | + | hDeb=false |
131 | - | RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0) |
131 | + | --end) |
132 | - | RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0) |
132 | + | end |
133 | - | RW.Parent = swordholder |
133 | + | end |
134 | - | -- |
134 | + | |
135 | - | LW.Part0 = ch.Torso |
135 | + | function trail(pos, cf, col) |
136 | - | LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) |
136 | + | c(function() |
137 | - | LW.C1 = CFrame.new(0, 0.5, 0) |
137 | + | local old=(pos.CFrame*cf).p |
138 | - | LW.Parent = swordholder |
138 | + | while tdeb==true do |
139 | - | -- |
139 | + | wait() |
140 | - | RWL.Part0 = ch.Torso |
140 | + | local new=(pos.CFrame*cf).p |
141 | - | RWL.C0 = CFrame.new(1, -1, 0) * CFrame.Angles(0, 0, 0) |
141 | + | local mag=(old-new).magnitude |
142 | - | RWL.C1 = CFrame.new(0.5, 1, 0) |
142 | + | local dis=(old+new)/2 |
143 | - | RWL.Parent = swordholder |
143 | + | local trail=add.Part(workspace, true, false, col, 0, Vector3.new(1, mag, 1), CFrame.new(dis, new)*CFrame.new(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5))*CFrame.Angles(math.pi/2, 0, 0)) |
144 | - | -- |
144 | + | local tMesh=add.Mesh("CylinderMesh", trail, Vector3.new(.5, 1, .5), nil, nil) |
145 | - | LWL.Part0 = ch.Torso |
145 | + | trail.Touched:connect(hit) |
146 | - | LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(0, 0, 0) |
146 | + | old=new |
147 | - | LWL.C1 = CFrame.new(-0.5, 1, 0) |
147 | + | c(function() |
148 | - | LWL.Parent = swordholder |
148 | + | for i=1, 0, -.2 do |
149 | - | local msh1 = Instance.new("CylinderMesh") |
149 | + | wait() |
150 | - | msh1.Scale = Vector3.new(1,1,1) |
150 | + | trail.Mesh.Scale=trail.Mesh.Scale*Vector3.new(i, 1, i) |
151 | - | local msh2 = Instance.new("BlockMesh") |
151 | + | end |
152 | - | msh2.Scale = Vector3.new(1,1,1) |
152 | + | trail:remove() |
153 | - | local msh3 = Instance.new("CylinderMesh") |
153 | + | end) |
154 | - | msh3.Scale = Vector3.new(1,1,1) |
154 | + | c(function() |
155 | - | local msh4 = Instance.new("CylinderMesh") |
155 | + | for i=0, 1, .2 do |
156 | - | msh4.Scale = Vector3.new(1,1,1) |
156 | + | wait() |
157 | - | local msh5 = Instance.new("CylinderMesh") |
157 | + | trail.Transparency=i |
158 | - | msh5.Scale = Vector3.new(1,1,1) |
158 | + | end |
159 | - | local msh6 = Instance.new("BlockMesh") |
159 | + | end) |
160 | - | msh6.Scale = Vector3.new(1,1,1) |
160 | + | end |
161 | - | local torsc = false |
161 | + | end) |
162 | - | for i,z in pairs(Character:GetChildren()) do |
162 | + | end |
163 | - | if z.className == "CharacterMesh" then |
163 | + | bin.Selected:connect(function(mouse) |
164 | - | if z.BodyPart == Enum.BodyPart.Torso then |
164 | + | for i, v in pairs(model:children()) do tdeb=true trail(v, CFrame.new(), "Bright yellow") end |
165 | - | torsc = true |
165 | + | c(function() while true do wait() for i, v in pairs(model:children()) do v.Touched:connect(hit) end end end) |
166 | - | end |
166 | + | human.WalkSpeed=walkspeed |
167 | - | end |
167 | + | human.MaxHealth=math.huge |
168 | - | end |
168 | + | human.Running:connect(function(speed) |
169 | - | if torsc then |
169 | + | if speed>0 then |
170 | - | msh7 = Instance.new("SpecialMesh") |
170 | + | for i=0, 1, .1 do |
171 | - | msh7.MeshId = "http://www.roblox.com/asset/?id=3270017" |
171 | + | wait() |
172 | - | msh7.Scale = Vector3.new(2.01,1,1.01) |
172 | + | weld.torso.C1=CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(15)*i, 0, 0) |
173 | - | msh7.Scale = Vector3.new(2.01,1,1.01) |
173 | + | weld.arm.left.C1=CFrame.new(-1.5, .5, 0)*CFrame.Angles(-math.rad(45)*i, 0, -math.rad(45)*i) |
174 | - | else |
174 | + | weld.arm.right.C1=CFrame.new(1.5, .5, 0)*CFrame.Angles(-math.rad(45)*i, 0, math.rad(45)*i) |
175 | - | msh7 = Instance.new("BlockMesh") |
175 | + | end |
176 | - | msh7.Scale = Vector3.new(2.01,0.1,1.01) |
176 | + | while speed>0 do |
177 | - | end |
177 | + | wait() |
178 | - | local msh8 = Instance.new("SpecialMesh") |
178 | + | for i=0, 1, .1 do |
179 | - | msh8.MeshId = "http://www.roblox.com/asset/?id=3270017" |
179 | + | wait() |
180 | - | msh8.Scale = Vector3.new(0.5,0.5,7) |
180 | + | weld.leg.left.C1=CFrame.new(-.5, -1.5, 0)*CFrame.Angles(-math.rad(45)*i, 0, 0) |
181 | - | msh8.Scale = Vector3.new(0.5,0.5,7) |
181 | + | weld.leg.right.C1=CFrame.new(.5, -1.5, 0)*CFrame.Angles(math.rad(45)*i, 0, 0) |
182 | - | local msh9 = Instance.new("BlockMesh") |
182 | + | weld.arm.left.C1=CFrame.new(-1.5, .5, 0)*CFrame.Angles(-math.rad(45)*i, 0, -math.rad(45)) |
183 | - | msh9.Scale = Vector3.new(1,1,1) |
183 | + | weld.arm.right.C1=CFrame.new(1.5, .5, 0)*CFrame.Angles(-math.rad(45)-(-math.rad(45)*i), 0, math.rad(45)) |
184 | - | local prt1 = Instance.new("Part") |
184 | + | end |
185 | - | prt1.formFactor = 3 |
185 | + | for i=1, 0, -.1 do |
186 | - | prt1.CanCollide = false |
186 | + | wait() |
187 | - | prt1.Name = "Handle" |
187 | + | weld.leg.left.C1=CFrame.new(-.5, -1.5, 0)*CFrame.Angles(-math.rad(45)*i, 0, 0) |
188 | - | prt1.Locked = true |
188 | + | weld.leg.right.C1=CFrame.new(.5, -1.5, 0)*CFrame.Angles(math.rad(45)*i, 0, 0) |
189 | - | prt1.Size = Vector3.new(0.3,1,0.3) |
189 | + | weld.arm.left.C1=CFrame.new(-1.5, .5, 0)*CFrame.Angles(-math.rad(45)*i, 0, -math.rad(45)) |
190 | - | prt1.Parent = swordholder |
190 | + | weld.arm.right.C1=CFrame.new(1.5, .5, 0)*CFrame.Angles(-math.rad(45)-(-math.rad(45)*i), 0, math.rad(45)) |
191 | - | msh1.Parent = prt1 |
191 | + | end |
192 | - | prt1.BrickColor = handlecolor |
192 | + | end |
193 | - | local prt2 = Instance.new("Part") |
193 | + | end |
194 | - | prt2.formFactor = 3 |
194 | + | end) |
195 | - | prt2.CanCollide = false |
195 | + | end)--mediafire |