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 » Scripters
Home Search
 

Re: why isnt this working omfggggg

Previous Thread :: Next Thread 
DominusAstra is not online. DominusAstra
Joined: 23 Jun 2014
Total Posts: 12468
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
DominusAstra is not online. DominusAstra
Joined: 23 Jun 2014
Total Posts: 12468
27 Jan 2015 09:33 PM
nice views
Report Abuse
CrowClaws is not online. CrowClaws
Joined: 04 Jul 2010
Total Posts: 4466
27 Jan 2015 09:36 PM
output?
Report Abuse
DominusAstra is not online. DominusAstra
Joined: 23 Jun 2014
Total Posts: 12468
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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