Giter Club home page Giter Club logo

roblox-morpher-module's Introduction

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.

-- 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

-- 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!

roblox-morpher-module's People

Contributors

brh55 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.