1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Dovator [93]
3 years ago
11

Trying to make the baseplate red and turn off can collide then the game waits 5 seconds and turns on can collide, making the bas

eplate green aswell.
would this script work?

local myBasePlate = game.Workspace.Baseplate

local function makeBasePlateRed()
myBasePlate.CanCollide = false
myBasePlate.BrickColor = BrickColor.Red()
end

makeBasePlateRed()

wait(5)
local function makeBasePlateGreen()
myBasePlate.CanCollide = true
myBasePlate.BrickCOlor = BrickColor.Green()
Computers and Technology
1 answer:
kenny6666 [7]3 years ago
4 0

Answer:

Explanation:

yes

but dont forget to call makeBasePlateGreen

maybe you would call it at the end of the program?

by the way you have a typo at the end

make the O lowercase

myBlasePlate.BrickColor = BrickColor.Green()

and then add this to the end

makeBasePlateGreen()

so you call the function and actually use it.

You might be interested in
Which of the following is an example of a complex formula
morpeh [17]
I need to know the following 
5 0
3 years ago
• The length of time between water level measurements/ control adjustments is DT. • If the water level drops to the bottom of th
VikaD [51]

Answer:

Water level control systems are used to control the level and flow of water circulation systems for a variety of processes. The device that performs the controlling action is a valve which is attached to a controller whose main objective is to maintain a desired set point level as well as accept a new one desired by the control engineer.Fuzzy logic is widely used in the control of many processes, including that of the control of the water level in a tank.

DESIGN APPROACH

The system consists of a tank, a valve, a fuzzy logic controller, the inputs (level, rate) and the outputs (scopes).The tank system is modelled using SIMULINK and consists of two pipes; one flowing in and the other flowing out denoted by inflow and outflow respectively. The fuzzy controller controls the valve that changes the diameter of the inflow pipe but the outflow rate depends on the diameter of the outflow pipe (which is constant) and the pressure ( which depends on the level ) of the water. Thus, by keeping the water level at the desired set-point, we ensure that the tank works properly.

Water Level Control in a Tank PID(s) PID Controller Mux WATER TANK VALVE Mux2 S-Function SwitchSubsystem Mux tank 2 Sum1

The watertank design model, shown in the figure below, models a feedback loop for regulating the water level in a water tank. The Controller block contains the first-order compensator to be tuned.

The simulink model of the control system is

mdl = 'watertank_comp_design';

open_system(mdl);

Voltage for H 10-C- (++ Input Output Desired Water Level Controller Scope Water-Tank Systemm

The Water Tank subsystem models the water-tank dynamics. Water enters the tank from the top at a rate proportional to the voltage, V, applied to the pump. The water leaves through an opening in the tank base at a rate that is proportional to the square root of the water height, H, in the tank. The presence of the square root in the water flow rate makes the plant nonlinear.

Simulation

Simulate controller response with periodic changes in the setpoint of the water level. When you run the model, the Rule Viewer updates dynamically to show which rule the fuzzy controller is using to set the flow rate.

sim('sltankrule',100);

bdclose('sltankrule');

4 0
4 years ago
What are the basic components of a Production System?
Fudgin [204]

Answer:

a) Input: Energy entered

b) Conversion process: Applies action

c) Outputs: Information that is been taken out.

Explanation:

Hope it is right and helps.

3 0
3 years ago
What are the services offered by web-based email?​
slega [8]

Answer:

Web based email is a service that allows to access and use electronic mail via web browser.

It allows clients to login into the email software running on a web server to compose, send and receive, delete mails basically.

8 0
3 years ago
All of the following are examples of roadblocks to achieving a goal except
Volgvan
Having to many goals
6 0
3 years ago
Read 2 more answers
Other questions:
  • The Joint Photographic Experts Group developed the ___________ graphic format.
    12·2 answers
  • What do computer viruses eat for snacks?
    7·2 answers
  • The width of a strand of fiber is 19.2 micrometers. if 1500 strands are adhered side by side, how wide would the resulting fabri
    9·1 answer
  • A _____ is inserted so that a portion of a document that can have different formatting from the rest of the document. a. heading
    9·1 answer
  • What are the three types of mergers?
    8·1 answer
  • Imagine you are responsible for making a presentation that includes a representation of the logic flow through a process. You un
    11·1 answer
  • Assume that processor refers to an object that provides a void method named process that takes no arguments. As it happens, the
    5·1 answer
  • You are doing a Diffie-Hellman-Merkle key exchange with Danny using generator 2 and prime 29. You pick the secret number 4. What
    14·1 answer
  • In excel online what is it called when you join connecting cells together to span across more than one column and/or row?
    7·2 answers
  • Select the correct answer.
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!