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 » Scripting Helpers
Home Search
 

Ya know what?

Previous Thread :: Next Thread 
snake88usa is not online. snake88usa
Joined: 11 Jun 2010
Total Posts: 960
11 Sep 2011 05:03 PM
function Burgerify(Character)
if Character:FindFirstChild("Head") then
for _, Object in pairs(Character.Head:GetChildren()) do
Object:Remove()
end
end
for _, Object in pairs(Character:GetChildren()) do
if Object:IsA("Part") then
if Object.Name ~= "Torso" then
Object.Transparency = 1
end
end
if Object:IsA("Hat") or Object:IsA("CharacterMesh") then
Object:Remove()
end
end
local Burger = Instance.new("SpecialMesh", Character:FindFirstChild("Torso"))
Burger.MeshId = "rbxassetid://16646125"
Burger.MeshType = "FileMesh"
Burger.Name = "BurgerMesh"
Burger.Offset = Vector3.new(0, 0, 0)
Burger.Scale = Vector3.new(5, 5, 5)
Burger.TextureId = "http://www.roblox.com/asset/?id=16432575"
end

game.Players.PlayerAdded:connect(function(Player)
Player.CharacterAdded:connect(function() Burgerify(Player.Character) end)
end)



It sorta works but it doesnt remove Hats or CharacterMesh like it should.
Report Abuse
Bob123456789103570 is not online. Bob123456789103570
Joined: 23 Dec 2008
Total Posts: 9531
11 Sep 2011 05:42 PM
There are so many things wrong with this script that I don't even want to start.
Report Abuse
blu100 is not online. blu100
Joined: 17 Nov 2009
Total Posts: 33
11 Sep 2011 05:59 PM
Eye Yeye Yeye, your an epic fail, no affence, but there IS alot of this gone wrong in that script, i Cant even say the all, theres too many errors, sorry dude. Blu-Out
Report Abuse
blu100 is not online. blu100
Joined: 17 Nov 2009
Total Posts: 33
11 Sep 2011 06:00 PM
Ya know what? Imma make the script, test it, then see if i can fix ALL the errors, i'll try dude.
Report Abuse
Danielvicepic is not online. Danielvicepic
Joined: 29 Aug 2013
Total Posts: 32167
11 Sep 2011 06:45 PM
[ Content Deleted ]
Report Abuse
snake88usa is not online. snake88usa
Joined: 11 Jun 2010
Total Posts: 960
11 Sep 2011 06:45 PM
So many problems? Yea right. We added a simple wait to it and it fixed it.
Report Abuse
Bob123456789103570 is not online. Bob123456789103570
Joined: 23 Dec 2008
Total Posts: 9531
11 Sep 2011 07:09 PM
Well, go along with your crazy scripting theories then.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting 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