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
 

Minimap scripts on roblox are broken

Previous Thread :: Next Thread 
Adilord is not online. Adilord
Joined: 13 May 2011
Total Posts: 51
02 Jun 2014 01:33 AM
I'm really frustrated that the reducer scripts are broken! They don't save wedges and I have to use the model reducer which isn't helpful. Someone please help or link me a minimap script that saves wedges. I don't really know of this is the right forum but anyways.
Report Abuse
wazap is not online. wazap
Joined: 29 Jun 2007
Total Posts: 23234
02 Jun 2014 02:49 AM
>scripting help
>posts in building helper
>lol

>you're lucky im here and not in the flaming mood


function getDescendants(model)
local table = {}
for i, v in pairs(model:GetChildren()) do
if v:IsA"BasePart" then table.insert(table, v) end
if #v:GetChildren() > 0 then
for k, q in pairs(getDescendants(v)) do
table.insert(table, q)
end
end
end
return table
end

function reduceModel(model, factor)
local minimap = Instance.new("Model", workspace)
local arr = getDescendants(model)
local center = model:GetModelCFrame().p
for i, v in pairs(arr) do
local newp = v:clone()
newp.Parent = minimap
newp.FormFactor="Custom"
newp.Size = v.Size/factor
newp.CFrame = CFrame.new((v.Position-center) /factor)
end
end






k
Report Abuse
Adilord is not online. Adilord
Joined: 13 May 2011
Total Posts: 51
02 Jun 2014 04:07 PM
ok thanks.
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