Advertisement
BINO2002

Untitled

Jan 13th, 2016
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.72 KB | None | 0 0
  1. --Final Fantasy Gifted by TheRedAngel, Regular Script!
  2.  
  3. me = game.Players.BINO2002
  4. pcall(function()
  5. wait(0.1)
  6. me.Backpack["Final Fantasy"]:remove()
  7. wait(0.1)
  8. end)
  9.  
  10. h = Instance.new("HopperBin",me.Backpack)
  11. h.Name = "Final Fantasy"
  12. script.Parent = h
  13.  
  14. bin = script.Parent
  15.  
  16. ruincs = {"Dark grey", "Medium blue", "Medium stone grey"}
  17.  
  18. function prop(part, parent, collide, tran, ref, x, y, z, color, anchor, form)
  19. part.Parent = parent
  20. part.formFactor = form
  21. part.CanCollide = collide
  22. part.Transparency = tran
  23. part.Reflectance = ref
  24. part.Size = Vector3.new(x,y,z)
  25. part.BrickColor = BrickColor.new(color)
  26. part.TopSurface = 0
  27. part.BottomSurface = 0
  28. part.Anchored = anchor
  29. part:BreakJoints()
  30. end
  31.  
  32. function weld(w, p, p0, p1, a, b, c, x, y, z)
  33. w.Parent = p
  34. w.Part0 = p0
  35. w.Part1 = p1
  36. w.C1 = CFrame.fromEulerAnglesXYZ(a,b,c) * CFrame.new(x,y,z)
  37. end
  38.  
  39. function mesh(mesh, parent, x, y, z, type)
  40. mesh.Parent = parent
  41. mesh.Scale = Vector3.new(x, y, z)
  42. mesh.MeshType = type
  43. end
  44.  
  45. torso = me.Character.Torso
  46.  
  47. rb = Instance.new("Part")
  48. prop(rb,me.Character,false,1,0,1,1,1,"White",false,"Symmetric")
  49. rt = Instance.new("Weld")
  50. weld(rt,torso,torso,rb,0,0,0,-1,-0.5,0)
  51.  
  52. lb = Instance.new("Part")
  53. prop(lb,me.Character,false,1,0,1,1,1,"White",false,"Symmetric")
  54. lt = Instance.new("Weld")
  55. weld(lt,torso,torso,lb,0,0,0,1.05,-0.5,0)
  56.  
  57. bars = 0
  58. barsnumber = 0
  59. increase = true
  60.  
  61. rarm = me.Character["Right Arm"]
  62. larm = me.Character["Left Arm"]
  63.  
  64. rw = Instance.new("Weld")
  65. weld(rw,rb,rb,nil,0.6,0,-0.4,-0.2,0.5,-0.2)
  66.  
  67. lw = Instance.new("Weld")
  68. weld(lw,lb,lb,nil,0.3,0,0.4,0.2,0.5,-0.12)
  69.  
  70. neck = me.Character.Torso.Neck
  71. neckorg = neck.C0
  72.  
  73. function makegui(player)
  74. local sc = Instance.new("ScreenGui",me.PlayerGui)
  75. sc.Name = "Attacks"
  76. local mf = Instance.new("Frame",sc)
  77. mf.Size = UDim2.new(0.45,0,0.35,0)
  78. mf.Position = UDim2.new(0,0,0.65,0)
  79. mf.BackgroundTransparency = 0.6
  80. mf.BackgroundColor3 = Color3.new(0.3,0.2,0.6)
  81. local ba = Instance.new("Frame",mf)
  82. ba.Size = UDim2.new(0.8,0,0.07,0)
  83. ba.BackgroundColor3 = Color3.new(0,0,0.4)
  84. ba.Position = UDim2.new(0.1,0,0.1,0)
  85. for i=0,0.8,0.2 do
  86. local lol = Instance.new("Frame",ba)
  87. lol.Size = UDim2.new(0.2,0,1,0)
  88. lol.Position = UDim2.new(i,0,0,0)
  89. lol.BackgroundColor3 = Color3.new(0,0,0.6)
  90. lol.BorderColor3 = Color3.new(0,0,0)
  91. end
  92. barmeter = Instance.new("Frame",ba)
  93. barmeter.Size = UDim2.new(barsnumber/5,0,1,0)
  94. barmeter.BackgroundColor3 = Color3.new(0.6,0.6,1)
  95. barmeter.BackgroundTransparency = 0.6
  96. coroutine.resume(coroutine.create(function()
  97. while true do
  98. wait()
  99. if increase and bars < 5 then
  100. barsnumber = barsnumber + 0.05
  101. bars = math.floor(barsnumber)
  102. barmeter.Size = UDim2.new(barsnumber/5,0,1,0)
  103. end
  104. end
  105. end))
  106. end
  107.  
  108. function removegui(player)
  109. for _,v in pairs(player.PlayerGui:GetChildren()) do
  110. if v.Name == "Attacks" then
  111. v:remove()
  112. end
  113. end
  114. end
  115.  
  116.  
  117. function eff(tab,part)
  118. local heh = math.random(1,#tab)
  119. local p = Instance.new("Part")
  120. prop(p,workspace,false,0.4,0,1,1,1,ruincs[heh],true,"Symmetric")
  121. p.CFrame = part.CFrame * CFrame.new(0,-1,0)
  122. local ms = math.random(60,150)/100
  123. local ms2 = math.random(60,150)/100
  124. local ms3 = math.random(60,150)/100
  125. local mef = Instance.new("SpecialMesh")
  126. mesh(mef,p,ms,ms2,ms3,"Sphere")
  127. coroutine.resume(coroutine.create(function()
  128. for kk=0.4,1,0.05 do
  129. wait()
  130. p.Transparency = kk
  131. mef.Scale = mef.Scale + Vector3.new(ms/10,ms2/10,ms3/10)
  132. end
  133. p:remove()
  134. end))
  135. end
  136.  
  137. function ruin(r,l,n,bar,player)
  138. for i=1, bar do
  139. bars = bars - 1
  140. barsnumber = bars
  141. barmeter.Size = UDim2.new(barsnumber/5,0,1,0)
  142. for o=1, 10 do
  143. r.C0 = r.C0 * CFrame.fromEulerAnglesXYZ(0.14,-0.07,-0.1)
  144. l.C0 = l.C0 * CFrame.fromEulerAnglesXYZ(0.1,0,0.06)
  145. neck.C0 = neck.C0 * CFrame.fromEulerAnglesXYZ(0,0,0)
  146. eff(ruincs,rarm)
  147. wait()
  148. end
  149. wait(0.06)
  150. for i=1, 7 do
  151. r.C0 = r.C0 * CFrame.fromEulerAnglesXYZ(0.3,0,0)
  152. l.C0 = l.C0 * CFrame.fromEulerAnglesXYZ(-0.05,0,-0.1)
  153. neck.C0 = neck.C0 * CFrame.fromEulerAnglesXYZ(0,0,0)
  154. eff(ruincs,rarm)
  155. wait()
  156. end
  157. wait(0.04)
  158. for i=1, 3 do
  159. r.C0 = r.C0 * CFrame.fromEulerAnglesXYZ(0,0.38,0.28)
  160. l.C0 = l.C0 * CFrame.fromEulerAnglesXYZ(-0.2,0,-0.1)
  161. neck.C0 = neck.C0 * CFrame.fromEulerAnglesXYZ(0,0,0)
  162. wait()
  163. end
  164. r.C0 = CFrame.new(0,0,0)
  165. l.C0 = CFrame.new(0,0,0)
  166. neck.C0 = neckorg
  167. end
  168. end
  169.  
  170. deb = true
  171.  
  172. bin.Selected:connect(function(mouse)
  173. rw.Part1 = rarm
  174. lw.Part1 = larm
  175. makegui(me)
  176. mouse.Button1Down:connect(function()
  177. if deb then
  178. deb = false
  179. increase = false
  180. ruin(rw,lw,neck,bars)
  181. increase = true
  182. deb = true
  183. end
  184. end)
  185. end)
  186.  
  187. bin.Deselected:connect(function()
  188. rw.Part1 = nil
  189. lw.Part1 = nil
  190. removegui(me)
  191. end)
  192.  
  193. --lego
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement