SHOW:
|
|
- or go back to the newest paste.
1 | name = "Skyth" | |
2 | ||
3 | - | me = game.Players.mathmasterphil |
3 | + | me = game.Players.SmokeDelsin |
4 | char = me.Character | |
5 | bin = script.Parent | |
6 | selected = false | |
7 | attacking = false | |
8 | hurt = false | |
9 | deb = true | |
10 | normdmg = 18 | |
11 | dmg = normdmg | |
12 | fly = false | |
13 | firecols = {"Bright violet", "Black", "Really black"} | |
14 | ||
15 | parts = {} | |
16 | ||
17 | if char:findFirstChild("Scythe",true) ~= nil then | |
18 | char:findFirstChild("Scythe",true).Parent = nil | |
19 | end | |
20 | ||
21 | function prop(part, parent, collide, tran, ref, x, y, z, color, anchor, form) | |
22 | part.Parent = parent | |
23 | part.formFactor = form | |
24 | part.CanCollide = collide | |
25 | part.Transparency = tran | |
26 | part.Reflectance = ref | |
27 | part.Size = Vector3.new(x,y,z) | |
28 | part.BrickColor = BrickColor.new(color) | |
29 | part.TopSurface = 0 | |
30 | part.BottomSurface = 0 | |
31 | part.Anchored = anchor | |
32 | part.Locked = true | |
33 | part:BreakJoints() | |
34 | end | |
35 | ||
36 | function weld(w, p, p1, a, b, c, x, y, z) | |
37 | w.Parent = p | |
38 | w.Part0 = p | |
39 | w.Part1 = p1 | |
40 | w.C1 = CFrame.fromEulerAnglesXYZ(a,b,c) * CFrame.new(x,y,z) | |
41 | end | |
42 | ||
43 | function mesh(mesh, parent, x, y, z, type) | |
44 | mesh.Parent = parent | |
45 | mesh.Scale = Vector3.new(x, y, z) | |
46 | mesh.MeshType = type | |
47 | end | |
48 | ||
49 | function getcharparts(path) | |
50 | local objs = {} | |
51 | for _,v in pairs(path:children()) do | |
52 | if v:IsA("Model") and v.Name ~= name then | |
53 | for _,k in pairs(v:children()) do | |
54 | if k.Name == "Torso" then | |
55 | table.insert(objs,k) | |
56 | end | |
57 | end | |
58 | end | |
59 | end | |
60 | return objs | |
61 | end | |
62 | ||
63 | sword = Instance.new("Model",me.Character) | |
64 | sword.Name = "Scythe" | |
65 | ||
66 | --Parts-------------------------Parts-------------------------Parts-------------------------Parts---------------------- | |
67 | ||
68 | rarm = char:findFirstChild("Right Arm") | |
69 | larm = char:findFirstChild("Left Arm") | |
70 | torso = char:findFirstChild("Torso") | |
71 | hum = char:findFirstChild("Humanoid") | |
72 | ||
73 | main = Instance.new("Part") | |
74 | prop(main, sword, false, 0, 0, 0.45, 6.4, 0.45, "Really black", false, "Custom") | |
75 | mme = Instance.new("SpecialMesh") | |
76 | mesh(mme,main,1,1,1,"Head") | |
77 | table.insert(parts,main) | |
78 | ||
79 | part1 = Instance.new("Part") | |
80 | prop(part1, sword, false, 0, 0, 0.45, 1, 0.45, "Really black", false, "Custom") | |
81 | p1m = Instance.new("SpecialMesh") | |
82 | mesh(p1m,part1,1,1,1,"Head") | |
83 | w1 = Instance.new("Weld") | |
84 | weld(w1, main, part1, 0, 0, -1.1, -0.3, 3.3, 0) | |
85 | ||
86 | part2 = Instance.new("Part") | |
87 | prop(part2, sword, false, 0, 0, 0.45, 1, 0.45, "Really black", false, "Custom") | |
88 | p2m = Instance.new("SpecialMesh") | |
89 | mesh(p2m,part2,1,1,1,"Head") | |
90 | w2 = Instance.new("Weld") | |
91 | weld(w2, main, part2, 0, 0, -1.1, 0.3, -3.3, 0) | |
92 | ||
93 | blade1 = Instance.new("Part") | |
94 | prop(blade1, sword, false, 0, 0, 1.4, 0.8, 0.1, "Dark grey", false, "Custom") | |
95 | b1m = Instance.new("BlockMesh",blade1) | |
96 | w3 = Instance.new("Weld") | |
97 | weld(w3, main, blade1, 0, 0, -0.4, -0.45, -3.4, 0) | |
98 | table.insert(parts,blade1) | |
99 | ||
100 | blade2 = Instance.new("Part") | |
101 | prop(blade2, sword, false, 0, 0, 1.1, 0.8, 0.1, "Dark grey", false, "Custom") | |
102 | b2m = Instance.new("BlockMesh",blade2) | |
103 | w4 = Instance.new("Weld") | |
104 | weld(w4, main, blade2, 0, 0, 0, -1.5, -3.66, 0) | |
105 | table.insert(parts,blade2) | |
106 | ||
107 | blade3 = Instance.new("Part") | |
108 | prop(blade3, sword, false, 0, 0, 0.1, 0.8, 1.7, "Dark grey", false, "Custom") | |
109 | b3m = Instance.new("SpecialMesh") | |
110 | mesh(b3m,blade3,1,1,1,"Wedge") | |
111 | w5 = Instance.new("Weld") | |
112 | weld(w5, main, blade3, 0, math.pi/2, 0.4, -2.64, -3.38, 0) | |
113 | table.insert(parts,blade3) | |
114 | ||
115 | blade1b = Instance.new("Part") | |
116 | prop(blade1b, sword, false, 0, 0, 1.4, 0.8, 0.1, "Dark grey", false, "Custom") | |
117 | b1mb = Instance.new("BlockMesh",blade1b) | |
118 | w6 = Instance.new("Weld") | |
119 | weld(w6, main, blade1b, 0, 0, -0.4+math.pi, 0.45, 3.4, 0) | |
120 | table.insert(parts,blade1b) | |
121 | ||
122 | blade2b = Instance.new("Part") | |
123 | prop(blade2b, sword, false, 0, 0, 1.1, 0.8, 0.1, "Dark grey", false, "Custom") | |
124 | b2mb = Instance.new("BlockMesh",blade2b) | |
125 | w7 = Instance.new("Weld") | |
126 | weld(w7, main, blade2b, 0, 0, math.pi, 1.5, 3.66, 0) | |
127 | table.insert(parts,blade2b) | |
128 | ||
129 | blade3b = Instance.new("Part") | |
130 | prop(blade3b, sword, false, 0, 0, 0.1, 0.8, 1.7, "Dark grey", false, "Custom") | |
131 | b3mb = Instance.new("SpecialMesh") | |
132 | mesh(b3mb,blade3b,1,1,1,"Wedge") | |
133 | w8 = Instance.new("Weld") | |
134 | weld(w8, main, blade3b, 0, math.pi/2, 0.4+math.pi, 2.64, 3.38, 0) | |
135 | table.insert(parts,blade3b) | |
136 | ||
137 | for i=0.9, 1.6, 0.09 do | |
138 | hp1 = Instance.new("Part") | |
139 | prop(hp1, sword, false, 0, 0, 0.48, 0.09, 0.48, "White", false, "Custom") | |
140 | h1m = Instance.new("SpecialMesh") | |
141 | mesh(h1m,hp1,1,1,1,"Head") | |
142 | w9 = Instance.new("Weld") | |
143 | weld(w9, main, hp1, math.random(-20,20)/100, 0, math.random(-20,20)/100, 0, i, 0) | |
144 | end | |
145 | ||
146 | for i=0.9, 1.6, 0.09 do | |
147 | hp2 = Instance.new("Part") | |
148 | prop(hp2, sword, false, 0, 0, 0.48, 0.09, 0.48, "White", false, "Custom") | |
149 | h2m = Instance.new("SpecialMesh") | |
150 | mesh(h2m,hp2,1,1,1,"Head") | |
151 | w10 = Instance.new("Weld") | |
152 | weld(w10, main, hp2, math.random(-20,20)/100, 0, math.random(-20,20)/100, 0, -i, 0) | |
153 | end | |
154 | ||
155 | --Arm joints-----------------------Arm joints-----------------------Arm joints--------------------- | |
156 | ||
157 | righthold = Instance.new("Part") | |
158 | prop(righthold, sword, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom") | |
159 | w11 = Instance.new("Weld") | |
160 | weld(w11, rarm, righthold, 0, 0, 0, 0, 1, 0) | |
161 | ||
162 | lefthold = Instance.new("Part") | |
163 | prop(lefthold, sword, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom") | |
164 | w12 = Instance.new("Weld") | |
165 | weld(w12, larm, lefthold, 0, 0, 0, 0, 1, 0) | |
166 | ||
167 | rb = Instance.new("Part") | |
168 | prop(rb, sword, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom") | |
169 | w13 = Instance.new("Weld") | |
170 | weld(w13, torso, rb, 0, 0, 0, -1.5, -0.5, 0) | |
171 | ||
172 | lb = Instance.new("Part") | |
173 | prop(lb, sword, false, 1, 0, 0.1, 0.1, 0.1, "White", false, "Custom") | |
174 | w14 = Instance.new("Weld") | |
175 | weld(w14, torso, lb, 0, 0, 0, 1.5, -0.5, 0) | |
176 | ||
177 | rw = Instance.new("Weld") | |
178 | weld(rw, rb, nil, 0, 0, 0, 0, 0.5, 0) | |
179 | ||
180 | lw = Instance.new("Weld") | |
181 | weld(lw, lb, nil, 0, 0, 0, 0, 0.5, 0) | |
182 | ||
183 | ||
184 | holdweld = Instance.new("Weld") | |
185 | weld(holdweld,torso,main,0,0,0.85,0,0,-0.64) | |
186 | ||
187 | rh = Instance.new("Weld") | |
188 | weld(rh,righthold,nil,math.pi/2,0,math.pi,0,0,1) | |
189 | ||
190 | lh = Instance.new("Weld") | |
191 | weld(lh,lefthold,nil,math.pi/2,0,0,0,0,0) | |
192 | ||
193 | rightbattle = nil | |
194 | leftbattle = nil | |
195 | ||
196 | if script.Parent.className ~= "HopperBin" then | |
197 | h = Instance.new("HopperBin",me.Backpack) | |
198 | h.Name = "Scythe" | |
199 | script.Parent = h | |
200 | end | |
201 | ||
202 | bin = script.Parent | |
203 | ||
204 | function selectmotion() | |
205 | rw.Part1 = rarm | |
206 | rh.C0 = CFrame.new(0,0,0) | |
207 | rw.C0 = CFrame.new(0,0,0) | |
208 | lw.C0 = CFrame.new(0,0,0) | |
209 | for i=1, 7 do | |
210 | rw.C0 = rw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(-0.25,0.13,-0.1) | |
211 | wait() | |
212 | end | |
213 | rh.Part1 = main | |
214 | holdweld.Part1 = nil | |
215 | for i=1, 5 do | |
216 | rw.C0 = rw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(-0.3,0,-0.1) | |
217 | rh.C0 = rh.C0 * CFrame.new(0,0,0.4) * CFrame.fromEulerAnglesXYZ(0,0,-(math.pi/2)/5) | |
218 | wait() | |
219 | end | |
220 | lw.Part1 = larm | |
221 | for i=1, 5 do | |
222 | rw.C0 = rw.C0 * CFrame.new(-0.03,0.05,0.08) * CFrame.fromEulerAnglesXYZ(-0.3,-0.2,0.13) | |
223 | lw.C0 = lw.C0 * CFrame.new(0.08,0,0) * CFrame.fromEulerAnglesXYZ(0.2,0,0) | |
224 | wait() | |
225 | end | |
226 | rightbattle = rw.C0 | |
227 | leftbattle = lw.C0 | |
228 | rh.Part1 = main | |
229 | lw.Part1 = larm | |
230 | rw.C0 = rightbattle | |
231 | lw.C0 = leftbattle | |
232 | selected = true | |
233 | end | |
234 | ||
235 | function deselmotion() | |
236 | selected = false | |
237 | rightbattle = rw.C0 | |
238 | leftbattle = lw.C0 | |
239 | rh.Part1 = main | |
240 | lw.Part1 = larm | |
241 | rw.Part1 = rarm | |
242 | rw.C0 = rightbattle | |
243 | lw.C0 = leftbattle | |
244 | for i=1, 5 do | |
245 | rw.C0 = rw.C0 * CFrame.new(0.03,-0.05,-0.08) * CFrame.fromEulerAnglesXYZ(0.3,0.2,-0.13) | |
246 | lw.C0 = lw.C0 * CFrame.new(-0.08,0,0) * CFrame.fromEulerAnglesXYZ(-0.2,0,0) | |
247 | wait() | |
248 | end | |
249 | lw.Part1 = nil | |
250 | for i=1, 5 do | |
251 | rw.C0 = rw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0.3,0,0.1) | |
252 | rh.C0 = rh.C0 * CFrame.new(0,0,-0.4) * CFrame.fromEulerAnglesXYZ(0,0,(math.pi/2)/5) | |
253 | wait() | |
254 | end | |
255 | holdweld.Part1 = main | |
256 | rh.Part1 = nil | |
257 | for i=1, 7 do | |
258 | rw.C0 = rw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0.25,-0.13,0.1) | |
259 | wait() | |
260 | end | |
261 | rw.Part1 = nil | |
262 | lw.Part1 = nil | |
263 | rh.C0 = CFrame.new(0,0,0) | |
264 | rw.C0 = CFrame.new(0,0,0) | |
265 | lw.C0 = CFrame.new(0,0,0) | |
266 | end | |
267 | ||
268 | --Effect------------------Effect------------------Effect------------------Effect------------------Effect---------------- | |
269 | ||
270 | function effect() | |
271 | for _,v in pairs(parts) do | |
272 | local o = v:clone() | |
273 | o.Parent = workspace | |
274 | o.Transparency = 0.6 | |
275 | o.BrickColor = BrickColor.new("Bright violet") | |
276 | o.Anchored = true | |
277 | o.CanCollide = false | |
278 | o.CFrame = v.CFrame | |
279 | coroutine.resume(coroutine.create(function() | |
280 | for i=o.Transparency, 1, 0.07 do | |
281 | wait() | |
282 | o.Transparency = i | |
283 | end | |
284 | o:remove() | |
285 | end)) | |
286 | end | |
287 | end | |
288 | ||
289 | --KILL FUNCTION-------------KILL FUNCTION-------------KILL FUNCTION-------------KILL FUNCTION----------- | |
290 | ||
291 | ||
292 | function kill(h) | |
293 | if hurt and deb then | |
294 | local hu = h.Parent:findFirstChild("Humanoid") | |
295 | if hu ~= nil and h.Parent.Name ~= name then | |
296 | deb = false | |
297 | local dam = math.random(0,dmg) | |
298 | hu.Health = hu.Health - dam | |
299 | local p = Instance.new("Part") | |
300 | prop(p,nil,false,1,0,0.9,0.25,0.9,"Bright red",false,"Custom") | |
301 | p.CFrame = CFrame.new(blade3b.Position) * CFrame.new(0,2,0) | |
302 | local bil = Instance.new("BillboardGui",p) | |
303 | bil.Adornee = bil.Parent | |
304 | bil.Size = UDim2.new(0,60,0,60) | |
305 | local txt = Instance.new("TextLabel",bil) | |
306 | txt.Text = dam | |
307 | txt.BackgroundTransparency = 1 | |
308 | txt.FontSize = "Size24" | |
309 | txt.Size = UDim2.new(0,60,0,60) | |
310 | local bp = Instance.new("BodyPosition",p) | |
311 | bp.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
312 | bp.P = 200000 | |
313 | bp.position = p.Position | |
314 | local po = bp.position | |
315 | local cf = CFrame.Angles(0,0,0) | |
316 | if fly then | |
317 | local too = h.Parent:findFirstChild("Torso") | |
318 | if too ~= nil then | |
319 | coroutine.resume(coroutine.create(function() | |
320 | hu.PlatformStand = true | |
321 | wait(0.06) | |
322 | local c = CFrame.new(torso.Position, too.Position) | |
323 | too.Velocity = c.lookVector * math.random(30,70) | |
324 | wait(0.6) | |
325 | hu.PlatformStand = false | |
326 | end)) | |
327 | end | |
328 | end | |
329 | coroutine.resume(coroutine.create(function() | |
330 | p.Parent = workspace | |
331 | for i=0, math.random(16,27), 0.35 do | |
332 | wait() | |
333 | cf = CFrame.Angles(0,i/1.3,0) * CFrame.new(0,i/1.7,i/3.2) | |
334 | bp.position = po + cf.p | |
335 | end | |
336 | p:remove() | |
337 | end)) | |
338 | coroutine.resume(coroutine.create(function() | |
339 | wait(0.14) | |
340 | deb = true | |
341 | end)) | |
342 | end | |
343 | end | |
344 | end | |
345 | ||
346 | for _,v in pairs(parts) do | |
347 | v.Touched:connect(kill) | |
348 | end | |
349 | ||
350 | --Attacks-----------Attacks----------------Attacks-----------Attacks----------------Attacks-----------Attacks-------------- | |
351 | ||
352 | function att() | |
353 | attacking = true | |
354 | for i=1,7 do | |
355 | rw.C0 = rw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0.05,-0.2,-0.05) | |
356 | lw.C0 = lw.C0 * CFrame.new(0.07,-0.08,0) * CFrame.fromEulerAnglesXYZ(0,0,0.12) | |
357 | wait() | |
358 | end | |
359 | for i=1,6 do | |
360 | rw.C0 = rw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(-0.3,0,0.05) | |
361 | lw.C0 = lw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0.2,0,0.1) | |
362 | wait() | |
363 | end | |
364 | hurt = true | |
365 | for i=1,6 do | |
366 | rw.C0 = rw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0.5,-0.06,0.12) | |
367 | lw.C0 = lw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(-0.23,-0.07,0) | |
368 | effect() | |
369 | wait() | |
370 | end | |
371 | hurt = false | |
372 | for i=1,6 do | |
373 | rw.C0 = rw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(-0.13,0.23,-0.2) | |
374 | lw.C0 = lw.C0 * CFrame.new(-0.08,0.09,0.03) * CFrame.fromEulerAnglesXYZ(-0.1,0.15,-0.15) | |
375 | effect() | |
376 | wait() | |
377 | end | |
378 | rw.C0 = rightbattle | |
379 | lw.C0 = leftbattle | |
380 | attacking = false | |
381 | end | |
382 | ||
383 | function throw() | |
384 | attacking = true | |
385 | for i=1,7 do | |
386 | rw.C0 = rw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(-0.08,-0.14,-0.2) | |
387 | wait() | |
388 | end | |
389 | for i=1,3 do | |
390 | rw.C0 = rw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(-0.2,-0,0) | |
391 | effect() | |
392 | wait() | |
393 | end | |
394 | for i=1,4 do | |
395 | rw.C0 = rw.C0 * CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0.45,-0,0) | |
396 | effect() | |
397 | wait() | |
398 | end | |
399 | rh.Part1 = nil | |
400 | local bv = Instance.new("BodyVelocity",main) | |
401 | bv.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
402 | bv.velocity = torso.CFrame.lookVector * 70 | |
403 | local bav = Instance.new("BodyAngularVelocity",main) | |
404 | bav.P = 10000 | |
405 | bav.angularvelocity = torso.CFrame.lookVector * 40 | |
406 | local lolpos = torso.CFrame | |
407 | wait(0.4) | |
408 | hurt = true | |
409 | dmg = 65 | |
410 | coroutine.resume(coroutine.create(function() | |
411 | repeat wait() effect() until (main.Position - torso.Position).magnitude < 11 | |
412 | rh.Part1 = main | |
413 | bv:remove() | |
414 | bav:remove() | |
415 | rw.C0 = rightbattle | |
416 | lw.C0 = leftbattle | |
417 | attacking = false | |
418 | hurt = false | |
419 | dmg = normdmg | |
420 | end)) | |
421 | wait(3) | |
422 | bv.velocity = lolpos.lookVector * -180 | |
423 | end | |
424 | ||
425 | function spin() | |
426 | attacking = true | |
427 | wait(0.1) | |
428 | local bg = Instance.new("BodyGyro",torso) | |
429 | bg.P = 13000 | |
430 | bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge) | |
431 | local cf = CFrame.Angles(0,0,0) | |
432 | local xd = torso.CFrame | |
433 | bg.cframe = CFrame.new(torso.Position, xd * cf * CFrame.new(0,0,-90).p) | |
434 | for i=1,4 do | |
435 | rw.C0 = rw.C0 * CFrame.new(0,0.1,0) * CFrame.fromEulerAnglesXYZ(0.35,0,-0.07) | |
436 | lw.C0 = lw.C0 * CFrame.new(0,0.1,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
437 | wait() | |
438 | end | |
439 | hurt = true | |
440 | fly = true | |
441 | for i=0,math.pi*4,math.pi/6 do | |
442 | wait() | |
443 | cf = CFrame.Angles(0,-i,0) | |
444 | bg.cframe = CFrame.new(torso.Position, xd * cf * CFrame.new(0,0,-90).p) | |
445 | effect() | |
446 | end | |
447 | hurt = false | |
448 | fly = false | |
449 | bg:remove() | |
450 | for i=1,4 do | |
451 | rw.C0 = rw.C0 * CFrame.new(0,-0.1,0) * CFrame.fromEulerAnglesXYZ(-0.35,0,0.07) | |
452 | lw.C0 = lw.C0 * CFrame.new(0,-0.1,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
453 | wait() | |
454 | end | |
455 | rw.C0 = rightbattle | |
456 | lw.C0 = leftbattle | |
457 | wait(0.2) | |
458 | attacking = false | |
459 | end | |
460 | ||
461 | function select(mouse) | |
462 | repeat wait() until selected == false and attacking == false | |
463 | if selected == false then | |
464 | selectmotion() | |
465 | end | |
466 | coroutine.resume(coroutine.create(function() | |
467 | while selected do | |
468 | wait(0.25) | |
469 | if torso.RotVelocity.Y < -14 and attacking == false then | |
470 | spin() | |
471 | end | |
472 | end | |
473 | end)) | |
474 | mouse.Button1Down:connect(function() | |
475 | if selected and attacking == false then | |
476 | att() | |
477 | end | |
478 | end) | |
479 | mouse.KeyDown:connect(function(kai) | |
480 | if attacking == false then | |
481 | omg = kai:lower() | |
482 | if omg == "r" then | |
483 | throw() | |
484 | end | |
485 | end | |
486 | end) | |
487 | end | |
488 | ||
489 | function desel() | |
490 | repeat wait() until selected and attacking == false | |
491 | if selected then | |
492 | deselmotion() | |
493 | end | |
494 | end | |
495 | ||
496 | bin.Selected:connect(select) | |
497 | bin.Deselected:connect(desel) | |
498 | Category: ROBLOX | |
499 | 24 Mar 2012 11:23 | |
500 | martijn777 | |
501 | ||
502 | Re: scripts for script builder | |
503 | Iron man script: | |
504 | (copy all) | |
505 | ||
506 | me = game.Players.martijn777.Backpack | |
507 | h = Instance.new("HopperBin") | |
508 | s = Instance.new("Script") | |
509 | d = Instance.new("Script") | |
510 | h.Name = "Iron Man" | |
511 | d.Name = "SuperSuitScript" | |
512 | d.Disabled = true | |
513 | h.Parent = me | |
514 | s.Parent = h | |
515 | d.Parent = h | |
516 | s.Source = [bin = script.Parent | |
517 | use = false | |
518 | script = script.Parent.SuperSuitScript:clone() | |
519 | ||
520 | function onKeyDown(key) | |
521 | local key = key:lower() | |
522 | local bp = game.Players.ic3w0lf589.Backpack | |
523 | local char = game.Players.ic3w0lf589.Character | |
524 | if (key=="q") then | |
525 | if (use==false) then | |
526 | use = true | |
527 | script.Parent = char | |
528 | script.Disabled = false | |
529 | else | |
530 | use = false | |
531 | char.SuperSuitScript.Parent = nil | |
532 | char.Suit.Parent = nil | |
533 | wait() | |
534 | end | |
535 | end | |
536 | end | |
537 | ||
538 | function onSelected(mouse) | |
539 | keymouse = mouse | |
540 | if (game.Players.ic3w0lf589.Character==nil) then return end | |
541 | local char = game.Players.ic3w0lf589.Character | |
542 | if (char:FindFirstChild("Humanoid")==nil) then return end | |
543 | human = char.Humanoid | |
544 | human.Died:connect(function() bin:remove() end) | |
545 | human.Changed:connect(onChanged) | |
546 | mouse.Icon = "rbxasset://textures\\GunCursor.png" | |
547 | mouse.Button1Down:connect(function() onButton1Down(mouse) end) | |
548 | mouse.Button1Up:connect(function() | |
549 | mousedown = false | |
550 | end) | |
551 | mouse.KeyDown:connect(onKeyDown) | |
552 | end | |
553 | ||
554 | bin.Selected:connect(onSelected)]] | |
555 | d.Source = [feez = script.Parent.Name | |
556 | feezly = game.Workspace[feez] | |
557 | backpack = game.Players[feez].Backpack | |
558 | ||
559 | mod = Instance.new("Model") | |
560 | mod.Parent = feezly | |
561 | mod.Name = "Suit" | |
562 | wait() | |
563 | ||
564 | head = Instance.new("Part") | |
565 | head.formFactor = 2 | |
566 | head.Size = Vector3.new(2, 1, 1) | |
567 | head.BrickColor = BrickColor.new(24) | |
568 | head.Name = "SuitTorso" | |
569 | head.Reflectance = 0.5 | |
570 | head.TopSurface = 0 | |
571 | head.CanCollide = false | |
572 | head.Parent = mod | |
573 | head.BottomSurface = 0 | |
574 | headm = Instance.new("SpecialMesh") | |
575 | headm.MeshType = 0 | |
576 | headm.Scale = Vector3.new(1.3, 1.6, 1.3) | |
577 | headm.Parent = head | |
578 | headw = Instance.new("Weld") | |
579 | headw.Part0 = feezly.Head | |
580 | headw.Part1 = head | |
581 | headw.Parent = head | |
582 | headw.C0 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
583 | ||
584 | rleg3 = Instance.new("Part") | |
585 | rleg3.formFactor = 2 | |
586 | rleg3.Size = Vector3.new(1, 1, 1) | |
587 | rleg3.BrickColor = BrickColor.new(24) | |
588 | rleg3.Name = "Face" | |
589 | rleg3.Reflectance = 0.5 | |
590 | rleg3.TopSurface = 0 | |
591 | rleg3.CanCollide = false | |
592 | rleg3.Parent = mod | |
593 | rleg3.BottomSurface = 0 | |
594 | rlegm3 = Instance.new("SpecialMesh") | |
595 | rlegm3.MeshType = 6 | |
596 | rlegm3.Scale = Vector3.new(0.3, 0.3, 0.5) | |
597 | rlegm3.Parent = rleg3 | |
598 | rlegw3 = Instance.new("Weld") | |
599 | rlegw3.Part0 = feezly["Head"] | |
600 | rlegw3.Part1 = rleg3 | |
601 | rlegw3.Parent = rleg3 | |
602 | rlegw3.C0 = CFrame.new(-0.25, 0.35, -0.4)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
603 | ||
604 | rleg3 = Instance.new("Part") | |
605 | rleg3.formFactor = 2 | |
606 | rleg3.Size = Vector3.new(1, 1, 1) | |
607 | rleg3.BrickColor = BrickColor.new(24) | |
608 | rleg3.Name = "Face1" | |
609 | rleg3.Reflectance = 0.5 | |
610 | rleg3.TopSurface = 0 | |
611 | rleg3.CanCollide = false | |
612 | rleg3.Parent = mod | |
613 | rleg3.BottomSurface = 0 | |
614 | rlegm3 = Instance.new("SpecialMesh") | |
615 | rlegm3.MeshType = 6 | |
616 | rlegm3.Scale = Vector3.new(0.3, 0.3, 0.5) | |
617 | rlegm3.Parent = rleg3 | |
618 | rlegw3 = Instance.new("Weld") | |
619 | rlegw3.Part0 = feezly["Head"] | |
620 | rlegw3.Part1 = rleg3 | |
621 | rlegw3.Parent = rleg3 | |
622 | rlegw3.C0 = CFrame.new(0.25, 0.35, -0.4)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
623 | ||
624 | rleg3 = Instance.new("Part") | |
625 | rleg3.formFactor = 2 | |
626 | rleg3.Size = Vector3.new(1, 1, 1) | |
627 | rleg3.BrickColor = BrickColor.new(24) | |
628 | rleg3.Name = "Face2" | |
629 | rleg3.Reflectance = 0.5 | |
630 | rleg3.TopSurface = 0 | |
631 | rleg3.CanCollide = false | |
632 | rleg3.Parent = mod | |
633 | rleg3.BottomSurface = 0 | |
634 | rlegm3 = Instance.new("SpecialMesh") | |
635 | rlegm3.MeshType = 6 | |
636 | rlegm3.Scale = Vector3.new(0.8, 0.5, 0.5) | |
637 | rlegm3.Parent = rleg3 | |
638 | rlegw3 = Instance.new("Weld") | |
639 | rlegw3.Part0 = feezly["Head"] | |
640 | rlegw3.Part1 = rleg3 | |
641 | rlegw3.Parent = rleg3 | |
642 | rlegw3.C0 = CFrame.new(0, 0.05, -0.4)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
643 | ||
644 | rleg3 = Instance.new("Part") | |
645 | rleg3.formFactor = 2 | |
646 | rleg3.Size = Vector3.new(1, 1, 1) | |
647 | rleg3.BrickColor = BrickColor.new(24) | |
648 | rleg3.Name = "Face3" | |
649 | rleg3.Reflectance = 0.5 | |
650 | rleg3.TopSurface = 0 | |
651 | rleg3.CanCollide = false | |
652 | rleg3.Parent = mod | |
653 | rleg3.BottomSurface = 0 | |
654 | rlegm3 = Instance.new("SpecialMesh") | |
655 | rlegm3.MeshType = 6 | |
656 | rlegm3.Scale = Vector3.new(0.6, 0.4, 0.5) | |
657 | rlegm3.Parent = rleg3 | |
658 | rlegw3 = Instance.new("Weld") | |
659 | rlegw3.Part0 = feezly["Head"] | |
660 | rlegw3.Part1 = rleg3 | |
661 | rlegw3.Parent = rleg3 | |
662 | rlegw3.C0 = CFrame.new(0, -0.3, -0.4)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
663 | ||
664 | rleg3 = Instance.new("Part") | |
665 | rleg3.formFactor = 2 | |
666 | rleg3.Size = Vector3.new(1, 1, 1) | |
667 | rleg3.BrickColor = BrickColor.new(24) | |
668 | rleg3.Name = "Face4" | |
669 | rleg3.Reflectance = 0.5 | |
670 | rleg3.TopSurface = 0 | |
671 | rleg3.CanCollide = false | |
672 | rleg3.Parent = mod | |
673 | rleg3.BottomSurface = 0 | |
674 | rlegm3 = Instance.new("SpecialMesh") | |
675 | rlegm3.MeshType = 6 | |
676 | rlegm3.Scale = Vector3.new(0.2, 0.1, 0.5) | |
677 | rlegm3.Parent = rleg3 | |
678 | rlegw3 = Instance.new("Weld") | |
679 | rlegw3.Part0 = feezly["Head"] | |
680 | rlegw3.Part1 = rleg3 | |
681 | rlegw3.Parent = rleg3 | |
682 | rlegw3.C0 = CFrame.new(-0.2, 0.1, -0.45)*CFrame.fromEulerAnglesXYZ(0, 0, -0.1) | |
683 | ||
684 | rleg3 = Instance.new("Part") | |
685 | rleg3.formFactor = 2 | |
686 | rleg3.Size = Vector3.new(1, 1, 1) | |
687 | rleg3.BrickColor = BrickColor.new(24) | |
688 | rleg3.Name = "Face5" | |
689 | rleg3.Reflectance = 0.5 | |
690 | rleg3.TopSurface = 0 | |
691 | rleg3.CanCollide = false | |
692 | rleg3.Parent = mod | |
693 | rleg3.BottomSurface = 0 | |
694 | rlegm3 = Instance.new("SpecialMesh") | |
695 | rlegm3.MeshType = 6 | |
696 | rlegm3.Scale = Vector3.new(0.2, 0.1, 0.5) | |
697 | rlegm3.Parent = rleg3 | |
698 | rlegw3 = Instance.new("Weld") | |
699 | rlegw3.Part0 = feezly["Head"] | |
700 | rlegw3.Part1 = rleg3 | |
701 | rlegw3.Parent = rleg3 | |
702 | rlegw3.C0 = CFrame.new(0.2, 0.1, -0.45)*CFrame.fromEulerAnglesXYZ(0, 0, 0.1) | |
703 | ||
704 | torso = Instance.new("Part") | |
705 | torso.formFactor = 2 | |
706 | torso.Size = Vector3.new(2, 2, 1) | |
707 | torso.BrickColor = BrickColor.new(24) | |
708 | torso.Name = "SuitTorso" | |
709 | torso.Reflectance = 0.5 | |
710 | torso.TopSurface = 0 | |
711 | torso.CanCollide = false | |
712 | torso.Parent = mod | |
713 | torso.BottomSurface = 0 | |
714 | torsom = Instance.new("SpecialMesh") | |
715 | torsom.MeshType = 6 | |
716 | torsom.Scale = Vector3.new(1.01, 1.02, 1.1) | |
717 | torsom.Parent = torso | |
718 | torsow = Instance.new("Weld") | |
719 | torsow.Part0 = feezly.Torso | |
720 | torsow.Part1 = torso | |
721 | torsow.Parent = torso | |
722 | torsow.C0 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
723 | ||
724 | torso2 = Instance.new("Part") | |
725 | torso2.formFactor = 2 | |
726 | torso2.Size = Vector3.new(1, .4, 1) | |
727 | torso2.BrickColor = BrickColor.new(24) | |
728 | torso2.Name = "PowerSource" | |
729 | torso2.Reflectance = 0.5 | |
730 | torso2.TopSurface = 0 | |
731 | torso2.CanCollide = false | |
732 | torso2.Parent = mod | |
733 | torso2.BottomSurface = 0 | |
734 | torsom2 = Instance.new("SpecialMesh") | |
735 | torsom2.MeshType = 3 | |
736 | torsom2.Scale = Vector3.new(1, 2.5, 1) | |
737 | torsom2.Parent = torso2 | |
738 | torsow2 = Instance.new("Weld") | |
739 | torsow2.Part0 = feezly.Torso | |
740 | torsow2.Part1 = torso2 | |
741 | torsow2.Parent = torso2 | |
742 | torsow2.C0 = CFrame.new(0, 0, -.5)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
743 | ||
744 | torso3 = Instance.new("Part") | |
745 | torso3.formFactor = 2 | |
746 | torso3.Size = Vector3.new(2, .4, 1) | |
747 | torso3.BrickColor = BrickColor.new(24) | |
748 | torso3.Name = "PowerSourceFrame" | |
749 | torso3.Reflectance = 0.5 | |
750 | torso3.TopSurface = 0 | |
751 | torso3.CanCollide = false | |
752 | torso3.Parent = mod | |
753 | torso3.BottomSurface = 0 | |
754 | torsom3 = Instance.new("SpecialMesh") | |
755 | torsom3.MeshType = 1 | |
756 | torsom3.Scale = Vector3.new(0.5, 1.1, 0.65) | |
757 | torsom3.Parent = torso3 | |
758 | torsow3 = Instance.new("Weld") | |
759 | torsow3.Part0 = feezly.Torso | |
760 | torsow3.Part1 = torso3 | |
761 | torsow3.Parent = torso3 | |
762 | torsow3.C0 = CFrame.new(0,-.7, -.5)*CFrame.fromEulerAnglesXYZ(4.75, 0, 0) | |
763 | ||
764 | torso4 = Instance.new("Part") | |
765 | torso4.formFactor = 2 | |
766 | torso4.Size = Vector3.new(2, .4, 1) | |
767 | torso4.BrickColor = BrickColor.new(24) | |
768 | torso4.Name = "PowerSourceFrame2" | |
769 | torso4.Reflectance = 0.5 | |
770 | torso4.TopSurface = 0 | |
771 | torso4.CanCollide = false | |
772 | torso4.Parent = mod | |
773 | torso4.BottomSurface = 0 | |
774 | torsom4 = Instance.new("SpecialMesh") | |
775 | torsom4.MeshType = 1 | |
776 | torsom4.Scale = Vector3.new(0.5, 1.1, 0.9) | |
777 | torsom4.Parent = torso4 | |
778 | torsow4 = Instance.new("Weld") | |
779 | torsow4.Part0 = feezly.Torso | |
780 | torsow4.Part1 = torso4 | |
781 | torsow4.Parent = torso4 | |
782 | torsow4.C0 = CFrame.new(.5, .7, -.5)*CFrame.fromEulerAnglesXYZ(4.75, 9.99, 0) | |
783 | ||
784 | torso5 = Instance.new("Part") | |
785 | torso5.formFactor = 2 | |
786 | torso5.Size = Vector3.new(2, .4, 1) | |
787 | torso5.BrickColor = BrickColor.new(24) | |
788 | torso5.Name = "PowerSourceFrame3" | |
789 | torso5.Reflectance = 0.5 | |
790 | torso5.TopSurface = 0 | |
791 | torso5.CanCollide = false | |
792 | torso5.Parent = mod | |
793 | torso5.BottomSurface = 0 | |
794 | torsom5 = Instance.new("SpecialMesh") | |
795 | torsom5.MeshType = 1 | |
796 | torsom5.Scale = Vector3.new(0.5, 1.1, 0.9) | |
797 | torsom5.Parent = torso5 | |
798 | torsow5 = Instance.new("Weld") | |
799 | torsow5.Part0 = feezly.Torso | |
800 | torsow5.Part1 = torso5 | |
801 | torsow5.Parent = torso5 | |
802 | torsow5.C0 = CFrame.new(-.5, .7, -.5)*CFrame.fromEulerAnglesXYZ(4.75, -9.99, 0) | |
803 | ||
804 | larm = Instance.new("Part") | |
805 | larm.formFactor = 2 | |
806 | larm.Size = Vector3.new(1, 0.4, 1) | |
807 | larm.BrickColor = BrickColor.new(24) | |
808 | larm.Name = "SuitLeftArm" | |
809 | larm.Reflectance = 0.5 | |
810 | larm.TopSurface = 0 | |
811 | larm.CanCollide = false | |
812 | larm.Parent = mod | |
813 | larm.BottomSurface = 0 | |
814 | larmm = Instance.new("SpecialMesh") | |
815 | larmm.MeshType = 6 | |
816 | larmm.Scale = Vector3.new(1.1, 1.11, 1.1) | |
817 | larmm.Parent = larm | |
818 | larmw = Instance.new("Weld") | |
819 | larmw.Part0 = feezly["Left Arm"] | |
820 | larmw.Part1 = larm | |
821 | larmw.Parent = larm | |
822 | larmw.C0 = CFrame.new(0, -.82, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
823 | ||
824 | larm2 = Instance.new("Part") | |
825 | larm2.formFactor = 2 | |
826 | larm2.Size = Vector3.new(1, 0.4, 1) | |
827 | larm2.BrickColor = BrickColor.new(24) | |
828 | larm2.Name = "SuitLeftArm2" | |
829 | larm2.Reflectance = 0.5 | |
830 | larm2.TopSurface = 0 | |
831 | larm2.CanCollide = false | |
832 | larm2.Parent = mod | |
833 | larm2.BottomSurface = 0 | |
834 | larmm2 = Instance.new("SpecialMesh") | |
835 | larmm2.MeshType = 6 | |
836 | larmm2.Scale = Vector3.new(1.1, .5, 1.1) | |
837 | larmm2.Parent = larm2 | |
838 | larmw2 = Instance.new("Weld") | |
839 | larmw2.Part0 = feezly["Left Arm"] | |
840 | larmw2.Part1 = larm2 | |
841 | larmw2.Parent = larm2 | |
842 | larmw2.C0 = CFrame.new(0, -.5, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
843 | ||
844 | larm3 = Instance.new("Part") | |
845 | larm3.formFactor = 2 | |
846 | larm3.Size = Vector3.new(1, 0.4, 1) | |
847 | larm3.BrickColor = BrickColor.new(24) | |
848 | larm3.Name = "SuitLeftArm3" | |
849 | larm3.Reflectance = 0.5 | |
850 | larm3.TopSurface = 0 | |
851 | larm3.CanCollide = false | |
852 | larm3.Parent = mod | |
853 | larm3.BottomSurface = 0 | |
854 | larmm3 = Instance.new("SpecialMesh") | |
855 | larmm3.MeshType = 6 | |
856 | larmm3.Scale = Vector3.new(1.1, .5, 1.1) | |
857 | larmm3.Parent = larm3 | |
858 | larmw3 = Instance.new("Weld") | |
859 | larmw3.Part0 = feezly["Left Arm"] | |
860 | larmw3.Part1 = larm3 | |
861 | larmw3.Parent = larm3 | |
862 | larmw3.C0 = CFrame.new(0, -.3, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
863 | ||
864 | larm4 = Instance.new("Part") | |
865 | larm4.formFactor = 2 | |
866 | larm4.Size = Vector3.new(1, 1, 1) | |
867 | larm4.BrickColor = BrickColor.new(24) | |
868 | larm4.Name = "SuitLeftArm4" | |
869 | larm4.Reflectance = 0.5 | |
870 | larm4.TopSurface = 0 | |
871 | larm4.CanCollide = false | |
872 | larm4.Parent = mod | |
873 | larm4.BottomSurface = 0 | |
874 | larmm4 = Instance.new("SpecialMesh") | |
875 | larmm4.MeshType = 6 | |
876 | larmm4.Scale = Vector3.new(1.1, 1, 1.1) | |
877 | larmm4.Parent = larm4 | |
878 | larmw4 = Instance.new("Weld") | |
879 | larmw4.Part0 = feezly["Left Arm"] | |
880 | larmw4.Part1 = larm4 | |
881 | larmw4.Parent = larm4 | |
882 | larmw4.C0 = CFrame.new(0, .2, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
883 | ||
884 | larm5 = Instance.new("Part") | |
885 | larm5.formFactor = 2 | |
886 | larm5.Size = Vector3.new(1, 0.4, 1) | |
887 | larm5.BrickColor = BrickColor.new(24) | |
888 | larm5.Name = "SuitLeftArm5" | |
889 | larm5.Reflectance = 0.5 | |
890 | larm5.TopSurface = 0 | |
891 | larm5.CanCollide = false | |
892 | larm5.Parent = mod | |
893 | larm5.BottomSurface = 0 | |
894 | larmm5 = Instance.new("SpecialMesh") | |
895 | larmm5.MeshType = 6 | |
896 | larmm5.Scale = Vector3.new(1.1, 1.09, 1.1) | |
897 | larmm5.Parent = larm5 | |
898 | larmw5 = Instance.new("Weld") | |
899 | larmw5.Part0 = feezly["Left Arm"] | |
900 | larmw5.Part1 = larm5 | |
901 | larmw5.Parent = larm5 | |
902 | larmw5.C0 = CFrame.new(0, .81, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
903 | ||
904 | larm6 = Instance.new("Part") | |
905 | larm6.formFactor = 2 | |
906 | larm6.Size = Vector3.new(1, 0.4, 1) | |
907 | larm6.BrickColor = BrickColor.new(24) | |
908 | larm6.Name = "SuitLeftArm6" | |
909 | larm6.Reflectance = 0.4 | |
910 | larm6.TopSurface = 0 | |
911 | larm6.CanCollide = false | |
912 | larm6.Parent = mod | |
913 | larm6.BottomSurface = 0 | |
914 | larmm6 = Instance.new("SpecialMesh") | |
915 | larmm6.MeshType = 3 | |
916 | larmm6.Scale = Vector3.new(1.1, 1.09, 1.1) | |
917 | larmm6.Parent = larm6 | |
918 | larmw6 = Instance.new("Weld") | |
919 | larmw6.Part0 = feezly["Left Arm"] | |
920 | larmw6.Part1 = larm6 | |
921 | larmw6.Parent = larm6 | |
922 | larmw6.C0 = CFrame.new(0, 1, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
923 | ||
924 | larm7 = Instance.new("Part") | |
925 | larm7.Name = "RightArmPulse" | |
926 | larm7.formFactor = 2 | |
927 | larm7.Size = Vector3.new(1, 0.4, 1) | |
928 | larm7.BrickColor = BrickColor.new(24) | |
929 | larm7.Reflectance = 0.5 | |
930 | larm7.TopSurface = 0 | |
931 | larm7.CanCollide = false | |
932 | larm7.Parent = mod | |
933 | larm7.BottomSurface = 0 | |
934 | larmm7 = Instance.new("SpecialMesh") | |
935 | larmm7.MeshType = 3 | |
936 | larmm7.Scale = Vector3.new(1.1, 1.09, 1.1) | |
937 | larmm7.Parent = larm7 | |
938 | larmw7 = Instance.new("Weld") | |
939 | larmw7.Part0 = feezly["Left Arm"] | |
940 | larmw7.Part1 = larm7 | |
941 | larmw7.Parent = larm7 | |
942 | larmw7.C0 = CFrame.new(0, -1, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
943 | ||
944 | rarm = Instance.new("Part") | |
945 | rarm.formFactor = 2 | |
946 | rarm.Size = Vector3.new(1, 0.4, 1) | |
947 | rarm.BrickColor = BrickColor.new(24) | |
948 | rarm.Name = "SuitRightArm" | |
949 | rarm.Reflectance = 0.5 | |
950 | rarm.TopSurface = 0 | |
951 | rarm.CanCollide = false | |
952 | rarm.Parent = mod | |
953 | rarm.BottomSurface = 0 | |
954 | rarmm = Instance.new("SpecialMesh") | |
955 | rarmm.MeshType = 6 | |
956 | rarmm.Scale = Vector3.new(1.1, 1.11, 1.1) | |
957 | rarmm.Parent = rarm | |
958 | rarmw = Instance.new("Weld") | |
959 | rarmw.Part0 = feezly["Right Arm"] | |
960 | rarmw.Part1 = rarm | |
961 | rarmw.Parent = rarm | |
962 | rarmw.C0 = CFrame.new(0, -.82, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
963 | ||
964 | rarm2 = Instance.new("Part") | |
965 | rarm2.formFactor = 2 | |
966 | rarm2.Size = Vector3.new(1, 0.4, 1) | |
967 | rarm2.BrickColor = BrickColor.new(24) | |
968 | rarm2.Name = "SuitRightArm2" | |
969 | rarm2.Reflectance = 0.5 | |
970 | rarm2.TopSurface = 0 | |
971 | rarm2.CanCollide = false | |
972 | rarm2.Parent = mod | |
973 | rarm2.BottomSurface = 0 | |
974 | rarmm2 = Instance.new("SpecialMesh") | |
975 | rarmm2.MeshType = 6 | |
976 | rarmm2.Scale = Vector3.new(1.1, .5, 1.1) | |
977 | rarmm2.Parent = rarm2 | |
978 | rarmw2 = Instance.new("Weld") | |
979 | rarmw2.Part0 = feezly["Right Arm"] | |
980 | rarmw2.Part1 = rarm2 | |
981 | rarmw2.Parent = rarm | |
982 | rarmw2.C0 = CFrame.new(0, -.5, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
983 | ||
984 | rarm3 = Instance.new("Part") | |
985 | rarm3.formFactor = 2 | |
986 | rarm3.Size = Vector3.new(1, 0.4, 1) | |
987 | rarm3.BrickColor = BrickColor.new(24) | |
988 | rarm3.Name = "SuitRightArm3" | |
989 | rarm3.Reflectance = 0.5 | |
990 | rarm3.TopSurface = 0 | |
991 | rarm3.CanCollide = false | |
992 | rarm3.Parent = mod | |
993 | rarm3.BottomSurface = 0 | |
994 | rarmm3 = Instance.new("SpecialMesh") | |
995 | rarmm3.MeshType = 6 | |
996 | rarmm3.Scale = Vector3.new(1.1, .5, 1.1) | |
997 | rarmm3.Parent = rarm3 | |
998 | rarmw3 = Instance.new("Weld") | |
999 | rarmw3.Part0 = feezly["Right Arm"] | |
1000 | rarmw3.Part1 = rarm3 | |
1001 | rarmw3.Parent = rarm3 | |
1002 | rarmw3.C0 = CFrame.new(0, -.3, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
1003 | ||
1004 | rarm4 = Instance.new("Part") | |
1005 | rarm4.formFactor = 2 | |
1006 | rarm4.Size = Vector3.new(1, 1, 1) | |
1007 | rarm4.BrickColor = BrickColor.new(24) | |
1008 | rarm4.Name = "SuitRightArm4" | |
1009 | rarm4.Reflectance = 0.5 | |
1010 | rarm4.TopSurface = 0 | |
1011 | rarm4.CanCollide = false | |
1012 | rarm4.Parent = mod | |
1013 | rarm4.BottomSurface = 0 | |
1014 | rarmm4 = Instance.new("SpecialMesh") | |
1015 | rarmm4.MeshType = 6 | |
1016 | rarmm4.Scale = Vector3.new(1.1, 1, 1.1) | |
1017 | rarmm4.Parent = rarm4 | |
1018 | rarmw4 = Instance.new("Weld") | |
1019 | rarmw4.Part0 = feezly["Right Arm"] | |
1020 | rarmw4.Part1 = rarm4 | |
1021 | rarmw4.Parent = rarm4 | |
1022 | rarmw4.C0 = CFrame.new(0, .2, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
1023 | ||
1024 | rarm5 = Instance.new("Part") | |
1025 | rarm5.formFactor = 2 | |
1026 | rarm5.Size = Vector3.new(1, 0.4, 1) | |
1027 | rarm5.BrickColor = BrickColor.new(24) | |
1028 | rarm5.Name = "SuitRightArm5" | |
1029 | rarm5.Reflectance = 0.5 | |
1030 | rarm5.TopSurface = 0 | |
1031 | rarm5.CanCollide = false | |
1032 | rarm5.Parent = mod | |
1033 | rarm5.BottomSurface = 0 | |
1034 | rarmm5 = Instance.new("SpecialMesh") | |
1035 | rarmm5.MeshType = 6 | |
1036 | rarmm5.Scale = Vector3.new(1.1, 1.09, 1.1) | |
1037 | rarmm5.Parent = rarm5 | |
1038 | rarmw5 = Instance.new("Weld") | |
1039 | rarmw5.Part0 = feezly["Right Arm"] | |
1040 | rarmw5.Part1 = rarm5 | |
1041 | rarmw5.Parent = rarm5 | |
1042 | rarmw5.C0 = CFrame.new(0, .81, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
1043 | ||
1044 | rarm6 = Instance.new("Part") | |
1045 | rarm6.formFactor = 2 | |
1046 | rarm6.Size = Vector3.new(1, 0.4, 1) | |
1047 | rarm6.BrickColor = BrickColor.new(24) | |
1048 | rarm6.Name = "SuitRightArm6" | |
1049 | rarm6.Reflectance = 0.5 | |
1050 | rarm6.TopSurface = 0 | |
1051 | rarm6.CanCollide = false | |
1052 | rarm6.Parent = mod | |
1053 | rarm6.BottomSurface = 0 | |
1054 | rarmm6 = Instance.new("SpecialMesh") | |
1055 | rarmm6.MeshType = 3 | |
1056 | rarmm6.Scale = Vector3.new(1.1, 1.09, 1.1) | |
1057 | rarmm6.Parent = rarm6 | |
1058 | rarmw6 = Instance.new("Weld") | |
1059 | rarmw6.Part0 = feezly["Right Arm"] | |
1060 | rarmw6.Part1 = rarm6 | |
1061 | rarmw6.Parent = rarm6 | |
1062 | rarmw6.C0 = CFrame.new(0, 1, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
1063 | ||
1064 | rarm7 = Instance.new("Part") | |
1065 | rarm7.Name = "RightArmPulse" | |
1066 | rarm7.formFactor = 2 | |
1067 | rarm7.Size = Vector3.new(1, 0.4, 1) | |
1068 | rarm7.BrickColor = BrickColor.new(24) | |
1069 | rarm7.Reflectance = 0.5 | |
1070 | rarm7.TopSurface = 0 | |
1071 | rarm7.CanCollide = false | |
1072 | rarm7.Parent = mod | |
1073 | rarm7.BottomSurface = 0 | |
1074 | rarmm7 = Instance.new("SpecialMesh") | |
1075 | rarmm7.MeshType = 3 | |
1076 | rarmm7.Scale = Vector3.new(1.1, 1.09, 1.1) | |
1077 | rarmm7.Parent = rarm7 | |
1078 | rarmw7 = Instance.new("Weld") | |
1079 | rarmw7.Part0 = feezly["Right Arm"] | |
1080 | rarmw7.Part1 = rarm7 | |
1081 | rarmw7.Parent = rarm7 | |
1082 | rarmw7.C0 = CFrame.new(0, -1, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
1083 | ||
1084 | lleg = Instance.new("Part") | |
1085 | lleg.formFactor = 2 | |
1086 | lleg.Size = Vector3.new(1, 1, 1) | |
1087 | lleg.BrickColor = BrickColor.new(24) | |
1088 | lleg.Name = "SuitLeftLeg" | |
1089 | lleg.Reflectance = 0.5 | |
1090 | lleg.TopSurface = 0 | |
1091 | lleg.CanCollide = false | |
1092 | lleg.Parent = mod | |
1093 | lleg.BottomSurface = 0 | |
1094 | llegm = Instance.new("SpecialMesh") | |
1095 | llegm.MeshType = 6 | |
1096 | llegm.Scale = Vector3.new(1.1, 1.4, 1.1) | |
1097 | llegm.Parent = lleg | |
1098 | llegw = Instance.new("Weld") | |
1099 | llegw.Part0 = feezly["Left Leg"] | |
1100 | llegw.Part1 = lleg | |
1101 | llegw.Parent = lleg | |
1102 | llegw.C0 = CFrame.new(0, -.55, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
1103 | ||
1104 | lleg2 = Instance.new("Part") | |
1105 | lleg2.formFactor = 2 | |
1106 | lleg2.Size = Vector3.new(1, 1, 1) | |
1107 | lleg2.BrickColor = BrickColor.new(24) | |
1108 | lleg2.Name = "SuitLeftLeg" | |
1109 | lleg2.Reflectance = 0.5 | |
1110 | lleg2.TopSurface = 0 | |
1111 | lleg2.CanCollide = false | |
1112 | lleg2.Parent = mod | |
1113 | lleg2.BottomSurface = 0 | |
1114 | llegm2 = Instance.new("SpecialMesh") | |
1115 | llegm2.MeshType = 6 | |
1116 | llegm2.Scale = Vector3.new(1.1, 0.6, 1.1) | |
1117 | llegm2.Parent = lleg2 | |
1118 | llegw2 = Instance.new("Weld") | |
1119 | llegw2.Part0 = feezly["Left Leg"] | |
1120 | llegw2.Part1 = lleg2 | |
1121 | llegw2.Parent = lleg2 | |
1122 | llegw2.C0 = CFrame.new(0, .25, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
1123 | ||
1124 | lleg3 = Instance.new("Part") | |
1125 | lleg3.formFactor = 2 | |
1126 | lleg3.Size = Vector3.new(1, 1, 1) | |
1127 | lleg3.BrickColor = BrickColor.new(24) | |
1128 | lleg3.Name = "SuitLeftLeg3" | |
1129 | lleg3.Reflectance = 0.5 | |
1130 | lleg3.TopSurface = 0 | |
1131 | lleg3.CanCollide = false | |
1132 | lleg3.Parent = mod | |
1133 | lleg3.BottomSurface = 0 | |
1134 | llegm3 = Instance.new("SpecialMesh") | |
1135 | llegm3.MeshType = 6 | |
1136 | llegm3.Scale = Vector3.new(1.1, 0.65, 1.1) | |
1137 | llegm3.Parent = lleg3 | |
1138 | llegw3 = Instance.new("Weld") | |
1139 | llegw3.Part0 = feezly["Left Leg"] | |
1140 | llegw3.Part1 = lleg3 | |
1141 | llegw3.Parent = lleg3 | |
1142 | llegw3.C0 = CFrame.new(0, .75, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
1143 | ||
1144 | rleg = Instance.new("Part") | |
1145 | rleg.formFactor = 2 | |
1146 | rleg.Size = Vector3.new(1, 1, 1) | |
1147 | rleg.BrickColor = BrickColor.new(24) | |
1148 | rleg.Name = "SuitLeftLeg" | |
1149 | rleg.Reflectance = 0.5 | |
1150 | rleg.TopSurface = 0 | |
1151 | rleg.CanCollide = false | |
1152 | rleg.Parent = mod | |
1153 | rleg.BottomSurface = 0 | |
1154 | rlegm = Instance.new("SpecialMesh") | |
1155 | rlegm.MeshType = 6 | |
1156 | rlegm.Scale = Vector3.new(1.1, 1.4, 1.1) | |
1157 | rlegm.Parent = rleg | |
1158 | rlegw = Instance.new("Weld") | |
1159 | rlegw.Part0 = feezly["Right Leg"] | |
1160 | rlegw.Part1 = rleg | |
1161 | rlegw.Parent = rleg | |
1162 | rlegw.C0 = CFrame.new(0, -.55, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
1163 | ||
1164 | rleg2 = Instance.new("Part") | |
1165 | rleg2.formFactor = 2 | |
1166 | rleg2.Size = Vector3.new(1, 1, 1) | |
1167 | rleg2.BrickColor = BrickColor.new(24) | |
1168 | rleg2.Name = "SuitRightLeg2" | |
1169 | rleg2.Reflectance = 0.5 | |
1170 | rleg2.TopSurface = 0 | |
1171 | rleg2.CanCollide = false | |
1172 | rleg2.Parent = mod | |
1173 | rleg2.BottomSurface = 0 | |
1174 | rlegm2 = Instance.new("SpecialMesh") | |
1175 | rlegm2.MeshType = 6 | |
1176 | rlegm2.Scale = Vector3.new(1.1, 0.6, 1.1) | |
1177 | rlegm2.Parent = rleg2 | |
1178 | rlegw2 = Instance.new("Weld") | |
1179 | rlegw2.Part0 = feezly["Right Leg"] | |
1180 | rlegw2.Part1 = rleg2 | |
1181 | rlegw2.Parent = rleg2 | |
1182 | rlegw2.C0 = CFrame.new(0, .25, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
1183 | ||
1184 | rleg3 = Instance.new("Part") | |
1185 | rleg3.formFactor = 2 | |
1186 | rleg3.Size = Vector3.new(1, 1, 1) | |
1187 | rleg3.BrickColor = BrickColor.new(24) | |
1188 | rleg3.Name = "SuitRightLeg3" | |
1189 | rleg3.Reflectance = 0.5 | |
1190 | rleg3.TopSurface = 0 | |
1191 | rleg3.CanCollide = false | |
1192 | rleg3.Parent = mod | |
1193 | rleg3.BottomSurface = 0 | |
1194 | rlegm3 = Instance.new("SpecialMesh") | |
1195 | rlegm3.MeshType = 6 | |
1196 | rlegm3.Scale = Vector3.new(1.1, 0.65, 1.1) | |
1197 | rlegm3.Parent = rleg3 | |
1198 | rlegw3 = Instance.new("Weld") | |
1199 | rlegw3.Part0 = feezly["Right Leg"] | |
1200 | rlegw3.Part1 = rleg3 | |
1201 | rlegw3.Parent = rleg3 | |
1202 | rlegw3.C0 = CFrame.new(0, .75, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)]] | |
1203 | x = s:clone() | |
1204 | c = d:clone() | |
1205 | x.Parent = h | |
1206 | c.Parent = h | |
1207 | wait(1) | |
1208 | s:remove() | |
1209 | d:remove() | |
1210 | ||
1211 | u = Instance.new("HopperBin") | |
1212 | u.Parent = game.Players.mian1234.Backpack | |
1213 | u.Name = "Arm Cannon" | |
1214 | i = Instance.new("Script") | |
1215 | i.Parent = u | |
1216 | i.Source = [local Selected = false | |
1217 | local Shoot = true | |
1218 | function Click(Target) | |
1219 | if(Target.Target.Parent:findFirstChild("Humanoid")~=nil)then | |
1220 | Target.Target.Parent.Humanoid.Health = 0 | |
1221 | end | |
1222 | local P = Instance.new("Part") | |
1223 | P.Name = "Laser" | |
1224 | local Place0 = script.Parent.Parent.Parent.Character["Left Arm"].CFrame | |
1225 | P.formFactor = 0 | |
1226 | P.Size = Vector3.new(1,1,(Place0.p - Target.Hit.p).magnitude) | |
1227 | P.CFrame = CFrame.new((Place0.p + Target.Hit.p)/2,Place0.p) | |
1228 | P.Parent = game.Workspace | |
1229 | P.Color = Color3.new(0,1,0) | |
1230 | P.Transparency = 0.5 | |
1231 | P.Reflectance = 0.5 | |
1232 | P.Anchored = true | |
1233 | P.CanCollide = false | |
1234 | local E = Instance.new("Explosion") | |
1235 | E.Position = Target.Hit.p | |
1236 | E.Parent = game.Workspace | |
1237 | for i = 1,10 do | |
1238 | P.Transparency = 0.5+(i*0.05) | |
1239 | P.Reflectance = i*0.05 | |
1240 | wait(0.1) | |
1241 | end | |
1242 | P:Remove() | |
1243 | end | |
1244 | function Select(Mouse) | |
1245 | local Arm = script.Parent.Parent.Parent.Character:findFirstChild("Left Arm") | |
1246 | if(Arm==nil)then | |
1247 | script.Parent:Remove() | |
1248 | script:Remove() | |
1249 | end | |
1250 | Selected = true | |
1251 | local Torso = script.Parent.Parent.Parent.Character:findFirstChild("Torso") | |
1252 | if(Torso==nil)then | |
1253 | script.Parent:Remove() | |
1254 | script:Remove() | |
1255 | end | |
1256 | local ArmWeld = Torso:findFirstChild("Left Shoulder") | |
1257 | if(ArmWeld~=nil)then | |
1258 | ArmWeld.Parent = nil | |
1259 | end | |
1260 | Mouse.Button1Down:connect(function()Click(Mouse)end) | |
1261 | Arm.Anchored = true | |
1262 | while Selected do | |
1263 | local Place0 = script.Parent.Parent.Parent.Character.Torso.CFrame | |
1264 | Place0 = Place0 + ((Place0 * CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)).lookVector * 0.5) + (Place0 * CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)).lookVector | |
1265 | local Place1 = Place0 + ((Place0.p-Mouse.Hit.p).unit * -2) | |
1266 | Arm.CFrame = CFrame.new((Place0.p + Place1.p)/2,Place0.p) * CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0) | |
1267 | wait() | |
1268 | end | |
1269 | Arm.Anchored = false | |
1270 | if(ArmWeld~=nil)then | |
1271 | ArmWeld.Parent = Torso | |
1272 | end | |
1273 | end | |
1274 | function Deselect() | |
1275 | Selected = false | |
1276 | end | |
1277 | script.Parent.Selected:connect(Select) | |
1278 | script.Parent.Deselected:connect(Deselect)]] | |
1279 | ||
1280 | hop = Instance.new("HopperBin") | |
1281 | hop.Name = "Jets" | |
1282 | ||
1283 | scr = Instance.new("Script") | |
1284 | scr.Parent = hop | |
1285 | scr.Name = "FlyScript" | |
1286 | scr.Source = [ | |
1287 | local hold = false | |
1288 | local u = 40 | |
1289 | local add = 5 | |
1290 | local mode = "Off" | |
1291 | ||
1292 | function onSelected(mouse) | |
1293 | hint = Instance.new("Hint") | |
1294 | hint.Parent = script.Parent.Parent.Parent | |
1295 | hint.Name = "Modes" | |
1296 | hint.Text = "User: "..script.Parent.Parent.Parent.Name.."|Speed: "..u.."|AddValue: "..add.."|Hover: "..mode | |
1297 | mouse.Button1Down:connect(function() onButton1Down(mouse) end) | |
1298 | mouse.Button1Up:connect(function() onButton1Up(mouse) end) | |
1299 | mouse.KeyDown:connect(onKeyDown) | |
1300 | mouse.Icon = "rbxasset://textures\\GunCursor.png" | |
1301 | end | |
1302 | script.Parent.Selected:connect(onSelected) | |
1303 | ||
1304 | function onDeselected(mouse) | |
1305 | wait() | |
1306 | script.Parent.Parent.Parent:findFirstChild("Modes"):remove() | |
1307 | end | |
1308 | script.Parent.Deselected:connect(onDeselected) | |
1309 | ||
1310 | function onButton1Down(mouse) | |
1311 | hold = true | |
1312 | ||
1313 | p = Instance.new("Part") | |
1314 | p.Parent = script.Parent.Parent.Parent.Character | |
1315 | p.Locked = true | |
1316 | p.TopSurface = 0 | |
1317 | p.BottomSurface = 0 | |
1318 | p.CanCollide = false | |
1319 | p.Transparency = 1 | |
1320 | p.formFactor = 0 | |
1321 | p.Size = Vector3.new(3,1,3) | |
1322 | ||
1323 | w = Instance.new("Weld") | |
1324 | w.Parent = script.Parent.Parent.Parent.Character.Torso | |
1325 | w.Name = "Board" | |
1326 | w.Part0 = w.Parent | |
1327 | w.Part1 = p | |
1328 | w.C0 = CFrame.new(0,0,-1) * CFrame.fromEulerAnglesXYZ(math.pi / 2,0,0) | |
1329 | ||
1330 | bg = Instance.new("BodyGyro") | |
1331 | bg.Parent = p | |
1332 | bg.maxTorque = Vector3.new(999999999999,99999999999999999,0) | |
1333 | ||
1334 | bv = Instance.new("BodyVelocity") | |
1335 | bv.Parent = p | |
1336 | bv.maxForce = Vector3.new(4e+020, 4e+020, 4e+020) | |
1337 | ||
1338 | bf = Instance.new("BodyForce") | |
1339 | bf.Parent = p | |
1340 | bf.force = Vector3.new(0, 196 * p:GetMass(), 0) | |
1341 | ||
1342 | script.Parent.Parent.Parent.Character.Torso.Neck.C0 = CFrame.new(0,1.5,0) * CFrame.fromEulerAnglesXYZ(math.pi,math.pi,0) | |
1343 | ||
1344 | while hold == true do | |
1345 | wait() | |
1346 | script.Parent.Parent.Parent.Character.Humanoid.Sit = true | |
1347 | bv.velocity = mouse.Hit.lookVector * u | |
1348 | bg.cframe = CFrame.new(bg.Parent.Position, mouse.Hit.p) | |
1349 | a = script.Parent.Parent.Parent.Character.Torso | |
1350 | a["Left Hip"].DesiredAngle = 0 | |
1351 | a["Right Hip"].DesiredAngle = 0 | |
1352 | a["Right Shoulder"].DesiredAngle = 3.1 | |
1353 | a["Left Shoulder"].DesiredAngle = 3.1 | |
1354 | end | |
1355 | end | |
1356 | ||
1357 | function onKeyDown(key) | |
1358 | ||
1359 | if (key:lower() == "v") then | |
1360 | wait() | |
1361 | u = u + 1 | |
1362 | hint.Text = "User: "..script.Parent.Parent.Parent.Name.."|Speed: "..u.."|AddValue: "..add.."|Hover: "..mode | |
1363 | end | |
1364 | ||
1365 | if (key:lower() == "x") then | |
1366 | wait() | |
1367 | u = u - 1 | |
1368 | hint.Text = "User: "..script.Parent.Parent.Parent.Name.."|Speed: "..u.."|AddValue: "..add.."|Hover: "..mode | |
1369 | end | |
1370 | ||
1371 | if (key:lower() == "z") then | |
1372 | wait() | |
1373 | u = u - add | |
1374 | hint.Text = "User: "..script.Parent.Parent.Parent.Name.."|Speed: "..u.."|AddValue: "..add.."|Hover: "..mode | |
1375 | end | |
1376 | ||
1377 | if (key:lower() == "b") then | |
1378 | wait() | |
1379 | u = u + add | |
1380 | hint.Text = "User: "..script.Parent.Parent.Parent.Name.."|Speed: "..u.."|AddValue: "..add.."|Hover: "..mode | |
1381 | end | |
1382 | ||
1383 | if (key:lower() == "[") then | |
1384 | wait() | |
1385 | add = add - 1 | |
1386 | hint.Text = "User: "..script.Parent.Parent.Parent.Name.."|Speed: "..u.."|AddValue: "..add.."|Hover: "..mode | |
1387 | end | |
1388 | ||
1389 | if (key:lower() == "]") then | |
1390 | wait() | |
1391 | add = add + 1 | |
1392 | hint.Text = "User: "..script.Parent.Parent.Parent.Name.."|Speed: "..u.."|AddValue: "..add.."|Hover: "..mode | |
1393 | end | |
1394 | ||
1395 | if (key:lower() == "p") then | |
1396 | wait() | |
1397 | add = 5 | |
1398 | hint.Text = "User: "..script.Parent.Parent.Parent.Name.."|Speed: "..u.."|AddValue: "..add.."|Hover: "..mode | |
1399 | end | |
1400 | ||
1401 | if (key:lower() == "c") then | |
1402 | wait() | |
1403 | u = 40 | |
1404 | hint.Text = "User: "..script.Parent.Parent.Parent.Name.."|Speed: "..u.."|AddValue: "..add.."|Hover: "..mode | |
1405 | end | |
1406 | ||
1407 | if (key:lower() == "n") then | |
1408 | wait() | |
1409 | script.Parent.Parent.Parent.Character.Torso.Anchored = true | |
1410 | mode = "On" | |
1411 | hint.Text = "User: "..script.Parent.Parent.Parent.Name.."|Speed: "..u.."|AddValue: "..add.."|Hover: "..mode | |
1412 | end | |
1413 | ||
1414 | if (key:lower() == "m") then | |
1415 | wait() | |
1416 | script.Parent.Parent.Parent.Character.Torso.Anchored = false | |
1417 | mode = "Off" | |
1418 | hint.Text = "User: "..script.Parent.Parent.Parent.Name.."|Speed: "..u.."|AddValue: "..add.."|Hover: "..mode | |
1419 | end | |
1420 | end | |
1421 | ||
1422 | function onButton1Up(mouse) | |
1423 | hold = false | |
1424 | ||
1425 | script.Parent.Parent.Parent.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.fromEulerAnglesXYZ(math.pi / 2,math.pi,0) | |
1426 | ||
1427 | for i = 1, 2 do | |
1428 | script.Parent.Parent.Parent.Character.Humanoid.Jump = true | |
1429 | script.Parent.Parent.Parent.Character.Humanoid.Sit = false | |
1430 | wait() | |
1431 | end | |
1432 | ||
1433 | a = script.Parent.Parent.Parent.Character.Part:findFirstChild("BodyVelocity") | |
1434 | if a ~= nil then | |
1435 | a:remove() | |
1436 | end | |
1437 | ||
1438 | b = script.Parent.Parent.Parent.Character.Part:findFirstChild("BodyGyro") | |
1439 | if b ~= nil then | |
1440 | b:remove() | |
1441 | end | |
1442 | ||
1443 | wait(3) | |
1444 | ||
1445 | c = script.Parent.Parent.Parent.Character.Part:findFirstChild("BodyForce") | |
1446 | if c ~= nil then | |
1447 | c:remove() | |
1448 | end | |
1449 | script.Parent.Parent.Parent.Character.Part:remove() | |
1450 | end | |
1451 | ]] | |
1452 | hop.Parent = game.Players.mian1234.Backpack | |
1453 | ||
1454 | ||
1455 | Entity = Instance.new("HopperBin") | |
1456 | Entity.Name = "Entity" | |
1457 | Entity.Parent = game.Players.mian1234.Backpack | |
1458 | ||
1459 | Key = Instance.new("Script") | |
1460 | Click = Instance.new("Script") | |
1461 | ||
1462 | Key.Parent = Entity | |
1463 | Click.Parent = Entity | |
1464 | ||
1465 | Key.Source = [ | |
1466 | bin = script.Parent | |
1467 | Sparkles = Instance.new("Sparkles") | |
1468 | Sparkles.Parent = nil | |
1469 | Shield = Instance.new("ForceField") | |
1470 | Shield.Parent = nil | |
1471 | ||
1472 | ||
1473 | Low_Speed = 16 | |
1474 | Med_Speed = 50 | |
1475 | Hi_Speed = 200 | |
1476 | ||
1477 | ||
1478 | function onKeyDown(key) | |
1479 | if bin.Parent.Parent.Name == "mian1234" then | |
1480 | if string.lower(key) == "q" then | |
1481 | print("Worked!") | |
1482 | c = workspace:getChildren() | |
1483 | for i = 1, #c do | |
1484 | if c[i].Classname == "Message" or c[i].Classname == "Hint" then | |
1485 | wait(1) | |
1486 | c[i]:remove() | |
1487 | end | |
1488 | end | |
1489 | end | |
1490 | ||
1491 | if string.lower(key) == "e" then | |
1492 | print("Worked!") | |
1493 | end | |
1494 | ||
1495 | if string.lower(key) == "r" then | |
1496 | print("Worked!") | |
1497 | ||
1498 | end | |
1499 | ||
1500 | if string.lower(key) == "t" then | |
1501 | print("Worked!") | |
1502 | workspace.mian1234.Humanoid.WalkSpeed = Low_Speed | |
1503 | end | |
1504 | ||
1505 | if string.lower(key) == "y" then | |
1506 | print("Worked!") | |
1507 | workspace.mian1234.Humanoid.WalkSpeed = Med_Speed | |
1508 | end | |
1509 | ||
1510 | if string.lower(key) == "u" then | |
1511 | print("Worked!") | |
1512 | workspace.mian1234.Humanoid.WalkSpeed = Hi_Speed | |
1513 | end | |
1514 | ||
1515 | if string.lower(key) == "p" then | |
1516 | print("Worked!") | |
1517 | ||
1518 | end | |
1519 | ||
1520 | if string.lower(key) == "[" then | |
1521 | print("Worked!") | |
1522 | ||
1523 | end | |
1524 | ||
1525 | if string.lower(key) == "]" then | |
1526 | print("Worked!") | |
1527 | ||
1528 | end | |
1529 | ||
1530 | if string.lower(key) == "f" then | |
1531 | print("Worked!") | |
1532 | sparks = Instance.new("Sparkles") | |
1533 | c = game.Workspace.mian1234:getChildren() | |
1534 | for i = 1, #c do | |
1535 | sparks:Clone().Parent = c[i] | |
1536 | c[i].Sparkles.Color = Color3.new(math.random (0, 0), math.random (0, 1), math.random (1, 1)) | |
1537 | wait(0.2) | |
1538 | end | |
1539 | end | |
1540 | ||
1541 | if string.lower(key) == "g" then | |
1542 | script.Parent.Parent.Parent.Character.Name = "Clockwork" | |
1543 | end | |
1544 | ||
1545 | if string.lower(key) == "h" then | |
1546 | print("Worked!") | |
1547 | script.Parent.Parent.Parent.Character.Parent:BreakJoints() | |
1548 | end | |
1549 | ||
1550 | if string.lower(key) == "j" then | |
1551 | print("Worked!") | |
1552 | workspace.PrimaryPart:remove() | |
1553 | end | |
1554 | ||
1555 | if string.lower(key) == "k" then | |
1556 | print("Worked!") | |
1557 | sparks = Instance.new("Sparkles") | |
1558 | sparks.Color = Color3.new(math.random (0, 1), math.random (0, 1), math.random (0, 1)) | |
1559 | c = game.Workspace.mian1234:getChildren() | |
1560 | for i = 1, #c do | |
1561 | sparks:Clone().Parent = c[i] | |
1562 | c[i].Sparkles.Color = Color3.new(math.random (0, 1), math.random (0, 1), math.random (0, 1)) | |
1563 | wait(0.2) | |
1564 | end | |
1565 | end | |
1566 | ||
1567 | if string.lower(key) == "l" then | |
1568 | print("Worked!") | |
1569 | c = game.Workspace.mian1234:getChildren() | |
1570 | for i = 1, #c do | |
1571 | c[i].Sparkles:remove() | |
1572 | end | |
1573 | end | |
1574 | ||
1575 | if string.lower(key) == ";" then | |
1576 | print("Worked!") | |
1577 | ||
1578 | end | |
1579 | ||
1580 | if string.lower(key) == "'" then | |
1581 | print("Worked!") | |
1582 | ||
1583 | end | |
1584 | ||
1585 | if string.lower(key) == "z" then | |
1586 | print("Worked!") | |
1587 | Shield.Parent = nil | |
1588 | end | |
1589 | ||
1590 | if string.lower(key) == "x" then | |
1591 | print("Worked!") | |
1592 | Shield.Parent = workspace.Seelkadoomhedgehog | |
1593 | end | |
1594 | ||
1595 | if string.lower(key) == "c" then | |
1596 | print("Worked!") | |
1597 | game.Players.Seelkadoomhedgehog.Character:BreakJoints() | |
1598 | end | |
1599 | ||
1600 | if string.lower(key) == "v" then | |
1601 | print("Worked!") | |
1602 | game.Players.PETY039:remove() | |
1603 | end | |
1604 | ||
1605 | if string.lower(key) == "b" then | |
1606 | workspace.Seelkadoomhedgehog.Torso.CFrame = CFrame.new(0,5,0) | |
1607 | end | |
1608 | ||
1609 | if string.lower(key) == "n" then | |
1610 | print("Worked!") | |
1611 | Sparkles.Parent = nil | |
1612 | end | |
1613 | ||
1614 | if string.lower(key) == "m" then | |
1615 | print("Worked!") | |
1616 | Sparkles.Parent = workspace.Seelkadoomhedgehog.Torso | |
1617 | end | |
1618 | ||
1619 | end | |
1620 | end | |
1621 | ||
1622 | function onSelected(mouse) | |
1623 | mouse.Icon = "rbxasset://textures\\ArrowCursor.png" | |
1624 | mouse.KeyDown:connect(onKeyDown) | |
1625 | end | |
1626 | ||
1627 | script.Parent.Selected:connect(onSelected) | |
1628 | ||
1629 | ]] | |
1630 | ||
1631 | Click.Source = [ | |
1632 | bin = script.Parent | |
1633 | till = 1 | |
1634 | ||
1635 | function onButton1Down(mouse) | |
1636 | if bin.Parent.Parent.Name == "Seelkadoomhedgehog" then | |
1637 | local hit = mouse.Target | |
1638 | Hum = hit.Parent:findFirstChild("Humanoid") | |
1639 | if Hum then | |
1640 | Hum.Parent:BreakJoints() | |
1641 | end | |
1642 | end | |
1643 | end | |
1644 | ||
1645 | ||
1646 | ||
1647 | function onSelected(mouse) | |
1648 | print("Action Tool Selected") mouse.Icon = "www.roblox.com/asset/?id=3984274" | |
1649 | mouse.Button1Down:connect(function() onButton1Down(mouse) end) | |
1650 | end | |
1651 | ||
1652 | bin.Selected:connect(onSelected) | |
1653 | ||
1654 | ]] | |
1655 | ||
1656 | ||
1657 | Photon = Instance.new("HopperBin") | |
1658 | Photon.Name = "Photon" | |
1659 | Photon.Parent = game.Players.Seelkadoomhedgehog.Backpack | |
1660 | ||
1661 | Click = Instance.new("Script") | |
1662 | ||
1663 | Click.Parent = Photon | |
1664 | ||
1665 | Click.Source = [ | |
1666 | Brick = Instance.new("Part") | |
1667 | Brick.Name = "Photon" | |
1668 | Brick.Anchored = true | |
1669 | Brick.Shape = 0 | |
1670 | Brick.Reflectance = 0.1 | |
1671 | Brick.Transparency = 0.5 | |
1672 | Brick.BrickColor = BrickColor.new(1) | |
1673 | Sparkles = Instance.new("Sparkles") | |
1674 | Sparkles.Color = Color3.new(0, 1, 1) | |
1675 | Spark = Sparkles:Clone() | |
1676 | bin = script.Parent | |
1677 | till = 1 | |
1678 | ||
1679 | function onButton1Down(mouse) | |
1680 | local hit = mouse.Target | |
1681 | if bin.Parent.Parent.Name == "SirBillyBob" then | |
1682 | Hum = hit.Parent:findFirstChild("Humanoid") | |
1683 | if Hum then | |
1684 | Hum.Parent.Torso.Anchored = true | |
1685 | Brick.Parent = Hum.Parent | |
1686 | Brick.CFrame = Hum.Parent.Torso.CFrame | |
1687 | ||
1688 | local w3 = Instance.new("Weld") | |
1689 | w3.Parent = Brick | |
1690 | w3.Part0 = Hum.Parent.Torso | |
1691 | w3.Part1 = Brick | |
1692 | w3.C1 = CFrame.new(0, 0.1, 0) | |
1693 | ||
1694 | Spark:Clone().Parent = Hum.Parent["Torso"] | |
1695 | Spark:Clone().Parent = Hum.Parent["Head"] | |
1696 | Spark:Clone().Parent = Hum.Parent["Left Arm"] | |
1697 | Spark:Clone().Parent = Hum.Parent["Right Arm"] | |
1698 | Spark:Clone().Parent = Hum.Parent["Left Leg"] | |
1699 | Spark:Clone().Parent = Hum.Parent["Right Leg"] | |
1700 | ||
1701 | Brick.Reflectance = 0.2 | |
1702 | wait(0.1) | |
1703 | Brick.Reflectance = 0.3 | |
1704 | wait(0.1) | |
1705 | Brick.Reflectance = 0.4 | |
1706 | wait(0.1) | |
1707 | Brick.Reflectance = 0.5 | |
1708 | wait(0.1) | |
1709 | Brick.Reflectance = 0.6 | |
1710 | wait(0.1) | |
1711 | Brick.Reflectance = 0.7 | |
1712 | wait(0.1) | |
1713 | Brick.Reflectance = 0.8 | |
1714 | wait(0.1) | |
1715 | Brick.Reflectance = 0.9 | |
1716 | wait(0.1) | |
1717 | Brick.Reflectance = 1 | |
1718 | wait(1) | |
1719 | boom = Instance.new("Explosion") | |
1720 | boom.Parent = Hum.Parent | |
1721 | boom.Position = Hum.Parent.Torso.Position | |
1722 | Brick:remove() | |
1723 | Hum.Parent:BreakJoints() | |
1724 | end | |
1725 | end | |
1726 | end | |
1727 | ||
1728 | ||
1729 | ||
1730 | function onSelected(mouse) | |
1731 | print("Action Tool Selected") | |
1732 | --mouse.Icon = "www.roblox.com/asset/?id=3984274" | |
1733 | mouse.Button1Down:connect(function() onButton1Down(mouse) end) | |
1734 | end | |
1735 | ||
1736 | bin.Selected:connect(onSelected) | |
1737 | ||
1738 | ]] | |
1739 | ||
1740 | backpack = game.Players.Seelkadoomhedgehog.Backpack | |
1741 | ||
1742 | ||
1743 | me = game.Players.Seelkadoomhedgehog | |
1744 | ||
1745 | _G["Hopper"] = Instance.new("HopperBin") | |
1746 | _G["Hopper"].Name = "Ice" | |
1747 | _G["Hopper"].Parent = me["Backpack"] | |
1748 | ||
1749 | _G["Script1"] = Instance.new("Script") | |
1750 | _G["Script1"].Name = "IceOrb" | |
1751 | _G["Script1"].Disabled = true | |
1752 | _G["Script1"].Source = [wait() Look = script.Parent.CFrame.lookVector | |
1753 | ||
1754 | s = script.onContact:clone() | |
1755 | s.Parent = script.Parent | |
1756 | s.PlayOnRemove = true | |
1757 | s:Stop() | |
1758 | ||
1759 | function freeze(player) | |
1760 | ||
1761 | s = player:FindFirstChild("Freeze") | |
1762 | ||
1763 | if s==nil then | |
1764 | ||
1765 | s = script.Freeze:clone() | |
1766 | s.Disabled = false | |
1767 | s.Parent = player | |
1768 | ||
1769 | end | |
1770 | ||
1771 | end | |
1772 | ||
1773 | function checkForHumans() | |
1774 | ||
1775 | p = game.Workspace:GetChildren() | |
1776 | ||
1777 | for i=1, #p do | |
1778 | ||
1779 | if p[i].className == "Model" then | |
1780 | ||
1781 | h = p[i]:FindFirstChild("Humanoid") | |
1782 | t = p[i]:FindFirstChild("Torso") | |
1783 | ||
1784 | if h~=nil and t~=nil then - must have a torso and a humanoid | |
1785 | ||
1786 | if h.Health~=0 then | |
1787 | ||
1788 | if (t.Position-script.Parent.Position).magnitude < 20 then | |
1789 | ||
1790 | freeze(p[i]) | |
1791 | ||
1792 | end | |
1793 | ||
1794 | end | |
1795 | ||
1796 | end | |
1797 | ||
1798 | end | |
1799 | ||
1800 | end | |
1801 | ||
1802 | end | |
1803 | ||
1804 | ||
1805 | ||
1806 | function onRemoved() | |
1807 | ||
1808 | for i=1, 10 do | |
1809 | ||
1810 | p = Instance.new("Part") | |
1811 | p.CanCollide = false | |
1812 | p.formFactor = 2 | |
1813 | p.TopSurface = 0 | |
1814 | p.BottomSurface = 0 | |
1815 | p.Size = Vector3.new(1,.4,1) | |
1816 | p.Transparency = script.Parent.Transparency | |
1817 | p.Name = "Light" | |
1818 | p.BrickColor = script.Parent.BrickColor | |
1819 | p.CFrame = CFrame.new(script.Parent.Position+Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1)),script.Parent.Position+Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))) | |
1820 | p.Parent = game.Workspace | |
1821 | p.RotVelocity = Vector3.new(math.random(-3,3),math.random(-3,3),math.random(-3,3)) | |
1822 | ||
1823 | f = Instance.new("BodyVelocity") | |
1824 | f.velocity = (p.Position-script.Parent.Position).unit*15 | |
1825 | f.Parent = p | |
1826 | ||
1827 | game:GetService("Debris"):AddItem(p,2) | |
1828 | ||
1829 | end | |
1830 | ||
1831 | end | |
1832 | ||
1833 | function Damage(hit) | |
1834 | ||
1835 | h = hit.Parent:FindFirstChild("Humanoid") | |
1836 | ||
1837 | if h~=nil then | |
1838 | ||
1839 | h:TakeDamage(4/script.Parent.Transparency) | |
1840 | ||
1841 | end | |
1842 | ||
1843 | onRemoved() | |
1844 | checkForHumans() | |
1845 | script.Parent:Remove() | |
1846 | ||
1847 | end | |
1848 | ||
1849 | script.Parent.Touched:connect(Damage) | |
1850 | ||
1851 | while script.Parent.Transparency<.9 do | |
1852 | ||
1853 | script.Parent.Velocity = Look*120 | |
1854 | script.Parent.Transparency = script.Parent.Transparency+.05 | |
1855 | ||
1856 | wait() | |
1857 | ||
1858 | end | |
1859 | ||
1860 | onRemoved() | |
1861 | checkForHumans() | |
1862 | script.Parent:Remove()]] | |
1863 | ||
1864 | _G["Script1"].Parent = _G["Hopper"] | |
1865 | ||
1866 | _G["Script2"] = Instance.new("Script") | |
1867 | _G["Script2"].Name = "Freeze" | |
1868 | _G["Script2"].Disabled = false | |
1869 | _G["Script2"].Source = [h = script.Parent.Humanoid | |
1870 | Torso = script.Parent.Torso | |
1871 | ||
1872 | h.WalkSpeed = 0 | |
1873 | Torso.Anchored = true | |
1874 | ||
1875 | h:TakeDamage(math.random(10,30)) | |
1876 | ||
1877 | p = Instance.new("Part") | |
1878 | p.Name = "Ice" | |
1879 | p.TopSurface = 0 | |
1880 | p.BottomSurface = 0 | |
1881 | p.Transparency = .3 | |
1882 | p.Reflectance = .3 | |
1883 | p.Anchored = true | |
1884 | p.Size = Vector3.new(5,6,5) | |
1885 | p.CFrame = Torso.CFrame | |
1886 | p.Parent = script.Parent | |
1887 | ||
1888 | wait() | |
1889 | ||
1890 | for i=1, 4 do | |
1891 | ||
1892 | p.Reflectance = p.Reflectance+.1 | |
1893 | ||
1894 | wait(.1) | |
1895 | ||
1896 | end | |
1897 | ||
1898 | for i=1, 4 do | |
1899 | ||
1900 | p.Reflectance = p.Reflectance-.1 | |
1901 | ||
1902 | wait(.1) | |
1903 | ||
1904 | end | |
1905 | ||
1906 | wait(3) | |
1907 | ||
1908 | p.Parent = nil | |
1909 | h.WalkSpeed = 16 | |
1910 | Torso.Anchored = false | |
1911 | ||
1912 | wait(.3) | |
1913 | ||
1914 | script.Parent = nil]] | |
1915 | ||
1916 | _G["Script2"].Disabled = true | |
1917 | ||
1918 | _G["Script2"].Parent = _G["Script1"] | |
1919 | ||
1920 | _G["Sound1"] = Instance.new("Sound") | |
1921 | _G["Sound1"].Volume = 1 | |
1922 | _G["Sound1"].SoundId = "www.roblox.com/asset/?id=2767090" | |
1923 | _G["Sound1"].Name = "Fire" | |
1924 | _G["Sound1"].Parent = _G["Hopper"] | |
1925 | ||
1926 | _G["Sound2"] = Instance.new("Sound") | |
1927 | _G["Sound2"].Volume = 1 | |
1928 | _G["Sound2"].SoundId = "www.roblox.com/asset/?id=3264793" | |
1929 | _G["Sound2"].Name = "onContact" | |
1930 | _G["Sound2"].Parent = _G["Script1"] | |
1931 | ||
1932 | _G["Main"] = Instance.new("Script") | |
1933 | _G["Main"].Name = "coreScript" | |
1934 | _G["Main"].Source = [function Fire(mouse) | |
1935 | ||
1936 | CPlayer = player.Character | |
1937 | TorsoPos = CPlayer.Torso.CFrame.p | |
1938 | Look = (mouse.Hit.p-TorsoPos).unit | |
1939 | ||
1940 | s = script.Parent.Fire:clone() | |
1941 | s.Parent = CPlayer.Torso | |
1942 | s:Play() | |
1943 | ||
1944 | game:GetService("Debris"):AddItem(s,1) | |
1945 | ||
1946 | p = Instance.new("Part") | |
1947 | p.formFactor = "Symmetric" | |
1948 | p.BrickColor = BrickColor.new("Red") | |
1949 | p.Size = Vector3.new(1,1,1) | |
1950 | p.BottomSurface = 0 | |
1951 | p.TopSurface = 0 | |
1952 | p.CanCollide = false | |
1953 | p.Transparency = .1 | |
1954 | p.CFrame = CFrame.new(TorsoPos+Look*5,mouse.Hit.p) | |
1955 | p.Parent = game.Workspace | |
1956 | ||
1957 | r = Instance.new("BodyAngularVelocity") | |
1958 | r.maxTorque = Vector3.new(99999,99999,99999)*99999 | |
1959 | r.P = r.P*2 | |
1960 | r.angularvelocity = Vector3.new(math.random(-2,2),math.random(-2,2),math.random(-2,2)) | |
1961 | r.Parent = p | |
1962 | ||
1963 | s = script.Parent.IceOrb:clone() | |
1964 | s.Disabled = false | |
1965 | s.Parent = p | |
1966 | ||
1967 | end | |
1968 | ||
1969 | function Active(mouse) | |
1970 | ||
1971 | player = game.Players.ic3w0lf589 | |
1972 | ||
1973 | if player==nil then return end | |
1974 | ||
1975 | mouse.Button1Down:connect(function() Fire(mouse) end) | |
1976 | ||
1977 | end | |
1978 | ||
1979 | script.Parent.Selected:connect(Active)]] | |
1980 | ||
1981 | _G["Main"].Parent = _G["Hopper"] | |
1982 | ||
1983 | print("Ice spell by martijn777 loaded") |