function partesp(child)
if child.Name == "clock" or child.Name == "Clock" then
local hi = child:FindFirstChildOfClass("Highlight")
if not hi then
hi = Instance.new("Highlight")
hi.Parent = child
hi.Adornee = child
hi.OutlineColor = Color3.fromRGB(161, 0, 0)
hi.FillColor = Color3.fromRGB(255, 0, 0)
hi.FillTransparency = 0.75
end
if child:IsA("Part") or child:IsA("BasePart") or child:IsA("MeshPart") or child:IsA("UnionOperation") or child:IsA("CornerWedgePart") then
child.Color = Color3.fromRGB(0, 0, 0)
child.Transparency = 0
end
local surfaceGui = child:FindFirstChildOfClass("SurfaceGui")
if not surfaceGui then
surfaceGui = Instance.new("SurfaceGui")
surfaceGui.Parent = child
surfaceGui.Face = Enum.NormalId.Front
surfaceGui.Enabled = true
surfaceGui.AlwaysOnTop = true
surfaceGui.CanvasSize = Vector2.new(200, 50)
local textLabel = Instance.new("TextLabel")
textLabel.Parent = surfaceGui
textLabel.Size = UDim2.new(1, 0, 1, 0)
textLabel.BackgroundTransparency = 1
textLabel.Text = "Clock is here"
textLabel.Font = Enum.Font.SourceSans
textLabel.TextSize = 20
textLabel.TextColor3 = Color3.new(1, 1, 1)
end
end
end
local char = game.Players.LocalPlayer.Character
local RunService = game:GetService("RunService")
while true do
RunService.Heartbeat:Wait()
local plrCFrame = char.HumanoidRootPart.CFrame
for _, v in ipairs(game.workspace:GetDescendants()) do
partesp(v)
if v:IsA("Model") and (v.Name == "clock" or v.Name == "Clock") then
for _, part in ipairs(v:GetDescendants()) do
if part:IsA("BasePart") then
part.CFrame = plrCFrame
end
end
end
end
end