Can someone help me? My Rasengan needs: rotation, visible when idle, expand when hit, like Naruto Shippuden's anime. I don't know which code to put! Can someone help me? My code:

<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
	<External>null</External>
	<External>nil</External>
	<Item class="LocalScript" referent="RBXE9646816A7804456B2FBAB606FF885FC">
		<Properties>
			<bool name="Disabled">false</bool>
			<Content name="LinkedSource"><null></null></Content>
			<string name="Name">Rasengan</string>
			<ProtectedString name="Source"><![CDATA[local Player = script.Parent.Parent
mouse = Player:GetMouse()

function onKeyDown(Key)
	local KeyPress = Key:lower()
	if KeyPress == "r" then
		for _,anim in pairs(Player.Character["Humanoid"]:GetPlayingAnimationTracks()) do
	 		anim:Stop()
		end
		game:GetService("Chat"):Chat(Player.Character.Head, "Wind Style: Rasengan", "Green")
		Player.Character.Humanoid.WalkSpeed = Player.Character.Humanoid.WalkSpeed +30
		local RunAnimation = Player.Character.Humanoid:LoadAnimation(script.FirstAnimation)
		RunAnimation:Play()
		wait(1)
		local RunAnimation = Player.Character.Humanoid:LoadAnimation(script.SecondAnimation)
		RunAnimation:Play()
		local RightShoulder = Player.Character.Torso["Right Shoulder"]
		local Fist = Instance.new("Part", workspace)
		Fist.Shape = "Ball"
		Fist.BrickColor = BrickColor.new("Medium blue")
		Fist.TopSurface = 0
		Fist.BottomSurface = 0
		Fist.Transparency = .4
		Fist.CanCollide = false
		Fist.Size = Vector3.new(1,1,1)
		local DamageScript = script.dmg:Clone()
		DamageScript.Parent = Fist
		DamageScript.Disabled = false
		game.Debris:AddItem(Fist, 5)
		local RunAnimation = Player.Character.Humanoid:LoadAnimation(script.SecondAnimation)
		RunAnimation:Play()
		local Particle = script.ParticleEmitter:Clone()
		Particle.Parent = Fist
		local Mesh = Instance.new("SpecialMesh")
		Mesh.Parent = Fist
		Mesh.MeshType = "Sphere"
		Mesh.Scale = Vector3.new(0,0,0)
		local Weld = Instance.new("Weld", Player.Character)
		Weld.Part0 = Weld.Parent["Right Arm"]
		Weld.Part1 = Fist
		Weld.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) *CFrame.new(0,1.3,0)
		for i = 1,11 do
			Mesh.Scale = Mesh.Scale +Vector3.new(0.1,0.1,0.1)
			wait()
		end
		wait(5)
		RightShoulder.C0 = RightShoulder.C0 *CFrame.Angles(0,0,0)
		Player.Character.Humanoid.WalkSpeed = Player.Character.Humanoid.WalkSpeed -30
		Particle:remove()
		wait(5) 
	end
end
mouse.KeyDown:connect(onKeyDown)


]]></ProtectedString>
		</Properties>
		<Item class="ParticleEmitter" referent="RBXF741DAC4593C4E859D6B27EECB8A4FED">
			<Properties>
				<Vector3 name="Acceleration">
					<X>0</X>
					<Y>0</Y>
					<Z>0</Z>
				</Vector3>
				<ColorSequence name="Color">0 0.333333 0.333333 1 0 1 0.6 0.6 0.6 0 </ColorSequence>
				<float name="Drag">0</float>
				<token name="EmissionDirection">1</token>
				<bool name="Enabled">true</bool>
				<NumberRange name="Lifetime">0.3 0.3 </NumberRange>
				<float name="LightEmission">0.819999993</float>
				<bool name="LockedToPart">false</bool>
				<string name="Name">ParticleEmitter</string>
				<float name="Rate">100</float>
				<NumberRange name="RotSpeed">0 0 </NumberRange>
				<NumberRange name="Rotation">0 0 </NumberRange>
				<NumberSequence name="Size">0 4 0 1 4 0 </NumberSequence>
				<NumberRange name="Speed">2 6 </NumberRange>
				<Content name="Texture"><url>http://www.roblox.com/asset/?id=259200025</url></Content>
				<NumberSequence name="Transparency">0 0 0 0.627182 0.5875 0 1 1 0 </NumberSequence>
				<float name="VelocityInheritance">0</float>
				<float name="VelocitySpread">0</float>
				<float name="ZOffset">0</float>
			</Properties>
		</Item>
		<Item class="Script" referent="RBX5A86163EAEB54A09BD69A89F2FCCEA7B">
			<Properties>
				<bool name="Disabled">true</bool>
				<Content name="LinkedSource"><null></null></Content>
				<string name="Name">Impact</string>
				<ProtectedString name="Source"><![CDATA[function onTouched(Part)

if Part.Parent.Name ~= script.Parent.Parent.Name then
if Part.Parent:FindFirstChild("Torso") ~= nil then
script.Disabled = true
if game.Players:FindFirstChild(script.Parent.Name) ~= nil then
Player = game.Players:FindFirstChild(script.Parent.Name)
script.Parent.Mesh.Scale = Vector3.new(0, 0, 0)
script.Parent.Fire.Enabled = false
x = Instance.new("Explosion")
x.Parent = game.Workspace
x.BlastRadius = 0
x.BlastPressure = 100000
x.Position = Part.Parent.Torso.Position
x = Instance.new("Part")
x.Anchored = true
x.BrickColor = BrickColor.new("Pastel Blue")
x.Shape = "Ball"
x.Transparency = 0.4
x.TopSurface = "Smooth"
x.BottomSurface = "Smooth"
x.Size = Vector3.new(1,1,1)
x.Parent = Part.Parent
y = Instance.new("SpecialMesh")
y.MeshType = "Sphere"
y.Parent = x
y.Scale = Vector3.new(0, 0, 0)
Burnout = game.Lighting.RDremover:clone()
Burnout.Parent = y
Burnout.Disabled = false
Rasengan = Instance.new("Part")
Rasengan.Shape = "Ball"
Rasengan.BrickColor = BrickColor.new("Pastel Blue")
Rasengan.Size = Vector3.new(2, 2, 2)
Rasengan.Transparency = 0.2
Rasengan.Parent = Part.Parent
Rasengan.TopSurface = "Smooth"
Rasengan.BottomSurface = "Smooth"
RasenganChakra = game.Lighting.Fire:clone()
RasenganChakra.Parent = Rasengan
RasenganChakra.Enabled = true
Burnout = game.Lighting.Burnout:clone()
Burnout.Parent = Rasengan
Burnout.Disabled = false
local w1 = Instance.new("Weld")
w1.Parent = Rasengan
w1.Part0 = w1.Parent
w1.Part1 = Part.Parent.Torso
w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0 ,0, 0)
Float = Instance.new("BodyVelocity", Part.Parent.Torso)
Burnout3 = game.Lighting.Burnout:clone()
Burnout3.Parent = Float
Part.Parent.Torso.CFrame = Part.Parent.Torso.CFrame +Vector3.new(0, 2, 0)
Float.maxForce = Vector3.new(math.huge, math.huge, math.huge)
Float.velocity = Player.Character.Torso.CFrame.lookVector * 100
for i = 1,25 do
y.Scale = y.Scale +Vector3.new(1, 1, 1)
x.CFrame = Part.Parent.Torso.CFrame
Part.Parent.Humanoid.Health = Part.Parent.Humanoid.Health -1
wait()
end
Float:remove()
u = Instance.new("BodyAngularVelocity")
u.Parent = Part.Parent.Torso
u.P = 10000
u.angularvelocity = Vector3.new(0, 2, 10000)
u.maxTorque = Vector3.new(0, 0, 10000)
wait(0.15)
u:remove()
Rasengan:remove()
x:remove()
end
end
end
end

script.Parent.Touched:connect(onTouched)
]]></ProtectedString>
			</Properties>
		</Item>
		<Item class="Script" referent="RBX4175EC277EEC48A9BD7B0D65B9AA90D6">
			<Properties>
				<bool name="Disabled">true</bool>
				<Content name="LinkedSource"><null></null></Content>
				<string name="Name">dmg</string>
				<ProtectedString name="Source"><![CDATA[function onTouched(part)
	local h = part.Parent:findFirstChild("Humanoid")
	if h~=nil then
		for i = 1,10 do
		h.Health = h.Health -.25
                wait(0)
	end
end
end
script.Parent.Touched:connect(onTouched)


]]></ProtectedString>
			</Properties>
		</Item>
		<Item class="Animation" referent="RBX099762C66FEA4921B88423E2CCCB540D">
			<Properties>
				<Content name="AnimationId"><url>http://www.roblox.com/asset/?id=360544009</url></Content>
				<string name="Name">FirstAnimation</string>
			</Properties>
		</Item>
		<Item class="Animation" referent="RBXF99A063AB9C546E79E29B1E6F24CC701">
			<Properties>
				<Content name="AnimationId"><url>http://www.roblox.com/asset/?id=360547532</url></Content>
				<string name="Name">SecondAnimation</string>
			</Properties>
		</Item>
	</Item>
</roblox>

3 comments

0

Please fix your formatting by putting you code in a code block

0

^ Fixed.

0

this isn't even lua