Uniform Behavior is episode 22b of Rocko's Modern Life. In this episode Heffer gets a little taste of authority when he is hired as a security guard.
While en route to the grocery store, Heffer wrecks his dad's car (by plowing straight through it from the momentum of sudden deceleration after slamming the breaks to avoid colliding with a runaway Chokey Chicken that had been knocked down from its respective restaurant, and from not wearing his seatbelt). Heffer is spared punishment for his carelessness only on the condition of paying for the repairs on the car.
Since his allowance cannot cover the damages, his only option is to get a job. Heffer reluctantly agrees, and after searching through the paper for ads, the only one he's qualified for is as a security guard at Conglom-O Corporation. Under the false impression of the job requiring nothing more than to sit and stare at some monitors, and carry a riot stick, Heffer applies for the job.
During his sleep, Heffer, in a dream, meets the "Seven Udders of Justice", who present him with a security guard uniform and inform him of the responsibilities he must follow. Heffer proudly accepts the job.
It does not take long, however, before the Heffer's new job begins to cloud his judgement and corrupt his mind; he begins to think that as a security guard, he has the authority of a top-rank police officer and even harasses his own friends. He demands a form of identification from Filburt and confiscates the latter's comic book for lack of compliance, and issues Rocko a ticket for jaywalking, despite having no authority to cite Rocko for such an offense. Both Filburt and Rocko quickly realize that their friend is turning into someone he's not.
When Heffer's night shift begins, he spends half of it staring at the monitors in his office, passing the time by making goofy faces in front of nearby cameras, and modeling the eiffel tower out of paper clips. Once it reaches midnight, he begins his patrol of the building (On a tricycle, of all things). Finding the dark, empty corridors to be rather scary, he tries to keep his composure by whistling to himself. During his patrol, he hears clattering in a nearby supply room. Believing it to be an intruder, Heffer confronts who turns out to be Conglom-O employee Ed Bighead merely taking a few company light bulbs for use at home.
Heffer frightens him by hollering at him and aiming a flashlight at him. Heffer then demands identification from Ed, who angrily accosts him for his outburst and putting Ed in danger of a heart attack. Disregarding Ed's protests, Heffer questions the contents of the box Ed was holding, which as of now, are broken light bulbs. Blindly seeing this as an act of burglary, Heffer throws Ed out of the building, who angrily swears to see to Heffer's immediate termination as a security guard.
Continuing his patrol, he comes across two identical twin employees, who speak to him in unison. Heffer once again demands identification from them, who claim to be employees, and shortly afterwards, disappear. Unsure of what to make of this, Heffer makes a run for the cafeteria. Finding himself exhausted and thirsty, he, as a figure of speech, claims to be willing to give his soul for a soda. A bartender by the name of Lloyd promptly appears and asks Heffer what flavor he would like. Heffer orders a root beer float, but is short on cash. Lloyd allows for credit as a substitute and gives Heffer his soda.
Upon his first sip, Heffer finds himself surrounded by ghostly patrons who cackle at him. Through Lloyd's guidance, Heffer makes two of them out to be Filburt and Rocko, both of whom have become disgusted with Heffer's condescending attitude. At that moment, Heffer himself comes to realize what he's turning into. Lloyd then hands him the bill for the soda he drank, which is one soul, echoing his earlier figure of speech. Freaking out, Heffer flees the building and announces his resignation as a security guard, stripping himself naked and running blindly down the street until he is caught and arrested by a police officer for public nudity.
Cringing shamefully (and still naked) in his cell, Heffer is visited by Rocko, who admonishes him for being so reckless. Heffer at first tries to make excuses for it, but then finally takes responsibility and admits that as a security guard he felt "big and important". Disregarding his actions as nothing more than a boost of his ego, Rocko tells Heffer to wait while he goes to post Heffer's bail. Heffer thanks Rocko for being a good friend, but then pushes his luck too far by asking Rocko for a money loan to pay for the damages to his dad's car. Realizing that Heffer clearly has not learned his lesson, Rocko instead tells the guard to let Heffer remain in jail until he does. Heffer at first thinks Rocko's just joking with him, until he hears the door slam and Rocko's voice vanish. Heffer cries for Rocko again as the episode irises out.
The whole episode is a reference to Stephen King's novel The Shining and the 1980 movie of the same name based on it.
The Robofrog films are a parody of the Robo-Cop films.