How to fix this?

  1. What do you want to achieve? Fix my script.

  2. What is the issue? My effect is on the wrong direction as you can see in the video.
    robloxapp-20221204-1749011.wmv (91.3 KB)

  3. What solutions have you tried so far? I tried to look at DevHub but i din’t found an solution.

My script:

local ts = game:GetService("TweenService")

local goal = {
	Transparency = 1
}

local goal2 = {
	Size = Vector3.new(67.189, 8.788, 58.955)
}

local transp = TweenInfo.new(3)
local size = TweenInfo.new(3)

local air = game.ServerStorage.AirEffect:Clone()
air.Parent = workspace
air.Position = script.Parent.Position
air.Orientation = script.Parent.CFrame.Position --script.parent = fireball

local tween = ts:Create(air,size,goal2)
tween:Play()
wait(1.4)
local tw2 = ts:Create(air,transp,goal)
tw2:Play()
wait(4)
air:Destroy()

How to fix this?

1 Like

Can’t make out anything in the video and your description of what it should do isn’t enough.

local ts = game:GetService(“TweenService”)

local goal = {
Transparency = 1
}

local goal2 = {
Size = Vector3.new(67.189, 8.788, 58.955)
}

local transp = TweenInfo.new(3)
local size = TweenInfo.new(3)

local air = game.ServerStorage.AirEffect:Clone()
air.Parent = workspace
air.Position = script.Parent.Position
air.CFrame = script.Parent.CFrame – Changed Orientation to CFrame

local tween = ts:Create(air,size,goal2)
tween:Play()
wait(1.4)
local tw2 = ts:Create(air,transp,goal)
tw2:Play()
wait(4)
air:Destroy()

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.