I have two scripts changing the player's camera view:
script 1:
local pos=script.Parent.pos
local camera = workspace.CurrentCamera
repeat wait() until pos.Value~=nil
camera.CameraSubject = pos.Value
camera.CameraType = "Scriptable"
local angle = 5
--
while wait() do
camera.CoordinateFrame = CFrame.new(pos.Value.Position)
* CFrame.Angles(0, angle, 0)
* CFrame.new(0, 0, 30)
angle = angle + math.rad(.5)
if script.Value.Value == true then
break
end
end
camera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid
camera.CameraType = "Custom"
script.Parent:Destroy()
script.Disabled = true
script 2:
local pos = script.Parent.pos
local num=#(workspace.SpinLocations:GetChildren())
local cam = workspace.CurrentCamera
local lit = 1
while true do
script.Parent.pos.Value=workspace.SpinLocations["cameraspin"..lit]
if lit<num then
lit=lit+1
elseif lit>=num then
lit=1
end
wait(2)
end
script.Disabled = true
I tried putting script.Disabled = true at the end of both scripts, but when I reset the script still functions.
How do I make my scripts not function after reset?
Any help is appreciated :)

1 comment
"{SOLVED BY ASKER}" Then you should answer your own question