(help) studio wont stop crashing

Please help me fix my script it is not working,
If you are part of the roblox staff, please read my scripts very carefully so you can find the bug

  1. What do you want to achieve?
    I am trying to make a boss fight

  2. What is the issue?
    The script does not work when finding a targetplayer and crashes after a while

  3. What solutions have you tried so far?
    I tried checking if the targetplayer exists but the script never passes line 104

Boss script






David Script


4 Likes

“Nothing prints after a line”, which line is the one not printing?
This forum isn’t really for Roblox staff, almost everyone here is a volunteer.

Put print statements in, but don’t just print something like “Touched” or “shoot”. That doesn’t tell you why it isn’t working. Go to the if checks you do and print the variables you are checking before the if to see what they actually are at that point. They may not be what you expect.

There’s also the microprofiler (and the microprofiler walk through documentation) that tells you what is being affected during your testing. Give it a try as well.

3 Likes
  1. Having a remote to announce something in presumably chat is unsafe. Exploiters can use it as a vulnerability and would likely get your game taken down (especially if any strings that pass through the remote and into the chat are unfiltered). It doesn’t matter if it’s a Server script.
  2. Studio crashing at presumably line 104 is interesting, have you sent in a report to Roblox? This simple check shouldn’t crash Studio, there are logs under %localappdata%/Roblox/logs that you could check, maybe that could give you a clue?
  3. Script exhaustion should be kicking in if Studio is crashing. Are you checking actual Roblox characters or your custom made ones?

For such a simple script like this you really don’t need to read PDF files, what’s up with the self-explanatory comments like = true -- this is true?
Luau in Roblox does not allow filesystem RW, why are you creating new filetypes?

Consider my highlights and come back to me, we can fix this together! :slight_smile:

1 Like

the remote is a bindable event and cannot be exploited

I have sent a report to roblox but they have not responded

It could be the size of the “Predator” model which is designed to be huge to simulate the weight of predators irl but it only crashes when i run the boss script

the self explanatory comments are for the roblox staff that dont believe
the boolean value “DVBAZSUCK_IS_PDFILE” is equal to true, so it verifies the fact that is true

Very rare to see bindables these days. Roblox gets tons of reports a day for obvious reasons, they’re a billion dollar corporation, so you’re going to have to wait quite a while for an answer.
If you suspect that it could be the Predator model’s physical size (not weight/density), send it here. The physics engine does crash out sometimes.
Could it be the missing F in the upvalue DVBAZSUCK_IS_PDFILE? As you’re trying access the filesystem API the script could be checking that upvalue and crashing, not erroring, as soon as the if DVBAZSUCK_IS_PDFILE then scope is reached.

1 Like

This is the roblox Predator’s model, as you can see i made its physical size very large to simulate realism in my game

I have filled in the missing F in DVBAZSUCK and the missing E and O in the word PDFILE, but nothing has changed

just make me some es exploits bro :man_facepalming:

2 Likes

It could be that your model has too many tri’s (10,000 is the max) and the engine can’t decimate the model to reach that little. Try separating the head from the rest of the body, or separating each limb and re-welding it to the torso for example. Kinda like how Roblox does it.

Is DVBAZSUCK a PDF file? Then rewrite it as DVBAZSUCK_IS_PDFFILE. Make sure to apply that to each reference of that value inside the script.

1 Like

My model has 1,000,000,000,000 tri’s and i had to seperate each flab of fat but each section still has above 10,000 tris. I thought of reducing the amount of tri’s in my predator model but, the game would not be realistic to the shape roblox predators are irl

I rewritten it to DVBAZSUCK_IS_PDFFILE but, now the script crashes after line 105 instead of line 104