local BG = Instance.new("BodyGyro", Torso)
BG.Name = "MagicGyro"
BG.D = 50
BG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
BG.cframe = CFrame.new(Torso.Position, Pos)
local BP = Instance.new("BodyPosition", Torso)
BP.Name = "MagicPosition"
BP.maxForce = Vector3.new(math.huge, math.huge, math.huge)
BP.position = Torso.Position
--Preparations--
if Character.Humanoid.Jump == false then
RightShoulder.C0 = RightShoulderC0 *CFrame.Angles(-0.5, 0, 1.5)
LeftShoulder.C0 = LeftShoulderC0 *CFrame.Angles(-0.5, 0, -1.5)
else
RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(-0.5, 0, -1.5)
LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(-0.5, 0, 1.5)
end
game:GetService("Chat"):Chat(Character.Head, "Fire Dragon Lungs", 2)
local Charge = 0
if Character:findFirstChild("Vacuum") then
Character.Vacuum:Remove()
end
local Model = Instance.new("Model", Character)
Model.Name = "Vacuum"
local Vacuum = Instance.new("Part", Model)
Vacuum.Transparency = 0.75
Vacuum.BrickColor = BrickColor.new("Bright Orange")
Vacuum.TopSurface = "Smooth"
Vacuum.BottomSurface = "Smooth"
Vacuum.Size = Vector3.new(1, 3, 1)
Vacuum.CanCollide = false
local Weld = Instance.new("Weld", Vacuum)
Weld.Part0 = Vacuum
Weld.Part1 = Character.Head
Weld.C0 = CFrame.new(0, -47, 0) * CFrame.Angles(math.pi/2, 0, 0)
local Mesh = Instance.new("SpecialMesh", Vacuum)
Mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
Mesh.Scale = Vector3.new(15, 30, 15)
for i = 1, 2 do
local SFX = Instance.new("Sound", Vacuum)
SFX.SoundId = "http://www.roblox.com/asset/?id=138161364"
SFX.Looped = true
SFX.Volume = 1
SFX.Pitch = 6
SFX:Play()
end
while ButtonDown == true do
local Search = game.Workspace:GetChildren()
for i = 1, #Search do
if Search[i].ClassName == "Part" then
if Search[i]:findFirstChild("Damage") then
if (Search[i].Position - Torso.Position).magnitude <= 10 then
Absorb(Search[i])
end
end
function Absorb(Part)
if ButtonDown == true then
if Part:findFirstChild("Damage") then
if Part.Damage.Origin.Value ~= nil and (Part.Damage.Type.Value == "Crash" or Part.Damage.Type.Value == "Bomb" or Part.Damage.Type.Value == "Fire" or Part.Damage.Type.Value == "Lightning" or Part.Damage.Type.Value == "Fire Dragon Slayer" or Part.Damage.Type.Value == "Arc of Time" or Part.Damage.Type.Value == "Lightning Dragon Slayer" or Part.Damage.Type.Value == "Holy Dragon Slayer" or Part.Damage.Type.Value == "Flame God Slayer" or Part.Damage.Type.Value == "Solid Script" or Part.Damage.Type.Value == "Light" or Part.Damage.Type.Value == "Sky Dragon Slayer" or Part.Damage.Type.Value == "Acid" or Part.Damage.Type.Value == "Poison Dragon Slayer" or Part.Damage.Type.Value == "Dark Ecriture" or Part.Damage.Type.Value == "Ice-Make" or Part.Damage.Type.Value == "Wood-Make" or Part.Damage.Type.Value == "Reflector" or Part.Damage.Type.Value == "Regulus" or Part.Damage.Type.Value == "Requip" or Part.Damage.Type.Value == "Sand" or Part.Damage.Type.Value == "Shadow" or Part.Damage.Type.Value == "Snow" or Part.Damage.Type.Value == "Sound" or Part.Damage.Type.Value == "Beast Soul" or Part.Damage.Type.Value == "Animal Soul" or Part.Damage.Type.Value == "Satan Soul" or Part.Damage.Type.Value == "Territory" or Part.Damage.Type.Value == "Ice Devil Slayer" or Part.Damage.Type.Value == "Iron Dragon Slayer" or Part.Damage.Type.Value == "Shadow Dragon Slayer" or Part.Damage.Type.Value == "Giant Slayer" or Part.Damage.Type.Value == "Water" or Part.Damage.Type.Value == "Lightning God Slayer" or Part.Damage.Type.Value == "Sky God Slayer" or Part.Damage.Type.Value == "Heavenly Body" or Part.Damage.Type.Value == "Great Tree Arc" or Part.Damage.Type.Value == "Gravity" or Part.Damage.Type.Value == "Rainbow Fire" or Part.Damage.Type.Value == "Purple Fire" or Part.Damage.Type.Value == "Fairy" or Part.Damage.Type.Value == "Drill" or Part.Damage.Type.Value == "Darkness" or Part.Damage.Type.Value == "Death" or Part.Damage.Type.Value == "Arc of Enbodiment" or Part.Damage.Type.Value == "Amaterasu" or Part.Damage.Type.Value == "Wind" or Part.Damage.Type.Value == "Wave" or Part.Damage.Type.Value == "Maguilty Sense") then
if Part.Damage.Origin.Value:findFirstChild("Level") then
if Player.leaderstat.Level.Value >= Part.Damage.Origin.Value.Level.Value then
Player.bin.MagicEnergy.Value = Player.bin.MagicEnergy.Value + Part.Damage.Damage.Value
ButtonDown = false
local Search = Player.Backpack:GetChildren()
for i = 1, #Search do
if Search[i].Name == "LastColor" then
Search[i]:Remove()
end
end
local Value = Instance.new("BrickColorValue", Player.Backpack)
Value.Name = "LastColor"
if Part.Damage.Type.Value == "Crash" then
Value.Value = BrickColor.new("Orange")
elseif Part.Damage.Type.Value == "Bomb" then
Value.Value = BrickColor.new("Bright Orange")
elseif Part.Damage.Type.Value == "Fire" then
Value.Value = BrickColor.new("Bright Orange")
elseif Part.Damage.Type.Value == "Fire Dragon Slayer" then
Value.Value = BrickColor.new("Bright Orange")
end
if Character.Torso:findFirstChild("BoostedFlame") then
local Search = Character.Torso:GetChildren()
for i = 1, #Search do
if Search[i].Name == "BoostedFlame" then
Search[i]:Remove()
lf.Parent = Character.Torso
lf.Name = "BoostedFlame"
lf.Disabled = false
game.Debris:AddItem(lf, 20)
local f = Instance.new("Fire", Character.Torso)
f.Size = 100
f.Color = BrickColor.new("Bright orange").Color
f.Name = "BoostedFlame"
f.SecondaryColor = f.Color
local li = Instance.new("PointLight", Character.Torso)
li.Color = BrickColor.new("Bright orange").Color
li.Range = 150
li.Name = "BoostedFlame"
li.Shadows = true
game.Debris:AddItem(li, 20)
game.Debris:AddItem(f, 20)
elseif Part.Damage.Type.Value == "Fire Dragon Slayer" then
local f = Instance.new("Fire Dragon Slayer", Character.Torso)
f.Size = 1000
f.Color = Value.Value.Color
f.Name = "BoostedFlame"
f.SecondaryColor = f.Color
local li = Instance.new("PointLight", Character.Torso)
li.Color = Value.Value.Color
li.Range = 1500
li.Name = "BoostedFlame"
li.Shadows = true
game.Debris:AddItem(li, 20)
game.Debris:AddItem(f, 20)
if Search[i]:findFirstChild("Damage") or Search[i]:findFirstChild("Block") then
if Search[i].Name ~= "Head" and
Search[i].Name ~= "Torso" and
Search[i].Name ~= "Right Arm" and
Search[i].Name ~= "Right Leg" and
Search[i].Name ~= "Left Arm" and
Search[i].Name ~= "Left Leg" then
Search[i]:Remove()
end
end
end
if Part.Name ~= "Head" and
Part.Name ~= "Torso" and
Part.Name ~= "Right Arm" and
Part.Name ~= "Right Leg" and
Part.Name ~= "Left Arm" and
Part.Name ~= "Left Leg" then
Part:Remove()
end
lf.Parent = Character.Torso
lf.Name = "BoostedFlame"
lf.Disabled = false
game.Debris:AddItem(lf, 20)
local f = Instance.new("Fire", Character.Torso)
f.Size = 100
f.Color = BrickColor.new("Bright orange").Color
f.Name = "BoostedFlame"
f.SecondaryColor = f.Color
local li = Instance.new("PointLight", Character.Torso)
li.Color = BrickColor.new("Bright orange").Color
li.Range = 150
li.Name = "BoostedFlame"
li.Shadows = true
game.Debris:AddItem(li, 20)
game.Debris:AddItem(f, 20)
elseif Part.Block.Type.Value == "Fire Dragon Slayer" then
local f = Instance.new("Fire Dragon Slayer", Character.Torso)
f.Size = 1000
f.Color = Value.Value.Color
f.Name = "BoostedFlame"
f.SecondaryColor = f.Color
local li = Instance.new("PointLight", Character.Torso)
li.Color = Value.Value.Color
li.Range = 1500
li.Name = "BoostedFlame"
li.Shadows = true
game.Debris:AddItem(li, 20)
game.Debris:AddItem(f, 20)
end
Character.Head.Touched:connect(Absorb)
Torso.Touched:connect(Absorb)
RightArm.Touched:connect(Absorb)
RightLeg.Touched:connect(Absorb)
LeftArm.Touched:connect(Absorb)
LeftLeg.Touched:connect(Absorb)
function onButton1Up(mouse)
ButtonDown = false
Animate.Disabled = true
local Scan = Torso:GetChildren()
for i = 1, #Scan do
if Scan[i].Name == "MagicGyro" then
Scan[i].cframe = CFrame.new(0, 0, 0)
end
end
local Scan = Character:GetChildren()
for i = 1, #Scan do
if Scan[i].Name == "Symbol" then
Scan[i]:Remove()
end
end
RightShoulder.C0 = RightShoulderC0
LeftShoulder.C0 = LeftShoulderC0
Neck.C0 = NeckC0
function Selected(mouse)
mouse.Button1Down:connect(function() onButton1Down(mouse) end)
mouse.Button1Up:connect(function() onButton1Up(mouse) end)
end
script.Parent.Selected:connect(Selected)
script.Parent.Deselected:connect(onButton1Up)
function Deselect()
ButtonDown = false
if Character:findFirstChild("Vacuum") then
Character.Vacuum:Remove()
end
end
script.Parent.Deselected:connect(Deselect)
COMMUNITY QUESTION
How do i make lungs for fairy tail dragon slayer magic? What am i doing wrong?
1 answer
Um...... 2 Advance at scripting 4 me bro....
1 comment
1
If you do not have an answer, please don't post one.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
please fix your formatting