wow75
|
  |
| Joined: 16 Jan 2009 |
| Total Posts: 951 |
|
|
| 20 Aug 2012 08:39 AM |
Not like a starterpack, it's supposed to give you a weapon when you wear the face "Chill".
game.Players.PlayerAdded:connect(function(player) print('test1') player.CharacterAdded:connect(function(character) print('222222') if character.Head.face.Texture == "http://www.roblox.com/asset/?id=7074749" then print('3333333') game.Lighting:FindFirstChild("Action"):clone().Parent = player.Backpack print('4444444') end end) end)
Output: test1 222222
that's it..... |
|
|
| Report Abuse |
|
|
|
| 20 Aug 2012 09:22 AM |
It never prints 333333 because the script stops at the "if character.Head.face.Texture == "http://www.roblox.com/asset/?id=7074749" then" restriction. You need to wear the chill face into the game, find the actual asset id, and paste that into the script (Not the ID from the shop) |
|
|
| Report Abuse |
|
|
hunte922
|
  |
| Joined: 28 May 2008 |
| Total Posts: 6969 |
|
| |
|
wow75
|
  |
| Joined: 16 Jan 2009 |
| Total Posts: 951 |
|
|
| 20 Aug 2012 06:25 PM |
| Why do you think i put the chill ID? I'm wearing it, i got the id from play solo, from my actual face. (No not the one reading this comment xD) |
|
|
| Report Abuse |
|
|
wow75
|
  |
| Joined: 16 Jan 2009 |
| Total Posts: 951 |
|
| |
|
hunte922
|
  |
| Joined: 28 May 2008 |
| Total Posts: 6969 |
|
|
| 20 Aug 2012 07:09 PM |
For diagnostics, try this:
game.Players.PlayerAdded:connect(function(player) print('test1') player.CharacterAdded:connect(function(character) print('222222') if character.Head.face.Texture == "http://www.roblox.com/asset/?id=7074749" then print('3333333') game.Lighting:FindFirstChild("Action"):clone().Parent = player.Backpack print('4444444') else print("Failed! the ACTUAL texture is: " .. character.Head.face.Texture) end end) end) |
|
|
| Report Abuse |
|
|
wow75
|
  |
| Joined: 16 Jan 2009 |
| Total Posts: 951 |
|
|
| 20 Aug 2012 07:35 PM |
Im sooooo confused.. Output: Failed! the ACTUAL texture is: rbxasset://textures/face.png
This is the ACTUAL copy and pasted texture: http://www.roblox.com/asset/?id=7074749
O_e |
|
|
| Report Abuse |
|
|
wow75
|
  |
| Joined: 16 Jan 2009 |
| Total Posts: 951 |
|
|
| 20 Aug 2012 08:34 PM |
| Alright, i think the problem is, it loads the face after the script runs, so the chill face hasn't appeared yet, i tried putting a wait, but then it wouldn't run period, anyone know where i would put a wait in there? |
|
|
| Report Abuse |
|
|
|
| 20 Aug 2012 08:36 PM |
repeat wait() until p.Character
† KMXD 2.0 † |
|
|
| Report Abuse |
|
|
wow75
|
  |
| Joined: 16 Jan 2009 |
| Total Posts: 951 |
|
|
| 20 Aug 2012 08:46 PM |
Where in the script do i put it?
Knight? You get banned or something? |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
| |
|
wow75
|
  |
| Joined: 16 Jan 2009 |
| Total Posts: 951 |
|
|
| 20 Aug 2012 09:04 PM |
Miiiiiiiiiz!! :D Hai. Oh ok, he had 2 alts posting a lot so i thought he was banned. |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 20 Aug 2012 09:06 PM |
| Nah, he's too dull to be banned :P |
|
|
| Report Abuse |
|
|
wow75
|
  |
| Joined: 16 Jan 2009 |
| Total Posts: 951 |
|
|
| 20 Aug 2012 09:15 PM |
| Lolz, well can you answer my question then? |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 20 Aug 2012 09:18 PM |
repeat wait() until player.Character
|
|
|
| Report Abuse |
|
|
wow75
|
  |
| Joined: 16 Jan 2009 |
| Total Posts: 951 |
|
|
| 20 Aug 2012 09:21 PM |
| Lol, i meant where i put it. |
|
|
| Report Abuse |
|
|
|
| 20 Aug 2012 09:22 PM |
whoa WHAT!?!?!? IMA GET BANNED RIGHT NOW
† KMXD † |
|
|
| Report Abuse |
|
|
wow75
|
  |
| Joined: 16 Jan 2009 |
| Total Posts: 951 |
|
| |
|
wow75
|
  |
| Joined: 16 Jan 2009 |
| Total Posts: 951 |
|
|
| 21 Aug 2012 07:01 PM |
Super late bump... Where would i put the repeat wait() until? |
|
|
| Report Abuse |
|
|
hunte922
|
  |
| Joined: 28 May 2008 |
| Total Posts: 6969 |
|
|
| 22 Aug 2012 01:49 PM |
You don't need that. Try this:
already = false game.Players.PlayerAdded:connect(function(player) print('test1') player.CharacterAdded:connect(function(character) print('222222') while true do if character.Head.face.Texture == "http://www.roblox.com/asset/?id=7074749" then print('3333333') game.Lighting:FindFirstChild("Action"):clone().Parent = player.Backpack print('4444444') wait(9000) else if already == false then print("Failed! the ACTUAL texture is: " .. character.Head.face.Texture) end already = true wait() end end end) end) |
|
|
| Report Abuse |
|
|