|
| 27 Jan 2015 09:29 PM |
local GUI = script.Parent.Parent.Parent --ScreenGui local input = script.Parent.Parent.input.Text local btn = script.Parent local p = game.Players.LocalPlayer
btn.MouseButton1Down:connect(function(c) local input1 = game.InsertService:LoadAsset(input) if input1:IsA("Face") or input1:IsA("Decal") then input1.Parent = p.Character.Head input.Text = "Face changed!" GUI:Destroy() elseif not input1:IsA("Face") then input.Text = "This is not a face/decal ID! Try again." input1:Destroy() end end) |
|
|
| Report Abuse |
|
|
| |
|
CrowClaws
|
  |
| Joined: 04 Jul 2010 |
| Total Posts: 4466 |
|
| |
|
|
| 27 Jan 2015 09:38 PM |
wow..
i was doing something totally wrong so i just went with this
local GUI = script.Parent.Parent.Parent --ScreenGui local input = script.Parent.Parent.input.Text local btn = script.Parent local p = game.Players.LocalPlayer local db = false
btn.MouseButton1Down:connect(function(c) db = true p.Character.Head.face.Texture = "http://www.roblox.com/asset/?id="..input db = false GUI:Destroy() end)
way easier lmao i wanna shoot myself |
|
|
| Report Abuse |
|
|