Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
2

My scripts aren't saving or publishing Help?

Asked by 4 years ago

So i'm using team create, and usually it say "script(Marine5575 editing)" and i can apply edits, but now, i can't save or publish it and its scaring me. Help? Here's my script Maybe its a problem with my script

local players = game.Players:GetPlayers()
local count = 0
script.Parent.Touched:Connect(function(hit)
    local Player = game.Players:GetPlayerFromCharacter(hit.parent)
    if Player then
        if Player:FindFirstChild("InElevator") == nil then
            local boolValue = Instance.new("BoolValue",Player)
            boolValue.Name = "InElevator"
            boolValue.Value = true
            CheckPlayers()
            print("Checked Players!")
        end 
    end

end)  
function CheckPlayers()
    print("CheckingPlayers!")
    for i,v in pairs(players) do
        print(i,v)
        if v:FindFirstChild("InElevator").Value then
            count = count + 1
            print(count)
        end
    end
end
0
Try turning off collaborative editing in the settings royaltoe 5144 — 4y
0
Home Tab -> Game Settings -> Options -> Enable Collaborative editing. (then turn it off) royaltoe 5144 — 4y
0
ok marine5575 359 — 4y
0
I tryed that and it did nothing, could it be that the people who own it are not on? marine5575 359 — 4y
View all comments (5 more)
0
Maybe? royaltoe 5144 — 4y
0
Is anyone else editing it with you at the same time? killerbrenden 1537 — 4y
0
No. I'm the only one on i think marine5575 359 — 4y
0
Close the script from the top bar. It should show that you applied edits to the script TramHammer3772 29 — 4y
0
Ok i'll try that marine5575 359 — 4y

4 answers

Log in to vote
0
Answered by
7z99 203 Moderation Voter
4 years ago
Edited 4 years ago

I'm pretty sure this is to do with the new update that came out recently.

1- At the top, go to view. 2- Navigate to drafts. 3- Right click each script. 4- Ensure you are sure that this is the correct version of the script, there should be a button called "view script" or something like that, press that and just skim over your script 5- Press commit.

I believe you can turn off scripts by navigating to File -> Settings -> Studio -> Always Save Script Changes, then check it to true. If this doesn't work or you don't want to do it for some reason, you're going to have to commit each script individually.

That should do it.

Ad
Log in to vote
0
Answered by 4 years ago

So sometimes this happens. The best thing I've found to do is either 1] Turn off collaborative editing 2] If that doesn't work, close your script and it should say in the console [Your Name] applied changes to [Script name]. 3] If that still doesn't work, back the game up and save it locally. Then, import it and publish it to the pre-existing place.

Log in to vote
0
Answered by
I_Nev 200 Moderation Voter
4 years ago

This is a bug with collaborative editing, You can turn it off and it will still put scripts into drafts. Best thing i have found to do is opening a new place, turning off collab editing before you even do anything else then go back to the game and publish it to the place you just made, then work on it in the copy. When you're ready to update just publish to the normal place

Log in to vote
0
Answered by 4 years ago

Im 90% sure that this is a bug with your roblox studio, or the team create. so, do one of the following.

  1. Uninstall And Reisntall Roblox Studio

  2. Stop And Remake The Team Create

If these dont help, then, idk what else to do then.

Answer this question