generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Building Helpers
Home Search
 

How do I make a plug in

Previous Thread :: Next Thread 
ethan3300 is not online. ethan3300
Joined: 10 Nov 2009
Total Posts: 5222
13 Aug 2011 05:16 PM
I just want to know how I can make a plug in the would in sert a spawn where I click.
Report Abuse
LordBricksmith is not online. LordBricksmith
Joined: 11 May 2011
Total Posts: 24192
13 Aug 2011 05:30 PM
I would make one but I don't really want to.
Report Abuse
LordBricksmith is not online. LordBricksmith
Joined: 11 May 2011
Total Posts: 24192
13 Aug 2011 05:34 PM
self = PluginManager():CreatePlugin()
mouse = self:GetMouse()
mouse.Button1Down:connect(function() onClicked(mouse) end)
self.Deactivation:connect(function()
Off()
end)
toolbar = self:CreateToolbar("Fun")
toolbarbutton = toolbar:CreateButton("", "Spawn Maker", "Spawn.png")
toolbarbutton.Click:connect(function()
if on then
Off()
else
On()
end
end)

function On()
self:Activate()
toolbarbutton:SetActive(true)
on = true
end

function Off()
toolbarbutton:SetActive(false)
on = false
end

function onClicked(mouse)
if on then
print(":D")
local model = game:GetService("InsertService"):LoadAsset("53326")
local npc = model:clone()
npc.Parent = game.Workspace
npc:MoveTo(mouse.Hit.p)
end
end










I made one, You just need to learn how to use it.
Report Abuse
ethan3300 is not online. ethan3300
Joined: 10 Nov 2009
Total Posts: 5222
13 Aug 2011 05:43 PM
Only other question is how do I get in the little tool bar thing
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Building Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image