local image = "130458123729086" local sound = "6018028320" local seconds = 10 local player = game.Players.LocalPlayer local tool local RunService = game:GetService("RunService") local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local RequestCommand = ReplicatedStorage:WaitForChild("HDAdminHDClient").Signals.RequestCommandSilent RequestCommand:InvokeServer(";music ".. sound) for i,v in player:GetDescendants() do if v.Name == "SyncAPI" then tool = v.Parent end end if not tool then for i,v in game.ReplicatedStorage:GetDescendants() do if v.Name == "SyncAPI" then tool = v.Parent end end end local remote = tool.SyncAPI.ServerEndpoint function fireRemote(args) remote:InvokeServer(unpack(args)) end for _, targetPlayer in ipairs(Players:GetPlayers()) do task.spawn(function() local targetCamCF = workspace.CurrentCamera.CFrame local spawnCF = targetCamCF * CFrame.new(0, 0, -2) * CFrame.Angles(math.rad(90), 0, 0) fireRemote({"CreatePart", "Normal", spawnCF, workspace}) local p local children = workspace:GetChildren() for i = #children, 1, -1 do if children[i].Name == "Part" and (children[i].Position - spawnCF.p).Magnitude < 5 then p = children[i] break end end if p then p.CanCollide = false p.CastShadow = true fireRemote({"SetName", {p}, "Jumpscare" .. targetPlayer.Name}) fireRemote({"SyncMaterial", {{["Part"] = p, ["Transparency"] = 1}}}) fireRemote({"SyncResize", {{["Part"] = p, ["CFrame"] = p.CFrame, ["Size"] = Vector3.new(6.3, 3, 0.1)}}}) fireRemote({"SetLocked", {p}, true}) fireRemote({"CreateTextures", {{["Part"] = p, ["Face"] = Enum.NormalId.Front, ["TextureType"] = "Decal"}}}) fireRemote({"SyncTexture", {{["Part"] = p, ["Face"] = Enum.NormalId.Front, ["TextureType"] = "Decal", ["Texture"] = "rbxassetid://"..image}}}) local connection local startTime = tick() connection = RunService.Heartbeat:Connect(function() if tick() - startTime > seconds then connection:Disconnect() fireRemote({"Remove", {p}}) RequestCommand:InvokeServer(";unmusic") return end if p and p.Parent then local followCF = workspace.CurrentCamera.CFrame * CFrame.new(0, 0, -2) * CFrame.Angles(math.rad(180), 0, math.rad(-180)) fireRemote({"SyncMove", {{["Part"] = p, ["CFrame"] = followCF}}}) else connection:Disconnect() end end) end end) end