Rocks Module - Useful for Anime Games Skill Effects

this module is great, however when creating this it seems that the creation is “instant”, and not have some sort of animation, is there a way i can work my way out of it?

1 Like

I used to have a tween on it, but it caused it to sometimes not create the roof part and the looking weird. There probably is a way, but I can’t really do anything currently due to my limited time.

A really great module! Being able to use this module to make linear rocks effect instead of just 1 circular rocks effect would be really awesome, but other than that, this is really good!

1 Like

helpful cuz idk how to do maths

I keep on getting an error, on line 26.

attempt to perform arithmetic (div) on number and nil 
local humanoidHeightScale = Hum.BodyHeightScale.Value
local scaleY = 3 * humanoidHeightScale

local charPos = HumRp.Position
local changeY = Vector3.new(0, scaleY, 0)
local charFloorPos = charPos - changeY + Vector3.new(0, 1, 0)

print(charFloorPos)
RocksModule:Ground(charFloorPos + Vector3.new(0, 1, 0), 35, Vector3.new(6, 4.5, 6), nil, 20, false, 3)
1 Like

Is there any way to make this server sided?

Why would you make this server sided? It would just cause more lag and delay.

Cloud assume its only working for one client at the moment?
Try using fire all clients so everyone can see it if that is the case.

I have an idea but idk if it can work with meshes, but maybe you can draw a sphere on the surface you want the crater on, and put the rocks wherever the sphere intersects the surface?

Everytime a fix an error with this module it just creates a new one.

1 Like

Same thing is happening for me, I tried going into the module to see if I could improve any variables but I get new errors. In the end I reversed my edits, now I’m just stumped.

1 Like

I recommend you NOT to use it at its current state, I’m working on a new module that has a way better execution of the code and a proper utilization of the PartCache.
It will also contain some other effects that can come useful for some people.

1 Like

Thanks for the update, along with your hard work!

1 Like

Any update on the new module??

It pleases me to take the honor to do the job, I made the rocks debris to be creatable on walls.

IT TOOK ME 2 DAYS TO DO THIS.

Here’s is the new module:

A new approch of calling the module must be followed:

  • The new arguments:

  • Normals added

So you have to use raycast
Example:


Sorry its white themed

As you can see there must be surface normals for it to face the surface’s direction.

I hope I provided a hand of help :smiley:

  • EDIT:
    New feature added (Fade in, It used to js appear suddenly)
5 Likes

Model is Privated, Not sure why

oh really? mb try it now please

Thank you for taking the initiative on this project!
I started working out of Roblox some months ago so I have not been able to contribute in Roblox.
I’ll pin your module to the main topic once I get home.

2 Likes

Oh i see well i wanna take the chance to ask you which one is funnier? roblox studio or the other thing

It depends on what I need to make so usually I have fun on both, but I’m more familiar with Lua.
For context, I work with C# in a local company, but I’ve had never done any programming language other than Lua before that, so I’m fairly new to it (started working and learning it on Feb of this year).

Tldr: I prefer working with Lua due to my familiarity with it, but I don’t find much difference between them in terms of enjoyment.

2 Likes