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 » Roblox » All Things ROBLOX
Home Search
 

Re: How do I make an owner only door for a tycoon?

Previous Thread :: Next Thread 
MuPower is not online. MuPower
Joined: 08 Jan 2013
Total Posts: 4605
04 Feb 2015 11:42 PM
I'm a scripting fail :(
And this doesn't work so:

function onTouched(hit)
local owner = script.Parent.Parent.OwnerName.Value
check = hit.Parent:FindFirstChild("Humanoid")
if check ~= nil then
local user = game.Players:GetPlayerFromCharacter(hit.Parent)
if owner == user.Name then
print("owner")
else
hit.Parent:FindFirstChild("Humanoid").Health = 0

end
end
end

script.Parent.Touched:connect(onTouched)


Why do chickens hate my siggy? Ѽ MũƤǒŵЄṞ Mk
Report Abuse
PvN is online. PvN
Joined: 10 Apr 2010
Total Posts: 22145
05 Feb 2015 12:05 AM
u touch it
owner is dis guy
is dis owner touching dis
do tings
omg is not owner
die
we done cheking for dis
u done touching it
Report Abuse
MuPower is not online. MuPower
Joined: 08 Jan 2013
Total Posts: 4605
05 Feb 2015 12:11 AM
Gg, best script ever above.

Why do chickens hate my siggy? Ѽ MũƤǒŵЄṞ Mk
Report Abuse
Gunism is not online. Gunism
Joined: 13 Apr 2014
Total Posts: 37115
05 Feb 2015 12:12 AM
"script.Parent.Touched:connect(onTouched)"
fix this moron

</^>
Report Abuse
Gunism is not online. Gunism
Joined: 13 Apr 2014
Total Posts: 37115
05 Feb 2015 12:13 AM
oh ship
nevermind

i forgot lua is crap

</^>
Report Abuse
reptiledude10 is not online. reptiledude10
Joined: 16 Mar 2012
Total Posts: 29235
05 Feb 2015 12:14 AM
Use "local check" instead of "check"




Go troll in OT.
Report Abuse
uninstaII is not online. uninstaII
Joined: 10 Oct 2014
Total Posts: 16
05 Feb 2015 12:14 AM
2 BOBS = (.Y.)


~Bob
Report Abuse
nosyliam is not online. nosyliam
Joined: 29 Jan 2010
Total Posts: 901
05 Feb 2015 12:14 AM
bro go to scripting help
and r u making another crap baitnswitch tycoon or somethin
Report Abuse
FridayTruffle is not online. FridayTruffle
Joined: 20 Mar 2010
Total Posts: 10518
05 Feb 2015 12:16 AM
@Mu

Srsly

You dont know how?
I haven't done lua in a while

But you make some games and you probably use lua (presumably)

-Ew don't even play!
Report Abuse
nosyliam is not online. nosyliam
Joined: 29 Jan 2010
Total Posts: 901
05 Feb 2015 12:17 AM
lol now that I look you made speed run 4
and you cant make an owner only door
uhhhhhhhhhhhhhhhhhhhhhhhhhhhh
copied game much?
Report Abuse
MuPower is not online. MuPower
Joined: 08 Jan 2013
Total Posts: 4605
05 Feb 2015 12:28 AM
Speed run is an obby. Do you really think that you have to script to make a part?
I'm a builder, not a scripter.

And yes, I am extremely hopeless at Lua.

Why do chickens hate my siggy? Ѽ MũƤǒŵЄṞ Mk
Report Abuse
FridayTruffle is not online. FridayTruffle
Joined: 20 Mar 2010
Total Posts: 10518
05 Feb 2015 12:31 AM
me too

-Ew don't even play!
Report Abuse
MuPower is not online. MuPower
Joined: 08 Jan 2013
Total Posts: 4605
05 Feb 2015 12:33 AM
And thanks Rept.

Why do chickens hate my siggy? Ѽ MũƤǒŵЄṞ Mk
Report Abuse
nosyliam is not online. nosyliam
Joined: 29 Jan 2010
Total Posts: 901
05 Feb 2015 12:39 AM
d; sorry for what I said earlier, speed run is amazing, I want to offer you a job (party me!)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Roblox » All Things ROBLOX
   
 
   
  • 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