Tween didnt work with no errors

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    https://gyazo.com/d6f2911861da06087c0e2ef5f58ea812 I need like that but with tween
  2. What is the issue? Include screenshots / videos if possible!
    Dont work
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    Tried do Position = Star.CFrame + Vector.new(0,0,1) didnt worked
    After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RemoteEvent = ReplicatedStorage:WaitForChild("Remotes"):WaitForChild("Tool")
local Tween = game:GetService("TweenService")
local Info = TweenInfo.new(2,Enum.EasingStyle.Elastic,Enum.EasingDirection.InOut,5,true,.10)

RemoteEvent.OnServerEvent:Connect(function(player,Star)
	local Goal = {CFrame = Star.CFrame * CFrame.new(0,0,1)}
	local Create = Tween:Create(Star,Info,Goal)
	Create:Play()
	print(Create)
end)

Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.

Try really simple print statements to see what is working and what is not.

RemoteEvent.OnServerEvent:Connect(function(player,Star)
    print(player)  -- sees if you actually have a player. Also tells you if this function is firing. If it isn't firing then you have to back up and look at what is supposed to cause the function to fire, and fix that.
	local Goal = {CFrame = Star.CFrame * CFrame.new(0,0,1)}
	local Create = Tween:Create(Star,Info,Goal)
	Create:Play()
	print(Create)
end)

It prints player but idk why didnt work

Greetings,

I could not get that what the issue, but I have written a code for you:

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Tween = game:GetService("TweenService")

local RemoteEvents = ReplicatedStorage:WaitForChild("Remotes")
local RemoteEvent = RemoteEvents:FindFirstChild("Tool")

local TweenInfo1 = TweenInfo.new(2, Enum.EasingStyle.Elastic, Enum.EasingDirection.InOut, 5, true, .10)

RemoteEvent.OnServerEvent:Connect(function(Player, Star)
    if Player and Star then
       local Goal = {}
       Goal.Position = Vector3.new(Star.CFrame.Position.X, PositionY, Star.CFrame.Position.Z) -- set the 'PositionY' to where you want --

       local TweenCreate = TweenService:Create(Star, TweenInfo1, Goal)

       TweenCreate:Play()
    end
end)

I hope this will help you. If you encounter any problems, send me a message. Have a nice day!

Issue is Tween didnt work with no errors

There a issue https://gyazo.com/e583fbd77f000bbe8461128e4a8152aa

Seems like the tween works, the position of the star is just not set correctly. I assume you didn’t set the star’s position before firing the event. That’s why it’s so far away.