Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local girls = {15308413,68858010,10847192,14349727,35464197}
- -- http://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=15308413
- local charchangeallowed = true
- function loadrandapp(plr)
- if charchangeallowed == true then
- charchangeallowed = false
- local child = plr
- child.CharacterAppearance = ("http://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId="..girls[math.random(1,#girls)])
- local prt = Instance.new("Part",workspace)
- prt.Position = child.Character.Head.Position
- prt.Transparency = 1
- prt.Anchored = true
- prt.CanCollide = false
- child:LoadCharacter()
- wait()
- child.Character:MoveTo(prt.Position)
- child.Character.Humanoid.Died:connect(function() delay(5,function() loadrandapp(child) end) end)
- prt:Destroy()
- charchangeallowed = true
- end
- end
- for index, child in pairs(game.Players:GetChildren()) do
- child.Changed:connect(function(c) if tostring(c) == "CharacterAppearance" then loadrandapp(child) end end)
- if child:IsA("Player") then
- loadrandapp(child)
- wait()
- end
- end
- game.Players.PlayerAdded:connect(function(p)
- delay(0.5,function() loadrandapp(p)
- local child = p
- child.Changed:connect(function(c) if tostring(c) == "CharacterAppearance" then loadrandapp(child) end end)end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement