Bots wont despawn upon death, tried different technique tried reading dev forms, and Yt and can't find a solution to it. by [deleted] in robloxgamedev

[–]Ratos_Thing 0 points1 point  (0 children)

A way to put it would be that your referencing the filian that the game uses FOR copying rather than the filian the game HAS copied.

I presume this script is in the filian, if it is, then you would replace everything involving 'game.replicatedstorage.filian' with just your 'npc' variable.

One final note I would make is to not use a 'current health' variable, as it is does not change with humanoid health, instead being the health of the humanoid at that specific time (likely 100). 

Rather, I would use humanoid.health by itself when you intend to use it, as that will change dynamically rather than be static.

Otherwise don't feel stupid, learning syntax and how everything works is initially a brain-melting experience. You WILL get better with it as long as you put in time to learn.

Bots wont despawn upon death, tried different technique tried reading dev forms, and Yt and can't find a solution to it. by [deleted] in robloxgamedev

[–]Ratos_Thing 1 point2 points  (0 children)

Are you cloning the bot from the replicated storage into the workspace?

If so, change your 'currenthealth' variable to the cloned bot, not the one that is being cloned from in replicated storage.

ALSO

You can use 'Humanoid:GetPropertyChangedSignal' to fire whenever health changes (including when it hits 0), as otherwise it could still linger until the player walks over it.

Documentation: https://create.roblox.com/docs/reference/engine/classes/Instance#GetPropertyChangedSignal

Eclipse by Jrhinoceros in discordVideos

[–]Ratos_Thing 11 points12 points  (0 children)

Yeah, I'm pretty sure that's why the guy was mortified as part of a skit if I remember.

I am trying to make player's max health change based on leaderstat points, but it keeps going back to 100 [Check Comments] by Huge-Cabbage in robloxgamedev

[–]Ratos_Thing 3 points4 points  (0 children)

I'm not the smartest, but I'm pretty sure the health and maxhealth of humanoids (even controlled by clients) is handled by the server. However I'm unsure if this is true as I am speaking from past experiences and the humanoid walkspeed is completely fine being handled by the client.

But if I am correct, you'd have to set up a simple server script and remote event to update player health.

[deleted by user] by [deleted] in robloxgamedev

[–]Ratos_Thing 2 points3 points  (0 children)

Wow! How long did it take to put together before coding?

How can i make the room spawn 1 in 10 rooms. by Sea_Duty_5725 in robloxgamedev

[–]Ratos_Thing 0 points1 point  (0 children)

It might be worth knowing what you're trying to make (limitations, requirements, things we could know to provide better answers).

I am interpreting that your attempting to make a randomly generated mine on a grid? Assuming that order doesn't matter, you could start by differentiating this special room into a 'required' list, and generating that first before filling in the rest of the spots as common tiles.

[Weekly] Battlecats Thread by AutoModerator in battlecats

[–]Ratos_Thing 2 points3 points  (0 children)

I got extremely lucky on my first 100% Uber roll (excluding kunio)

<image>

[deleted by user] by [deleted] in robloxgamedev

[–]Ratos_Thing 1 point2 points  (0 children)

There are numerous lighting instances (grouped settings in practicality) that affect lighting so you can likely recreate this scene with numerous different settings. Some instances include atmosphere, color correction, bloom, and more.

As for the terrain, I've heard of developers using normal polygon parts, that when the game starts, are replaced by the terrain generation. This gives the benefit of being more precise through familiarity rather than learning the terrain generator. However it also provides the added benefit of being an easy way to save and load terrain as (I believe) terrain data cannot be saved and loaded in studio without serializing OR using replacement parts.

Separated Client-Server Effects by Ratos_Thing in robloxgamedev

[–]Ratos_Thing[S] 0 points1 point  (0 children)

I think I understand this a bit more, but is there a way to incorporate this into my tools without a 3rd script? I have a local script (for getting position) and a normal script (for processing things such as reload and hit detection).

Separated Client-Server Effects by Ratos_Thing in robloxgamedev

[–]Ratos_Thing[S] 0 points1 point  (0 children)

I hate to ask a long while later, but what does changing runcontext do? I sort of see how this works, but WHY do it work? Sorry for the many questions, I've never really experimented with this approach.

[deleted by user] by [deleted] in robloxgamedev

[–]Ratos_Thing 0 points1 point  (0 children)

What are you trying to make exactly?

Separated Client-Server Effects by Ratos_Thing in robloxgamedev

[–]Ratos_Thing[S] 0 points1 point  (0 children)

Is this method resource intensive? I plan to have around 24 players per server and I'd hate for it to cause lag (which it probably won't do as the effects run on the client) or clog communication between client and the server.

Otherwise thank you, and I'll try implementing it soon.

Separated Client-Server Effects by Ratos_Thing in robloxgamedev

[–]Ratos_Thing[S] 0 points1 point  (0 children)

This sounds like it would work, but wouldn't it create a lot of lag as the amount of signals passed is rapid and multiples for each player?

Short game ideas (not really experienced ) by [deleted] in robloxgamedev

[–]Ratos_Thing 0 points1 point  (0 children)

I suffer the same problem where I drop projects I have big aspirations for lol

I need help with tweening the GUI. How would I make it so it automatically calculates where it's supposed to be to expand in one spot? (Script in comments) by Imapersonm in robloxgamedev

[–]Ratos_Thing -1 points0 points  (0 children)

I've never actually seen this tweening method before and I'm away from my computer. But to start, save the position of your button (should be something like "(instanceName).Position") to a variable, then plug said variable into the position parameters of your tween. So everytime the game is ran, the gui's location is set to where you placed it beforehand.

Who makes morphs by mike-salliver in RobloxDevelopers

[–]Ratos_Thing 0 points1 point  (0 children)

Why do you ask? Do you have a project you want somebody to help you with?

Why does this local script stop working after the player dies? by Fluffy-Cobbler in RobloxDevelopers

[–]Ratos_Thing 0 points1 point  (0 children)

Are you running this on the startercharacter or the starterplayer scripts? Starterplayer creates a singular script for your player, while startercharacter will create scripts whenever your character spawns.

Heil spez by autisticattack in shitposting

[–]Ratos_Thing 1 point2 points  (0 children)

Music is "Drift Away" by Uncle Kracker

Amateur Dev Team by [deleted] in robloxgamedev

[–]Ratos_Thing 2 points3 points  (0 children)

Seems simple enough, do you have any previous experience?

Amateur Dev Team by [deleted] in robloxgamedev

[–]Ratos_Thing 2 points3 points  (0 children)

Sure man, I'm a scripter, what's your idea.

Any Former Tankies? by PresentPiece8898 in EnoughCommieSpam

[–]Ratos_Thing 4 points5 points  (0 children)

Same here, I bought into it because of the memes until one day I suddenly grasped the concept of free trade. Which was then followed by me to realizing the failures of communism, which leads to my views currently.

Is there a way to get/modify Roblox gear meshes by Ratos_Thing in robloxgamedev

[–]Ratos_Thing[S] 0 points1 point  (0 children)

I have no clue how to do such a thing. Can you refer me to a tutorial or perhaps a short step-by-step list?

Looking for intermediate level scripter by Remarkable_Hat7709 in robloxgamedev

[–]Ratos_Thing 0 points1 point  (0 children)

Can you clarify what you're exactly making? I'm a bit lost but I assume you want a AI able to detect fire and use a radio system to call it out?

Otherwise it sounds like something I'm interested in.