How to edit the scripts source without doing script.source

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    make a FE tool
  2. What is the issue? Include screenshots / videos if possible!
    i want to edit the scripts but not doing script.source
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    yes
    After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

here is the script:

--// Variable \\--
local Player = game.Players.LocalPlayer
local Tool = Instance.new("Tool", Player.Backpack)
Tool.RequiresHandle = false
Tool.Name = "Delete"
Tool.ToolTip = "Hover your mouse tp the item you want do delete"

local function DeleteScript() -- Dekete scriptc
	local MainScript = Instance.new("Script", Tool)
	
	print("HI")-- for testing
end



Tool.Equipped:Connect(function()
	spawn(DeleteScript)
end)

Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.

any solutions are appriciated, if its impossible, then i will try to figure out another plan (sorry if my spelling is bad)

i don’t know if there is any other way to do so.

so is it impossible??? if not pls help me

im trying to make a tool for trolling

delte tool and add tool and move tool and clone tool like btools but ss

maybe instead of creating a script and editing it maybe try to make a premade script and copying it?

yeah, logic

30charatsssssssssssss

what do you eman by a premade script i cant do it manually because im going to use a (if i say the word roblox might ban me) on a game so if its manually then it wont worK

basically
you make a disabled script
when u NEED that script, copy it inside the desired parent and enable it

more of a script that already has things init

bt im going to use a executor so making that might not help me and btw where do i put the disabled script on?

ohhhhh so i make a script and i code it the exact way i want and copy it and set the thingy if thats true when what about the “” on the thing

I think it’s extremely hard to do…

send me a script on what you mean

require only works on modules not tools

I’m currently a beginner to script, the only thing i can do is the GUI Open/Close and the Kick thing. Also i forgot one, i can do the Menu…

Others, it’s hard to do…

modules can have functions to run when required, maybe like copy a script to player.Backpack.Tool

i dont really know scripting so idk what your talking about
but CLLIENT SIDE EXECUTORS DOSENT SUPPORT REQUIRE()

yes i know but how do i make it client sided bbecause it dosent work

now i will never troll ppl … lets try the gui method