I created this module for an old game of mine, which I now have no plans on finishing. I posted this video on social media and it gained quite some attention so I thought someone has to benefit from this module.
How to set it up:
This module finds the closest position via a part to the player when the module is fired.
First, create a Folder in the workspace named “Points”. This is the folder where you will put the parts of the points where the player will be transported to.
Check the example place for a visual example.
Basic Usage:
local enabled = false
local NoFreefall = require(script.NoFreefall)
part.Touched:Connect(function(Character)
local Player = game.Players.LocalPlayer
if (Player.Name == Character.Parent.Name) then
if enabled then return end
enabled = true
NoFreefall:Fire(Character.Parent)
enabled = false
end
end)
Brilliant Module, will definitely use it on a future project of mine that mainly focuses on the player ( like shown in the video ). Keep up the good work!
This is a great module, and it’s easy to set up as well. The effect and transition is remarkable. I’d say that this module would be great for those who doesn’t want their players to fall into the void and or having to teleport them back instantaneously by setting their CFrame which can be a bit puncturing as a whole. I’ll definitely be using this for my game, thanks for sharing this module of yours to the community!
This resource is incredible! I was looking into replicating a similar effect, but I simply lacked the time to determine how to do it. This reminds me of the float effect in Mario Galaxy when you try to jump beyond the boundaries (which I was attempting to replicate!)
Thank you for providing this resource!
Game seemed interesting and you seem to have the skill to have finished it, sorry to hear its over, i will take this module since it seems like a great and reusable script, you can now run server scripts in the client when using RunContext, or at least that’s what i got from it so if anybody wanted to run this serversidedly you can do that now.
Thank you so much for this wonderful resource! I ran into one minor issue with the Noclip function in NoFreefall line 62. It turns every parts collision off then on in Workspace. This can be a issue if you need some parts collision to stay off.
Added a solution to the problem that @ssmitty99 brought to attention with the collisions.
local module = require(script.NoFreefall)
module:CollisionSet(instance)
The “instance” can be a single part, model, or a folder of parts, and they will be unaffected by the Noclip function within the model, meaning whatever collision state you set within studio, it will stay the same.
The example place has been updated with this change.
Thank you so much for this resource! Could you make a tutorial for setting this up? I’m having issues with the character reappearing after it reaches the waypoint. For some reason, it will get stuck…