Is it possible to freeze the current on-screen frame?

I haven’t written anything (script-wise) yet. I’d like to know if this is even possible before I get frustrated with it. I’ve tried looking at the documentation, but I’m still uncertain. Not sure if this is the correct category, but I figured it was because this involves scripting.

…And forcefully lagging the player — for like, what, 0.1 seconds? — doesn’t seem like a great idea.

Is it possible to do this by drawing the entire frame of the screen with an EditableImage?

2 Likes

do you want it to be frozen on client side only or on server side too?

1 Like

Client-side only. It shouldn’t affect any other players.

1 Like

ok. so you would create a viewport frame that covers the whole screen (set ignore gui inset to true on the ScreenGui). next you would make a for loop that goes through the workspace cloning everything, anchoring them, and then parenting it to the viewport frame. and then you would clone the players camera, parent it to the viewport frame and then set the viewport frames CurrentCamera property to the camera

1 Like

Is that even practical? I don’t think cloning the entire workspace to a viewport is a good idea.

2 Likes

maybe something like this

local function pause()
	local Camera = game.Workspace.CurrentCamera
	local Viewport = Instance.new('ViewportFrame', ScreenGui)
	Viewport.BackgroundColor3 = Color3.new(125,125,255)
	local Objects = Instance.new("Folder", Viewport)
	for _, object in workspace:GetPartBoundsInRadius(Camera.CFrame.Position, 50) do
		object:Clone()
		object.Anchored = true
		object.Parent = Objects
	end
	local CameraClone = Camera:Clone()
	CameraClone.Parent = Viewport
	Viewport.CurrentCamera = CameraClone
end
2 Likes

Just a funny way to do it. While loop with print statement :+1:

An easy way to do this is to just have a game cycle loop. Pause the game cycle loop and effectively everything in game stops, integrated roblox systems will not though-- physics as an example. But that requires overhauling almost everything you’ve created.

Other then that, there is no way to pause the screen without using cheeky methods.

1 Like

What would those “cheeky” methods be? EditableImages sadly don’t work right now.

1 Like

Ah yeah, hopefully that will get fixed sooner or later. I was mainly referencing any other unique things people mentioned. I personally have not attempted this, so I don’t know any “cheeky” methods as I mentioned. I’m sure if you instead give the illusion that the game is paused, that would be more optimal for the time being until EditableImages is fixed.

Sorry, I was not able to provide a direct answer to you!

1 Like

No, it’s fine. I assumed most people hadn’t ever thought of this before. I think a good illusion is to delay an animation and play an effect during the delay. Thank you!

1 Like

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