#Need a developer for a simulator im making

23 messages · Page 1 of 1 (latest)

olive briar
#

I need help making a roblox simulator i am a map maker with no coding experience could i have a partner to work with on this game?

jade aurora
#

This is for scripting help :3

olive briar
#

Sorry

peak veldt
#

Ez scripts lol but some i can’t do since im still kinda new to it but i started in 2017 but i do take breaks like bout 6 months out of the year to refresh my memories

weak rock
#

you can practically make a full one with just free models

peak veldt
quaint adder
#

all help

#

for like 4 hours

peak veldt
#
local Door=workspace.Door.To.Touched
local db=false
function Hi(hit)
    if hit.Parent:FindFirstChild('Humanoid') then
        local player = game.Players:GetPlayerFromCharacter(hit.Parent)
        local Cash = player.stats.Cash
        if Cash.Value>=10 then
            workspace.Door.To.CanCollide=false
            task.wait(0.1)
            workspace.Door.To.CanCollide=true
            return function()
                if not db then
                    db=true
                    task.wait(1)
                    hit()
                    db=false
                end
            end
        end
    end
end
Door:Connect(Hi)```use this for the next world door
#

@olive briar u should use something like that

weak rock
#

too many nested ifs

peak veldt
#

u know it works since it returns the db

weak rock
#
Door.Touched:Connect(function(Hit)
  if not Hit or not Hit.Parent:FindFirstChildWhichIsA("Humanoid") then return end
  local Player = game.Players:GetPlayerFromCharacter(hit.Parent)
  local Cash = Player.leaderstats.Cash
  if Cash.Value <= 10 then return end
  --[[

  Open Door  

  ]]
end
weak rock
peak veldt
#

oh its ez because u dont need to have 6 db values

weak rock
#

you just need to define the door and the debounce

peak veldt
weak rock
#

less optimized + harder to read

#

but i wouldn't even write 1 script just for 1 door
you can clump them all together