Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/brh55/roblox-morpher-module
- Owner: brh55
- Created: 2022-07-12T14:41:03.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-12T15:12:45.000Z (over 2 years ago)
- Last Synced: 2024-11-30T03:42:36.570Z (3 months ago)
- Topics: lua, modulescript, roblox, roblox-studio, robloxlua
- Language: Lua
- Homepage:
- Size: 23.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
## 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!