SHOW:
|
|
- or go back to the newest paste.
1 | - | --MADE BY OneLegend (NOT THE SCRIPT) LOCAL SCRIPT: Go to line 3 and 5 and put your name where it says "YOUR NAME HERE" |
1 | + | --MADE BY OneLegend (NOT THE SCRIPT) LOCAL SCRIPT: Go down to line 4 and put your name where it says "YOUR NAME HERE" Leave the "s |
2 | ||
3 | - | Evil={'supreim'} |
3 | + | |
4 | - | if not (script.Parent:IsA('HopperBin')) then |
4 | + | local Name="supreim" |
5 | - | bin=Instance.new('HopperBin',game.Players.supreim) |
5 | + | local workspace=Workspace |
6 | - | bin.TextureId='http://www.roblox.com/asset/?id=54353092' |
6 | + | local player=game.Players[Name] |
7 | - | bin.Name='AlaFly' |
7 | + | local char=player.Character |
8 | - | script.Parent=bin |
8 | + | local Color=BrickColor.new("Pastel brown") |
9 | ||
10 | - | bin=script.Parent |
10 | + | if script.Parent.className~="HopperBin" then |
11 | pcall(function() char.Gourd:remove() end) | |
12 | - | player=bin.Parent.Parent |
12 | + | Staff=Instance.new("HopperBin") |
13 | - | debris=game:service('Debris') |
13 | + | Staff.Name="Sand" |
14 | - | new=Instance.new |
14 | + | Staff.Parent=player.Backpack |
15 | - | fnew=CFrame.new |
15 | + | m=Instance.new("Model") |
16 | - | brick=BrickColor.new |
16 | + | m.Parent=char |
17 | - | vnew=Vector3.new |
17 | + | m.Name="Gourd" |
18 | - | rot=CFrame.fromEulerAnglesXYZ |
18 | + | p=Instance.new("Part") |
19 | - | if script.className~='LocalScript'then |
19 | + | p.Locked=true |
20 | - | bin:remove() |
20 | + | p.BrickColor=BrickColor:Red() |
21 | p.Material="Concrete" | |
22 | - | T=new('Sound') |
22 | + | p.Size=Vector3.new(1,1,1) |
23 | - | T.SoundId='rbxassetid://2101157' |
23 | + | Cent=p |
24 | - | T.Pitch=.4 |
24 | + | me=Instance.new("CylinderMesh") |
25 | - | motors={ |
25 | + | me.Scale=Vector3.new(1.2,0.4,1.2) |
26 | - | right={}, |
26 | + | me.Parent=p |
27 | - | left={}, |
27 | + | p.Parent=m |
28 | - | mains={} |
28 | + | w=Instance.new("Weld") |
29 | - | } |
29 | + | w.Part1=char.Torso |
30 | - | X=function(f)coroutine.resume(coroutine.create(f))end |
30 | + | w.Part0=p |
31 | - | life=function(obj,time)debris:AddItem(obj,time)end |
31 | + | w.Parent=p |
32 | - | local bv,bg,torso,Lmotor,Rmotor,head |
32 | + | w.C0=CFrame.new(0,0.25,-1)*CFrame.Angles(0,0,math.rad(35)) |
33 | - | fly=250 |
33 | + | p=Instance.new("Part") |
34 | - | findt=function() |
34 | + | p.Locked=true |
35 | - | for i,v in pairs(player.Character:children())do |
35 | + | p.BrickColor=Color |
36 | - | if v.Name=='Torso'then |
36 | + | p.Material="Concrete" |
37 | - | return v |
37 | + | p.Size=Vector3.new(2,2,2) |
38 | p.Shape="Ball" | |
39 | p.Parent=m | |
40 | w=Instance.new("Weld") | |
41 | - | wing=function() |
41 | + | w.Part1=Cent |
42 | - | torso=player.Character.Torso |
42 | + | w.Part0=p |
43 | - | for i,v in pairs(torso.Parent:children())do |
43 | + | w.Parent=p |
44 | - | if v.Name=='WingMain'then |
44 | + | w.C0=CFrame.new(0,1,0) |
45 | p=Instance.new("Part") | |
46 | p.Locked=true | |
47 | p.BrickColor=Color | |
48 | - | mainwingpart=new('WedgePart') |
48 | + | p.Material="Concrete" |
49 | - | mainwingpart.Name='WingMain' |
49 | + | p.Size=Vector3.new(2,2,2) |
50 | - | mainwingpart.CanCollide=false |
50 | + | p.Shape="Ball" |
51 | - | mainwingpart.Size=vnew(1,1,1) |
51 | + | p.Parent=m |
52 | - | mainwingpart.Transparency=1 |
52 | + | w=Instance.new("Weld") |
53 | - | mainwingpart.BrickColor=BrickColor.White() |
53 | + | w.Part1=Cent |
54 | - | mainwingpart.Parent=player.Character |
54 | + | w.Part0=p |
55 | - | weld=new('Weld',torso) |
55 | + | w.Parent=p |
56 | - | weld.Part0=weld.Parent |
56 | + | w.C0=CFrame.new(0,-1,0) |
57 | - | weld.Part1=mainwingpart |
57 | + | Top=p |
58 | - | weld.C0=fnew(0,.4,0) |
58 | + | p=Instance.new("Part") |
59 | - | WingRight=new('WedgePart') |
59 | + | p.Locked=true |
60 | - | WingRight.formFactor=3 |
60 | + | p.BrickColor=Color |
61 | - | WingRight.Size=vnew(.04,.3,.5) |
61 | + | p.Material="Concrete" |
62 | - | WingRight.CanCollide=false |
62 | + | p.Size=Vector3.new(1,1,1) |
63 | - | WingRight.BrickColor=BrickColor.White() |
63 | + | p.Parent=m |
64 | - | WingRight.Parent=mainwingpart |
64 | + | me=Instance.new("CylinderMesh") |
65 | - | Rmotor=new('Motor',mainwingpart) |
65 | + | me.Scale=Vector3.new(0.5,0.15,0.5) |
66 | - | Rmotor.Part0=Rmotor.Parent |
66 | + | me.Parent=p |
67 | - | Rmotor.Part1=WingRight |
67 | + | w=Instance.new("Weld") |
68 | - | Rmotor.C1=rot(0,math.pi/1.5,0)+vnew(-.18,-.10,.8) |
68 | + | w.Part1=Top |
69 | - | nextpp=nil |
69 | + | w.Part0=p |
70 | - | dan=-2 |
70 | + | w.Parent=p |
71 | - | for w=1,15 do |
71 | + | w.C0=CFrame.new(0,-1,0) |
72 | p=Instance.new("Part") | |
73 | - | dan=dan+1 |
73 | + | p.Locked=true |
74 | - | pp=new('WedgePart') |
74 | + | p.BrickColor=BrickColor.new("Black") |
75 | - | pp.Locked=true |
75 | + | p.Material="Concrete" |
76 | - | pp.BrickColor=BrickColor.White() |
76 | + | p.Size=Vector3.new(1,1,1) |
77 | - | pp.formFactor=3 |
77 | + | p.Parent=m |
78 | - | if w==1 then |
78 | + | me=Instance.new("CylinderMesh") |
79 | - | pp.Size=vnew(.3,2.5,.8) |
79 | + | me.Scale=Vector3.new(0.4,0.16,0.4) |
80 | me.Parent=p | |
81 | - | pp.Size=vnew(.3,1/(w/5),2/w) |
81 | + | w=Instance.new("Weld") |
82 | w.Part1=Top | |
83 | - | pp.CanCollide=false |
83 | + | w.Part0=p |
84 | - | pp.BrickColor=BrickColor.White() |
84 | + | w.Parent=p |
85 | - | pp.CFrame=WingRight.CFrame |
85 | + | w.C0=CFrame.new(0,-1,0) |
86 | - | pp.Material='Slate' |
86 | + | p=Instance.new("Part") |
87 | - | pp.Parent=WingRight |
87 | + | p.Locked=true |
88 | - | if dan==1 then |
88 | + | p.BrickColor=BrickColor:Red() |
89 | - | dan=0 |
89 | + | p.Material="Concrete" |
90 | - | asdlal=new('WedgePart') |
90 | + | p.Size=Vector3.new(2,1,1) |
91 | - | asdlal.BrickColor=BrickColor.White() |
91 | + | p.Parent=m |
92 | - | asdlal.formFactor=3 |
92 | + | me=Instance.new("BlockMesh") |
93 | - | asdlal.Size=vnew(.25,pp.Size.y,15/w) |
93 | + | me.Scale=Vector3.new(1.1,0.15,1.1) |
94 | - | for lawlz,Evil in pairs(Evil)do |
94 | + | me.Parent=p |
95 | - | if player.Name==Evil then |
95 | + | w=Instance.new("Weld") |
96 | - | asdlal:remove() |
96 | + | w.Part1=char.Torso |
97 | - | asdlal=new('WedgePart') |
97 | + | w.Part0=p |
98 | - | asdlal.formFactor=3 |
98 | + | w.Parent=p |
99 | - | asdlal.BrickColor=BrickColor.White() |
99 | + | w.C0=CFrame.new(0,.75,0) |
100 | - | asdlal.Size=vnew(.25,.8,15/w) |
100 | + | p=Instance.new("Part") |
101 | p.Locked=true | |
102 | p.BrickColor=BrickColor:Red() | |
103 | - | asdlal.Locked=true |
103 | + | p.Material="Concrete" |
104 | - | asdlal.CanCollide=false |
104 | + | p.Size=Vector3.new(2,1,1) |
105 | - | asdlal.Material='Slate' |
105 | + | p.Parent=m |
106 | - | asdlal.Parent=pp |
106 | + | me=Instance.new("BlockMesh") |
107 | - | mmm=new('Motor',pp) |
107 | + | me.Scale=Vector3.new(1.29,0.15,1.1) |
108 | - | mmm.Part0=pp |
108 | + | me.Parent=p |
109 | - | mmm.Part1=asdlal |
109 | + | w=Instance.new("Weld") |
110 | - | mmm.C0=fnew(0,0,-asdlal.Size.z/2) |
110 | + | w.Part1=char.Torso |
111 | w.Part0=p | |
112 | - | if w==1 then |
112 | + | w.Parent=p |
113 | - | ppmotor=new('Motor',WingRight) |
113 | + | w.C1=CFrame.new(0,0.1,0)*CFrame.Angles(0,0,math.rad(-40)) |
114 | script.Name="Not A QuickScript" | |
115 | - | ppmotor=new('Motor',nextpp) |
115 | + | script.Parent=Staff |
116 | end | |
117 | - | table.insert(motors.right,ppmotor) |
117 | + | Sword=script.Parent |
118 | - | ppmotor.Part0=ppmotor.Parent |
118 | + | function hint(msg,de) |
119 | - | ppmotor.Part1=pp |
119 | + | for _,v in pairs(player:children()) do |
120 | - | if w==1 then |
120 | + | if v:IsA("Message") then |
121 | - | ppmotor.C0=rot(-.04,-math.pi/6,0)+vnew(.3,0,-.1) |
121 | + | |
122 | end | |
123 | - | ppmotor.C0=rot(-.1/(w/7),-.07,0)+vnew(0,pp.Size.y,0) |
123 | + | |
124 | local h=Instance.new("Hint") | |
125 | - | nextpp=pp |
125 | + | h.Text=tostring(msg) |
126 | h.Parent=player | |
127 | - | WingLeft=new('WedgePart') |
127 | + | Delay(tonumber(de),function() h:remove() end) |
128 | - | WingLeft.formFactor=3 |
128 | + | |
129 | - | WingLeft.Size=vnew(.04,.3,.5) |
129 | + | ta={} |
130 | - | WingLeft.CanCollide=false |
130 | + | for _,v in pairs(player.Backpack:GetChildren()) do |
131 | - | WingLeft.BrickColor=BrickColor.White() |
131 | + | if v.Name=="Sand" then |
132 | - | WingLeft.Parent=mainwingpart |
132 | + | table.insert(ta,v) |
133 | - | Lmotor=new('Motor',mainwingpart) |
133 | + | |
134 | - | Lmotor.Part0=Lmotor.Parent |
134 | + | |
135 | - | Lmotor.Part1=WingLeft |
135 | + | if #ta==2 or #ta>2 then |
136 | - | Lmotor.C1=rot(0,-math.pi/1.5,0)+vnew(0.18,-.10,.8) |
136 | + | ta[1]:remove() |
137 | - | nextpp=nil |
137 | + | |
138 | - | dan=-2 |
138 | + | Hopper=script.Parent |
139 | - | for w=1,15 do |
139 | + | function Stream(mouse) |
140 | local b=Instance.new("Part") | |
141 | - | dan=dan+1 |
141 | + | b.BrickColor=Color |
142 | - | pp=new('WedgePart') |
142 | + | b.Reflectance=0 |
143 | - | pp.Locked=true |
143 | + | b.Transparency=1 |
144 | - | pp.BrickColor=BrickColor.White() |
144 | + | b.Size=Vector3.new(2,2,2) |
145 | - | pp.formFactor=3 |
145 | + | b.Shape="Ball" |
146 | - | if w==1 then |
146 | + | b.CanCollide=false |
147 | - | pp.Size=vnew(.3,2.5,.8) |
147 | + | b.TopSurface="Smooth" |
148 | b.Position=char.Head.Position | |
149 | - | pp.Size=vnew(.3,1/(w/5),2/w) |
149 | + | b.BottomSurface="Smooth" |
150 | b.Friction=0 | |
151 | - | pp.CanCollide=false |
151 | + | b.Touched:connect(function(h) Hit(h) end) |
152 | - | pp.BrickColor=BrickColor.White() |
152 | + | local bo=Instance.new("BodyVelocity") |
153 | - | pp.CFrame=WingLeft.CFrame |
153 | + | bo.maxForce=Vector3.new(9999,9999,9999) |
154 | - | pp.Material='Slate' |
154 | + | bo.velocity=(mouse.Hit.p-char.Head.Position).unit*60 |
155 | - | pp.Parent=WingLeft |
155 | + | bo.Parent=b |
156 | - | if dan==1 then |
156 | + | b.Parent=Gourd |
157 | - | dan=0 |
157 | + | local Bo=b |
158 | - | asdlal=new('WedgePart') |
158 | + | while Bo.Parent and Up==false do |
159 | - | asdlal.BrickColor=BrickColor.White() |
159 | + | |
160 | - | asdlal.formFactor=3 |
160 | + | if mouse.Target and (Bo.Position-mouse.Target.Position).magnitude<7 then |
161 | - | asdlal.Size=vnew(.25,pp.Size.y,15/w) |
161 | + | Hit(mouse.Target) |
162 | - | for lawlz,Evil in pairs(Evil)do |
162 | + | |
163 | - | if player.Name==Evil then |
163 | + | Bo.CFrame=b.CFrame --BodyPosition anti-hax |
164 | - | asdlal:remove() |
164 | + | bo.velocity=(mouse.Hit.p-Bo.Position).unit*150 |
165 | - | asdlal=new('WedgePart') |
165 | + | |
166 | - | asdlal.formFactor=3 |
166 | + | local b=Instance.new("Part") |
167 | - | asdlal.BrickColor=BrickColor.White() |
167 | + | b.BrickColor=Color |
168 | - | asdlal.Size=vnew(.25,.8,15/w) |
168 | + | b.Reflectance=0 |
169 | b.Transparency=0.2 | |
170 | b.Touched:connect(Hit) | |
171 | - | asdlal.Locked=true |
171 | + | b.Size=Vector3.new(2,2,2) |
172 | - | asdlal.CanCollide=false |
172 | + | b.CanCollide=false |
173 | - | asdlal.Material='Slate' |
173 | + | b.Anchored=true |
174 | - | asdlal.Parent=pp |
174 | + | b.TopSurface="Smooth" |
175 | - | mmm=new('Motor',pp) |
175 | + | b.Parent=Gourd |
176 | - | mmm.Part0=pp |
176 | + | b.CFrame=Bo.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))) |
177 | - | mmm.Part1=asdlal |
177 | + | b.BottomSurface="Smooth" |
178 | - | mmm.C0=fnew(0,0,-asdlal.Size.z/2) |
178 | + | Delay(0,function() |
179 | local p=b | |
180 | - | if w==1 then |
180 | + | |
181 | - | ppmotor=new('Motor',WingLeft) |
181 | + | wait(0.05) |
182 | p.Transparency=i/5 | |
183 | - | ppmotor=new('Motor',nextpp) |
183 | + | |
184 | p:remove() | |
185 | - | ppmotor.Part0=ppmotor.Parent |
185 | + | |
186 | - | table.insert(motors.left,ppmotor) |
186 | + | |
187 | - | ppmotor.Part1=pp |
187 | + | pcall(function() Bo:remove() end) |
188 | - | if w==1 then |
188 | + | |
189 | - | ppmotor.C0=rot(-.04,math.pi/6,0)+vnew(-.3,0,-.1) |
189 | + | function Def(mouse) |
190 | local b=Instance.new("Part") | |
191 | - | ppmotor.C0=rot(-.1/(w/7),.07,0)+vnew(0,pp.Size.y,0) |
191 | + | b.BrickColor=Color |
192 | b.Reflectance=0 | |
193 | - | nextpp=pp |
193 | + | b.Transparency=0.6 |
194 | b.Size=Vector3.new(15,15,15) | |
195 | - | X(function() |
195 | + | b.Anchored=false |
196 | - | for i,v in pairs(motors.right)do |
196 | + | b.Shape="Ball" |
197 | - | v.C1=rot(.1,0,0) |
197 | + | b.CanCollide=false |
198 | p=Instance.new("BodyPosition") | |
199 | p.Parent=b | |
200 | - | for i,v in pairs(motors.right)do |
200 | + | p.maxForce=Vector3.new(math.huge,math.huge,math.huge) |
201 | - | v.C1=rot(0,-.1,-.1) |
201 | + | p.position=char.Torso.Position |
202 | b.TopSurface="Smooth" | |
203 | b.Position=char.Torso.Position | |
204 | b.BottomSurface="Smooth" | |
205 | - | X(function() |
205 | + | b.Touched:connect(function(h) |
206 | - | for i,v in pairs(motors.left)do |
206 | + | Hit(h) |
207 | - | v.C1=rot(.1,0,0) |
207 | + | |
208 | b.Parent=Gourd | |
209 | while Up==false and b.Parent do | |
210 | - | for i,v in pairs(motors.left)do |
210 | + | b.CFrame=char.Torso.CFrame |
211 | - | v.C1=rot(0,.1,.1) |
211 | + | p.position=char.Torso.Position |
212 | local p=Instance.new("Part") | |
213 | p.Size=Vector3.new(1,1,1) | |
214 | p.BrickColor=Color | |
215 | - | X(function() |
215 | + | p.Anchored=true |
216 | - | for i,v in pairs(motors.right)do |
216 | + | p.CanCollide=false |
217 | - | v.C1=rot(.1,0,0) |
217 | + | p.Parent=Gourd |
218 | p.CFrame=char.Torso.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)) | |
219 | local m=Instance.new("BlockMesh") | |
220 | - | for i,v in pairs(motors.right)do |
220 | + | m.Scale=Vector3.new(0.5,0.5,0.5) |
221 | - | v.C1=rot(0,-.1,0) |
221 | + | m.Parent=p |
222 | Delay(0,function() | |
223 | local p=p | |
224 | for i=1,5 do | |
225 | - | X(function() |
225 | + | wait(0.05) |
226 | - | for i,v in pairs(motors.left)do |
226 | + | p.Transparency=i/5 |
227 | - | v.C1=rot(.1,0,0) |
227 | + | |
228 | p:remove() | |
229 | end) | |
230 | - | for i,v in pairs(motors.left)do |
230 | + | |
231 | - | v.C1=rot(0,.1,0) |
231 | + | |
232 | pcall(function() b:remove() end) | |
233 | end | |
234 | function Bur(mouse) | |
235 | - | Rmotor.MaxVelocity=.1 |
235 | + | if mouse.Target and game.Players:getPlayerFromCharacter(mouse.Target.Parent) then |
236 | - | Lmotor.MaxVelocity=.1 |
236 | + | local m=mouse.Target.Parent |
237 | - | Lmotor.DesiredAngle=.8 |
237 | + | m.Torso.Anchored=true |
238 | - | Rmotor.DesiredAngle=-.8 |
238 | + | for i=1,15 do |
239 | local p=Instance.new("Part") | |
240 | - | leftarm=function(bool) |
240 | + | p.Size=Vector3.new(i,1,i) |
241 | - | X(function() |
241 | + | p.BrickColor=Color |
242 | - | newlarm=new('Motor6D') |
242 | + | p.Anchored=true |
243 | - | newlarm.Name='Left Shoulder' |
243 | + | p.Transparency=i/14 |
244 | - | newlarm.Parent=player.Character.Torso |
244 | + | p.CanCollide=false |
245 | - | newlarm.Part0=player.Character.Torso |
245 | + | p.Parent=m |
246 | - | newlarm.Part1=player.Character['Left Arm'] |
246 | + | local me=Instance.new("CylinderMesh") |
247 | - | wait()--hmm |
247 | + | me.Scale=Vector3.new(1,1.1,1) |
248 | - | newlarm.C0=fnew(-1,.5,0,0,0,-1,0,1,0,1,0,0) |
248 | + | me.Parent=p |
249 | - | newlarm.C1=fnew(.5,.5,0,0,0,-1,0,1,0,1,0,0) |
249 | + | p.CFrame=CFrame.new(m.Torso.CFrame.x,m.Torso.CFrame.y-3.5,m.Torso.CFrame.z) |
250 | - | if bool==false then return newlarm end |
250 | + | |
251 | - | an=player.Character.Animate |
251 | + | for i=1,10 do |
252 | - | an.Disabled=true |
252 | + | for i=1,6 do |
253 | - | an.Disabled=false |
253 | + | |
254 | local p=Instance.new("Part") | |
255 | - | return newlarm |
255 | + | p.Size=Vector3.new(1,1,1) |
256 | p.BrickColor=Color | |
257 | - | Name=function() |
257 | + | p.Anchored=true |
258 | - | name='' |
258 | + | p.CanCollide=false |
259 | - | for LA=1,3 do |
259 | + | p.Parent=m |
260 | - | name=name..string.char(math.random(0,255)) |
260 | + | p.CFrame=m.Torso.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)) |
261 | local m=Instance.new("BlockMesh") | |
262 | - | return name |
262 | + | m.Scale=Vector3.new(0.25,0.25,0.25) |
263 | m.Parent=p | |
264 | - | Lazer=function(m)wllwlw=false |
264 | + | Delay(0,function() |
265 | - | for i,v in pairs(Evil)do |
265 | + | local p=p |
266 | - | if v==player.Name then |
266 | + | |
267 | - | wllwlw=true break |
267 | + | wait(0.05) |
268 | p.Transparency=i/5 | |
269 | end | |
270 | - | if wllwlw==false then return end |
270 | + | p:remove() |
271 | - | if asdTroll~=nil then return end |
271 | + | |
272 | - | asdTroll='asd' |
272 | + | |
273 | - | rarm=rightarm(false) |
273 | + | m.Torso.CFrame=CFrame.new(m.Torso.Position)*CFrame.new(0,-0.5,0) |
274 | - | rarm.MaxVelocity=.2 |
274 | + | |
275 | - | rarm.DesiredAngle=math.rad(110) |
275 | + | |
276 | - | larm=leftarm(false) |
276 | + | Hit(m.Torso) |
277 | - | larm.MaxVelocity=.2 |
277 | + | Hit(m.Head) |
278 | - | larm.DesiredAngle=-math.rad(110) |
278 | + | |
279 | - | lball=new('Part') |
279 | + | |
280 | - | life(lball,10) |
280 | + | function Shift(mouse) |
281 | - | lball.Shape=0 |
281 | + | if mouse.Target then |
282 | - | lball.Size=vnew(1,1,1) |
282 | + | local mo=Instance.new("Model",char) |
283 | - | lball.CanCollide=false |
283 | + | local h=mouse.Hit.p |
284 | - | lball.BottomSurface=0 |
284 | + | local m=char |
285 | - | lball.TopSurface=0 |
285 | + | for i=1,15 do |
286 | - | lball.Transparency=.5 |
286 | + | local p=Instance.new("Part") |
287 | - | lball.BrickColor=BrickColor.White() |
287 | + | p.Size=Vector3.new(i,1,i) |
288 | - | for i,v in pairs(Evil)do |
288 | + | p.BrickColor=Color |
289 | - | if player.Name==v then |
289 | + | p.Anchored=true |
290 | - | lball.BrickColor=BrickColor.White() |
290 | + | p.Transparency=i/14 |
291 | p.CanCollide=false | |
292 | p.Parent=mo | |
293 | - | lball.Parent=player.Character |
293 | + | local me=Instance.new("CylinderMesh") |
294 | - | lweld=new('Weld',larm.Part1) |
294 | + | me.Scale=Vector3.new(1,1.1,1) |
295 | - | lweld.Part0=lweld.Parent |
295 | + | me.Parent=p |
296 | - | lweld.Part1=lball |
296 | + | p.CFrame=CFrame.new(m.Torso.CFrame.x,m.Torso.CFrame.y-3.5,m.Torso.CFrame.z) |
297 | - | lweld.C0=fnew(0,-4,0) |
297 | + | |
298 | - | rball=new('Part') |
298 | + | for i=1,15 do |
299 | - | life(rball,10) |
299 | + | local p=Instance.new("Part") |
300 | - | rball.Shape=0 |
300 | + | p.Size=Vector3.new(i,1,i) |
301 | - | rball.Size=vnew(1,1,1) |
301 | + | p.BrickColor=Color |
302 | - | rball.Transparency=.5 |
302 | + | p.Anchored=true |
303 | - | rball.CanCollide=false |
303 | + | p.Transparency=i/14 |
304 | - | rball.BottomSurface=0 |
304 | + | p.CanCollide=false |
305 | - | rball.TopSurface=0 |
305 | + | p.Parent=mo |
306 | - | rball.BrickColor=BrickColor.White() |
306 | + | local me=Instance.new("CylinderMesh") |
307 | - | for i,v in pairs(Evil)do |
307 | + | me.Scale=Vector3.new(1,1.1,1) |
308 | - | if player.Name==v then |
308 | + | me.Parent=p |
309 | - | rball.BrickColor=BrickColor.White() |
309 | + | p.CFrame=CFrame.new(h)*CFrame.new(0,-0.5,0) |
310 | end | |
311 | m.Torso.Anchored=true | |
312 | - | rball.Parent=player.Character |
312 | + | for i=1,15 do |
313 | - | rweld=new('Weld',rarm.Part1) |
313 | + | for i=1,6 do |
314 | - | rweld.Part0=rweld.Parent |
314 | + | |
315 | - | rweld.Part1=rball |
315 | + | local p=Instance.new("Part") |
316 | - | rweld.C0=fnew(0,-4,0) |
316 | + | p.Size=Vector3.new(1,1,1) |
317 | - | X(function() |
317 | + | p.BrickColor=Color |
318 | - | X(function() |
318 | + | p.Anchored=true |
319 | - | for KG=1,157 do wait() |
319 | + | p.CanCollide=false |
320 | - | part=new('Part') |
320 | + | p.Parent=mo |
321 | - | life(part,.2) |
321 | + | p.CFrame=m.Torso.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)) |
322 | - | part.Transparency=.3 |
322 | + | local m=Instance.new("BlockMesh") |
323 | - | asdrandom=(math.random(5,20)/10)+KG/40 |
323 | + | m.Scale=Vector3.new(0.25,0.25,0.25) |
324 | - | new('BlockMesh',part).Scale=vnew(asdrandom,asdrandom,asdrandom) |
324 | + | m.Parent=p |
325 | - | part.Size=vnew(1,1,1) |
325 | + | Delay(0,function() |
326 | - | part.Anchored=true |
326 | + | local p=p |
327 | - | part.CFrame=rot(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))+lball.Position |
327 | + | |
328 | - | part.Name='asd' |
328 | + | wait(0.05) |
329 | - | part.BrickColor=BrickColor.White() |
329 | + | p.Transparency=i/5 |
330 | - | for i,v in pairs(Evil)do |
330 | + | |
331 | - | if player.Name==v then |
331 | + | p:remove() |
332 | - | part.BrickColor=BrickColor.White() |
332 | + | |
333 | end | |
334 | m.Torso.CFrame=m.Torso.CFrame*CFrame.new(0,-0.6,0) | |
335 | - | part.Parent=lball |
335 | + | |
336 | end | |
337 | m.Torso.CFrame=CFrame.new(h)*CFrame.new(0,-1.5,0) | |
338 | - | for KG2=1,157 do wait() |
338 | + | for i=1,11 do |
339 | - | part=new('Part') |
339 | + | for i=1,6 do |
340 | - | life(part,.2) |
340 | + | |
341 | - | part.Transparency=.3 |
341 | + | local p=Instance.new("Part") |
342 | - | asdrandom=(math.random(5,20)/10)+KG2/40 |
342 | + | p.Size=Vector3.new(1,1,1) |
343 | - | new('BlockMesh',part).Scale=vnew(asdrandom,asdrandom,asdrandom) |
343 | + | p.BrickColor=Color |
344 | - | part.Size=vnew(1,1,1) |
344 | + | p.Anchored=true |
345 | - | part.Anchored=true |
345 | + | p.CanCollide=false |
346 | - | part.CFrame=rot(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))+rball.Position |
346 | + | p.Parent=mo |
347 | - | part.Name='asd' |
347 | + | p.CFrame=m.Torso.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)) |
348 | - | part.BrickColor=BrickColor.White() |
348 | + | local m=Instance.new("BlockMesh") |
349 | - | for i,v in pairs(Evil)do |
349 | + | m.Scale=Vector3.new(0.25,0.25,0.25) |
350 | - | if player.Name==v then |
350 | + | m.Parent=p |
351 | - | part.BrickColor=BrickColor.White() |
351 | + | Delay(0,function() |
352 | local p=p | |
353 | for i=1,5 do | |
354 | - | part.Parent=rball |
354 | + | wait(0.05) |
355 | p.Transparency=i/5 | |
356 | - | rball:remove() |
356 | + | |
357 | - | lball:remove() |
357 | + | p:remove() |
358 | - | rightarm(true) |
358 | + | |
359 | - | leftarm(true) |
359 | + | |
360 | - | asdTroll=nil |
360 | + | m.Torso.CFrame=m.Torso.CFrame*CFrame.new(0,0.5,0) |
361 | - | for wasd=1,200 do |
361 | + | |
362 | - | if pp~=nil then pp:remove()end |
362 | + | |
363 | - | if asdTroll~=nil then return end |
363 | + | m.Torso.Anchored=false |
364 | - | pos=m.Hit.p |
364 | + | mo:remove() |
365 | - | pp=new('WedgePart') |
365 | + | |
366 | - | life(pp,.1) |
366 | + | |
367 | - | pp.formFactor=3 |
367 | + | |
368 | - | pp.BrickColor=BrickColor.White() |
368 | + | function Wave(mouse) |
369 | - | pp.Transparency=.2 |
369 | + | if mouse.Hit.p.x>char.Torso.Position.x then |
370 | - | pp.Size=vnew(6,1000,6) |
370 | + | Deg=-2 |
371 | - | pp.CFrame=CFrame.new(pos.x,pos.y+(pp.Size.y/2),pos.z)+vnew(math.random(-3,3),0,math.random(-3,3)) |
371 | + | Fre=-60 |
372 | - | exp=Instance.new('Explosion') |
372 | + | |
373 | - | exp.Position=pos+vnew(math.random(-3,3),0,math.random(-3,3)) |
373 | + | Deg=2 |
374 | - | exp.BlastRadius=30 |
374 | + | Fre=60 |
375 | - | exp.Parent=workspace |
375 | + | |
376 | - | Join=new('Part') |
376 | + | local X=char.Torso.CFrame.x |
377 | - | Join.formFactor=0 |
377 | + | for i=0,Fre,Deg do |
378 | - | Join.Size=vnew(1,1,1) |
378 | + | |
379 | - | new('SpecialMesh',Join).MeshType='Sphere' |
379 | + | local p=Instance.new("Part") |
380 | - | Join.Mesh.Scale=vnew(60,60,60) |
380 | + | p.Parent=Gourd |
381 | - | Join.Anchored=true |
381 | + | p.Size=Vector3.new(2,1,workspace.Base.Size.z) |
382 | - | Join.BottomSurface=0 |
382 | + | p.BrickColor=Color |
383 | - | Join.TopSurface=0 |
383 | + | p.Anchored=true |
384 | - | Join.BrickColor=BrickColor.White() |
384 | + | p.CFrame=CFrame.new(X,0,workspace.Base.Position.z)*CFrame.new(-i,0,0) |
385 | - | Join.Transparency=.5 |
385 | + | local m=Instance.new("BlockMesh") |
386 | - | Join.CFrame=rot(0,math.rad(3.6*wasd)*2,0)+pos+vnew(math.random(-3,3),0,math.random(-3,3)) |
386 | + | m.Parent=p |
387 | - | Join.Parent=pp |
387 | + | m.Scale=Vector3.new(1,1.2,1.005) |
388 | - | pJoin=new('Part') |
388 | + | Delay(0,function() |
389 | - | life(pJoin,.4) |
389 | + | local p=p |
390 | - | new('BlockMesh',pJoin).Scale=vnew(10,10,10)+vnew((wasd/30),(wasd/30),(wasd/30)) |
390 | + | local m=m |
391 | - | pJoin.formFactor=0 |
391 | + | for i=1,9,0.25 do |
392 | - | pJoin.Size=vnew(1,1,1) |
392 | + | m.Scale=m.Scale+Vector3.new(0,.25,0) |
393 | - | pJoin.Anchored=true |
393 | + | |
394 | - | pJoin.BrickColor=BrickColor.White() |
394 | + | |
395 | - | pJoin.Transparency=.5 |
395 | + | |
396 | - | pJoin.CFrame=rot(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))+pos+vnew(math.random(-3,3),0,math.random(-3,3)) |
396 | + | for i=1,9,0.25 do |
397 | - | pJoin.Parent=workspace |
397 | + | m.Scale=m.Scale+Vector3.new(0,-.25,0) |
398 | - | pp.Parent=player.Character |
398 | + | |
399 | end | |
400 | - | pp.BrickColor=BrickColor.White() |
400 | + | p:remove() |
401 | end) | |
402 | for _,v in pairs(game.Players:GetPlayers()) do | |
403 | - | -- rightarm(true) |
403 | + | if v.Character and v.Character:findFirstChild("Head") then |
404 | if v.Character.Head.Position.y<(workspace.Base.Position.y+9.5) then | |
405 | - | rightarm=function(bool) |
405 | + | if v.Character.Torso.Position.x<p.Position.x+p.Size.x/2 and v.Character.Torso.Position.x>p.Position.x-p.Size.x/2 then |
406 | - | if pcall(function() |
406 | + | Hit(v.Character.Head) |
407 | - | newrarm=new('Motor6D') |
407 | + | |
408 | - | newrarm.Name='Right Shoulder' |
408 | + | |
409 | - | newrarm.Parent=player.Character.Torso |
409 | + | |
410 | - | newrarm.Part0=player.Character.Torso |
410 | + | |
411 | - | newrarm.Part1=player.Character['Right Arm'] |
411 | + | |
412 | - | newrarm.C0=fnew(1,.5,0,0,0,1,0,1,0,-1,0,0) |
412 | + | |
413 | - | newrarm.C1=fnew(-.5,.5,0,0,0,1,0,1,0,-1,0,0) |
413 | + | function Spike(mouse) |
414 | - | if bool==false then return newlarm end |
414 | + | local Pos=char.Torso.Position |
415 | - | pcall(function() |
415 | + | for ii=8,25,3 do |
416 | - | an=player.Character.Animate |
416 | + | |
417 | - | an.Disabled=true |
417 | + | for i=0,360,360/12 do |
418 | - | an.Disabled=false |
418 | + | local x = (ii) * math.sin(i) + Pos.x |
419 | local y = Pos.y-4 | |
420 | - | end)then |
420 | + | local z = (ii)* math.cos (i) + Pos.z |
421 | - | return newrarm |
421 | + | local brick = Instance.new("Part") |
422 | brick.Size=Vector3.new(1,1,1) | |
423 | brick.Anchored=true | |
424 | - | light=function() |
424 | + | brick.BrickColor=Color |
425 | - | if pcall(function()torso=player.Character.Torso end)then |
425 | + | brick.Parent=Gourd |
426 | brick.CFrame = CFrame.new(x,y,z) | |
427 | - | return |
427 | + | brick.Touched:connect(Hit) |
428 | local mesh=Instance.new("CylinderMesh") | |
429 | - | larm=leftarm(false) |
429 | + | mesh.Parent=brick |
430 | - | tt=T:clone() |
430 | + | Delay(0,function() |
431 | - | life(tt,0) |
431 | + | local p=brick |
432 | - | tt.Parent=workspace |
432 | + | local m=mesh |
433 | - | tt:play() |
433 | + | for i=1,8 do |
434 | - | Pl=new('WedgePart') |
434 | + | m.Scale=m.Scale+Vector3.new(0,.25,0) |
435 | - | life(Pl,20) |
435 | + | p.CFrame=p.CFrame*CFrame.new(0,0.25,0) |
436 | - | Pl.CFrame=torso.CFrame+torso.CFrame.lookVector*6 |
436 | + | |
437 | - | Pl.Anchored=true |
437 | + | |
438 | - | Pl.CanCollide=false |
438 | + | for i=1,10 do |
439 | - | Pl.Parent=workspace |
439 | + | p.Transparency=i/10 |
440 | - | leftarm(true) |
440 | + | wait(0.05) |
441 | end | |
442 | - | bodys=function(asd) |
442 | + | p:remove() |
443 | - | for i,v in pairs(torso:children())do |
443 | + | |
444 | - | if v:IsA('BodyVelocity')or v:IsA('BodyGyro')then |
444 | + | |
445 | for _,v in pairs(game.Players:GetPlayers()) do | |
446 | if v.Character and v.Character:findFirstChild("Torso") and (v.Character.Torso.Position-Pos).magnitude<ii then | |
447 | Hit(v.Character.Torso) | |
448 | - | if asd==true then return end |
448 | + | |
449 | - | bv=new('BodyVelocity') |
449 | + | |
450 | - | bg=new('BodyGyro') |
450 | + | wait(0.08) |
451 | - | bv.maxForce=vnew(math.huge,math.huge,math.huge) |
451 | + | |
452 | - | bv.velocity=vnew(0,0,0) |
452 | + | |
453 | - | bg.maxTorque=vnew(0,0,0) |
453 | + | function Coffin(mouse) |
454 | - | bg.Parent=torso |
454 | + | if mouse.Target and game.Players:getPlayerFromCharacter(mouse.Target.Parent) then |
455 | - | bv.Parent=torso |
455 | + | me=mouse.Target.Parent |
456 | Delay(0,function() | |
457 | - | ball=function(asd) |
457 | + | while me:findFirstChild("Torso") do |
458 | - | for i,v in pairs(player.Character:children())do |
458 | + | |
459 | - | if v.Name=='Fly Ball'then |
459 | + | local p=Instance.new("Part") |
460 | p.Size=Vector3.new(1,1,1) | |
461 | p.BrickColor=Color | |
462 | p.Anchored=true | |
463 | - | if asd==true then return end |
463 | + | p.CanCollide=false |
464 | - | part=new('Part') |
464 | + | p.Parent=me |
465 | - | part.Shape=0 |
465 | + | p.CFrame=me.Torso.CFrame*CFrame.new(math.random(-8,8),math.random(-2,5),math.random(-8,8))*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)) |
466 | - | part.BottomSurface=0 |
466 | + | local m=Instance.new("BlockMesh") |
467 | - | part.TopSurface=0 |
467 | + | m.Scale=Vector3.new(0.35,0.35,0.35) |
468 | - | part.Size=torso.Size*5 |
468 | + | m.Parent=p |
469 | - | part.Transparency=.5 |
469 | + | Delay(0,function() |
470 | - | part.BrickColor=BrickColor.White() |
470 | + | local p=p |
471 | - | part.CanCollide=false |
471 | + | |
472 | - | part.CFrame=torso.CFrame |
472 | + | wait(0.05) |
473 | - | part.Name='Fly Ball' |
473 | + | p.Transparency=i/5 |
474 | - | part.Parent=player.Character |
474 | + | |
475 | - | weld=new('Weld') |
475 | + | p:remove() |
476 | - | weld.Parent=torso |
476 | + | |
477 | - | weld.Part0=weld.Parent |
477 | + | |
478 | - | weld.Part1=part |
478 | + | |
479 | - | part.Touched:connect(function() |
479 | + | BP=Instance.new("BodyPosition") |
480 | BP.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
481 | BP.position=me.Torso.Position+Vector3.new(0,2,0) | |
482 | - | part.Transparency=.5-i/10 |
482 | + | BP.Parent=me.Torso |
483 | b=Instance.new("Part") | |
484 | - | part.Transparency=.5 |
484 | + | b.Size=Vector3.new(8,1,8) |
485 | b.BottomSurface="Smooth" | |
486 | b.TopSurface="Smooth" | |
487 | - | script.Parent.Selected:connect(function(m) |
487 | + | b.BrickColor=Color |
488 | - | torso=player.Character.Torso |
488 | + | b.CanCollide=false |
489 | - | bodys(true) |
489 | + | m=Instance.new("BlockMesh") |
490 | - | m.KeyDown:connect(function(k) |
490 | + | m.Parent=b |
491 | - | if k=='q'then |
491 | + | m.Scale=Vector3.new(1,0.5,1) |
492 | - | fly=fly-10 |
492 | + | b.Parent=me |
493 | - | if fly<0 then |
493 | + | b:BreakJoints() |
494 | - | fly=10 |
494 | + | w=Instance.new("Weld") |
495 | w.Parent=b | |
496 | - | elseif k=='r'then |
496 | + | w.Part0=me.Torso |
497 | - | wing() |
497 | + | w.Part1=b |
498 | - | elseif k=='f'then |
498 | + | w.C0=CFrame.new(0,-3.5,0) |
499 | - | Lazer(m) |
499 | + | for i=1,7,0.25 do |
500 | - | elseif k=='t'then |
500 | + | wait(0.075) |
501 | - | X(function()player.Character.WingMain:remove()end) |
501 | + | m.Scale=m.Scale+Vector3.new(0,0.25,0) |
502 | - | elseif k=='e'then |
502 | + | w.C0=w.C0*CFrame.new(0,0.25/2,0) |
503 | - | fly=fly+10 |
503 | + | BP.position=BP.position+Vector3.new(0,.75,0) |
504 | - | elseif k=='y'then |
504 | + | |
505 | - | MUp=false |
505 | + | for i=1,2-(0.5/5),0.25/5 do |
506 | - | bodys(false) |
506 | + | m.Scale=m.Scale+Vector3.new(-.25/8,0,-.25/8) |
507 | - | elseif k=='p'then |
507 | + | wait(0.05) |
508 | - | print'asd' |
508 | + | |
509 | - | elseif k=='b'then |
509 | + | Hit(me.Head) |
510 | - | fly=150 |
510 | + | Hit(me.Torso) |
511 | - | elseif k=='x'then |
511 | + | |
512 | - | X(function() |
512 | + | |
513 | - | if m.Target==workspace or m.Target==nil then return end |
513 | + | function Cage(mouse) |
514 | - | ko=new('ObjectValue') |
514 | + | if mouse.Target then |
515 | - | game:service('Debris'):AddItem(ko,1) |
515 | + | pos=mouse.Hit |
516 | - | ko.Value=player |
516 | + | for ii=0,360,360/6 do |
517 | - | ko.Name='creator' |
517 | + | |
518 | - | for i,v in pairs(m.Target.Parent:children())do |
518 | + | for i=0,360/10 do |
519 | - | if v:IsA('Humanoid')then |
519 | + | local p=Instance.new("Part") |
520 | - | ko.Parent=v |
520 | + | p.CFrame=pos*CFrame.new(math.cos(i)*8,math.sin(i)*8*3/i,0)*CFrame.Angles(math.rad(360/ii),math.rad(360/ii),0) |
521 | - | v.Torso:BreakJoints() |
521 | + | p.Anchored=true |
522 | - | X(function() |
522 | + | p.BrickColor=Color |
523 | - | for asd=1,100 do |
523 | + | p.Parent=Gourd |
524 | p.Size=Vector3.new(1,4,4) | |
525 | - | part=new('WedgePart') |
525 | + | Delay(5,function() |
526 | - | game:service('Debris'):AddItem(part,.2) |
526 | + | p:remove() |
527 | - | part.formFactor=0 |
527 | + | |
528 | - | part.Transparency=.3 |
528 | + | |
529 | - | part.Anchored=true |
529 | + | |
530 | - | part.CanCollide=false |
530 | + | |
531 | - | part.CFrame=rot(math.rad(math.random(1,180)),math.rad(math.random(1,180)),math.rad(math.random(1,180)))+v.Torso.Position |
531 | + | |
532 | - | part.Size=vnew(2,2,2) |
532 | + | |
533 | - | part.BrickColor=BrickColor.White() |
533 | + | wep={Stream,Def,Bur,Shift,Wave,Spike,Coffin,Cage} |
534 | - | random=math.random(part.Size.x,part.Size.x*2) |
534 | + | name={"Sand Stream","Manual Defence","Sand Burial","Sand Shift","Sand Tsunami","Sand Spikes","Sand Coffin","Sand Cage"} |
535 | - | new('BlockMesh',part).Scale=vnew(random,random,random) |
535 | + | function CheckAdd() |
536 | - | part.Parent=workspace |
536 | + | if (Mode+1)~=(#wep+1) then |
537 | Mode=Mode+1 | |
538 | Hopper.Name=name[Mode].."("..Mode..")" | |
539 | elseif (Mode+1)==(#wep+1) then | |
540 | Mode=1 | |
541 | Hopper.Name=name[Mode].."("..Mode..")" | |
542 | end | |
543 | end | |
544 | - | m.Button1Down:connect(function() |
544 | + | function CheckSub() |
545 | - | ball(true) |
545 | + | if (Mode-1)==0 or (Mode-1)<0 then |
546 | - | bodys(false) |
546 | + | Mode=#wep |
547 | - | MUp=false |
547 | + | Hopper.Name=name[Mode].."("..Mode..")" |
548 | - | rightarm(false) |
548 | + | elseif (Mode-1)~=0 then |
549 | - | leftarm(false) |
549 | + | Mode=Mode-1 |
550 | - | bg.maxTorque=Vector3.new(900000,900000,900000) |
550 | + | Hopper.Name=name[Mode].."("..Mode..")" |
551 | - | bg.cframe=fnew(torso.Position,m.hit.p)*rot(math.rad(-60),0,0) |
551 | + | |
552 | - | bv.velocity=fnew(torso.Position,m.hit.p).lookVector*fly |
552 | + | |
553 | function KeyDown(key) | |
554 | - | m.Move:connect(function() |
554 | + | if key=="c" then |
555 | - | if MUp==true then return end |
555 | + | CheckAdd() |
556 | - | torso=player.Character.Torso |
556 | + | elseif key=="x" then |
557 | - | X(function() |
557 | + | Mode=1 |
558 | - | bg.maxTorque=vnew(math.huge,math.huge,math.huge) |
558 | + | Hopper.Name=name[1].."("..Mode..")" |
559 | - | bg.cframe=fnew(torso.Position,m.hit.p)*rot(math.rad(-60),0,0) |
559 | + | elseif key=="z" then |
560 | - | bv.velocity=fnew(torso.Position,m.hit.p).lookVector*fly |
560 | + | CheckSub() |
561 | end | |
562 | end | |
563 | - | m.Button1Up:connect(function() |
563 | + | Mode=0 |
564 | - | MUp=true |
564 | + | Up=false |
565 | - | ball(true) |
565 | + | Sand=true |
566 | - | bodys(false) |
566 | + | Hopper.Selected:connect(function(mouse) |
567 | - | rightarm(true) |
567 | + | Sand=true |
568 | - | leftarm(true) |
568 | + | Gourd=char.Gourd |
569 | - | bv.maxForce=vnew(10000,10000,10000) |
569 | + | mouse.KeyDown:connect(KeyDown) |
570 | - | delay(2,function()if MUp==true then bodys(true)end end) |
570 | + | mouse.Button1Down:connect(function() |
571 | - | torso.Velocity=vnew(0,0,0) |
571 | + | Up=false |
572 | - | torso.RotVelocity=vnew(0,0,0) |
572 | + | coroutine.resume(coroutine.create(function() wep[Mode](mouse) end)) |
573 | - | torso.CFrame=fnew(torso.Position,m.hit.p)*rot(0,0,0) |
573 | + | |
574 | - | torso.Velocity=vnew(0,0,0) |
574 | + | mouse.Button1Up:connect(function() Up=true end) |
575 | - | torso.RotVelocity=vnew(0,0,0) |
575 | + | mouse.Icon = "rbxasset://textures\\GunCursor.png" |
576 | Kill=char.Humanoid.Died:connect(function() | |
577 | wait() | |
578 | - | bin.Deselected:connect(function() |
578 | + | if char:findFirstChild("Head") then |
579 | - | X(function() |
579 | + | m=char.Head |
580 | - | ball(true) |
580 | + | elseif char:findFirstChild("Torso") then |
581 | - | bodys(true) |
581 | + | m=char.Torso |
582 | - | torso.Velocity=vnew(0,0,0) |
582 | + | |
583 | - | torso.RotVelocity=vnew(0,0,0) |
583 | + | return |
584 | end | |
585 | local p=Instance.new("Part") | |
586 | - | function onTouched(part) |
586 | + | p.Size=Vector3.new(1,1,1) |
587 | - | local h = part.Parent:findFirstChild("Humanoid") |
587 | + | p.BrickColor=Color |
588 | - | if h~=nil then |
588 | + | p.Anchored=true |
589 | - | h.Health = 0 |
589 | + | p.Transparency=1 |
590 | p.CanCollide=false | |
591 | p.Parent=char | |
592 | - | script.Parent.Touched:connect(onTouched) |
592 | + | local me=Instance.new("CylinderMesh") |
593 | me.Scale=Vector3.new(1,1.1,1) | |
594 | me.Parent=p | |
595 | p.CFrame=CFrame.new(m.CFrame.x,workspace.Base.CFrame.y,m.CFrame.z) | |
596 | for i=1,100 do | |
597 | local me=me | |
598 | local p=p | |
599 | wait() | |
600 | me.Scale=me.Scale+Vector3.new(.5,0,.5) | |
601 | p.Transparency=i/200 --100? | |
602 | end | |
603 | for _,v in pairs(game.Players:GetPlayers()) do | |
604 | if v.Character and v.Name~=Name and (v.Character.Torso.Position-p.Position).magnitude<51 then | |
605 | pcall(function() Hit(v.Character.Head) end) | |
606 | end | |
607 | end | |
608 | p:remove() | |
609 | end) | |
610 | while Sand do | |
611 | wait(0.05) | |
612 | local p=Instance.new("Part") | |
613 | p.Size=Vector3.new(1,1,1) | |
614 | p.BrickColor=Color | |
615 | p.Anchored=true | |
616 | p.CanCollide=false | |
617 | p.Parent=char | |
618 | p.CFrame=char.Torso.CFrame*CFrame.new(math.random(-7,7),math.random(-2,5),math.random(-7,7))*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)) | |
619 | p.Touched:connect(Hit) | |
620 | local m=Instance.new("BlockMesh") | |
621 | m.Scale=Vector3.new(0.15,0.15,0.15) | |
622 | m.Parent=p | |
623 | Delay(0,function() | |
624 | local p=p | |
625 | for i=1,5 do | |
626 | wait(0.05) | |
627 | p.Transparency=i/5 | |
628 | end | |
629 | p:remove() | |
630 | end) | |
631 | end | |
632 | end) | |
633 | Hopper.Deselected:connect(function() | |
634 | pcall(function() | |
635 | Sand=false | |
636 | Kill:disconnect() | |
637 | end) | |
638 | end) | |
639 | function Hit(p) | |
640 | if p.Parent.Name~=Name and p.Parent.Parent.Name~=Name and p.Name~="Base" and p.Name~="Sand" and p.Parent then | |
641 | Delay(0,function() | |
642 | p.Anchored=true | |
643 | p.Name="Sand" | |
644 | p.BrickColor=Color | |
645 | for i=1,5 do | |
646 | p.Transparency=i/5 | |
647 | wait(0.1) | |
648 | end | |
649 | p:remove() | |
650 | end) | |
651 | end | |
652 | end |