SHOW:
|
|
- or go back to the newest paste.
1 | - | --MADE BY OneLegend (NOT THE SCRIPT) Thanks to TheRedAngel for letting me add. Feel free to take his model too. http://www.roblox.com/TheRedAngels-SB-Gift-NEW-SCRIPTS-item?id=88063410 |
1 | + | |
2 | - | --REGULAR SCRIPT: Go to line 4 and put your name where it says "YOUR NAME HERE" |
2 | + | user = "SmokeDelsin" |
3 | ||
4 | - | user = "InsidiousT" |
4 | + | |
5 | secondcolor = "Bright red" -- this is the color of the details | |
6 | ||
7 | m = Instance.new("Model") | |
8 | m.Parent = game.Players[user].Character | |
9 | m.Name = "Dragon -- Neeps Soul/Gaurdian" | |
10 | ||
11 | script.Parent = m | |
12 | script.Name = user .. "'s Pet Dragon" | |
13 | FloatingOnUser = true | |
14 | Carrying = false | |
15 | ||
16 | torso = game.Players[user].Character:findFirstChild("Torso") | |
17 | they = 0 | |
18 | ||
19 | he = Instance.new("Part") | |
20 | he.Parent = m | |
21 | he.Name = "Head" | |
22 | he.formFactor = ("Symmetric") | |
23 | he.Size = Vector3.new(2,2,2) | |
24 | he.BrickColor = BrickColor.new(maincolor) | |
25 | he.Anchored = false | |
26 | he.CanCollide = false | |
27 | he.Locked = true | |
28 | he.TopSurface = ("Smooth") | |
29 | he.BottomSurface = ("Smooth") | |
30 | he.Position = torso.Position | |
31 | hem = Instance.new("SpecialMesh") | |
32 | hem.Parent = he | |
33 | hem.MeshType = ("Brick") | |
34 | hem.Scale = Vector3.new(1.4,1,2) | |
35 | ||
36 | tor = Instance.new("Part") | |
37 | tor.Parent = m | |
38 | tor.Name = "Torso" | |
39 | tor.formFactor = ("Symmetric") | |
40 | tor.Size = Vector3.new(2,2,2) | |
41 | tor.BrickColor = BrickColor.new(maincolor) | |
42 | tor.Anchored = false | |
43 | tor.CanCollide = false | |
44 | tor.Locked = true | |
45 | tor.TopSurface = ("Smooth") | |
46 | tor.BottomSurface = ("Smooth") | |
47 | tor.Position = torso.Position | |
48 | torm = Instance.new("SpecialMesh") | |
49 | torm.Parent = tor | |
50 | torm.MeshType = ("Brick") | |
51 | torm.Scale = Vector3.new(2,1.2,4.5) | |
52 | ||
53 | w = Instance.new("Motor") | |
54 | w.Parent = tor | |
55 | w.Name = "MainWeld" | |
56 | w.Part0 = tor | |
57 | w.Part1 = he | |
58 | w.C0 = CFrame.new(0,1,-4.5) | |
59 | ||
60 | m:MakeJoints() | |
61 | ||
62 | function Del(E, T) | |
63 | wait(T) | |
64 | E:remove() | |
65 | end | |
66 | hu = Instance.new("Humanoid") | |
67 | hu.Parent = m | |
68 | hu.Name = "Humanoid" | |
69 | hu.PlatformStand = true | |
70 | hu.MaxHealth = MathHuge | |
71 | coroutine.resume(coroutine.create(Del), hin, 8) | |
72 | floaty = Instance.new("BodyPosition") | |
73 | floaty.Parent = tor | |
74 | floaty.Name = "FloatyPosition" | |
75 | floaty.maxForce = Vector3.new(0,math.huge,0) | |
76 | floaty.position = torso.Position + Vector3.new(0,6,0) | |
77 | stablizer = Instance.new("BodyGyro") | |
78 | stablizer.Parent = tor | |
79 | stablizer.cframe = torso.CFrame | |
80 | stablizer.D = 100 | |
81 | ||
82 | ||
83 | -----[[Other Parts]]-------------------------------------------------- | |
84 | ||
85 | --[[Eyez]]---------------------- | |
86 | eye1 = Instance.new("Part") | |
87 | eye1.Parent = m | |
88 | eye1.Name = "Right Eye" | |
89 | eye1.formFactor = ("Symmetric") | |
90 | eye1.Size = Vector3.new(1,1,1) | |
91 | eye1.BrickColor = BrickColor.new(secondcolor) | |
92 | eye1.Anchored = false | |
93 | eye1.CanCollide = false | |
94 | eye1.Locked = true | |
95 | eye1.TopSurface = ("Smooth") | |
96 | eye1.BottomSurface = ("Smooth") | |
97 | eye1.Position = torso.Position | |
98 | eye1.Reflectance = 0.15 | |
99 | eye1m = Instance.new("BlockMesh") | |
100 | eye1m.Parent = eye1 | |
101 | eye1m.Scale = Vector3.new(0.7,0.3,0.5) | |
102 | eye1w = Instance.new("Motor") | |
103 | eye1w.Parent = he | |
104 | eye1w.Name = "Eye1Weld" | |
105 | eye1w.Part0 = he | |
106 | eye1w.Part1 = eye1 | |
107 | eye1w.C0 = CFrame.new(0.6,0.3,-1.8) * CFrame.Angles(0,0,0.4) | |
108 | ||
109 | eye2 = Instance.new("Part") | |
110 | eye2.Parent = m | |
111 | eye2.Name = "Left Eye" | |
112 | eye2.formFactor = ("Symmetric") | |
113 | eye2.Size = Vector3.new(1,1,1) | |
114 | eye2.BrickColor = BrickColor.new(secondcolor) | |
115 | eye2.Anchored = false | |
116 | eye2.CanCollide = false | |
117 | eye2.Locked = true | |
118 | eye2.TopSurface = ("Smooth") | |
119 | eye2.BottomSurface = ("Smooth") | |
120 | eye2.Position = torso.Position | |
121 | eye2.Reflectance = 0.15 | |
122 | eye2m = Instance.new("BlockMesh") | |
123 | eye2m.Parent = eye2 | |
124 | eye2m.Scale = Vector3.new(0.7,0.3,0.5) | |
125 | eye2w = Instance.new("Motor") | |
126 | eye2w.Parent = he | |
127 | eye2w.Name = "Eye2Weld" | |
128 | eye2w.Part0 = he | |
129 | eye2w.Part1 = eye2 | |
130 | eye2w.C0 = CFrame.new(-0.6,0.3,-1.8) * CFrame.Angles(0,0,-0.4) | |
131 | -------------- | |
132 | ||
133 | ----[[Head Spike]]---------------- | |
134 | spike = Instance.new("Part") | |
135 | spike.Parent = m | |
136 | spike.Name = "Head Spike" | |
137 | spike.formFactor = ("Symmetric") | |
138 | spike.Size = Vector3.new(1,1,1) | |
139 | spike.BrickColor = BrickColor.new(secondcolor) | |
140 | spike.Anchored = false | |
141 | spike.CanCollide = false | |
142 | spike.Locked = true | |
143 | spike.TopSurface = ("Smooth") | |
144 | spike.BottomSurface = ("Smooth") | |
145 | spike.Position = torso.Position | |
146 | spike.Reflectance = 0.15 | |
147 | spikem = Instance.new("SpecialMesh") | |
148 | spikem.Parent = spike | |
149 | spikem.MeshType = ("Wedge") | |
150 | spikem.Scale = Vector3.new(0.3,0.5,2) | |
151 | spikew = Instance.new("Motor") | |
152 | spikew.Parent = he | |
153 | spikew.Name = "HeadSpikeWeld" | |
154 | spikew.Part0 = he | |
155 | spikew.Part1 = spike | |
156 | spikew.C0 = CFrame.new(0,1.25,0) * CFrame.Angles(0,0,0) | |
157 | ------------- | |
158 | ||
159 | ||
160 | ----[[Torso Line]]---------------------------------- | |
161 | line = Instance.new("Part") | |
162 | line.Parent = m | |
163 | line.Name = "Torso Line" | |
164 | line.formFactor = ("Symmetric") | |
165 | line.Size = Vector3.new(1,1,1) | |
166 | line.BrickColor = BrickColor.new(secondcolor) | |
167 | line.Anchored = false | |
168 | line.CanCollide = false | |
169 | line.Locked = true | |
170 | line.TopSurface = ("Smooth") | |
171 | line.BottomSurface = ("Smooth") | |
172 | line.Position = torso.Position | |
173 | line.Reflectance = 0.15 | |
174 | linem = Instance.new("SpecialMesh") | |
175 | linem.Parent = line | |
176 | linem.MeshType = ("Head") | |
177 | linem.Scale = Vector3.new(1.2,7.42,1.2) | |
178 | linew = Instance.new("Motor") | |
179 | linew.Parent = tor | |
180 | linew.Name = "TorsoLineWeld" | |
181 | linew.Part0 = tor | |
182 | linew.Part1 = line | |
183 | linew.C0 = CFrame.new(0,0.635,0.8) * CFrame.Angles(math.pi/2,0,0) | |
184 | ----------------- | |
185 | ||
186 | --[[Right Wing]]------------------- | |
187 | posx = 0 | |
188 | posy = 0 | |
189 | posz = 0 | |
190 | scalex = 0 | |
191 | scalez = 0 | |
192 | wm = Instance.new("Model") | |
193 | wm.Parent = m | |
194 | wm.Name = "Right Wing" | |
195 | for i = 1, 6 do | |
196 | wing = Instance.new("Part") | |
197 | wing.Parent = wm | |
198 | if i == 1 then | |
199 | wing.Name = "WingMain" | |
200 | else | |
201 | wing.Name = "WingPart" | |
202 | end | |
203 | wing.formFactor = ("Symmetric") | |
204 | wing.Size = Vector3.new(1,1,1) | |
205 | wing.BrickColor = BrickColor.new(maincolor) | |
206 | wing.Anchored = false | |
207 | wing.CanCollide = false | |
208 | wing.Locked = true | |
209 | wing.TopSurface = ("Smooth") | |
210 | wing.BottomSurface = ("Smooth") | |
211 | wing.Position = torso.Position | |
212 | wingm = Instance.new("SpecialMesh") | |
213 | wingm.Parent = wing | |
214 | wingm.MeshType = ("Brick") | |
215 | wingm.Scale = Vector3.new(2+scalex,1.2,3.5+scalez) | |
216 | if i == 1 then | |
217 | wingw = Instance.new("Motor") | |
218 | wingw.Parent = tor | |
219 | wingw.Name = "RightWingWeld" | |
220 | wingw.MaxVelocity = 0.02 | |
221 | wingw.Part0 = tor | |
222 | wingw.Part1 = wing | |
223 | wingw.C0 = CFrame.new(2.2,0.2,-1) * CFrame.Angles(0,0,0.4) | |
224 | else | |
225 | wingw = Instance.new("Motor") | |
226 | wingw.Parent = wm:findFirstChild("WingMain") | |
227 | wingw.Name = "WingWeld" | |
228 | wingw.Part0 = wingw.Parent | |
229 | wingw.Part1 = wing | |
230 | wingw.C0 = CFrame.new(posx,posy,posz) | |
231 | end | |
232 | if i == 6 then | |
233 | wspike = Instance.new("Part") | |
234 | wspike.Parent = wm | |
235 | wspike.Name = "RightWingSpike" | |
236 | wspike.formFactor = ("Symmetric") | |
237 | wspike.Size = Vector3.new(1,1,1) | |
238 | wspike.BrickColor = BrickColor.new(maincolor) | |
239 | wspike.Anchored = false | |
240 | wspike.CanCollide = false | |
241 | wspike.Locked = true | |
242 | wspike.TopSurface = ("Smooth") | |
243 | wspike.BottomSurface = ("Smooth") | |
244 | wspike.Position = torso.Position | |
245 | wspike.Reflectance = 0 | |
246 | wspikem = Instance.new("SpecialMesh") | |
247 | wspikem.Parent = wspike | |
248 | wspikem.MeshType = ("Wedge") | |
249 | wspikem.Scale = Vector3.new(0.7+scalex,0.8,1.2) | |
250 | wspikew = Instance.new("Motor") | |
251 | wspikew.Parent = wing | |
252 | wspikew.Name = "WingSpikeWeld" | |
253 | wspikew.Part0 = wing | |
254 | wspikew.Part1 = wspike | |
255 | wspikew.C0 = CFrame.new(0,0,wingm.Scale.z/1.7) * CFrame.Angles(0,math.pi,0) | |
256 | end | |
257 | posz = posz + i/3 | |
258 | if i ~= 5 then | |
259 | posx = posx + 0.8 | |
260 | else | |
261 | posx = posx + 0.5 | |
262 | end | |
263 | scalex = scalex - 0.25 | |
264 | if i ~= 5 then | |
265 | scalez = scalez + 0.4 | |
266 | else | |
267 | scalez = scalez + 1.2 | |
268 | end | |
269 | end | |
270 | ------------- | |
271 | ||
272 | ||
273 | --[[Left Wing]]------------------- | |
274 | posx = 0 | |
275 | posy = 0 | |
276 | posz = 0 | |
277 | scalex = 0 | |
278 | scalez = 0 | |
279 | wm2 = Instance.new("Model") | |
280 | wm2.Parent = m | |
281 | wm2.Name = "Left Wing" | |
282 | for i = 1, 6 do | |
283 | wing = Instance.new("Part") | |
284 | wing.Parent = wm2 | |
285 | if i == 1 then | |
286 | wing.Name = "WingMain" | |
287 | else | |
288 | wing.Name = "WingPart" | |
289 | end | |
290 | wing.formFactor = ("Symmetric") | |
291 | wing.Size = Vector3.new(1,1,1) | |
292 | wing.BrickColor = BrickColor.new(maincolor) | |
293 | wing.Anchored = false | |
294 | wing.CanCollide = false | |
295 | wing.Locked = true | |
296 | wing.TopSurface = ("Smooth") | |
297 | wing.BottomSurface = ("Smooth") | |
298 | wing.Position = torso.Position | |
299 | wingm = Instance.new("SpecialMesh") | |
300 | wingm.Parent = wing | |
301 | wingm.MeshType = ("Brick") | |
302 | wingm.Scale = Vector3.new(2+scalex,1.2,3.5+scalez) | |
303 | if i == 1 then | |
304 | wingw = Instance.new("Motor") | |
305 | wingw.Parent = tor | |
306 | wingw.Name = "LeftWingWeld" | |
307 | wingw.MaxVelocity = 0.02 | |
308 | wingw.Part0 = tor | |
309 | wingw.Part1 = wing | |
310 | wingw.C0 = CFrame.new(-2.2,0.2,-1) * CFrame.Angles(0,0,-0.4) | |
311 | else | |
312 | wingw = Instance.new("Motor") | |
313 | wingw.Parent = wm2:findFirstChild("WingMain") | |
314 | wingw.Name = "WingWeld" | |
315 | wingw.Part0 = wingw.Parent | |
316 | wingw.Part1 = wing | |
317 | wingw.C0 = CFrame.new(posx,posy,posz) | |
318 | end | |
319 | if i == 6 then | |
320 | wspike = Instance.new("Part") | |
321 | wspike.Parent = wm2 | |
322 | wspike.Name = "LeftWingSpike" | |
323 | wspike.formFactor = ("Symmetric") | |
324 | wspike.Size = Vector3.new(1,1,1) | |
325 | wspike.BrickColor = BrickColor.new(maincolor) | |
326 | wspike.Anchored = false | |
327 | wspike.CanCollide = false | |
328 | wspike.Locked = true | |
329 | wspike.TopSurface = ("Smooth") | |
330 | wspike.BottomSurface = ("Smooth") | |
331 | wspike.Position = torso.Position | |
332 | wspike.Reflectance = 0 | |
333 | wspikem = Instance.new("SpecialMesh") | |
334 | wspikem.Parent = wspike | |
335 | wspikem.MeshType = ("Wedge") | |
336 | wspikem.Scale = Vector3.new(0.7+scalex,0.8,1.2) | |
337 | wspikew = Instance.new("Motor") | |
338 | wspikew.Parent = wing | |
339 | wspikew.Name = "WingSpikeWeld" | |
340 | wspikew.Part0 = wing | |
341 | wspikew.Part1 = wspike | |
342 | wspikew.C0 = CFrame.new(0,0,wingm.Scale.z/1.7) * CFrame.Angles(0,math.pi,0) | |
343 | end | |
344 | posz = posz + i/3 | |
345 | if i ~= 5 then | |
346 | posx = posx - 0.8 | |
347 | else | |
348 | posx = posx - 0.5 | |
349 | end | |
350 | scalex = scalex - 0.25 | |
351 | if i ~= 5 then | |
352 | scalez = scalez + 0.4 | |
353 | else | |
354 | scalez = scalez + 1.2 | |
355 | end | |
356 | end | |
357 | ----------------- | |
358 | ||
359 | ||
360 | --[[Tail]]-------------------------------- | |
361 | posx = 0 | |
362 | posy = 0 | |
363 | posz = 0 | |
364 | scalex = 0 | |
365 | scalez = 0 | |
366 | anglezor = 0 | |
367 | tm = Instance.new("Model") | |
368 | tm.Parent = m | |
369 | tm.Name = "Tail" | |
370 | for i = 1, 6 do | |
371 | tail = Instance.new("Part") | |
372 | tail.Parent = tm | |
373 | if i == 1 then | |
374 | tail.Name = "TailMain" | |
375 | else | |
376 | tail.Name = "TailPart" | |
377 | end | |
378 | tail.formFactor = ("Symmetric") | |
379 | tail.Size = Vector3.new(1,1,1) | |
380 | tail.BrickColor = BrickColor.new(maincolor) | |
381 | tail.Anchored = false | |
382 | tail.CanCollide = false | |
383 | tail.Locked = true | |
384 | tail.TopSurface = ("Smooth") | |
385 | tail.BottomSurface = ("Smooth") | |
386 | tail.Position = torso.Position | |
387 | tailm = Instance.new("SpecialMesh") | |
388 | tailm.Parent = tail | |
389 | tailm.MeshType = ("Brick") | |
390 | tailm.Scale = Vector3.new(2.2+scalex,1.2,1.7+scalez) | |
391 | if i == 1 then | |
392 | tailw = Instance.new("Motor") | |
393 | tailw.Parent = tor | |
394 | tailw.Name = "TailWeld" | |
395 | tailw.MaxVelocity = 0.01 | |
396 | tailw.Part0 = tor | |
397 | tailw.Part1 = tail | |
398 | tailw.C0 = CFrame.new(0,0.3,5) * CFrame.Angles(-0.3,0,0) | |
399 | else | |
400 | tailw = Instance.new("Motor") | |
401 | tailw.Parent = tm:findFirstChild("TailMain") | |
402 | tailw.Name = "TailWeld" | |
403 | tailw.Part0 = tailw.Parent | |
404 | tailw.Part1 = tail | |
405 | tailw.C0 = CFrame.new(posx,posy,posz) * CFrame.Angles(-anglezor,0,0) | |
406 | end | |
407 | if i == 6 then | |
408 | tspike = Instance.new("Part") | |
409 | tspike.Parent = tm | |
410 | tspike.Name = "TailSpike" | |
411 | tspike.formFactor = ("Symmetric") | |
412 | tspike.Size = Vector3.new(1,1,1) | |
413 | tspike.BrickColor = BrickColor.new(maincolor) | |
414 | tspike.Anchored = false | |
415 | tspike.CanCollide = false | |
416 | tspike.Locked = true | |
417 | tspike.TopSurface = ("Smooth") | |
418 | tspike.BottomSurface = ("Smooth") | |
419 | tspike.Position = torso.Position | |
420 | tspike.Reflectance = 0 | |
421 | tspikem = Instance.new("SpecialMesh") | |
422 | tspikem.Parent = tspike | |
423 | tspikem.MeshType = ("Wedge") | |
424 | tspikem.Scale = Vector3.new(2+scalex,1,1.5+scalez) | |
425 | tspikew = Instance.new("Motor") | |
426 | tspikew.Parent = tail | |
427 | tspikew.Name = "TailSpikeWeld" | |
428 | tspikew.Part0 = tail | |
429 | tspikew.Part1 = tspike | |
430 | tspikew.C0 = CFrame.new(0,0,tailm.Scale.z/1.2) * CFrame.Angles(0,math.pi,0) | |
431 | end | |
432 | if i < 3 then | |
433 | posy = posy + 0.13 | |
434 | posz = posz + 1 | |
435 | elseif i > 6 then | |
436 | posy = posy + 0.1 | |
437 | posz = posz + 1 | |
438 | else | |
439 | posy = posy + 0.4 | |
440 | posz = posz + 0.8 | |
441 | end | |
442 | anglezor = anglezor + 0.12 | |
443 | end | |
444 | ||
445 | rightwing = tor:findFirstChild("RightWingWeld") | |
446 | leftwing = tor:findFirstChild("LeftWingWeld") | |
447 | tail = tor:findFirstChild("TailWeld") | |
448 | ||
449 | m:MakeJoints() | |
450 | ||
451 | vip = game.Players[user] | |
452 | ||
453 | function Chat(msg) | |
454 | if string.sub(msg, 1, 8) == "Dragon, " then | |
455 | ||
456 | if string.find(msg, "remove") then | |
457 | if string.find(msg, "your") then | |
458 | if string.find(msg, "self") then | |
459 | if torso:findFirstChild("Floaty") ~= nil then | |
460 | torso.Floaty:remove() | |
461 | end | |
462 | m:remove() | |
463 | end | |
464 | end | |
465 | end | |
466 | ||
467 | if string.find(msg, "kill") then | |
468 | c = game.Players:GetChildren() | |
469 | for blawg = 1, #c do | |
470 | if string.find(msg, c[blawg].Name) then | |
471 | c[blawg].Character:BreakJoints() | |
472 | else | |
473 | wait() | |
474 | end | |
475 | end | |
476 | end | |
477 | ||
478 | if string.find(msg, "grip staff") then | |
479 | a = game:GetService("InsertService"):LoadAsset(33495147) | |
480 | a.Parent = game.Workspace | |
481 | a:MoveTo(game.Workspace[vip.Name].Torso.Position) | |
482 | end | |
483 | ||
484 | if string.find(msg, "insert") then | |
485 | g = game:GetService("InsertService"):LoadAsset(23391377) | |
486 | g.Parent = game.Workspace | |
487 | g:MoveTo(game.Workspace[vip.Name].Torso.Position) | |
488 | end | |
489 | ||
490 | if string.find(msg, "carry") then | |
491 | if tor:findFirstChild("Floaty") ~= nil then | |
492 | wait() | |
493 | else | |
494 | FloatingOnUser = false | |
495 | Carrying = true | |
496 | floaty2 = floaty:Clone() | |
497 | floaty2.Parent = torso | |
498 | floaty2.Name = "Floaty" | |
499 | torso.CFrame = torso.CFrame + Vector3.new(0,7,0) | |
500 | while Carrying == true do | |
501 | leftwing.DesiredAngle = 0.9 | |
502 | rightwing.DesiredAngle = -0.9 | |
503 | for i = 1, 22 do | |
504 | if Carrying == true then | |
505 | floaty2.position = torso.Position + Vector3.new(0,1.4,0) | |
506 | tor.CFrame = torso.CFrame + Vector3.new(0,-3,0) | |
507 | floaty.position = torso.Position + Vector3.new(0,-3,0) | |
508 | wait(0.05) | |
509 | end | |
510 | end | |
511 | leftwing.DesiredAngle = -0.3 | |
512 | rightwing.DesiredAngle = 0.3 | |
513 | for iii = 1, 22 do | |
514 | if Carrying == true then | |
515 | floaty2.position = torso.Position + Vector3.new(0,-1.4,0) | |
516 | tor.CFrame = torso.CFrame + Vector3.new(0,-5,0) | |
517 | floaty.position = torso.Position + Vector3.new(0,-5,0) | |
518 | wait(0.05) | |
519 | end | |
520 | end | |
521 | end | |
522 | end | |
523 | end | |
524 | ||
525 | if string.find(msg, "drop") then | |
526 | if torso:findFirstChild("Floaty") ~= nil then | |
527 | torso:findFirstChild("Floaty"):remove() | |
528 | Carrying = false | |
529 | FloatingOnUser = true | |
530 | torso.CFrame = torso.CFrame - Vector3.new(0,5,0) | |
531 | while FloatingOnUser == true do | |
532 | leftwing.DesiredAngle = 0.9 | |
533 | rightwing.DesiredAngle = -0.9 | |
534 | for i = 1, 22 do | |
535 | if FloatingOnUser == true then | |
536 | tor.CFrame = torso.CFrame + Vector3.new(0,6+they,0) | |
537 | floaty.position = torso.Position + Vector3.new(0,6+they,0) | |
538 | they = they + 0.1 | |
539 | wait(0.05) | |
540 | end | |
541 | end | |
542 | leftwing.DesiredAngle = -0.3 | |
543 | rightwing.DesiredAngle = 0.3 | |
544 | for iii = 1, 22 do | |
545 | if FloatingOnUser == true then | |
546 | tor.CFrame = torso.CFrame + Vector3.new(0,6+they,0) | |
547 | floaty.position = torso.Position + Vector3.new(0,6+they,0) | |
548 | they = they - 0.1 | |
549 | wait(0.05) | |
550 | end | |
551 | end | |
552 | end | |
553 | end | |
554 | end | |
555 | ||
556 | if string.find(msg, "stabilize") then | |
557 | floaty.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
558 | wait(1.2) | |
559 | floaty.maxForce = Vector3.new(0,math.huge,0) | |
560 | end | |
561 | ||
562 | if string.find(msg, "tornado") then | |
563 | local NowPos = Vector3.new(0,0,0) | |
564 | local M = Instance.new("Model") | |
565 | local hight = 10 | |
566 | local bricksincolom = 3 | |
567 | local randomnes = 5 | |
568 | M.Parent = game.Workspace | |
569 | M.Name = "Tornado" | |
570 | function touch(hit,block) | |
571 | if hit:FindFirstChild("BodyPosition") then return end | |
572 | hit:BreakJoints() | |
573 | bp = Instance.new("BodyPosition") | |
574 | bp.Parent = hit | |
575 | pow = hit:GetMass()*999 | |
576 | bp.maxForce = Vector3.new(pow,pow,pow) | |
577 | while true do | |
578 | bp.position = block.Position | |
579 | wait(0.1) | |
580 | end | |
581 | end | |
582 | for i = 1,hight do | |
583 | for x = 1,bricksincolom do | |
584 | p = Instance.new("Part") | |
585 | p.Parent = M | |
586 | p.Size = Vector3.new(10,10,10) | |
587 | p.CanCollide = false | |
588 | p.Transparency = 0.4 | |
589 | p.Name = i | |
590 | p.BrickColor = BrickColor.new("White") | |
591 | p.TopSurface = "Smooth" | |
592 | p.BottomSurface = "Smooth" | |
593 | bp = Instance.new("BodyPosition") | |
594 | bp.Parent = p | |
595 | pow = p:GetMass()*999 | |
596 | bp.maxForce = Vector3.new(pow,pow,pow) | |
597 | p.Touched:connect(function(hit) touch(hit,p) end) | |
598 | end | |
599 | end | |
600 | coroutine.resume(coroutine.create(function() | |
601 | while true do | |
602 | NowPos = NowPos+Vector3.new(math.random(-randomnes,randomnes),0,math.random(-randomnes,randomnes)) | |
603 | for i,v in pairs(M:GetChildren()) do | |
604 | v:BreakJoints() | |
605 | n = tonumber(v.Name)*randomnes | |
606 | v.BodyPosition.position = NowPos+Vector3.new(math.random(-n,n),tonumber(v.Name)*v.Size.y,math.random(-n,n)) | |
607 | wait(0.1) | |
608 | end | |
609 | wait(0.1) | |
610 | end | |
611 | end)) | |
612 | end | |
613 | end | |
614 | end | |
615 | vip.Chatted:connect(Chat) | |
616 | ||
617 | while FloatingOnUser == true do | |
618 | leftwing.DesiredAngle = 0.9 | |
619 | rightwing.DesiredAngle = -0.9 | |
620 | for i = 1, 22 do | |
621 | if FloatingOnUser == true then | |
622 | tor.CFrame = torso.CFrame + Vector3.new(0,6+they,0) | |
623 | floaty.position = torso.Position + Vector3.new(0,6+they,0) | |
624 | they = they + 0.1 | |
625 | wait(0.05) | |
626 | end | |
627 | end | |
628 | leftwing.DesiredAngle = -0.3 | |
629 | rightwing.DesiredAngle = 0.3 | |
630 | for iii = 1, 22 do | |
631 | if FloatingOnUser == true then | |
632 | tor.CFrame = torso.CFrame + Vector3.new(0,6+they,0) | |
633 | floaty.position = torso.Position + Vector3.new(0,6+they,0) | |
634 | they = they - 0.1 | |
635 | wait(0.05) | |
636 | end | |
637 | end | |
638 | end |