You can open a script on Roblox PC in Roblox Studio by opening your place, turning on Explorer if needed, then adding or selecting a Script and double-clicking it to open the editor. Roblox’s docs say to hover over ServerScriptService , click + , choose Script , and rename it if needed.

Basic steps

  1. Open Roblox Studio on your PC.
  2. Open the game or place you want to edit.
  3. Go to the View tab and enable Explorer if it is hidden.
  1. In Explorer, find ServerScriptService or the part/folder where you want the script.
  2. Click + and choose Script.
  1. Double-click the script to open it in the script editor.

About “rednex script”

If by “rednex script” you mean a script you downloaded from somewhere, be careful: many “script” downloads for Roblox are exploit tools or unsafe files, and Roblox Studio is the safe place for making and editing your own scripts. A video result about exploiting specifically describes using executors and bypassing protections, which is not the normal Roblox Studio workflow.

Safer way to use scripts

If your goal is just to learn or test code, the normal approach is:

  • Create the script inside Roblox Studio.
  • Paste or write your Lua code there.
  • Press Play to test it.

Example

A simple starter script can look like this:

lua

print("Hello World!")

That code can be placed in a new Script inside Roblox Studio and opened by double-clicking it.

If you want, I can show the exact clicks for PC Roblox Studio step by step.