You’re tweening objects in the StarterGui when you should be tweening the PlayerGui’s objects.
Code:
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local LocalPlayer = Players.LocalPlayer
local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild("Humanoid")
local Troll = LocalPlayer:WaitForChild("PlayerGui").Troll.ImageLabel
local GoalPosition = UDim2.fromScale(0.265, 0.096)
local OriginPosition = Troll.Position
Humanoid.Died:Connect(function()
print("Check")
local Tween1 = TweenService:Create(Troll, TweenInfo.new(0.45), {Position = GoalPosition})
Tween1:Play()
end)