|
| 27 May 2015 05:00 PM |
I'm trying to make it where if you kill an enemy you tp to a position It didn't work I would paste the script here but for some reason it said it was breaking rules? Here's the script: http://www.roblox.com/TP-script-item?id=252812666
|
|
|
| Report Abuse |
|
|
|
| 27 May 2015 05:10 PM |
local player = game.Players:GetPlayerFromCharacter() local Humanoid = script.Parent.Enemy function PwntX_X() local tag = Humanoid:FindFirstChild("creator") if tag ~= nil then if tag.Value ~= nil then player.Character.Humanoid.Torso.CFrame = CFrame.new(-------)
wait(0.1) script:Remove() end end end
Humanoid.Died:connect(PwntX_X)
|
|
|
| Report Abuse |
|
|
amanda
|
  |
| Joined: 21 Nov 2006 |
| Total Posts: 5925 |
|
|
| 27 May 2015 05:12 PM |
Why do you check if the tag value is not nil?
If it is a bool value, it can only be true and false. |
|
|
| Report Abuse |
|
|
|
| 27 May 2015 05:12 PM |
You and your free models need to leave this forum. (╯°□°)╯︵ ┻━┻
-𝒩 | Anticodist, Scripter |
|
|
| Report Abuse |
|
|
wjp02
|
  |
| Joined: 02 Feb 2011 |
| Total Posts: 46 |
|
|
| 27 May 2015 05:15 PM |
Could you post what error you're getting, or at least tell us what isn't working. Anyways my advice would be to look at what parts work until you reach what doesn't. |
|
|
| Report Abuse |
|
|
|
| 27 May 2015 05:23 PM |
"You and your free models need to leave this forum." If it was free modes then why didn't it work? And there are no models on the free model list like it.
I am clueless when t comes to scripting |
|
|
| Report Abuse |
|
|
| |
|