|
| 13 Jul 2015 04:28 PM |
http://gyazo.com/268f8a74903e693c82f6dc1e292b1f97 I posted the code as a picture so you can see explorer too. It should work fine, and I don't understand why it's putting out that error. It's simple code ▲☭⎊▲Obama is a giant overlord space lizard▲⎊☭▲ |
|
|
| Report Abuse |
|
|
Datamora
|
  |
| Joined: 06 Jun 2014 |
| Total Posts: 78 |
|
| |
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 13 Jul 2015 04:36 PM |
Post the code here. I already see problems with it
"Talk is cheap. Show me the code." - Linus Torvalds |
|
|
| Report Abuse |
|
|
|
| 13 Jul 2015 04:42 PM |
Bizarre*
tycoon = script.Parent owner = "f"
a = tycoon.OwnerDoor.O if a.Name == "O" then a.Name = "Owner: Unowned" end --Assigns owner
function setOwner(x) if owner == "f" then owner = x.Parent.Name a.Head.Name = x.Parent.Name local i = 0 while i < i do a.touchOwner.Transparency = i wait(0.2) i = i + 0.1 end else x.Parent.Head:remove() end end
a.touchOwner.Touched:connect(setOwner)
▲☭⎊▲Obama is a giant overlord space lizard▲⎊☭▲ |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 13 Jul 2015 04:56 PM |
Change the hierarchy.
local door = script.Parent local head = door.Head
door.Touched:connect(function(hit) local human = hit.Parent:FindFirstChild("Humanoid") if human then local player = game.Players:GetPlayerFromCharacter(human.Parent) if player and head.Name == "Owner: Un-owned" then head.Name = "Owner: "..player.Name for i = 0,1,0.1 do script.Parent.Transparency = i wait(0.2) end end end end)
"Talk is cheap. Show me the code." - Linus Torvalds |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 13 Jul 2015 04:57 PM |
door.Transparency = i *
"Talk is cheap. Show me the code." - Linus Torvalds |
|
|
| Report Abuse |
|
|
|
| 13 Jul 2015 05:03 PM |
That works, thanks. You're probably the most active and useful on this forum at this hour.
▲☭⎊▲Obama is a giant overlord space lizard▲⎊☭▲ |
|
|
| Report Abuse |
|
|