fishy1000
|
  |
| Joined: 26 May 2008 |
| Total Posts: 497 |
|
|
| 11 Jun 2014 08:51 PM |
So you guys ever played Julius's, Different Town of Robloxia? You know how you can lock doors?
How would I go and make that too? |
|
|
| Report Abuse |
|
|
|
| 11 Jun 2014 08:53 PM |
No I have not. Explain what it does exactly. |
|
|
| Report Abuse |
|
|
fishy1000
|
  |
| Joined: 26 May 2008 |
| Total Posts: 497 |
|
|
| 11 Jun 2014 08:54 PM |
So basically you own a property and you can choose to lock your house doors and unlock them.
And it just locks from other players (including you) until you unlock it.
I'm also looking for a script that tells which player owns the property. |
|
|
| Report Abuse |
|
|
|
| 11 Jun 2014 08:55 PM |
... Do you even know how to script?
|
|
|
| Report Abuse |
|
|
fishy1000
|
  |
| Joined: 26 May 2008 |
| Total Posts: 497 |
|
|
| 11 Jun 2014 08:56 PM |
Nope. Not at all. That's why I'm here sir. |
|
|
| Report Abuse |
|
|
|
| 11 Jun 2014 09:01 PM |
1 Give each door a value for "Lock" number. Give each player a key with the same value as "Key" number. Key could be gui as well.
2 Make door vip door for individual players.
|
|
|
| Report Abuse |
|
|
fishy1000
|
  |
| Joined: 26 May 2008 |
| Total Posts: 497 |
|
|
| 11 Jun 2014 09:02 PM |
| I'd rather just make it way easier like Julius does. |
|
|
| Report Abuse |
|
|
fishy1000
|
  |
| Joined: 26 May 2008 |
| Total Posts: 497 |
|
| |
|
|
| 11 Jun 2014 09:23 PM |
"I'd rather just make it way easier like Julius does." You don't even script thus you're not making it. This forum is for debugging, not requesting code. If you want handouts, go elsewhere. |
|
|
| Report Abuse |
|
|
fishy1000
|
  |
| Joined: 26 May 2008 |
| Total Posts: 497 |
|
|
| 12 Jun 2014 12:23 PM |
| If you're just going to argue, you go somewhere else you 2012'er. |
|
|
| Report Abuse |
|
|
heroesp
|
  |
| Joined: 23 Feb 2011 |
| Total Posts: 3214 |
|
|
| 12 Jun 2014 12:25 PM |
It just checks if you own the house and if you do it changes CanCollide value to whatever you chose. You can take a model of those houses at the original welcome to the town of robloxia by 1dev2.
http://www.roblox.com/Welcome-to-the-Town-of-Robloxia-place?id=20723719 |
|
|
| Report Abuse |
|
|
| |
|
fishy1000
|
  |
| Joined: 26 May 2008 |
| Total Posts: 497 |
|
|
| 13 Jun 2014 01:40 PM |
This makes no sense. I copied the scripts.
Can someone help me out by taking a look at my place and the house that I'm editing with the script?
It's saved right at the house that says "BuyHouse". Which is the house that's not working. when I walk into it, it should remove my 500 dollars and say I'm the owner. But it does nothing.
http://www.roblox.com/The-Greenwood-Town-2-W-I-P-place?id=160274667 |
|
|
| Report Abuse |
|
|
fishy1000
|
  |
| Joined: 26 May 2008 |
| Total Posts: 497 |
|
| |
|
fishy1000
|
  |
| Joined: 26 May 2008 |
| Total Posts: 497 |
|
| |
|
|
| 13 Jun 2014 08:05 PM |
Nobody cares what year you joined in. I hope you know that since you got this idea from Julius' game, it must be in free models. Explore. |
|
|
| Report Abuse |
|
|
|
| 13 Jun 2014 08:06 PM |
| I think it would help if you'd learn to script first. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 13 Jun 2014 08:06 PM |
'08 people are dumb.
And just set the canccollide property to true |
|
|
| Report Abuse |
|
|
T1tan44
|
  |
| Joined: 08 Jun 2014 |
| Total Posts: 64 |
|
|
| 13 Jun 2014 08:06 PM |
Set CanCollide to false when its unlocked and true when its locked.Make sure u have a door brick in the workspace named "Door"
wait(0.1) door = workspace.Door locked = false
if (locked == false) then door.CanCollide = true end
if (locked == true) then door.CanCollide = false end
|
|
|
| Report Abuse |
|
|
T1tan44
|
  |
| Joined: 08 Jun 2014 |
| Total Posts: 64 |
|
| |
|
fishy1000
|
  |
| Joined: 26 May 2008 |
| Total Posts: 497 |
|
|
| 13 Jun 2014 08:36 PM |
I don't think you guys understand. I'm looking for a way to press a button to lock it but only the house owner can lock and unlock it. |
|
|
| Report Abuse |
|
|
fishy1000
|
  |
| Joined: 26 May 2008 |
| Total Posts: 497 |
|
| |
|
| |
|
|
| 14 Jun 2014 02:27 PM |
Gui Button script below. Insert it into the TextButton and learn.
Housedoor = game.Workspace.Door1 DoorsOpen = false
function ClickButton() if not DoorsOpen then DoorsOpen = true HouseDoor.CanCollide = false else if DoorsOpen then DoorsOpen = false HouseDoor.CanCollide = true end end end end
script.Parent.MouseButton1Down:connect(ClickButton) |
|
|
| Report Abuse |
|
|