SMS1337

Untitled

Jan 30th, 2015
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.38 KB | None | 0 0
  1. game.Players.PlayerAdded:connect(function(p)
  2.     p.CharacterAdded:connect(function(c)
  3.         local morph = game.ServerStorage.Morph:Clone()
  4.         for i, v in pairs(c:GetChildren()) do
  5.         if v:IsA("BasePart") then
  6.             v:Destroy()
  7.         end
  8.         v.Parent = morph
  9.         if v:IsA("Hat") then
  10.             v:Destroy()
  11.         end
  12.         if v:IsA("Humanoid") then
  13.             v:Destroy()
  14.         end
  15.         end
  16.     end)
  17. end)
  18.  
  19. morph is character.rbxm
Advertisement
Add Comment
Please, Sign In to add comment