|
To elaborate on the title, I'm paying up to R$1000 to whoever can modify the function of a pre-existing script to work when filtering enabled is on. Additionally, I'll also pay if someone can make one of the door models (link below) require a gamepass to be owned. The script is placed in a clickable gui and works when filtering enabled is off but I can't figure out how to change the function to work with filtering enabled (I Believe that I need to use remote events but am unsure). I went ahead and annotated some lines just to help show what is going on.
I honestly have no clue how much would be reasonable to charge to modify the script, so post how much you would charge and I'll match it up to R$1000 (if both models work with filtering enabled and one model works but requires a gamepass to own); I'll pay R$250 for the filtering enabled door and R$750 for the filtering enable + gamepass door. If you do work on the script, just send me a pm with proof that the model(s) work, preferably by putting the model(s) in your place and sending me the link to it, and proof that the place it's in is filtering enabled.
Here is the Script:
function onButtonClicked() --Note: Gui is using a textbutton
local x = game.Workspace:FindFirstChild("Home"..script.Parent.Parent.Parent.Parent.Name)
if not (x) then
return
else
if script.Parent.Text == "Unlock Room Doors" then
script.Parent.Text = "Lock Room Doors"
x.Home.FDoor.CanCollide = false --When unlocked, you can walk through front door
x.Home.FDoor.Transparency = 1 --Front door becomes invisible when open
x.Home.DoorknobLock.Transparency = 1 --Doorknob becomes invisible when FDoor open
x.Home.FDoor2.Transparency = 0 --FDoor2(open position)becomes visible when FDoor is open
x.Home.DoorknobLock2.Transparency = 0 --This line and next just do opposite of FDoor
x.Home.FDoor2.CanCollide = true
x.Home.BDoor.CanCollide = false --Secondary door
x.Home.BDoor.Transparency = 1
x.Home.DoorknobLock3.Transparency = 1
x.Home.BDoor2.Transparency = 0
x.Home.DoorknobLock4.Transparency = 0
x.Home.BDoor2.CanCollide = true
x.Home.GDoor.CanCollide = false --Third door
x.Home.GDoor.Transparency = 1
x.Home.DoorknobLock5.Transparency = 1
x.Home.GDoor2.Transparency = 0
x.Home.DoorknobLock6.Transparency = 0
x.Home.GDoor2.CanCollide = true
elseif script.Parent.Text == "Lock Room Doors" then
script.Parent.Text = "Unlock Room Doors"
x.Home.FDoor.CanCollide = true
x.Home.FDoor.Transparency = 0
x.Home.DoorknobLock.Transparency = 0
x.Home.FDoor2.Transparency = 1
x.Home.DoorknobLock2.Transparency = 1
x.Home.FDoor2.CanCollide = false
x.Home.BDoor.CanCollide = true --Secondary Door
x.Home.BDoor.Transparency = 0
x.Home.DoorknobLock3.Transparency = 0
x.Home.BDoor2.Transparency = 1
x.Home.DoorknobLock4.Transparency = 1
x.Home.BDoor2.CanCollide = false
x.Home.GDoor.CanCollide = true --Third Door
x.Home.GDoor.Transparency = 0
x.Home.DoorknobLock5.Transparency = 0
x.Home.GDoor2.Transparency = 1
x.Home.DoorknobLock6.Transparency = 1
x.Home.GDoor2.CanCollide = false
end
end
end
script.Parent.MouseButton1Click:connect(onButtonClicked)
Here is a link to the model:
https://www.roblox.com/library/719698765/FilteringEnabled-Door-project |
|
|
Sorry, here is a correction to the second paragraph: I'll pay R$1000 if you can fix the door and make it require a gamepass, not match up to R$1000. More R$ for you! |
|
|
TimeTicksJoin Date: 2011-04-27 Post Count: 27115 |
ill do it
|
|
FangousJoin Date: 2010-07-03 Post Count: 4448 |
ever heard of a loop lol |
|
TimeTicksJoin Date: 2011-04-27 Post Count: 27115 |
finished it
streamable
.
com/ez46u
sorry about the music lol
|
|
JoshRBXJoin Date: 2012-05-19 Post Count: 8778 |
sick music
|
|
TimeTicksJoin Date: 2011-04-27 Post Count: 27115 |
If that isnt sarcasm, here is the song:
https://www.youtube.com/watch?v=UbpSV3gBRfk
|
|
IsostaJoin Date: 2015-05-10 Post Count: 14729 |
no. worst code i've ever seen, you don't know how to use a loop. bad.
|
|
|
@TimeTicks Thank you very much! Would you like me to pay you via a t-shirt, gamepass, or group? |
|
TimeTicksJoin Date: 2011-04-27 Post Count: 27115 |
|
|
|
could you loop this and do something like
local home = x.Home
for i = 1, whatever do
home.FDoor .. i .. CanCollide = false
home.FDoor .. i .. Transparency = 1
instead of all the code
r+://718058112r+://718058837 |
|
IsostaJoin Date: 2015-05-10 Post Count: 14729 |
local home = x.Home
for i = 1, whatever do
home.FDoor .. i .. CanCollide = false
home.FDoor .. i .. Transparency = 1
worst pseudo code i've ever seen..
|
|
|
cheers fam
i try my best
r+://718058112r+://718058837 |
|
|
TimeTicksJoin Date: 2011-04-27 Post Count: 27115 |
i updated it
|
|