Cool little effect

8 Likes

oh wow!! this is neat, how did you make it?

local ts = game:GetService("TweenService")
local ti = TweenInfo.new(1,Enum.EasingStyle.Quad,Enum.EasingDirection.Out)
local v = 0
while wait() do
	v = math.sin(tick()) * 90
	local p =Instance.new("SpawnLocation",script)
	p.Anchored = true
	p.CanCollide = false
	p.CastShadow = false
	p.Color = Color3.new(1,1,1)
	game:GetService("Debris"):AddItem(p,1)
	p.CFrame = CFrame.new(
		owner.Character.HumanoidRootPart.CFrame.p.X,
		.1,
		owner.Character.HumanoidRootPart.CFrame.p.Z
	)
	local sm = Instance.new("SpecialMesh",p)
	SpecialMesh0 = Instance.new("SpecialMesh")
	SpecialMesh0.Parent = p
	SpecialMesh0.MeshId = "http://www.roblox.com/asset/?id=20329976"
	SpecialMesh0.Scale = Vector3.new(1, 0, 1)
	SpecialMesh0.MeshType = Enum.MeshType.FileMesh
	ts:Create(p, ti, {Transparency = 1,Orientation = Vector3.new(0,v,0),Color = Color3.new(0,0,0)}):Play()
	ts:Create(SpecialMesh0, ti, { Scale = Vector3.new(15,2,15)}):Play()
end
1 Like