Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/brh55/roblox-morpher-module

🌲⚡️ A simple Roblox modulescript that let's you morph a player to any existing model / object
https://github.com/brh55/roblox-morpher-module

lua modulescript roblox roblox-studio robloxlua

Last synced: 24 days ago
JSON representation

🌲⚡️ A simple Roblox modulescript that let's you morph a player to any existing model / object

Awesome Lists containing this project

README

        

# roblox-morpher-module
> 🌲⚡️ A simple roblox *modulescript* that let's you morph the player to any existing model / object

### Demo

## Pre-requisites
### Model Structure
In order for players to move in models, your model need to have a `Humanoid` component, as well as a `Head`, `HumanoidRootPart`, `Torso` that is properly welded.

#### Example Structure
image

## Usage
Copy over the script to your target folder, directory.

### Within a Script
Use this in the context of when you may want to directly call the morphing function such as a localscript for a GUI or for an event trigger.

```lua
-- Import the location of the module --
local morpher = require(workspace["Helper Scripts"].Morpher)

-- Pass along the parameters --
morpher.select(playerToMorph, ParentOfMorphingModel)
```

### Bind with a Proximity Prompt
This is a convenience method for when there is a proximity prompt on the model
```lua
-- Import the location of the module --
local morpher = require(workspace["Helper Scripts"].Morpher)

-- Pass along the parameters --
morpher.bindPrompt(model)
```

## License
MIT - Use it as you please :) - have fun scripting!