Advertisement
5325325325

Untitled

Oct 11th, 2018
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.17 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = owner
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local h,t
  75. --Give the server mouse data 30 times every second, but only if the values changed
  76. --If player is not moving their mouse, client won't fire events
  77. while wait(1/30) do
  78. if h~=Mouse.Hit or t~=Mouse.Target then
  79. h,t=Mouse.Hit,Mouse.Target
  80. Event:FireServer({isMouse=true,Target=t,Hit=h})
  81. end
  82. end]==],Player.Character)
  83. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  84. end
  85.  
  86. type = 3
  87. --mediafire gtfo password
  88. e1 = true
  89. e2 = true
  90. e3 = true
  91. e6 = true
  92. e7 = true
  93. user = "Dark_Eccentric"
  94.  
  95. sg = Instance.new("ScreenGui")
  96. sg.Parent = game.Players[user].PlayerGui
  97. --[[button1 = Instance.new("TextButton") --Retired power.
  98. button1.Parent = sg
  99. button1.Text = "Dark Matter"
  100. button1.Position = UDim2.new(0,0,0.1,0)
  101. button1.Size = UDim2.new(0.1,0,0.1,0)
  102. button1.MouseButton1Click:connect(function()
  103. type = 1
  104. end)--]]
  105.  
  106. --[[button2 = Instance.new("TextButton") --Retired power.
  107. button2.Parent = sg
  108. button2.Text = "Ball of Fire"
  109. button2.Position = UDim2.new(0,0,0.2,0)
  110. button2.Size = UDim2.new(0.1,0,0.1,0)
  111. button2.MouseButton1Click:connect(function()
  112. type = 2
  113. end)--]]
  114.  
  115. button3 = Instance.new("TextButton")
  116. button3.Parent = sg
  117. button3.Text = "Poision Duck"
  118. button3.Position = UDim2.new(0,0,0.3,0)
  119. button3.Size = UDim2.new(0.1,0,0.1,0)
  120. button3.MouseButton1Click:connect(function()
  121. type = 3
  122. end)
  123.  
  124. button4 = Instance.new("TextButton")
  125. button4.Parent = sg
  126. button4.Text = "Dark Matter Duck"
  127. button4.Position = UDim2.new(0,0,0.4,0)
  128. button4.Size = UDim2.new(0.1,0,0.1,0)
  129. button4.MouseButton1Click:connect(function()
  130. type = 4
  131. end)
  132.  
  133. button5 = Instance.new("TextButton")
  134. button5.Parent = sg
  135. button5.Text = "Healing Duck"
  136. button5.Position = UDim2.new(0,0,0.5,0)
  137. button5.Size = UDim2.new(0.1,0,0.1,0)
  138. button5.MouseButton1Click:connect(function()
  139. type = 5
  140. end)
  141.  
  142. button6 = Instance.new("TextButton")
  143. button6.Parent = sg
  144. button6.Text = "Growing Evil Duck"
  145. button6.Position = UDim2.new(0,0,0.6,0)
  146. button6.Size = UDim2.new(0.1,0,0.1,0)
  147. button6.MouseButton1Click:connect(function()
  148. type = 6
  149. end)
  150.  
  151. button7 = Instance.new("TextButton")
  152. button7.Parent = sg
  153. button7.Text = "BOOM BOOM Duck"
  154. button7.Position = UDim2.new(0,0,0.7,0)
  155. button7.Size = UDim2.new(0.1,0,0.1,0)
  156. button7.MouseButton1Click:connect(function()
  157. type = 7
  158. end)
  159.  
  160. button8 = Instance.new("TextButton")
  161. button8.Parent = sg
  162. button8.Text = "Duck of Frozen Souls"
  163. button8.Position = UDim2.new(0,0,0.1,0)
  164. button8.Size = UDim2.new(0.1,0,0.1,0)
  165. button8.MouseButton1Click:connect(function()
  166. type = 8
  167. end)
  168.  
  169. button9 = Instance.new("TextButton")
  170. button9.Parent = sg
  171. button9.Text = "Rock Duck"
  172. button9.Position = UDim2.new(0,0,0.2,0)
  173. button9.Size = UDim2.new(0.1,0,0.1,0)
  174. button9.MouseButton1Click:connect(function()
  175. type = 9
  176. end)
  177.  
  178. tool = Instance.new("Tool")
  179. tool.Parent = game.Players[user].Backpack
  180. tool.Name = "Staff of Ducks"
  181. main = Instance.new("Part")
  182. main.Parent = tool
  183. main.Name = "Handle"
  184. main.BrickColor = BrickColor.new("Really black")
  185. main.Size = Vector3.new(1,5,1)
  186. main.formFactor = "Symmetric"
  187. main.TopSurface = "Smooth"
  188. main.BottomSurface = "Smooth"
  189. --ff = Instance.new("ForceField")
  190. --ff.Parent = main
  191. c = Instance.new("CylinderMesh")
  192. c.Parent = main
  193. c.Scale = Vector3.new(0.5,1,0.5)
  194. fdu = Instance.new("Part")
  195. fdu.Parent = tool
  196. fdu.CFrame = main.CFrame + main.CFrame.lookVector*5
  197. fdu.Size = Vector3.new(1,1,1)
  198. fdu.formFactor = "Symmetric"
  199. fdu.Transparency = 0.5
  200. fdu.BrickColor = BrickColor.new("Really red")
  201. fduck = Instance.new("SpecialMesh")
  202. fduck.Parent = fdu
  203. fduck.MeshType = "FileMesh"
  204. fduck.MeshId = "http://www.roblox.com/asset/?id=9419831"
  205. fduck.Scale = Vector3.new(1,1,1)
  206.  
  207. c1 = Instance.new("Part")
  208. c1.Parent = tool
  209. c1.Name = "Circle1"
  210. c1.BrickColor = BrickColor.new("Toothpaste")
  211. c1.Size = Vector3.new(1,1,1)
  212. c1.formFactor = "Plate"
  213. c1.TopSurface = "Smooth"
  214. c1.BottomSurface = "Smooth"
  215. c1.Reflectance = 0.3
  216. c = Instance.new("CylinderMesh")
  217. c.Parent = c1
  218. c.Scale = Vector3.new(0.6,1,0.6)
  219.  
  220.  
  221. c2 = Instance.new("Part")
  222. c2.Parent = tool
  223. c2.Name = "Circle1"
  224. c2.BrickColor = BrickColor.new("Toothpaste")
  225. c2.Size = Vector3.new(1,1,1)
  226. c2.formFactor = "Plate"
  227. c2.TopSurface = "Smooth"
  228. c2.BottomSurface = "Smooth"
  229. c2.Reflectance = 0.3
  230. c = Instance.new("CylinderMesh")
  231. c.Parent = c2
  232. c.Scale = Vector3.new(0.6,1,0.6)
  233.  
  234. c3 = Instance.new("Part")
  235. c3.Parent = tool
  236. c3.Name = "Circle1"
  237. c3.BrickColor = BrickColor.new("Toothpaste")
  238. c3.Size = Vector3.new(1,1,1)
  239. c3.formFactor = "Plate"
  240. c3.TopSurface = "Smooth"
  241. c3.BottomSurface = "Smooth"
  242. c3.Reflectance = 0.3
  243. c = Instance.new("CylinderMesh")
  244. c.Parent = c3
  245. c.Scale = Vector3.new(0.6,1,0.6)
  246.  
  247. c4 = Instance.new("Part")
  248. c4.Parent = tool
  249. c4.Name = "Circle1"
  250. c4.BrickColor = BrickColor.new("Toothpaste")
  251. c4.Size = Vector3.new(1,1,1)
  252. c4.formFactor = "Plate"
  253. c4.TopSurface = "Smooth"
  254. c4.BottomSurface = "Smooth"
  255. c4.Reflectance = 0.3
  256. c = Instance.new("CylinderMesh")
  257. c.Parent = c4
  258. c.Scale = Vector3.new(0.6,1,0.6)
  259.  
  260. c5 = Instance.new("Part")
  261. c5.Parent = tool
  262. c5.Name = "Circle1"
  263. c5.BrickColor = BrickColor.new("Really red")
  264. c5.Size = Vector3.new(1,1,1)
  265. c5.formFactor = "Symmetric"
  266. c5.TopSurface = "Smooth"
  267. c5.Transparency = 0.5
  268. c5.BottomSurface = "Smooth"
  269. c = Instance.new("SpecialMesh")
  270. c.Parent = c5
  271. c.MeshType = "Sphere"
  272. c.Scale = Vector3.new(0.6,0.6,0.6)
  273.  
  274. tool.Activated:connect(function()
  275. if type == 1 then
  276. if e1 == true then
  277. e1 = false
  278. for i = 1,20 do
  279. p = Instance.new("Part")
  280. p.Shape = "Ball"
  281. p.Transparency = 0.4
  282. p.BrickColor = BrickColor.new("Really black")
  283. p.Parent = workspace[user]
  284. p.CFrame = main.CFrame + main.CFrame.lookVector*5
  285. p.Size = Vector3.new(3,3,3)
  286. p.CanCollide = false
  287. p.TopSurface = "Smooth"
  288. p.BottomSurface = "Smooth"
  289. s = Instance.new("BodyForce")
  290. s.Parent = p
  291. s.force = workspace[user].Torso.CFrame.lookVector * 1000000
  292. p.Touched:connect(function(hit)
  293. if hit.Parent ~= workspace[user] then
  294. if hit.Parent.Humanoid then
  295. p:Remove()
  296. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 25
  297. end
  298. end
  299. end)
  300. wait(0.1)
  301. end
  302. e1 = true
  303. else return
  304. end
  305.  
  306. elseif type == 2 then
  307. if e2 == true then
  308. e2 = false
  309. ball = Instance.new("Part")
  310. ball.CanCollide = false
  311. ball.Parent = workspace[user]
  312. ball.CFrame = workspace[user].Torso.CFrame + workspace[user].Torso.CFrame.lookVector*10
  313. ball.Size = Vector3.new(1,1,1)
  314. ball.Anchored = true
  315. ball.Shape = "Ball"
  316. ball.formFactor = "Symmetric"
  317. ball.BrickColor = BrickColor.new("Really red")
  318. ball.TopSurface = "Smooth"
  319. ball.BottomSurface = "Smooth"
  320. fire = Instance.new("Fire")
  321. fire.Parent = ball
  322. for i = 1,5 do
  323. ball.Size = ball.Size + Vector3.new(1,1,1)
  324. wait(0.2)
  325. end
  326. ball.Anchored = false
  327. s = Instance.new("BodyForce")
  328. s.Parent = ball
  329. s.force = workspace[user].Torso.CFrame.lookVector * 180000
  330. for i = 1,20 do
  331. ex = Instance.new("Explosion")
  332. ex.Parent = workspace
  333. ex.Position = ball.Position
  334. ex.BlastPressure = 100
  335. ex.BlastRadius = 4.5
  336. wait(0.03)
  337. end
  338. wait(3)
  339. ball:Remove()
  340. e2 = true
  341. end
  342.  
  343. elseif type == 3 then
  344. if e3 == true then
  345. e3 = false
  346. fdu.BrickColor = BrickColor.new("Olive")
  347. ne = Instance.new("Part")
  348. ne.Shape = "Ball"
  349. ne.BrickColor = BrickColor.new("Olive")
  350. ne.Transparency = 0.5
  351. ne.Parent = workspace[user]
  352. ne.CFrame = main.CFrame + main.CFrame.lookVector*5
  353. ne.Size = Vector3.new(1,1,1)
  354. ne.TopSurface = "Smooth"
  355. ne.BottomSurface = "Smooth"
  356. bm = Instance.new("SpecialMesh")
  357. bm.Parent = ne
  358. bm.MeshType = "FileMesh"
  359. bm.MeshId = "http://www.roblox.com/asset/?id=9419831"
  360. bm.Scale = Vector3.new(0.5,0.5,0.5)
  361. s = Instance.new("BodyForce")
  362. s.Parent = ne
  363. s.force = workspace[user].Torso.CFrame.lookVector * 1750
  364. wait(.1)
  365. fdu.BrickColor = BrickColor.new("Really red")
  366. ne.Touched:connect(function(hit)
  367. if hit.Parent ~= workspace[user] then
  368. if hit.Parent.Humanoid then
  369. ne:Remove()
  370. hit.Parent.Head.BrickColor = BrickColor.new("Olive")
  371. player = game.Players:GetPlayerFromCharacter(hit.Parent)
  372. if player then
  373. sg1 = Instance.new("ScreenGui")
  374. sg1.Parent = player.PlayerGui
  375. posi = Instance.new("Frame")
  376. posi.Parent = sg1
  377. posi.Size = UDim2.new(1,0,1,0)
  378. posi.BackgroundColor3 = BrickColor.new("Olive").Color
  379. posi.BackgroundTransparency = 1
  380. for i = 1,10 do
  381. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - hit.Parent.Humanoid.MaxHealth*.10
  382. posi.BackgroundTransparency = posi.BackgroundTransparency - 0.1
  383. wait(1)
  384. end
  385. hit.Parent.Humanoid.Health = 0
  386. sg1:Remove()
  387. end
  388. end
  389. end
  390. end)
  391.  
  392. e3 = true
  393. end
  394.  
  395. elseif type == 4 then
  396. fdu.BrickColor = BrickColor.new("Really black")
  397. du = Instance.new("Part")
  398. du.Parent = workspace[user]
  399. du.CFrame = main.CFrame + main.CFrame.lookVector*5
  400. du.Size = Vector3.new(1*3,1*3,2*3)
  401. du.formFactor = "Symmetric"
  402. du.Transparency = 0.5
  403. du.BrickColor = BrickColor.new("Really black")
  404. duck = Instance.new("SpecialMesh")
  405. duck.Parent = du
  406. duck.MeshType = "FileMesh"
  407. duck.MeshId = "http://www.roblox.com/asset/?id=14810664"
  408. duck.TextureId = ""
  409. duck.Scale = Vector3.new(1*3,1*3,1*3)
  410. s = Instance.new("BodyForce")
  411. s.Parent = du
  412. s.force = workspace[user].Torso.CFrame.lookVector * 160000
  413. wait(.1)
  414. fdu.BrickColor = BrickColor.new("Really red")
  415. du.Touched:connect(function(vic)
  416. if vic.Parent ~= workspace[user] then
  417. if vic.Parent.Humanoid then
  418. vic:Remove()
  419. else return
  420. end
  421. else return
  422. end
  423. end)
  424.  
  425. elseif type == 5 then
  426. fdu.BrickColor = BrickColor.new("New Yeller")
  427. du2 = Instance.new("Part")
  428. du2.Parent = workspace[user]
  429. du2.CFrame = main.CFrame + main.CFrame.lookVector*5
  430. du2.Size = Vector3.new(1*3,1*3,2*3)
  431. du2.formFactor = "Symmetric"
  432. duck2 = Instance.new("SpecialMesh")
  433. duck2.Parent = du2
  434. duck2.MeshType = "FileMesh"
  435. duck2.MeshId = "http://www.roblox.com/asset/?id=9419831"
  436. duck2.TextureId = "http://www.roblox.com/asset/?id=9419827"
  437. duck2.Scale = Vector3.new(1*3,1*3,1*3)
  438. s = Instance.new("BodyForce")
  439. s.Parent = du2
  440. s.force = workspace[user].Torso.CFrame.lookVector * 160000
  441. wait(.1)
  442. fdu.BrickColor = BrickColor.new("Really red")
  443. du2.Touched:connect(function(vic)
  444. if vic.Parent ~= workspace[user] then
  445. if vic.Parent.Humanoid then
  446. vic.Humanoid.Health = vic.Humanoid.MaxHealth
  447. else return
  448. end
  449. else return
  450. end
  451. end)
  452.  
  453. elseif type == 6 then
  454. if e6 == true then
  455. fdu.BrickColor = BrickColor.new("Really black")
  456. e6 = false
  457. du3 = Instance.new("Part")
  458. du3.Parent = workspace[user]
  459. du3.CFrame = workspace[user].Torso.CFrame + workspace[user].Torso.CFrame.lookVector*5
  460. du3.Size = Vector3.new(1*3,1*3,2*3)
  461. du3.formFactor = "Symmetric"
  462. duck3 = Instance.new("SpecialMesh")
  463. duck3.Parent = du3
  464. duck3.MeshType = "FileMesh"
  465. duck3.MeshId = "http://www.roblox.com/asset/?id=14810664"
  466. duck3.TextureId = "http://www.roblox.com/asset/?id=14810649"
  467. duck3.Scale = Vector3.new(0,0,0)
  468. firee = Instance.new("Fire")
  469. firee.Parent = du3
  470. s = Instance.new("BodyForce")
  471. s.Parent = du3
  472. s.force = workspace[user].Torso.CFrame.lookVector * 60000
  473. wait(.1)
  474. fdu.BrickColor = BrickColor.new("Really red")
  475. du3.Touched:connect(function(vic2)
  476. if vic2.Parent ~= workspace[user] then
  477. if vic2.Parent.Humanoid then
  478. vic2:Remove()
  479. else return
  480. end
  481. else return
  482. end
  483. end)
  484. du3.Anchored = true
  485. for i = 1,3,.1 do
  486. duck3.Scale = Vector3.new(i,i,i)
  487. wait(0.03)
  488. end
  489. du3.Anchored = false
  490. e6 = true
  491. end
  492.  
  493.  
  494. elseif type == 7 then
  495. if e7 == true then
  496. fdu.BrickColor = BrickColor.new("New Yeller")
  497. e7 = false
  498. edu = Instance.new("Part")
  499. edu.Parent = workspace[user]
  500. edu.CFrame = workspace[user].Head.CFrame + Vector3.new(0,100,0)
  501. edu.Size = Vector3.new(1*20,1*20,2*20)
  502. edu.formFactor = "Symmetric"
  503. edu.TopSurface = "Smooth"
  504. edu.BottomSurface = "Smooth"
  505. educk = Instance.new("SpecialMesh")
  506. educk.Parent = edu
  507. educk.MeshType = "FileMesh"
  508. educk.MeshId = "http://www.roblox.com/asset/?id=9419831"
  509. educk.TextureId = "http://www.roblox.com/asset/?id=9419827"
  510. educk.Scale = Vector3.new(50,50,50)
  511. edu.Anchored = true
  512. wait(.1)
  513. fdu.BrickColor = BrickColor.new("Really red")
  514. edu.Anchored = false
  515. wait(5)
  516. eex = Instance.new("Explosion")
  517. eex.Parent = workspace
  518. eex.Position = edu.Position
  519. eex.BlastPressure = 100000
  520. eex.BlastRadius = 50
  521. wait(1)
  522. edu:Remove()
  523. e7 = true
  524. end
  525.  
  526. elseif type == 8 then
  527.  
  528. fdu.BrickColor = BrickColor.new("Toothpaste")
  529. du4 = Instance.new("Part")
  530. du4.Parent = workspace[user]
  531. du4.CFrame = main.CFrame + main.CFrame.lookVector*5
  532. du4.Size = Vector3.new(1*3,1*3,2*3)
  533. du4.formFactor = "Symmetric"
  534. du4.Transparency = 0.5
  535. du4.BrickColor = BrickColor.new("Toothpaste")
  536. duck4 = Instance.new("SpecialMesh")
  537. duck4.Parent = du4
  538. duck4.MeshType = "FileMesh"
  539. duck4.MeshId = "http://www.roblox.com/asset/?id=9419831"
  540. duck4.Scale = Vector3.new(1*3,1*3,1*3)
  541. s = Instance.new("BodyForce")
  542. s.Parent = du4
  543. s.force = workspace[user].Torso.CFrame.lookVector * 160000
  544. wait(.1)
  545. fdu.BrickColor = BrickColor.new("Really red")
  546. du4.Touched:connect(function(vic3)
  547. if vic3.Parent ~= workspace[user] then
  548. if vic3.Parent.Humanoid then
  549. vic3.BrickColor = BrickColor.new("Toothpaste")
  550. vic3.Reflectance = 0.2
  551. vic3.Transparency = 0.5
  552. vic3.Anchored = true
  553. wait(5)
  554. vic3:Remove()
  555. else return
  556. end
  557. else return
  558. end
  559. end)
  560.  
  561.  
  562. elseif type == 9 then
  563.  
  564.  
  565. du5 = Instance.new("Part")
  566. du5.Parent = workspace[user]
  567. du5.CFrame = main.CFrame + main.CFrame.lookVector*5
  568. du5.Size = Vector3.new(1*3,1*3,2*3)
  569. du5.formFactor = "Symmetric"
  570. du5.TopSurface = "Smooth"
  571. du5.BottomSurface = "Smooth"
  572. du5.BrickColor = BrickColor.new("Dark stone grey")
  573. duck5 = Instance.new("SpecialMesh")
  574. duck5.Parent = du5
  575. duck5.MeshType = "FileMesh"
  576. duck5.MeshId = "http://www.roblox.com/asset/?id=9419831"
  577. duck5.Scale = Vector3.new(3,3,3)
  578. s = Instance.new("BodyForce")
  579. s.Parent = du5
  580. s.force = main.CFrame.lookVector * 30000
  581. du5.Touched:connect(function(hit)
  582. if hit.Parent.Name ~= user then
  583. if hit.Parent.Humanoid then
  584. hit.Parent.Humanoid.WalkSpeed = 5
  585. wait(5)
  586. hit.Parent.Humanoid.WalkSpeed = 16
  587. else return
  588. end
  589. else return
  590. end
  591. end)
  592.  
  593. end
  594. end)
  595. ----------------------------------------
  596. tool.Equipped:connect(function()
  597. weld = Instance.new("Weld")
  598. weld.Parent = fdu
  599. weld.Part0 = fdu
  600. weld.Part1 = main
  601. weld.C0 = CFrame.new(0,-2.5,0)
  602.  
  603. weld2 = Instance.new("Weld")
  604. weld2.Parent = c1
  605. weld2.Part0 = c1
  606. weld2.Part1 = main
  607. weld2.C0 = CFrame.new(0,-1.5,0)
  608.  
  609. weld3 = Instance.new("Weld")
  610. weld3.Parent = c2
  611. weld3.Part0 = c2
  612. weld3.Part1 = main
  613. weld3.C0 = CFrame.new(0,-1,0)
  614.  
  615. weld4 = Instance.new("Weld")
  616. weld4.Parent = c3
  617. weld4.Part0 = c3
  618. weld4.Part1 = main
  619. weld4.C0 = CFrame.new(0,1,0)
  620.  
  621. weld5 = Instance.new("Weld")
  622. weld5.Parent = c4
  623. weld5.Part0 = c4
  624. weld5.Part1 = main
  625. weld5.C0 = CFrame.new(0,1.5,0)
  626.  
  627. weld6 = Instance.new("Weld")
  628. weld6.Parent = c5
  629. weld6.Part0 = c5
  630. weld6.Part1 = main
  631. weld6.C0 = CFrame.new(0,2.5,0)
  632. end)
  633.  
  634. tool.Unequipped:connect(function()
  635. weld:Remove()
  636. weld2:Remove()
  637. weld3:Remove()
  638. weld4:Remove()
  639. weld5:Remove()
  640. weld6:Remove()
  641. end)
  642.  
  643. while true do
  644. for i = 1,10 do
  645. fduck.Scale = fduck.Scale + Vector3.new(0.01,0.01,0.01)
  646. wait(0.03)
  647. end
  648. for i = 1,10 do
  649. fduck.Scale = fduck.Scale - Vector3.new(0.01,0.01,0.01)
  650. wait(0.03)
  651. end
  652. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement