Advertisement
Hebablazin

Pet Dragon

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