What do you want to achieve? Keep it simple and clear!
I want to make some spheres that consume things (like trees or players) except for the floor and other important parts, here are a few examples: “Survive the Sphere” minigame in Epic Minigames, or like the “RUN” experiences I have been seeing all over the place in 2016 Roblox.
What is the issue? Include screenshots / videos if possible!
I wasn’t sure how they work, or how to move them around and consume things.
Here is a video of the Epic Minigames minigame:
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I first thought if you had to manually weld things to make maps and then once the sphere touches it, the parts welded get consumed and go inside the sphere, but I’m not really sure how I would do this. There wasn’t anything on the devforum that was related to this problem.
You can have your sphere go to random locations, and give it a hit box. If something other than the floor touches it then you can teleport it into the sphere. To check if its a part that you dont want to get consumed then try this:
if hit.Name ~= 'Important Part1' or 'Baseplate' then
You could make a folder of all the objects that are effected by sphere
Check the distance of each of those objects inside that folder
If the object is within a certain distance you can add an AlignPosition to the object with the AlignmentMode set to OneAttachment and set the position of the AlignPosition to the sphere
So you’re saying that I should weld the unanchored parts? Also, I would just have to use the GetChildren() function for the Folder that contains what the sphere consumes, like I named it Consume, because I organize a lot with folders.
ok first of all u gotta make the sphere
second, u can try making it move towards closest player or a random location
then u can either use touched event to make parts move inside it and then weld it to the sphere and if u want make the sphere bigger
and then if it touched a player u move the player inside the sphere and slowly kill him
u dont really need welds for the map just set the part to unanchored if u detect it
also for important stuff u can add inside folder and in the detection part check if the part isnt a descendant of that folder
u can also add custom health if u want combat