Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How would I make myself frozen for all the players but not for me?

How would I make myself invisible for all the players but not for me? I want to do a "time stop" effect and I have all the scripts. Do I need to create a clone of me and then make me invisible? Like this exemple: if I want to make my torso invisible for others but not for me

c = character:Clone()
	c.Parent = game.Workspace
	c.Name = (player.Name)
	character.Torso.Transparency = 1
	character.Torso.LocalTransparencyModifier = -1

Help :(

2 comments

0

You could make your place Filtering Enabled then Fire a function to the server from the client, and then from the client fire the function to all clients, except yours. :D, hope i helped

0

Thanks

2 answers

✓ Accepted answer
--------- In Client

------------------------------ this wasnt tested i just wrote in the spot might have erros, but its a guideline

Char = Player.Character

local myRemoteEvent = game.ReplicatedStorage.RemoteEvent

myRemote:FireServer(Char)

myRemoteEvent.OnClientEvent:Connect(function(Char)
	------ Then loop through it and make all parts invisible
end)


----------- InServer

local myRemoteEvent = game.ReplicatedStorage.RemoteEvent

myRemoteEvent.OnServerEvent:Connect(function(Player,Char)
	for i,, v in pairs(game.Players:GetPlayers()) do
		if v.Name ~= Player.Name then
			myRemoteEvent:FireClient(v,Char)
		end
	end
end)

I mean

c = character:Clone()
	c.Parent = game.Workspace
	c.Name = (player.Name)
	character.Torso.Transparency = 1
	character.Torso.LocalTransparencyModifier = 0

This discussion is preserved as it was. New answers, comments, and votes are closed.