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